--no commit message
Showing
3 changed files
with
201 additions
and
10 deletions
| ... | @@ -4,6 +4,14 @@ | ... | @@ -4,6 +4,14 @@ |
| 4 | * @LastEditTime: 2024-02-23 10:45:18 | 4 | * @LastEditTime: 2024-02-23 10:45:18 |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | /* | ||
| 8 | * 不动产登记受理凭证(首环节)getPrintAcceptance | ||
| 9 | * 不动产登记补充材料通知书 getPrintSupplementalMaterials | ||
| 10 | * 不动产登记补充材料接收凭证 getPrintReceiveSupplementalMaterials | ||
| 11 | * 不予登记告知书 getPrintRejectForms | ||
| 12 | * 不动产登记申请材料退回通知书 getPrintSendBackMaterials | ||
| 13 | * 不动产更正登记通知书(依职权更正首环节)getPrintRiviseForms | ||
| 14 | */ | ||
| 7 | import request from '@/utils/request' | 15 | import request from '@/utils/request' |
| 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 16 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
| 9 | 17 | ||
| ... | @@ -100,11 +108,53 @@ export function getPrintSupplementalMaterials (bsmSldy, data) { | ... | @@ -100,11 +108,53 @@ export function getPrintSupplementalMaterials (bsmSldy, data) { |
| 100 | }) | 108 | }) |
| 101 | } | 109 | } |
| 102 | /** | 110 | /** |
| 111 | * @description: 获取不予登记告知书 | ||
| 112 | * @param {*} bsmSldy | ||
| 113 | * @author: renchao | ||
| 114 | */ | ||
| 115 | export function getPrintRejectForms (bsmSldy) { | ||
| 116 | return request({ | ||
| 117 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRejectForms', | ||
| 118 | method: 'get', | ||
| 119 | params: { | ||
| 120 | bsmSldy: bsmSldy | ||
| 121 | } | ||
| 122 | }) | ||
| 123 | } | ||
| 124 | /** | ||
| 125 | * @description: 获取更正登记通知书 | ||
| 126 | * @param {*} bsmSldy | ||
| 127 | * @author: renchao | ||
| 128 | */ | ||
| 129 | export function getPrintRiviseForms (bsmSldy) { | ||
| 130 | return request({ | ||
| 131 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRiviseForms', | ||
| 132 | method: 'get', | ||
| 133 | params: { | ||
| 134 | bsmSldy: bsmSldy | ||
| 135 | } | ||
| 136 | }) | ||
| 137 | } | ||
| 138 | /** | ||
| 139 | * @description: 获取申请材料退回通知书 | ||
| 140 | * @param {*} bsmSldy | ||
| 141 | * @author: renchao | ||
| 142 | */ | ||
| 143 | export function getPrintSendBackMaterials (bsmSldy) { | ||
| 144 | return request({ | ||
| 145 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintSendBackMaterials', | ||
| 146 | method: 'get', | ||
| 147 | params: { | ||
| 148 | bsmSldy: bsmSldy | ||
| 149 | } | ||
| 150 | }) | ||
| 151 | } | ||
| 152 | /** | ||
| 103 | * @description: 获取补充材料接收凭证 | 153 | * @description: 获取补充材料接收凭证 |
| 104 | * @param {*} bsmSldy | 154 | * @param {*} bsmSldy |
| 105 | * @author: renchao | 155 | * @author: renchao |
| 106 | */ | 156 | */ |
| 107 | export function getPrintReceiveSupplementalMaterials (bsmSldy) { | 157 | export function getPrintReceiveSupplementalMaterials (bsmSldy) { |
| 108 | return request({ | 158 | return request({ |
| 109 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintReceiveSupplementalMaterials', | 159 | url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintReceiveSupplementalMaterials', |
| 110 | method: 'get', | 160 | method: 'get', | ... | ... |
| ... | @@ -4,9 +4,10 @@ | ... | @@ -4,9 +4,10 @@ |
| 4 | * @LastEditTime: 2024-02-23 16:27:17 | 4 | * @LastEditTime: 2024-02-23 16:27:17 |
| 5 | */ | 5 | */ |
| 6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
| 7 | import { getPrintTemplateByCode, getPrintAcceptance, getPrintReceiveSupplementalMaterials } from "@/api/print"; | 7 | import { getPrintTemplateByCode, getPrintAcceptance,getPrintReceiveSupplementalMaterials,getPrintRejectForms,getPrintSendBackMaterials,getPrintRiviseForms} 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 { getNewDate } from '@/utils/util' | ||
| 10 | import adapter from "@/utils/sqs/adapter"; | 11 | import adapter from "@/utils/sqs/adapter"; |
| 11 | import { | 12 | import { |
| 12 | stepExpandInfo, | 13 | stepExpandInfo, |
| ... | @@ -40,7 +41,8 @@ export default { | ... | @@ -40,7 +41,8 @@ export default { |
| 40 | batchButtonName: '', | 41 | batchButtonName: '', |
| 41 | // 受理申请信息 | 42 | // 受理申请信息 |
| 42 | slsq: {}, | 43 | slsq: {}, |
| 43 | dqhj: "" | 44 | dqhj: "", |
| 45 | newDate: getNewDate() | ||
| 44 | } | 46 | } |
| 45 | }, | 47 | }, |
| 46 | mounted () { | 48 | mounted () { |
| ... | @@ -253,8 +255,12 @@ export default { | ... | @@ -253,8 +255,12 @@ export default { |
| 253 | let key = index + 1 | 255 | let key = index + 1 |
| 254 | this.$set(infoRes.result, "file" + key, it.sjmc) | 256 | this.$set(infoRes.result, "file" + key, it.sjmc) |
| 255 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 257 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
| 258 | // this.$set(infoRes.result, "file" + key + 'xs', it.) | ||
| 256 | }) | 259 | }) |
| 257 | } | 260 | } |
| 261 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 262 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 263 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 258 | let date = infoRes.result.sqrq | 264 | let date = infoRes.result.sqrq |
| 259 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 265 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
| 260 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 266 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
| ... | @@ -281,23 +287,27 @@ export default { | ... | @@ -281,23 +287,27 @@ export default { |
| 281 | break; | 287 | break; |
| 282 | // 补充材料通知书 | 288 | // 补充材料通知书 |
| 283 | case "bccltzs": | 289 | case "bccltzs": |
| 284 | this.$popupDialog("补充材料通知书", "workflow/top/bcclml/index", | 290 | this.$popupDialog("补充材料通知书", "workflow/top/bccltzs/index", |
| 285 | { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy }, | 291 | { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy,type:"bccltzs" }, |
| 286 | '70%', true) | 292 | '70%', true) |
| 287 | break; | 293 | break; |
| 288 | // 获取补充材料接收凭证 | 294 | // 补充材料接收凭证 |
| 289 | case "slpz": | 295 | case "bccljspz": |
| 290 | getPrintTemplateByCode({ tmpno: 'bdcdjslpz' }).then(res => { | 296 | getPrintTemplateByCode({ tmpno: 'bdcdjbccljspz' }).then(res => { |
| 291 | if (res.code === 200) { | 297 | if (res.code === 200) { |
| 292 | getPrintAcceptance(this.currentSelectProps.bsmSldy).then(infoRes => { | 298 | getPrintReceiveSupplementalMaterials(this.currentSelectProps.bsmSldy).then(infoRes => { |
| 293 | if (infoRes.code === 200) { | 299 | if (infoRes.code === 200) { |
| 294 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | 300 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { |
| 295 | infoRes.result.fileList.forEach((it, index) => { | 301 | infoRes.result.fileList.forEach((it, index) => { |
| 296 | let key = index + 1 | 302 | let key = index + 1 |
| 297 | this.$set(infoRes.result, "file" + key, it.sjmc) | 303 | this.$set(infoRes.result, "file" + key, it.sjmc) |
| 298 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 304 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
| 305 | this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件") | ||
| 299 | }) | 306 | }) |
| 300 | } | 307 | } |
| 308 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 309 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 310 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 301 | let date = infoRes.result.sqrq | 311 | let date = infoRes.result.sqrq |
| 302 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 312 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
| 303 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 313 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] |
| ... | @@ -322,6 +332,129 @@ export default { | ... | @@ -322,6 +332,129 @@ export default { |
| 322 | } | 332 | } |
| 323 | }) | 333 | }) |
| 324 | break; | 334 | break; |
| 335 | |||
| 336 | // 不予登记告知书 | ||
| 337 | case "bydjgzs": | ||
| 338 | getPrintTemplateByCode({ tmpno: 'bydjgzs' }).then(res => { | ||
| 339 | if (res.code === 200) { | ||
| 340 | getPrintRejectForms(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
| 341 | if (infoRes.code === 200) { | ||
| 342 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
| 343 | infoRes.result.fileList.forEach((it, index) => { | ||
| 344 | let key = index + 1 | ||
| 345 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
| 346 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | ||
| 347 | }) | ||
| 348 | } | ||
| 349 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 350 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 351 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 352 | let date = infoRes.result.sqrq | ||
| 353 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | ||
| 354 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ||
| 355 | infoRes.result.sqri = date.split(' ')[0].split('-')[2] | ||
| 356 | console.log(infoRes.result) | ||
| 357 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
| 358 | |||
| 359 | // 装载第一个模板并设置数据 | ||
| 360 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
| 361 | for (let key in infoRes.result) { | ||
| 362 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
| 363 | } | ||
| 364 | |||
| 365 | // 进行预览 | ||
| 366 | LODOP.PREVIEW(); | ||
| 367 | } else { | ||
| 368 | this.$message.error(infoRes.message); | ||
| 369 | } | ||
| 370 | }); | ||
| 371 | } else { | ||
| 372 | this.$message.error(res.message); | ||
| 373 | } | ||
| 374 | }) | ||
| 375 | break; | ||
| 376 | // 申请材料退回通知书 | ||
| 377 | case "sqclthtzs": | ||
| 378 | getPrintTemplateByCode({ tmpno: 'bdcdjsqclthtzs' }).then(res => { | ||
| 379 | if (res.code === 200) { | ||
| 380 | getPrintSendBackMaterials(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
| 381 | if (infoRes.code === 200) { | ||
| 382 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
| 383 | infoRes.result.fileList.forEach((it, index) => { | ||
| 384 | let key = index + 1 | ||
| 385 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
| 386 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | ||
| 387 | }) | ||
| 388 | } | ||
| 389 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 390 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 391 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 392 | let date = infoRes.result.sqrq | ||
| 393 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | ||
| 394 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ||
| 395 | infoRes.result.sqri = date.split(' ')[0].split('-')[2] | ||
| 396 | console.log(infoRes.result) | ||
| 397 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
| 398 | |||
| 399 | // 装载第一个模板并设置数据 | ||
| 400 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
| 401 | for (let key in infoRes.result) { | ||
| 402 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
| 403 | } | ||
| 404 | |||
| 405 | // 进行预览 | ||
| 406 | LODOP.PREVIEW(); | ||
| 407 | } else { | ||
| 408 | this.$message.error(infoRes.message); | ||
| 409 | } | ||
| 410 | }); | ||
| 411 | } else { | ||
| 412 | this.$message.error(res.message); | ||
| 413 | } | ||
| 414 | }) | ||
| 415 | break; | ||
| 416 | // 不动产更正登记通知书 | ||
| 417 | case "gzdjtzs": | ||
| 418 | getPrintTemplateByCode({ tmpno: 'bdcgzdjtzs' }).then(res => { | ||
| 419 | if (res.code === 200) { | ||
| 420 | getPrintRiviseForms(this.currentSelectProps.bsmSldy).then(infoRes => { | ||
| 421 | if (infoRes.code === 200) { | ||
| 422 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | ||
| 423 | infoRes.result.fileList.forEach((it, index) => { | ||
| 424 | let key = index + 1 | ||
| 425 | this.$set(infoRes.result, "file" + key, it.sjmc) | ||
| 426 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | ||
| 427 | |||
| 428 | }) | ||
| 429 | } | ||
| 430 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 431 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 432 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 433 | let date = infoRes.result.sqrq | ||
| 434 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | ||
| 435 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ||
| 436 | infoRes.result.sqri = date.split(' ')[0].split('-')[2] | ||
| 437 | console.log(infoRes.result) | ||
| 438 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | ||
| 439 | |||
| 440 | // 装载第一个模板并设置数据 | ||
| 441 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); | ||
| 442 | for (let key in infoRes.result) { | ||
| 443 | LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]); | ||
| 444 | } | ||
| 445 | |||
| 446 | // 进行预览 | ||
| 447 | LODOP.PREVIEW(); | ||
| 448 | } else { | ||
| 449 | this.$message.error(infoRes.message); | ||
| 450 | } | ||
| 451 | }); | ||
| 452 | } else { | ||
| 453 | this.$message.error(res.message); | ||
| 454 | } | ||
| 455 | }) | ||
| 456 | break; | ||
| 457 | |||
| 325 | } | 458 | } |
| 326 | }, | 459 | }, |
| 327 | /** | 460 | /** | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description:补充材料通知书 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2024-02-26 09:04:04 | 4 | * @LastEditTime: 2024-02-26 09:04:04 |
| 5 | --> | 5 | --> |
| ... | @@ -20,6 +20,7 @@ | ... | @@ -20,6 +20,7 @@ |
| 20 | import { ywPopupCacel } from "@/utils/popup.js"; | 20 | import { ywPopupCacel } from "@/utils/popup.js"; |
| 21 | import { getLodop } from "@/utils/LodopFuncs"; | 21 | import { getLodop } from "@/utils/LodopFuncs"; |
| 22 | import { updateClml, InitClml } from "@/api/clxx.js"; | 22 | import { updateClml, InitClml } from "@/api/clxx.js"; |
| 23 | import { getNewDate } from '@/utils/util' | ||
| 23 | import { getPrintTemplateByCode, getPrintSupplementalMaterials } from "@/api/print"; | 24 | import { getPrintTemplateByCode, getPrintSupplementalMaterials } from "@/api/print"; |
| 24 | export default { | 25 | export default { |
| 25 | props: { | 26 | props: { |
| ... | @@ -35,6 +36,7 @@ | ... | @@ -35,6 +36,7 @@ |
| 35 | selectList: [], | 36 | selectList: [], |
| 36 | loading: false, | 37 | loading: false, |
| 37 | sortable: null, | 38 | sortable: null, |
| 39 | newDate: getNewDate(), | ||
| 38 | column: [ | 40 | column: [ |
| 39 | { | 41 | { |
| 40 | type: 'selection', | 42 | type: 'selection', |
| ... | @@ -131,16 +133,22 @@ | ... | @@ -131,16 +133,22 @@ |
| 131 | } | 133 | } |
| 132 | getPrintTemplateByCode({ tmpno: 'bdcdjbccltts' }).then(res => { | 134 | getPrintTemplateByCode({ tmpno: 'bdcdjbccltts' }).then(res => { |
| 133 | if (res.code === 200) { | 135 | if (res.code === 200) { |
| 136 | console.log("this.selectListssssssssss",this.selectList); | ||
| 134 | getPrintSupplementalMaterials(this.formData.bsmSldy, this.selectList).then(infoRes => { | 137 | getPrintSupplementalMaterials(this.formData.bsmSldy, this.selectList).then(infoRes => { |
| 135 | this.loading = false | 138 | this.loading = false |
| 136 | if (infoRes.code === 200) { | 139 | if (infoRes.code === 200) { |
| 140 | console.log("infoRes.resultsssssssssss",infoRes.result); | ||
| 137 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { | 141 | if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { |
| 138 | infoRes.result.fileList.forEach((it, index) => { | 142 | infoRes.result.fileList.forEach((it, index) => { |
| 139 | let key = index + 1 | 143 | let key = index + 1 |
| 140 | this.$set(infoRes.result, "file" + key, it.sjmc) | 144 | this.$set(infoRes.result, "file" + key, it.sjmc) |
| 141 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) | 145 | this.$set(infoRes.result, "file" + key + 'ys', it.ys) |
| 146 | this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件") | ||
| 142 | }) | 147 | }) |
| 143 | } | 148 | } |
| 149 | infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0] | ||
| 150 | infoRes.result.nowyue = this.newDate.slice(5,7) | ||
| 151 | infoRes.result.nowri = this.newDate.slice(8,10) | ||
| 144 | let date = infoRes.result.sqrq | 152 | let date = infoRes.result.sqrq |
| 145 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] | 153 | infoRes.result.sqnian = date.split(' ')[0].split('-')[0] |
| 146 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | 154 | infoRes.result.sqyue = date.split(' ')[0].split('-')[1] | ... | ... |
-
Please register or sign in to post a comment