受理凭证
Showing
3 changed files
with
52 additions
and
4 deletions
| 1 | /* | 1 | /* |
| 2 | * @Description: 模板管理 | 2 | * @Description: 模板管理 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-16 16:02:32 | 4 | * @LastEditTime: 2024-02-20 16:37:12 |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
| ... | @@ -71,3 +71,18 @@ export function getPrintTemplateByCode (params) { | ... | @@ -71,3 +71,18 @@ export function getPrintTemplateByCode (params) { |
| 71 | params: params | 71 | params: params |
| 72 | }) | 72 | }) |
| 73 | } | 73 | } |
| 74 | |||
| 75 | /** | ||
| 76 | * @description: 获取受理凭证 | ||
| 77 | * @param {*} params | ||
| 78 | * @author: renchao | ||
| 79 | */ | ||
| 80 | export function getPrintAcceptance (bsmSldy) { | ||
| 81 | return request({ | ||
| 82 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintAcceptance', | ||
| 83 | method: 'get', | ||
| 84 | params: { | ||
| 85 | bsmSldy: bsmSldy | ||
| 86 | } | ||
| 87 | }) | ||
| 88 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-02-02 09:06:20 | 4 | * @LastEditTime: 2024-02-20 16:37:27 |
| 5 | */ | 5 | */ |
| 6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
| 7 | import { getPrintTemplateByCode } from "@/api/print"; | 7 | import { getPrintTemplateByCode, getPrintAcceptance } from "@/api/print"; |
| 8 | import { uploadUndo } from "@/api/clxx"; | 8 | import { uploadUndo } from "@/api/clxx"; |
| 9 | import { getLodop } from "@/utils/LodopFuncs"; | 9 | import { getLodop } from "@/utils/LodopFuncs"; |
| 10 | import adapter from "@/utils/sqs/adapter"; | 10 | import adapter from "@/utils/sqs/adapter"; |
| ... | @@ -77,7 +77,7 @@ export default { | ... | @@ -77,7 +77,7 @@ export default { |
| 77 | */ | 77 | */ |
| 78 | operation (item) { | 78 | operation (item) { |
| 79 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿,B10:打印回执 ZSXG: 证书修改 | 79 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿,B10:打印回执 ZSXG: 证书修改 |
| 80 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 80 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 受理凭证 slpz |
| 81 | let that = this; | 81 | let that = this; |
| 82 | switch (item.value) { | 82 | switch (item.value) { |
| 83 | case "B0": | 83 | case "B0": |
| ... | @@ -242,6 +242,38 @@ export default { | ... | @@ -242,6 +242,38 @@ export default { |
| 242 | case "B-HLGXSJ": | 242 | case "B-HLGXSJ": |
| 243 | this.$popupDialog("互联网数据共享", "sjgx/gbmhlgxsjgx/gbmhlgxsjgx", {}, '90%', true) | 243 | this.$popupDialog("互联网数据共享", "sjgx/gbmhlgxsjgx/gbmhlgxsjgx", {}, '90%', true) |
| 244 | break; | 244 | break; |
| 245 | // slpz 受理凭证 | ||
| 246 | case "slpz": | ||
| 247 | getPrintTemplateByCode({ tmpno: 'bdcdjslpz' }).then(res => { | ||
| 248 | if (res.code === 200) { | ||
| 249 | getPrintAcceptance(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
| 250 | if (infoRes.code === 200) { | ||
| 251 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
| 252 | infoRes.result.fileList.forEach((it, index) => { | ||
| 253 | let key = index + 1 | ||
| 254 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
| 255 | }) | ||
| 256 | } | ||
| 257 | console.log(infoRes.result) | ||
| 258 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
| 259 | |||
| 260 | // 装载第一个模板并设置数据 | ||
| 261 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
| 262 | for (let key in infoRes.result) { | ||
| 263 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
| 264 | } | ||
| 265 | |||
| 266 | // 进行预览 | ||
| 267 | LODOP.PREVIEW(); | ||
| 268 | } else { | ||
| 269 | this.$message.error(infoRes.message); | ||
| 270 | } | ||
| 271 | }); | ||
| 272 | } else { | ||
| 273 | this.$message.error(res.message); | ||
| 274 | } | ||
| 275 | }) | ||
| 276 | break; | ||
| 245 | } | 277 | } |
| 246 | }, | 278 | }, |
| 247 | /** | 279 | /** | ... | ... |
| ... | @@ -236,6 +236,7 @@ | ... | @@ -236,6 +236,7 @@ |
| 236 | unClaimTask(this.$route.query.bsmSlsq, this.bestepid ? this.bestepid : '') | 236 | unClaimTask(this.$route.query.bsmSlsq, this.bestepid ? this.bestepid : '') |
| 237 | } | 237 | } |
| 238 | }, | 238 | }, |
| 239 | getPrintSlpz() {}, | ||
| 239 | /** | 240 | /** |
| 240 | * @description: 申请单元点击事件 | 241 | * @description: 申请单元点击事件 |
| 241 | * @param {*} index | 242 | * @param {*} index | ... | ... |
-
Please register or sign in to post a comment