申请书打印
Showing
1 changed file
with
9 additions
and
1 deletions
... | @@ -65,10 +65,18 @@ | ... | @@ -65,10 +65,18 @@ |
65 | } | 65 | } |
66 | }) | 66 | }) |
67 | } else { | 67 | } else { |
68 | getPrintTemplateByCode({ tmpno: Vue.prototype.BASE_API.adapter + '-2' }).then(res => { | 68 | // getPrintTemplateByCode({ tmpno: Vue.prototype.BASE_API.adapter + '-2' }).then(res => { |
69 | getPrintTemplateByCode({ tmpno: 'dysqs-bz-2' }).then(res => { | ||
69 | if (res.code === 200) { | 70 | if (res.code === 200) { |
70 | getPrintApplicationForm(this.formData.bsmSldy).then(infoRes => { | 71 | getPrintApplicationForm(this.formData.bsmSldy).then(infoRes => { |
71 | if (infoRes.code === 200) { | 72 | if (infoRes.code === 200) { |
73 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
74 | infoRes.result.fileList.forEach((it, index) => { | ||
75 | let key = index + 1 | ||
76 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
77 | }) | ||
78 | } | ||
79 | console.log(infoRes.result) | ||
72 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | 80 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); |
73 | 81 | ||
74 | // 装载第一个模板并设置数据 | 82 | // 装载第一个模板并设置数据 | ... | ... |
-
Please register or sign in to post a comment