1a51a8be by 赵千

申请书打印

1 parent d4a1d694
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-22 17:09:14
-->
......@@ -65,10 +65,18 @@
}
})
} else {
getPrintTemplateByCode({ tmpno: Vue.prototype.BASE_API.adapter + '-2' }).then(res => {
// getPrintTemplateByCode({ tmpno: Vue.prototype.BASE_API.adapter + '-2' }).then(res => {
getPrintTemplateByCode({ tmpno: 'dysqs-bz-2' }).then(res => {
if (res.code === 200) {
getPrintApplicationForm(this.formData.bsmSldy).then(infoRes => {
if (infoRes.code === 200) {
if (infoRes.result.fileList && infoRes.result.fileList.length > 0) {
infoRes.result.fileList.forEach((it, index) => {
let key = index + 1
this.$set(infoRes.result, "file" + key, it.sjmc)
})
}
console.log(infoRes.result)
let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
// 装载第一个模板并设置数据
......@@ -92,4 +100,4 @@
}
}
}
</script>
\ No newline at end of file
</script>
......