Browse Source

fix:[试验管理]填报

lkf
15881625488@163.com 3 months ago
parent
commit
cd51bdf6db
2 changed files with 5 additions and 6 deletions
  1. +4
    -5
      src/views/business/study/comp/tbbd/Xq.vue
  2. +1
    -1
      src/views/business/study/comp/ytbd/Bj.vue

+ 4
- 5
src/views/business/study/comp/tbbd/Xq.vue View File

@ -39,8 +39,8 @@
</el-button> -->
<div class="edit-content ">
<div class="content" style="width: 100%;">
<vue-html2pdf :show-layout="false" pdf-content-width="100%" :float-layout="false" pdf-orientation="landscape"
:enable-download="true" :preview-modal="true" ref="html2Pdf">
<!-- <vue-html2pdf :show-layout="false" pdf-content-width="100%" :float-layout="false" pdf-orientation="landscape"
:enable-download="true" :preview-modal="true" ref="html2Pdf"> -->
<section slot="pdf-content">
<TemplateTable ref="templateTable" :sn="form.templateSn" :templateData="form" fillType="detail" />
<div class="content-title">
@ -73,7 +73,7 @@
@pagination="getJjcgjList" /> -->
</section>
</vue-html2pdf>
<!-- </vue-html2pdf> -->
</div>
</div>
</div>
@ -181,7 +181,6 @@ export default {
pageNum: 1,
formId: null,
pageSize: 9999,
lang: this.$store.getters.language.split("_")[0]
}
}
},
@ -195,7 +194,7 @@ export default {
methods: {
exportExcel(jcgjlx) {
this.$modal.loading()
studyFormFill_exportDetail(_.merge({}, this.queryParamsJcgj, { jcgjlx: jcgjlx })).then(response => {
studyFormFill_exportDetail(_.merge({}, this.queryParamsJcgj, { jcgjlx: jcgjlx ,lang: this.$store.getters.language.split("_")[0]})).then(response => {
window.open(this.baseUrl + response.msg)
this.$modal.closeLoading()
}).finally(() => {

+ 1
- 1
src/views/business/study/comp/ytbd/Bj.vue View File

@ -198,7 +198,7 @@ export default {
console.log("data:" + JSON.stringify(data))
console.log("formdata:" + JSON.stringify(this.$refs.templateTable.getFilledFormData()))
if (data.type == 'fieldChanged') {
studyFormFill_updateBdnr(
studyFormPre_updateBdnr(
{
id: this.form.id,
bdnr: JSON.stringify(this.$refs.templateTable.getFilledFormData()),

Loading…
Cancel
Save