style:证书领取查询功能的完善
Showing
5 changed files
with
20 additions
and
102 deletions
| 1 | /* | 1 | /* |
| 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
| 3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
| 4 | * @LastEditTime: 2023-07-17 16:14:23 | 4 | * @LastEditTime: 2023-08-10 13:41:26 |
| 5 | */ | 5 | */ |
| 6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
| 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
| ... | @@ -19,7 +19,7 @@ import { | ... | @@ -19,7 +19,7 @@ import { |
| 19 | } from "@/api/workFlow.js"; | 19 | } from "@/api/workFlow.js"; |
| 20 | import { mapGetters } from 'vuex' | 20 | import { mapGetters } from 'vuex' |
| 21 | export default { | 21 | export default { |
| 22 | data() { | 22 | data () { |
| 23 | return { | 23 | return { |
| 24 | //是否开启材料分屏 | 24 | //是否开启材料分屏 |
| 25 | splitScreen: false, | 25 | splitScreen: false, |
| ... | @@ -40,7 +40,7 @@ export default { | ... | @@ -40,7 +40,7 @@ export default { |
| 40 | 40 | ||
| 41 | } | 41 | } |
| 42 | }, | 42 | }, |
| 43 | mounted() { | 43 | mounted () { |
| 44 | this.flowInitParam(); | 44 | this.flowInitParam(); |
| 45 | }, | 45 | }, |
| 46 | methods: { | 46 | methods: { |
| ... | @@ -49,7 +49,7 @@ export default { | ... | @@ -49,7 +49,7 @@ export default { |
| 49 | * @description: 加载流程初始参数 | 49 | * @description: 加载流程初始参数 |
| 50 | * @author: renchao | 50 | * @author: renchao |
| 51 | */ | 51 | */ |
| 52 | flowInitParam() { | 52 | flowInitParam () { |
| 53 | var formdata = new FormData(); | 53 | var formdata = new FormData(); |
| 54 | 54 | ||
| 55 | formdata.append("bsmSlsq", this.bsmSlsq); | 55 | formdata.append("bsmSlsq", this.bsmSlsq); |
| ... | @@ -60,7 +60,7 @@ export default { | ... | @@ -60,7 +60,7 @@ export default { |
| 60 | stepExpandInfo(formdata).then((res) => { | 60 | stepExpandInfo(formdata).then((res) => { |
| 61 | if (res.code === 200) { | 61 | if (res.code === 200) { |
| 62 | this.leftButtonList = res.result.button; | 62 | this.leftButtonList = res.result.button; |
| 63 | if (res.result.properties&&res.result.properties.length) { | 63 | if (res.result.properties && res.result.properties.length) { |
| 64 | this.showidea = res.result.properties[0].value | 64 | this.showidea = res.result.properties[0].value |
| 65 | } | 65 | } |
| 66 | 66 | ||
| ... | @@ -82,7 +82,7 @@ export default { | ... | @@ -82,7 +82,7 @@ export default { |
| 82 | * @param {*} item | 82 | * @param {*} item |
| 83 | * @author: renchao | 83 | * @author: renchao |
| 84 | */ | 84 | */ |
| 85 | operation(item) { | 85 | operation (item) { |
| 86 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 | 86 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 |
| 87 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 87 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout |
| 88 | let that = this; | 88 | let that = this; |
| ... | @@ -125,15 +125,6 @@ export default { | ... | @@ -125,15 +125,6 @@ export default { |
| 125 | //新增材料信息选项卡数据 | 125 | //新增材料信息选项卡数据 |
| 126 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); | 126 | this.tabList.splice(this.clxxIndex, 0, this.clxxTab); |
| 127 | } | 127 | } |
| 128 | // this.closefp() | ||
| 129 | |||
| 130 | // if (this.splitScreen) { | ||
| 131 | // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 | ||
| 132 | // if (this.tabName == this.clxxTab.value) { | ||
| 133 | // this.tabName = this.tabList[0].value; | ||
| 134 | // this.getFromRouter(this.tabList[0].value); | ||
| 135 | // } | ||
| 136 | // } | ||
| 137 | break; | 128 | break; |
| 138 | case "B3": //材料导入 | 129 | case "B3": //材料导入 |
| 139 | document.getElementById("cldr").click(); | 130 | document.getElementById("cldr").click(); |
| ... | @@ -141,41 +132,6 @@ export default { | ... | @@ -141,41 +132,6 @@ export default { |
| 141 | case "B4": | 132 | case "B4": |
| 142 | this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) | 133 | this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) |
| 143 | break; | 134 | break; |
| 144 | // case "B5": | ||
| 145 | // const h = this.$createElement; | ||
| 146 | // this.$msgbox({ | ||
| 147 | // title: '请选择新增权利类型', | ||
| 148 | // message: h('p', null, [ | ||
| 149 | // h('span', null, '内容可以是 '), | ||
| 150 | // h('el-button', { style: 'color: teal' }, 'VNode'), | ||
| 151 | // h('i', { style: 'color: teal' }, 'VNode') | ||
| 152 | // ]), | ||
| 153 | // showCancelButton: true, | ||
| 154 | // confirmButtonText: '确定', | ||
| 155 | // cancelButtonText: '取消', | ||
| 156 | // beforeClose: (action, instance, done) => { | ||
| 157 | // if (action === 'confirm') { | ||
| 158 | // instance.confirmButtonLoading = true; | ||
| 159 | // instance.confirmButtonText = '执行中...'; | ||
| 160 | // setTimeout(() => { | ||
| 161 | // done(); | ||
| 162 | // setTimeout(() => { | ||
| 163 | // instance.confirmButtonLoading = false; | ||
| 164 | // }, 300); | ||
| 165 | // }, 3000); | ||
| 166 | // } else { | ||
| 167 | // done(); | ||
| 168 | // } | ||
| 169 | // } | ||
| 170 | // }).then(action => { | ||
| 171 | // this.addRepairRecord() | ||
| 172 | // this.$message({ | ||
| 173 | // type: 'info', | ||
| 174 | // message: 'action: ' + action | ||
| 175 | // }); | ||
| 176 | // }); | ||
| 177 | |||
| 178 | // break; | ||
| 179 | case "B5": | 135 | case "B5": |
| 180 | if (this.currentSelectProps.bdcdyid) { | 136 | if (this.currentSelectProps.bdcdyid) { |
| 181 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( | 137 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( |
| ... | @@ -187,10 +143,6 @@ export default { | ... | @@ -187,10 +143,6 @@ export default { |
| 187 | } | 143 | } |
| 188 | ); | 144 | ); |
| 189 | } | 145 | } |
| 190 | // this.$refs.Menu.loadBdcdylist("add") | ||
| 191 | // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true) | ||
| 192 | |||
| 193 | |||
| 194 | break; | 146 | break; |
| 195 | case "B6": | 147 | case "B6": |
| 196 | //根据编号获取对应信息 | 148 | //根据编号获取对应信息 |
| ... | @@ -292,7 +244,7 @@ export default { | ... | @@ -292,7 +244,7 @@ export default { |
| 292 | * @description: del | 244 | * @description: del |
| 293 | * @author: renchao | 245 | * @author: renchao |
| 294 | */ | 246 | */ |
| 295 | del() { | 247 | del () { |
| 296 | let formdata = new FormData(); | 248 | let formdata = new FormData(); |
| 297 | formdata.append("bsmSlsq", this.bsmSlsq); | 249 | formdata.append("bsmSlsq", this.bsmSlsq); |
| 298 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 250 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
| ... | @@ -327,7 +279,7 @@ export default { | ... | @@ -327,7 +279,7 @@ export default { |
| 327 | * @param {*} obj | 279 | * @param {*} obj |
| 328 | * @author: renchao | 280 | * @author: renchao |
| 329 | */ | 281 | */ |
| 330 | sendToNext(obj) { | 282 | sendToNext (obj) { |
| 331 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 283 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
| 332 | obj: obj, | 284 | obj: obj, |
| 333 | bsmSlsq: this.bsmSlsq, | 285 | bsmSlsq: this.bsmSlsq, |
| ... | @@ -340,7 +292,7 @@ export default { | ... | @@ -340,7 +292,7 @@ export default { |
| 340 | * @description: 转出最后一个流程 | 292 | * @description: 转出最后一个流程 |
| 341 | * @author: renchao | 293 | * @author: renchao |
| 342 | */ | 294 | */ |
| 343 | sendToEnd() { | 295 | sendToEnd () { |
| 344 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 296 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
| 345 | obj: "", | 297 | obj: "", |
| 346 | bsmSlsq: this.bsmSlsq, | 298 | bsmSlsq: this.bsmSlsq, |
| ... | @@ -355,7 +307,7 @@ export default { | ... | @@ -355,7 +307,7 @@ export default { |
| 355 | * @description: 批量操作 | 307 | * @description: 批量操作 |
| 356 | * @author: renchao | 308 | * @author: renchao |
| 357 | */ | 309 | */ |
| 358 | handleBatchDel() { | 310 | handleBatchDel () { |
| 359 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 311 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
| 360 | width: "50%", | 312 | width: "50%", |
| 361 | btnShow: false, | 313 | btnShow: false, |
| ... | @@ -369,7 +321,7 @@ export default { | ... | @@ -369,7 +321,7 @@ export default { |
| 369 | * @param {*} file | 321 | * @param {*} file |
| 370 | * @author: renchao | 322 | * @author: renchao |
| 371 | */ | 323 | */ |
| 372 | handleChange(file) { | 324 | handleChange (file) { |
| 373 | var formdata = new FormData(); | 325 | var formdata = new FormData(); |
| 374 | formdata.append("file", file.raw); | 326 | formdata.append("file", file.raw); |
| 375 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | 327 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); |
| ... | @@ -388,7 +340,7 @@ export default { | ... | @@ -388,7 +340,7 @@ export default { |
| 388 | * @param {*} file | 340 | * @param {*} file |
| 389 | * @author: renchao | 341 | * @author: renchao |
| 390 | */ | 342 | */ |
| 391 | beforeUpload(file) { | 343 | beforeUpload (file) { |
| 392 | return true; | 344 | return true; |
| 393 | } | 345 | } |
| 394 | } | 346 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-02 15:33:01 | 4 | * @LastEditTime: 2023-08-10 13:43:32 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
| ... | @@ -68,7 +68,6 @@ | ... | @@ -68,7 +68,6 @@ |
| 68 | } | 68 | } |
| 69 | }, | 69 | }, |
| 70 | methods: { | 70 | methods: { |
| 71 | //获取证书内容 | ||
| 72 | /** | 71 | /** |
| 73 | * @description: 获取证书内容 | 72 | * @description: 获取证书内容 |
| 74 | * @param {*} code | 73 | * @param {*} code |
| ... | @@ -78,7 +77,6 @@ | ... | @@ -78,7 +77,6 @@ |
| 78 | var value = this.bdcqz[code]; | 77 | var value = this.bdcqz[code]; |
| 79 | return value; | 78 | return value; |
| 80 | }, | 79 | }, |
| 81 | //获取受理申请下全部不动产权证 | ||
| 82 | /** | 80 | /** |
| 83 | * @description: 获取受理申请下全部不动产权证 | 81 | * @description: 获取受理申请下全部不动产权证 |
| 84 | * @author: renchao | 82 | * @author: renchao | ... | ... |
| 1 | <!-- | ||
| 2 | * @Description: | ||
| 3 | * @Autor: renchao | ||
| 4 | * @LastEditTime: 2023-04-19 09:29:54 | ||
| 5 | --> | ||
| 6 | <template> | ||
| 7 | <img :src="formData.previewImage" class="imgClass"> | ||
| 8 | </template> | ||
| 9 | <script> | ||
| 10 | export default { | ||
| 11 | props: { | ||
| 12 | formData: { | ||
| 13 | type: Object, | ||
| 14 | default: () => { } | ||
| 15 | } | ||
| 16 | } | ||
| 17 | } | ||
| 18 | </script> | ||
| 19 | <style> | ||
| 20 | .imgClass { | ||
| 21 | width: 100%; | ||
| 22 | } | ||
| 23 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -91,9 +91,7 @@ class data extends filter { | ... | @@ -91,9 +91,7 @@ class data extends filter { |
| 91 | width: '80', | 91 | width: '80', |
| 92 | render: (h, scope) => { | 92 | render: (h, scope) => { |
| 93 | return ( | 93 | return ( |
| 94 | <div> | 94 | <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope.row) }}>查看</el-button> |
| 95 | <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>查看</el-link> | ||
| 96 | </div> | ||
| 97 | ) | 95 | ) |
| 98 | } | 96 | } |
| 99 | }, | 97 | }, | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-08 15:23:32 | 4 | * @LastEditTime: 2023-08-10 14:05:49 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -107,20 +107,13 @@ | ... | @@ -107,20 +107,13 @@ |
| 107 | this.$startLoading() | 107 | this.$startLoading() |
| 108 | bdcqzPreview(item).then(res => { | 108 | bdcqzPreview(item).then(res => { |
| 109 | this.$endLoading() | 109 | this.$endLoading() |
| 110 | this.dialogVisible = true; | 110 | this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { |
| 111 | let blob = new Blob([res]); | 111 | bsmSlsq: item.bsmSlsq |
| 112 | this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) | 112 | }, '1210px', true) |
| 113 | }) | 113 | }) |
| 114 | }, | ||
| 115 | /** | ||
| 116 | * @description: handleClose | ||
| 117 | * @author: renchao | ||
| 118 | */ | ||
| 119 | handleClose () { | ||
| 120 | this.dialogVisible = false; | ||
| 121 | } | 114 | } |
| 122 | }, | 115 | } |
| 123 | }; | 116 | } |
| 124 | </script> | 117 | </script> |
| 125 | <style scoped lang="scss"> | 118 | <style scoped lang="scss"> |
| 126 | @import "~@/styles/public.scss"; | 119 | @import "~@/styles/public.scss"; | ... | ... |
-
Please register or sign in to post a comment