|
|
@ -14,9 +14,18 @@ |
|
|
$t('page.business.study.studyFormFill.tb') }}</el-button> |
|
|
$t('page.business.study.studyFormFill.tb') }}</el-button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<el-button type="primary" @click="exportExcel">后台导出 |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<el-button type="primary" @click="dcqbjcgj">{{ $t('page.business.study.studyFormFill.dcqbjcgj') }} |
|
|
|
|
|
|
|
|
<!-- 1:流程;3:编辑;5:人员;7:修改;9:补充说明 --> |
|
|
|
|
|
<el-button type="primary" @click="exportExcel(-1)">{{ $t('page.business.study.studyFormFill.dcqbjcgj') }} |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<el-button type="primary" @click="exportExcel(1)">{{ $t('page.business.study.studyFormFill.dclcjcgj') }} |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<el-button type="primary" @click="exportExcel(3)">{{ $t('page.business.study.studyFormFill.dcbjjcgj') }} |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<el-button type="primary" @click="exportExcel(7)">{{ $t('page.business.study.studyFormFill.dcxgjcgj') }} |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<el-button type="primary" @click="exportExcel(999)">{{ $t('page.business.study.studyFormFill.dcbhsjgj') }} |
|
|
|
|
|
</el-button> |
|
|
|
|
|
<!-- <el-button type="primary" @click="dcqbjcgj">{{ $t('page.business.study.studyFormFill.dcqbjcgj') }} |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button type="primary" @click="dcqbjcgj">{{ $t('page.business.study.studyFormFill.dcqbjcgj') }} |
|
|
<el-button type="primary" @click="dcqbjcgj">{{ $t('page.business.study.studyFormFill.dcqbjcgj') }} |
|
|
</el-button> |
|
|
</el-button> |
|
|
@ -27,11 +36,11 @@ |
|
|
<el-button type="primary" @click="dcxgjcgj">{{ $t('page.business.study.studyFormFill.dcxgjcgj') }} |
|
|
<el-button type="primary" @click="dcxgjcgj">{{ $t('page.business.study.studyFormFill.dcxgjcgj') }} |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormFill.dcbhsjgj') }} |
|
|
<el-button type="primary" @click="dcbhsjgj">{{ $t('page.business.study.studyFormFill.dcbhsjgj') }} |
|
|
</el-button> |
|
|
|
|
|
|
|
|
</el-button> --> |
|
|
<div class="edit-content "> |
|
|
<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"> |
|
|
|
|
|
|
|
|
<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"> |
|
|
<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"> |
|
|
@ -172,7 +181,7 @@ export default { |
|
|
pageNum: 1, |
|
|
pageNum: 1, |
|
|
formId: null, |
|
|
formId: null, |
|
|
pageSize: 9999, |
|
|
pageSize: 9999, |
|
|
lang:this.$store.getters.language.split("_")[0] |
|
|
|
|
|
|
|
|
lang: this.$store.getters.language.split("_")[0] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
@ -184,9 +193,9 @@ export default { |
|
|
created() { |
|
|
created() { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
exportExcel() { |
|
|
|
|
|
|
|
|
exportExcel(jcgjlx) { |
|
|
this.$modal.loading() |
|
|
this.$modal.loading() |
|
|
studyFormFill_exportDetail(this.queryParamsJcgj).then(response => { |
|
|
|
|
|
|
|
|
studyFormFill_exportDetail(_.merge({}, this.queryParamsJcgj, { jcgjlx: jcgjlx })).then(response => { |
|
|
window.open(this.baseUrl + response.msg) |
|
|
window.open(this.baseUrl + response.msg) |
|
|
this.$modal.closeLoading() |
|
|
this.$modal.closeLoading() |
|
|
}).finally(() => { |
|
|
}).finally(() => { |
|
|
|