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