--no commit message
Showing
91 changed files
with
2091 additions
and
82 deletions
| ... | @@ -17,6 +17,11 @@ export function getAllDict () { | ... | @@ -17,6 +17,11 @@ export function getAllDict () { |
| 17 | method: 'post' | 17 | method: 'post' |
| 18 | }) | 18 | }) |
| 19 | } | 19 | } |
| 20 | /** | ||
| 21 | * @description: getQlxxDictList | ||
| 22 | * @param {*} data | ||
| 23 | * @author: renchao | ||
| 24 | */ | ||
| 20 | export function getQlxxDictList (data) { | 25 | export function getQlxxDictList (data) { |
| 21 | return request({ | 26 | return request({ |
| 22 | url: SERVER.SERVERAPI + '/rest/sys/dict/getQlxxDictList', | 27 | url: SERVER.SERVERAPI + '/rest/sys/dict/getQlxxDictList', | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | /* | 2 | /* |
| 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
| 4 | * @Autor: renchao | 4 | * @Autor: renchao |
| 5 | * @LastEditTime: 2023-07-17 13:22:05 | 5 | * @LastEditTime: 2023-07-21 10:30:53 |
| 6 | */ | 6 | */ |
| 7 | import axios from 'axios' | 7 | import axios from 'axios' |
| 8 | import Router from '@/router' | 8 | import Router from '@/router' |
| ... | @@ -84,7 +84,7 @@ service.interceptors.response.use( | ... | @@ -84,7 +84,7 @@ service.interceptors.response.use( |
| 84 | } else { | 84 | } else { |
| 85 | // 对响应错误做点什么 | 85 | // 对响应错误做点什么 |
| 86 | Message({ | 86 | Message({ |
| 87 | message: error, | 87 | message: error.response.data.message, |
| 88 | type: 'error', | 88 | type: 'error', |
| 89 | duration: 5 * 1000, | 89 | duration: 5 * 1000, |
| 90 | customClass: 'messageIndex' | 90 | customClass: 'messageIndex' | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-25 15:52:42 | 4 | * @LastEditTime: 2023-07-21 09:48:32 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
| ... | @@ -353,10 +353,6 @@ | ... | @@ -353,10 +353,6 @@ |
| 353 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 353 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
| 354 | import selectTable from "@/components/selectTable/index.vue"; | 354 | import selectTable from "@/components/selectTable/index.vue"; |
| 355 | import tdytTable from "@/views/workflow/components/tdytTable"; | 355 | import tdytTable from "@/views/workflow/components/tdytTable"; |
| 356 | // import the component | ||
| 357 | // import Treeselect from '@riophae/vue-treeselect' | ||
| 358 | // // import the styles | ||
| 359 | // import '@riophae/vue-treeselect/dist/vue-treeselect.css' | ||
| 360 | export default { | 356 | export default { |
| 361 | components: { qlrCommonTable, tdytTable, selectTable }, | 357 | components: { qlrCommonTable, tdytTable, selectTable }, |
| 362 | computed: { | 358 | computed: { |
| ... | @@ -436,7 +432,11 @@ | ... | @@ -436,7 +432,11 @@ |
| 436 | disabled: true, | 432 | disabled: true, |
| 437 | czrOptions: [], | 433 | czrOptions: [], |
| 438 | ssQlxxList: [], | 434 | ssQlxxList: [], |
| 439 | ruleForm: {}, | 435 | ruleForm: { |
| 436 | fdcq2: { | ||
| 437 | ftjzmj: '' | ||
| 438 | } | ||
| 439 | }, | ||
| 440 | ableOperation: false, | 440 | ableOperation: false, |
| 441 | //传递参数\ | 441 | //传递参数\ |
| 442 | rules: { | 442 | rules: { | ... | ... |
| ... | @@ -136,6 +136,11 @@ | ... | @@ -136,6 +136,11 @@ |
| 136 | } | 136 | } |
| 137 | }, | 137 | }, |
| 138 | methods: { | 138 | methods: { |
| 139 | /** | ||
| 140 | * @description: updateDetail | ||
| 141 | * @param {*} value | ||
| 142 | * @author: renchao | ||
| 143 | */ | ||
| 139 | updateDetail (value) { | 144 | updateDetail (value) { |
| 140 | this.tableDataList[this.dataIndex] = value | 145 | this.tableDataList[this.dataIndex] = value |
| 141 | this.key++ | 146 | this.key++ |
| ... | @@ -143,19 +148,39 @@ | ... | @@ -143,19 +148,39 @@ |
| 143 | }, | 148 | }, |
| 144 | 149 | ||
| 145 | // 新增 | 150 | // 新增 |
| 151 | /** | ||
| 152 | * @description: 新增 | ||
| 153 | * @author: renchao | ||
| 154 | */ | ||
| 146 | addClick () { | 155 | addClick () { |
| 147 | this.dialog = true | 156 | this.dialog = true |
| 148 | }, | 157 | }, |
| 149 | 158 | ||
| 150 | // 删除 | 159 | // 删除 |
| 160 | /** | ||
| 161 | * @description: 删除 | ||
| 162 | * @param {*} index | ||
| 163 | * @param {*} row | ||
| 164 | * @author: renchao | ||
| 165 | */ | ||
| 151 | deleClick (index, row) { | 166 | deleClick (index, row) { |
| 152 | this.tableData.splice(index, 1) | 167 | this.tableData.splice(index, 1) |
| 153 | }, | 168 | }, |
| 154 | 169 | ||
| 155 | // 身份证读取 | 170 | // 身份证读取 |
| 171 | /** | ||
| 172 | * @description: 身份证读取 | ||
| 173 | * @author: renchao | ||
| 174 | */ | ||
| 156 | readClick () { }, | 175 | readClick () { }, |
| 157 | 176 | ||
| 158 | // 修改 | 177 | // 修改 |
| 178 | /** | ||
| 179 | * @description: 修改 | ||
| 180 | * @param {*} index | ||
| 181 | * @param {*} row | ||
| 182 | * @author: renchao | ||
| 183 | */ | ||
| 159 | editClick (index, row) { | 184 | editClick (index, row) { |
| 160 | console.log(row, 'rowrowrowrowrow'); | 185 | console.log(row, 'rowrowrowrowrow'); |
| 161 | this.dataIndex = index | 186 | this.dataIndex = index |
| ... | @@ -163,6 +188,10 @@ | ... | @@ -163,6 +188,10 @@ |
| 163 | this.details = row | 188 | this.details = row |
| 164 | }, | 189 | }, |
| 165 | 190 | ||
| 191 | /** | ||
| 192 | * @description: queryViewClick | ||
| 193 | * @author: renchao | ||
| 194 | */ | ||
| 166 | queryViewClick () { | 195 | queryViewClick () { |
| 167 | this.dialog = true | 196 | this.dialog = true |
| 168 | } | 197 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:40:28 | 4 | * @LastEditTime: 2023-05-17 10:40:28 |
| 5 | --> | 5 | --> |
| ... | @@ -178,10 +178,18 @@ | ... | @@ -178,10 +178,18 @@ |
| 178 | } | 178 | } |
| 179 | }, | 179 | }, |
| 180 | methods: { | 180 | methods: { |
| 181 | /** | ||
| 182 | * @description: closeDialog | ||
| 183 | * @author: renchao | ||
| 184 | */ | ||
| 181 | closeDialog () { | 185 | closeDialog () { |
| 182 | this.$emit("input", false); | 186 | this.$emit("input", false); |
| 183 | this.$refs['ruleForm'].resetFields(); | 187 | this.$refs['ruleForm'].resetFields(); |
| 184 | }, | 188 | }, |
| 189 | /** | ||
| 190 | * @description: submitForm | ||
| 191 | * @author: renchao | ||
| 192 | */ | ||
| 185 | submitForm () { | 193 | submitForm () { |
| 186 | this.$emit("input", false); | 194 | this.$emit("input", false); |
| 187 | this.$emit("updateDetail", _.cloneDeep(this.ruleForm)); | 195 | this.$emit("updateDetail", _.cloneDeep(this.ruleForm)); | ... | ... |
| ... | @@ -53,6 +53,10 @@ | ... | @@ -53,6 +53,10 @@ |
| 53 | }, | 53 | }, |
| 54 | methods: { | 54 | methods: { |
| 55 | // 批量删除确定按钮 | 55 | // 批量删除确定按钮 |
| 56 | /** | ||
| 57 | * @description: 批量删除确定按钮 | ||
| 58 | * @author: renchao | ||
| 59 | */ | ||
| 56 | submitdelclick () { | 60 | submitdelclick () { |
| 57 | var formdata = new FormData(); | 61 | var formdata = new FormData(); |
| 58 | formdata.append("bsmSldyList", this.selectBdcdy); | 62 | formdata.append("bsmSldyList", this.selectBdcdy); |
| ... | @@ -68,6 +72,11 @@ | ... | @@ -68,6 +72,11 @@ |
| 68 | }) | 72 | }) |
| 69 | }, | 73 | }, |
| 70 | // 批量删除勾选事件 | 74 | // 批量删除勾选事件 |
| 75 | /** | ||
| 76 | * @description: 批量删除勾选事件 | ||
| 77 | * @param {*} e | ||
| 78 | * @author: renchao | ||
| 79 | */ | ||
| 71 | handleSelectionChange (e) { | 80 | handleSelectionChange (e) { |
| 72 | this.selectBdcdy = []; | 81 | this.selectBdcdy = []; |
| 73 | e.forEach((item, index) => { | 82 | e.forEach((item, index) => { | ... | ... |
| ... | @@ -221,6 +221,10 @@ | ... | @@ -221,6 +221,10 @@ |
| 221 | }, | 221 | }, |
| 222 | methods: { | 222 | methods: { |
| 223 | // 自动预览 | 223 | // 自动预览 |
| 224 | /** | ||
| 225 | * @description: 自动预览 | ||
| 226 | * @author: renchao | ||
| 227 | */ | ||
| 224 | nextPriview () { | 228 | nextPriview () { |
| 225 | if (this.treeCheckIndex < this.tableData.length) { | 229 | if (this.treeCheckIndex < this.tableData.length) { |
| 226 | this.treeCheckIndex++ | 230 | this.treeCheckIndex++ |
| ... | @@ -230,6 +234,10 @@ | ... | @@ -230,6 +234,10 @@ |
| 230 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj | 234 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj |
| 231 | } | 235 | } |
| 232 | }, | 236 | }, |
| 237 | /** | ||
| 238 | * @description: prevPriview | ||
| 239 | * @author: renchao | ||
| 240 | */ | ||
| 233 | prevPriview () { | 241 | prevPriview () { |
| 234 | if (this.treeCheckIndex >= 1) { | 242 | if (this.treeCheckIndex >= 1) { |
| 235 | this.treeCheckIndex-- | 243 | this.treeCheckIndex-- |
| ... | @@ -240,6 +248,10 @@ | ... | @@ -240,6 +248,10 @@ |
| 240 | } | 248 | } |
| 241 | }, | 249 | }, |
| 242 | // 材料目录明细初始化 | 250 | // 材料目录明细初始化 |
| 251 | /** | ||
| 252 | * @description: 材料目录明细初始化 | ||
| 253 | * @author: renchao | ||
| 254 | */ | ||
| 243 | clmlInitList () { | 255 | clmlInitList () { |
| 244 | return new Promise(resolve => { | 256 | return new Promise(resolve => { |
| 245 | this.unitData = this.$parent.unitData; | 257 | this.unitData = this.$parent.unitData; |
| ... | @@ -265,6 +277,11 @@ | ... | @@ -265,6 +277,11 @@ |
| 265 | }) | 277 | }) |
| 266 | }) | 278 | }) |
| 267 | }, | 279 | }, |
| 280 | /** | ||
| 281 | * @description: updateList | ||
| 282 | * @param {*} val | ||
| 283 | * @author: renchao | ||
| 284 | */ | ||
| 268 | updateList (val) { | 285 | updateList (val) { |
| 269 | let that = this | 286 | let that = this |
| 270 | if (val != null) { //删除最后一张图片时 val=null | 287 | if (val != null) { //删除最后一张图片时 val=null |
| ... | @@ -289,14 +306,29 @@ | ... | @@ -289,14 +306,29 @@ |
| 289 | 306 | ||
| 290 | }, | 307 | }, |
| 291 | // 左侧菜单点击 | 308 | // 左侧菜单点击 |
| 309 | /** | ||
| 310 | * @description: 左侧菜单点击 | ||
| 311 | * @param {*} item | ||
| 312 | * @author: renchao | ||
| 313 | */ | ||
| 292 | menuClick (item) { | 314 | menuClick (item) { |
| 293 | this.checkedId = item.id | 315 | this.checkedId = item.id |
| 294 | }, | 316 | }, |
| 295 | // 添加材料目录 | 317 | // 添加材料目录 |
| 318 | /** | ||
| 319 | * @description: 添加材料目录 | ||
| 320 | * @author: renchao | ||
| 321 | */ | ||
| 296 | handleAdd () { | 322 | handleAdd () { |
| 297 | this.isDialog = true; | 323 | this.isDialog = true; |
| 298 | }, | 324 | }, |
| 299 | // 上移 | 325 | // 上移 |
| 326 | /** | ||
| 327 | * @description: 上移 | ||
| 328 | * @param {*} index | ||
| 329 | * @param {*} row | ||
| 330 | * @author: renchao | ||
| 331 | */ | ||
| 300 | moveUpward (index, row) { | 332 | moveUpward (index, row) { |
| 301 | let obj = { | 333 | let obj = { |
| 302 | xh: row.xh, | 334 | xh: row.xh, |
| ... | @@ -317,6 +349,12 @@ | ... | @@ -317,6 +349,12 @@ |
| 317 | }) | 349 | }) |
| 318 | }, | 350 | }, |
| 319 | // 下移 | 351 | // 下移 |
| 352 | /** | ||
| 353 | * @description: 下移 | ||
| 354 | * @param {*} index | ||
| 355 | * @param {*} row | ||
| 356 | * @author: renchao | ||
| 357 | */ | ||
| 320 | moveDown (index, row) { | 358 | moveDown (index, row) { |
| 321 | let obj = { | 359 | let obj = { |
| 322 | xh: row.xh, | 360 | xh: row.xh, |
| ... | @@ -337,6 +375,11 @@ | ... | @@ -337,6 +375,11 @@ |
| 337 | }) | 375 | }) |
| 338 | }, | 376 | }, |
| 339 | // 新增弹窗保存 | 377 | // 新增弹窗保存 |
| 378 | /** | ||
| 379 | * @description: 新增弹窗保存 | ||
| 380 | * @param {*} data | ||
| 381 | * @author: renchao | ||
| 382 | */ | ||
| 340 | addSave (data) { | 383 | addSave (data) { |
| 341 | let obj = { | 384 | let obj = { |
| 342 | bsmSlsq: this.$parent.bsmSlsq, | 385 | bsmSlsq: this.$parent.bsmSlsq, |
| ... | @@ -359,6 +402,12 @@ | ... | @@ -359,6 +402,12 @@ |
| 359 | }); | 402 | }); |
| 360 | }, | 403 | }, |
| 361 | // 材料目录删除 | 404 | // 材料目录删除 |
| 405 | /** | ||
| 406 | * @description: 材料目录删除 | ||
| 407 | * @param {*} index | ||
| 408 | * @param {*} row | ||
| 409 | * @author: renchao | ||
| 410 | */ | ||
| 362 | handleDelete (index, row) { | 411 | handleDelete (index, row) { |
| 363 | let that = this | 412 | let that = this |
| 364 | this.$confirm('此操作将永久删除该 是否继续?', '提示', { | 413 | this.$confirm('此操作将永久删除该 是否继续?', '提示', { |
| ... | @@ -383,6 +432,12 @@ | ... | @@ -383,6 +432,12 @@ |
| 383 | }) | 432 | }) |
| 384 | }, | 433 | }, |
| 385 | // 材料目录点击选中 | 434 | // 材料目录点击选中 |
| 435 | /** | ||
| 436 | * @description: 材料目录点击选中 | ||
| 437 | * @param {*} item | ||
| 438 | * @param {*} index | ||
| 439 | * @author: renchao | ||
| 440 | */ | ||
| 386 | treeClick (item, index) { | 441 | treeClick (item, index) { |
| 387 | this.previewImg.index = 0 | 442 | this.previewImg.index = 0 |
| 388 | this.treeCheckId = item?.bsmSj | 443 | this.treeCheckId = item?.bsmSj |
| ... | @@ -391,11 +446,23 @@ | ... | @@ -391,11 +446,23 @@ |
| 391 | this.previewImg.bsmSj = item?.bsmSj | 446 | this.previewImg.bsmSj = item?.bsmSj |
| 392 | }, | 447 | }, |
| 393 | // 小图片点击 | 448 | // 小图片点击 |
| 449 | /** | ||
| 450 | * @description: 小图片点击 | ||
| 451 | * @param {*} item | ||
| 452 | * @param {*} index | ||
| 453 | * @author: renchao | ||
| 454 | */ | ||
| 394 | imgClick (item, index) { | 455 | imgClick (item, index) { |
| 395 | this.showImg = item; | 456 | this.showImg = item; |
| 396 | this.titleYs = index + 1; | 457 | this.titleYs = index + 1; |
| 397 | }, | 458 | }, |
| 398 | // 字典 | 459 | // 字典 |
| 460 | /** | ||
| 461 | * @description: 字典 | ||
| 462 | * @param {*} val | ||
| 463 | * @param {*} code | ||
| 464 | * @author: renchao | ||
| 465 | */ | ||
| 399 | dicStatus (val, code) { | 466 | dicStatus (val, code) { |
| 400 | let data = this.$store.getters.dictData[code], | 467 | let data = this.$store.getters.dictData[code], |
| 401 | name = "暂无"; | 468 | name = "暂无"; | ... | ... |
| ... | @@ -74,6 +74,10 @@ | ... | @@ -74,6 +74,10 @@ |
| 74 | }, | 74 | }, |
| 75 | methods: { | 75 | methods: { |
| 76 | // 自动预览 | 76 | // 自动预览 |
| 77 | /** | ||
| 78 | * @description: 自动预览 | ||
| 79 | * @author: renchao | ||
| 80 | */ | ||
| 77 | nextPriview () { | 81 | nextPriview () { |
| 78 | if (this.treeCheckIndex < this.tableData.length) { | 82 | if (this.treeCheckIndex < this.tableData.length) { |
| 79 | this.treeCheckIndex++ | 83 | this.treeCheckIndex++ |
| ... | @@ -83,6 +87,10 @@ | ... | @@ -83,6 +87,10 @@ |
| 83 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj | 87 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj |
| 84 | } | 88 | } |
| 85 | }, | 89 | }, |
| 90 | /** | ||
| 91 | * @description: prevPriview | ||
| 92 | * @author: renchao | ||
| 93 | */ | ||
| 86 | prevPriview () { | 94 | prevPriview () { |
| 87 | if (this.treeCheckIndex >= 1) { | 95 | if (this.treeCheckIndex >= 1) { |
| 88 | this.treeCheckIndex-- | 96 | this.treeCheckIndex-- |
| ... | @@ -93,6 +101,11 @@ | ... | @@ -93,6 +101,11 @@ |
| 93 | } | 101 | } |
| 94 | }, | 102 | }, |
| 95 | // 材料目录明细初始化 | 103 | // 材料目录明细初始化 |
| 104 | /** | ||
| 105 | * @description: 材料目录明细初始化 | ||
| 106 | * @param {*} type | ||
| 107 | * @author: renchao | ||
| 108 | */ | ||
| 96 | clmlInitList (type) { | 109 | clmlInitList (type) { |
| 97 | //type 1:列表初始化 2:新增材料 | 110 | //type 1:列表初始化 2:新增材料 |
| 98 | return new Promise(resolve => { | 111 | return new Promise(resolve => { |
| ... | @@ -118,6 +131,11 @@ | ... | @@ -118,6 +131,11 @@ |
| 118 | }) | 131 | }) |
| 119 | }) | 132 | }) |
| 120 | }, | 133 | }, |
| 134 | /** | ||
| 135 | * @description: setChecked | ||
| 136 | * @param {*} item | ||
| 137 | * @author: renchao | ||
| 138 | */ | ||
| 121 | setChecked (item) { | 139 | setChecked (item) { |
| 122 | this.treeCheckId = item.bsmSj; | 140 | this.treeCheckId = item.bsmSj; |
| 123 | this.title = item.sjmc; | 141 | this.title = item.sjmc; |
| ... | @@ -126,6 +144,11 @@ | ... | @@ -126,6 +144,11 @@ |
| 126 | this.previewImg.imgList = item.children; | 144 | this.previewImg.imgList = item.children; |
| 127 | this.previewImg.bsmSj = item.bsmSj; | 145 | this.previewImg.bsmSj = item.bsmSj; |
| 128 | }, | 146 | }, |
| 147 | /** | ||
| 148 | * @description: updateList | ||
| 149 | * @param {*} val | ||
| 150 | * @author: renchao | ||
| 151 | */ | ||
| 129 | updateList (val) { | 152 | updateList (val) { |
| 130 | let that = this | 153 | let that = this |
| 131 | if (val.children.length != []) { //删除最后一张图片时 val=null | 154 | if (val.children.length != []) { //删除最后一张图片时 val=null |
| ... | @@ -149,10 +172,19 @@ | ... | @@ -149,10 +172,19 @@ |
| 149 | } | 172 | } |
| 150 | }, | 173 | }, |
| 151 | // 添加材料目录 | 174 | // 添加材料目录 |
| 175 | /** | ||
| 176 | * @description: 添加材料目录 | ||
| 177 | * @author: renchao | ||
| 178 | */ | ||
| 152 | handleAdd () { | 179 | handleAdd () { |
| 153 | this.isDialog = true; | 180 | this.isDialog = true; |
| 154 | }, | 181 | }, |
| 155 | // 新增弹窗保存 | 182 | // 新增弹窗保存 |
| 183 | /** | ||
| 184 | * @description: 新增弹窗保存 | ||
| 185 | * @param {*} data | ||
| 186 | * @author: renchao | ||
| 187 | */ | ||
| 156 | addSave (data) { | 188 | addSave (data) { |
| 157 | let obj = { | 189 | let obj = { |
| 158 | bsmSlsq: this.$parent.bsmSlsq, | 190 | bsmSlsq: this.$parent.bsmSlsq, |
| ... | @@ -175,6 +207,12 @@ | ... | @@ -175,6 +207,12 @@ |
| 175 | }); | 207 | }); |
| 176 | }, | 208 | }, |
| 177 | // 材料目录点击选中 | 209 | // 材料目录点击选中 |
| 210 | /** | ||
| 211 | * @description: 材料目录点击选中 | ||
| 212 | * @param {*} item | ||
| 213 | * @param {*} index | ||
| 214 | * @author: renchao | ||
| 215 | */ | ||
| 178 | treeClick (item, index) { | 216 | treeClick (item, index) { |
| 179 | this.previewImg.index = 0 | 217 | this.previewImg.index = 0 |
| 180 | this.treeCheckId = item?.bsmSj | 218 | this.treeCheckId = item?.bsmSj |
| ... | @@ -183,11 +221,23 @@ | ... | @@ -183,11 +221,23 @@ |
| 183 | this.previewImg.bsmSj = item?.bsmSj | 221 | this.previewImg.bsmSj = item?.bsmSj |
| 184 | }, | 222 | }, |
| 185 | // 小图片点击 | 223 | // 小图片点击 |
| 224 | /** | ||
| 225 | * @description: 小图片点击 | ||
| 226 | * @param {*} item | ||
| 227 | * @param {*} index | ||
| 228 | * @author: renchao | ||
| 229 | */ | ||
| 186 | imgClick (item, index) { | 230 | imgClick (item, index) { |
| 187 | this.showImg = item; | 231 | this.showImg = item; |
| 188 | this.titleYs = index + 1; | 232 | this.titleYs = index + 1; |
| 189 | }, | 233 | }, |
| 190 | // 字典 | 234 | // 字典 |
| 235 | /** | ||
| 236 | * @description: 字典 | ||
| 237 | * @param {*} val | ||
| 238 | * @param {*} code | ||
| 239 | * @author: renchao | ||
| 240 | */ | ||
| 191 | dicStatus (val, code) { | 241 | dicStatus (val, code) { |
| 192 | let data = this.$store.getters.dictData[code], | 242 | let data = this.$store.getters.dictData[code], |
| 193 | name = "暂无"; | 243 | name = "暂无"; | ... | ... |
| ... | @@ -198,10 +198,18 @@ | ... | @@ -198,10 +198,18 @@ |
| 198 | }, | 198 | }, |
| 199 | }, | 199 | }, |
| 200 | methods: { | 200 | methods: { |
| 201 | /** | ||
| 202 | * @description: closeDialog | ||
| 203 | * @author: renchao | ||
| 204 | */ | ||
| 201 | closeDialog () { | 205 | closeDialog () { |
| 202 | this.$emit("input", false); | 206 | this.$emit("input", false); |
| 203 | this.$refs["ruleForm"].resetFields(); | 207 | this.$refs["ruleForm"].resetFields(); |
| 204 | }, | 208 | }, |
| 209 | /** | ||
| 210 | * @description: submitForm | ||
| 211 | * @author: renchao | ||
| 212 | */ | ||
| 205 | submitForm () { | 213 | submitForm () { |
| 206 | this.$refs.ruleForm.validate((valid) => { | 214 | this.$refs.ruleForm.validate((valid) => { |
| 207 | if (valid) { | 215 | if (valid) { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-18 08:55:31 | 4 | * @LastEditTime: 2023-07-18 08:55:31 |
| 5 | --> | 5 | --> |
| ... | @@ -60,6 +60,10 @@ | ... | @@ -60,6 +60,10 @@ |
| 60 | }, | 60 | }, |
| 61 | }, | 61 | }, |
| 62 | methods: { | 62 | methods: { |
| 63 | /** | ||
| 64 | * @description: closeDialog | ||
| 65 | * @author: renchao | ||
| 66 | */ | ||
| 63 | closeDialog () { | 67 | closeDialog () { |
| 64 | this.$emit("input", false); | 68 | this.$emit("input", false); |
| 65 | this.ruleForm = { | 69 | this.ruleForm = { |
| ... | @@ -67,6 +71,10 @@ | ... | @@ -67,6 +71,10 @@ |
| 67 | clmc: "", | 71 | clmc: "", |
| 68 | } | 72 | } |
| 69 | }, | 73 | }, |
| 74 | /** | ||
| 75 | * @description: handleSubmit | ||
| 76 | * @author: renchao | ||
| 77 | */ | ||
| 70 | handleSubmit () { | 78 | handleSubmit () { |
| 71 | debugger | 79 | debugger |
| 72 | this.$refs['ruleForm'].validate((valid) => { | 80 | this.$refs['ruleForm'].validate((valid) => { | ... | ... |
| ... | @@ -152,6 +152,10 @@ | ... | @@ -152,6 +152,10 @@ |
| 152 | }, | 152 | }, |
| 153 | methods: { | 153 | methods: { |
| 154 | // 材料目录明细初始化 | 154 | // 材料目录明细初始化 |
| 155 | /** | ||
| 156 | * @description: 材料目录明细初始化 | ||
| 157 | * @author: renchao | ||
| 158 | */ | ||
| 155 | clmlInitList () { | 159 | clmlInitList () { |
| 156 | return new Promise(resolve => { | 160 | return new Promise(resolve => { |
| 157 | this.unitData = this.$parent.unitData; | 161 | this.unitData = this.$parent.unitData; |
| ... | @@ -173,6 +177,12 @@ | ... | @@ -173,6 +177,12 @@ |
| 173 | }) | 177 | }) |
| 174 | }, | 178 | }, |
| 175 | // 上移 | 179 | // 上移 |
| 180 | /** | ||
| 181 | * @description: 上移 | ||
| 182 | * @param {*} index | ||
| 183 | * @param {*} row | ||
| 184 | * @author: renchao | ||
| 185 | */ | ||
| 176 | moveUpward (index, row) { | 186 | moveUpward (index, row) { |
| 177 | let obj = { | 187 | let obj = { |
| 178 | xh: row.xh, | 188 | xh: row.xh, |
| ... | @@ -196,6 +206,12 @@ | ... | @@ -196,6 +206,12 @@ |
| 196 | }) | 206 | }) |
| 197 | }, | 207 | }, |
| 198 | // 下移 | 208 | // 下移 |
| 209 | /** | ||
| 210 | * @description: 下移 | ||
| 211 | * @param {*} index | ||
| 212 | * @param {*} row | ||
| 213 | * @author: renchao | ||
| 214 | */ | ||
| 199 | moveDown (index, row) { | 215 | moveDown (index, row) { |
| 200 | let obj = { | 216 | let obj = { |
| 201 | xh: row.xh, | 217 | xh: row.xh, |
| ... | @@ -218,6 +234,12 @@ | ... | @@ -218,6 +234,12 @@ |
| 218 | }) | 234 | }) |
| 219 | }, | 235 | }, |
| 220 | // 材料目录删除 | 236 | // 材料目录删除 |
| 237 | /** | ||
| 238 | * @description: 材料目录删除 | ||
| 239 | * @param {*} index | ||
| 240 | * @param {*} row | ||
| 241 | * @author: renchao | ||
| 242 | */ | ||
| 221 | handleDelete (index, row) { | 243 | handleDelete (index, row) { |
| 222 | let that = this | 244 | let that = this |
| 223 | this.$confirm('此操作将永久删除该 是否继续?', '提示', { | 245 | this.$confirm('此操作将永久删除该 是否继续?', '提示', { |
| ... | @@ -245,6 +267,12 @@ | ... | @@ -245,6 +267,12 @@ |
| 245 | }) | 267 | }) |
| 246 | }, | 268 | }, |
| 247 | // 字典 | 269 | // 字典 |
| 270 | /** | ||
| 271 | * @description: 字典 | ||
| 272 | * @param {*} val | ||
| 273 | * @param {*} code | ||
| 274 | * @author: renchao | ||
| 275 | */ | ||
| 248 | dicStatus (val, code) { | 276 | dicStatus (val, code) { |
| 249 | let data = store.getters.dictData[code], | 277 | let data = store.getters.dictData[code], |
| 250 | name = "暂无"; | 278 | name = "暂无"; | ... | ... |
| ... | @@ -81,12 +81,20 @@ | ... | @@ -81,12 +81,20 @@ |
| 81 | this.getList() | 81 | this.getList() |
| 82 | }, | 82 | }, |
| 83 | methods: { | 83 | methods: { |
| 84 | /** | ||
| 85 | * @description: getList | ||
| 86 | * @author: renchao | ||
| 87 | */ | ||
| 84 | getList () { | 88 | getList () { |
| 85 | getUserCommonOpinion().then(res => { | 89 | getUserCommonOpinion().then(res => { |
| 86 | this.tableData.data = res.result | 90 | this.tableData.data = res.result |
| 87 | }) | 91 | }) |
| 88 | }, | 92 | }, |
| 89 | //新增常用意见 | 93 | //新增常用意见 |
| 94 | /** | ||
| 95 | * @description: 新增常用意见 | ||
| 96 | * @author: renchao | ||
| 97 | */ | ||
| 90 | addOpinion () { | 98 | addOpinion () { |
| 91 | this.$refs.form.validate(valid => { | 99 | this.$refs.form.validate(valid => { |
| 92 | if (valid) { | 100 | if (valid) { |
| ... | @@ -105,23 +113,46 @@ | ... | @@ -105,23 +113,46 @@ |
| 105 | }); | 113 | }); |
| 106 | }, | 114 | }, |
| 107 | //打开新增弹窗 | 115 | //打开新增弹窗 |
| 116 | /** | ||
| 117 | * @description: 打开新增弹窗 | ||
| 118 | * @author: renchao | ||
| 119 | */ | ||
| 108 | openDialog () { | 120 | openDialog () { |
| 109 | this.addDialog = true | 121 | this.addDialog = true |
| 110 | }, | 122 | }, |
| 111 | //关闭新增弹窗 | 123 | //关闭新增弹窗 |
| 124 | /** | ||
| 125 | * @description: 关闭新增弹窗 | ||
| 126 | * @author: renchao | ||
| 127 | */ | ||
| 112 | closeaddDiglog () { | 128 | closeaddDiglog () { |
| 113 | this.addDialog = false | 129 | this.addDialog = false |
| 114 | this.$refs['form'].resetFields(); | 130 | this.$refs['form'].resetFields(); |
| 115 | }, | 131 | }, |
| 132 | /** | ||
| 133 | * @description: handleRowClick | ||
| 134 | * @param {*} item | ||
| 135 | * @author: renchao | ||
| 136 | */ | ||
| 116 | handleRowClick (item) { | 137 | handleRowClick (item) { |
| 117 | this.useCommonOpinion(item) | 138 | this.useCommonOpinion(item) |
| 118 | }, | 139 | }, |
| 119 | //使用常用意见 | 140 | //使用常用意见 |
| 141 | /** | ||
| 142 | * @description: 使用常用意见 | ||
| 143 | * @param {*} item | ||
| 144 | * @author: renchao | ||
| 145 | */ | ||
| 120 | useCommonOpinion (item) { | 146 | useCommonOpinion (item) { |
| 121 | store.dispatch('workflow/setOptions', item.opinion); | 147 | store.dispatch('workflow/setOptions', item.opinion); |
| 122 | this.$popupCacel() | 148 | this.$popupCacel() |
| 123 | }, | 149 | }, |
| 124 | //删除常用意见 | 150 | //删除常用意见 |
| 151 | /** | ||
| 152 | * @description: 删除常用意见 | ||
| 153 | * @param {*} item | ||
| 154 | * @author: renchao | ||
| 155 | */ | ||
| 125 | deleteOpinion (item) { | 156 | deleteOpinion (item) { |
| 126 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 157 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
| 127 | confirmButtonText: "确定", | 158 | confirmButtonText: "确定", |
| ... | @@ -145,6 +176,10 @@ | ... | @@ -145,6 +176,10 @@ |
| 145 | }); | 176 | }); |
| 146 | }, | 177 | }, |
| 147 | //关闭列表弹窗 | 178 | //关闭列表弹窗 |
| 179 | /** | ||
| 180 | * @description: 关闭列表弹窗 | ||
| 181 | * @author: renchao | ||
| 182 | */ | ||
| 148 | closeDialog () { | 183 | closeDialog () { |
| 149 | this.form.commonOpinion = ""; | 184 | this.form.commonOpinion = ""; |
| 150 | } | 185 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-12 16:33:18 | 4 | * @LastEditTime: 2023-07-21 13:43:52 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class='dblistDialog'> | 7 | <div class='dblistDialog'> |
| ... | @@ -11,7 +11,6 @@ | ... | @@ -11,7 +11,6 @@ |
| 11 | height="200"> | 11 | height="200"> |
| 12 | <el-table-column | 12 | <el-table-column |
| 13 | prop="ywh" | 13 | prop="ywh" |
| 14 | width="110" | ||
| 15 | label="业务号"> | 14 | label="业务号"> |
| 16 | </el-table-column> | 15 | </el-table-column> |
| 17 | <el-table-column | 16 | <el-table-column | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-04 14:13:28 | 4 | * @LastEditTime: 2023-05-04 14:13:28 |
| 5 | --> | 5 | --> |
| ... | @@ -43,6 +43,10 @@ | ... | @@ -43,6 +43,10 @@ |
| 43 | this.query() | 43 | this.query() |
| 44 | }, | 44 | }, |
| 45 | methods: { | 45 | methods: { |
| 46 | /** | ||
| 47 | * @description: query | ||
| 48 | * @author: renchao | ||
| 49 | */ | ||
| 46 | query () { | 50 | query () { |
| 47 | getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then(res => { | 51 | getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then(res => { |
| 48 | if (res.code == 200) { | 52 | if (res.code == 200) { |
| ... | @@ -55,4 +59,4 @@ | ... | @@ -55,4 +59,4 @@ |
| 55 | } | 59 | } |
| 56 | </script> | 60 | </script> |
| 57 | <style scoped lang='scss'> | 61 | <style scoped lang='scss'> |
| 58 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 62 | </style> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-25 11:13:07 | 4 | * @LastEditTime: 2023-06-25 11:13:07 |
| 5 | --> | 5 | --> |
| ... | @@ -78,6 +78,10 @@ | ... | @@ -78,6 +78,10 @@ |
| 78 | }, | 78 | }, |
| 79 | methods: { | 79 | methods: { |
| 80 | //获取印刷序列号列表 | 80 | //获取印刷序列号列表 |
| 81 | /** | ||
| 82 | * @description: 获取印刷序列号列表 | ||
| 83 | * @author: renchao | ||
| 84 | */ | ||
| 81 | ysxlhList () { | 85 | ysxlhList () { |
| 82 | readYsxlh({ zslx: this.formData.bdcqz.bdcqzlx }).then((res) => { | 86 | readYsxlh({ zslx: this.formData.bdcqz.bdcqzlx }).then((res) => { |
| 83 | if (res.code === 200) { | 87 | if (res.code === 200) { |
| ... | @@ -86,6 +90,10 @@ | ... | @@ -86,6 +90,10 @@ |
| 86 | }) | 90 | }) |
| 87 | }, | 91 | }, |
| 88 | //获取受理申请下全部不动产权证 | 92 | //获取受理申请下全部不动产权证 |
| 93 | /** | ||
| 94 | * @description: 获取受理申请下全部不动产权证 | ||
| 95 | * @author: renchao | ||
| 96 | */ | ||
| 89 | getHeadTabBdcqz () { | 97 | getHeadTabBdcqz () { |
| 90 | this.loading = true | 98 | this.loading = true |
| 91 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { | 99 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { |
| ... | @@ -99,6 +107,10 @@ | ... | @@ -99,6 +107,10 @@ |
| 99 | }) | 107 | }) |
| 100 | }, | 108 | }, |
| 101 | // 不动产证书 | 109 | // 不动产证书 |
| 110 | /** | ||
| 111 | * @description: 不动产证书 | ||
| 112 | * @author: renchao | ||
| 113 | */ | ||
| 102 | drawTextOnImage () { | 114 | drawTextOnImage () { |
| 103 | const canvas = this.$refs.zs; | 115 | const canvas = this.$refs.zs; |
| 104 | const context = canvas.getContext('2d'); | 116 | const context = canvas.getContext('2d'); |
| ... | @@ -146,10 +158,18 @@ | ... | @@ -146,10 +158,18 @@ |
| 146 | } | 158 | } |
| 147 | image.src = this.imgSrc | 159 | image.src = this.imgSrc |
| 148 | }, | 160 | }, |
| 161 | /** | ||
| 162 | * @description: handleSubmit | ||
| 163 | * @author: renchao | ||
| 164 | */ | ||
| 149 | handleSubmit () { | 165 | handleSubmit () { |
| 150 | this.savePrintRecord() | 166 | this.savePrintRecord() |
| 151 | }, | 167 | }, |
| 152 | //保存打印记录 | 168 | //保存打印记录 |
| 169 | /** | ||
| 170 | * @description: 保存打印记录 | ||
| 171 | * @author: renchao | ||
| 172 | */ | ||
| 153 | savePrintRecord () { | 173 | savePrintRecord () { |
| 154 | this.ruleForm.bsmBdcqz = this.formData.bdcqz.bsmBdcqz; | 174 | this.ruleForm.bsmBdcqz = this.formData.bdcqz.bsmBdcqz; |
| 155 | this.ruleForm.bdcqzlx = this.formData.bdcqz.bdcqzlx; | 175 | this.ruleForm.bdcqzlx = this.formData.bdcqz.bdcqzlx; | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-18 10:53:49 | 4 | * @LastEditTime: 2023-05-18 10:53:49 |
| 5 | --> | 5 | --> |
| ... | @@ -115,6 +115,10 @@ | ... | @@ -115,6 +115,10 @@ |
| 115 | }, | 115 | }, |
| 116 | methods: { | 116 | methods: { |
| 117 | //列表初始化 | 117 | //列表初始化 |
| 118 | /** | ||
| 119 | * @description: 列表初始化 | ||
| 120 | * @author: renchao | ||
| 121 | */ | ||
| 118 | loadGrid () { | 122 | loadGrid () { |
| 119 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { | 123 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { |
| 120 | if (res.code === 200) { | 124 | if (res.code === 200) { |
| ... | @@ -126,12 +130,26 @@ | ... | @@ -126,12 +130,26 @@ |
| 126 | } | 130 | } |
| 127 | }) | 131 | }) |
| 128 | }, | 132 | }, |
| 133 | /** | ||
| 134 | * @description: handleSelectionChange | ||
| 135 | * @param {*} val | ||
| 136 | * @author: renchao | ||
| 137 | */ | ||
| 129 | handleSelectionChange (val) { | 138 | handleSelectionChange (val) { |
| 130 | this.ruleForm.bdcqzList = val | 139 | this.ruleForm.bdcqzList = val |
| 131 | }, | 140 | }, |
| 141 | /** | ||
| 142 | * @description: handleRowClick | ||
| 143 | * @param {*} row | ||
| 144 | * @author: renchao | ||
| 145 | */ | ||
| 132 | handleRowClick (row) { | 146 | handleRowClick (row) { |
| 133 | this.$refs.table.toggleRowSelection(row) | 147 | this.$refs.table.toggleRowSelection(row) |
| 134 | }, | 148 | }, |
| 149 | /** | ||
| 150 | * @description: handleSubmit | ||
| 151 | * @author: renchao | ||
| 152 | */ | ||
| 135 | handleSubmit () { | 153 | handleSubmit () { |
| 136 | 154 | ||
| 137 | this.$refs.ruleForm.validate(valid => { | 155 | this.$refs.ruleForm.validate(valid => { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-14 16:05:30 | 4 | * @LastEditTime: 2023-07-14 16:05:30 |
| 5 | --> | 5 | --> |
| ... | @@ -69,11 +69,20 @@ | ... | @@ -69,11 +69,20 @@ |
| 69 | }, | 69 | }, |
| 70 | methods: { | 70 | methods: { |
| 71 | //获取证书内容 | 71 | //获取证书内容 |
| 72 | /** | ||
| 73 | * @description: 获取证书内容 | ||
| 74 | * @param {*} code | ||
| 75 | * @author: renchao | ||
| 76 | */ | ||
| 72 | getRowValue (code) { | 77 | getRowValue (code) { |
| 73 | var value = this.bdcqz[code]; | 78 | var value = this.bdcqz[code]; |
| 74 | return value; | 79 | return value; |
| 75 | }, | 80 | }, |
| 76 | //获取受理申请下全部不动产权证 | 81 | //获取受理申请下全部不动产权证 |
| 82 | /** | ||
| 83 | * @description: 获取受理申请下全部不动产权证 | ||
| 84 | * @author: renchao | ||
| 85 | */ | ||
| 77 | getHeadTabBdcqz () { | 86 | getHeadTabBdcqz () { |
| 78 | this.loading = true | 87 | this.loading = true |
| 79 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { | 88 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { |
| ... | @@ -94,6 +103,11 @@ | ... | @@ -94,6 +103,11 @@ |
| 94 | }) | 103 | }) |
| 95 | }, | 104 | }, |
| 96 | //tab表头切换方法 | 105 | //tab表头切换方法 |
| 106 | /** | ||
| 107 | * @description: tab表头切换方法 | ||
| 108 | * @param {*} e | ||
| 109 | * @author: renchao | ||
| 110 | */ | ||
| 97 | handleClick (e) { | 111 | handleClick (e) { |
| 98 | this.bdcqz = this.headTabBdcqz[e.index - 0] | 112 | this.bdcqz = this.headTabBdcqz[e.index - 0] |
| 99 | this.activeName = this.headTabBdcqz.bsmBdcqz | 113 | this.activeName = this.headTabBdcqz.bsmBdcqz |
| ... | @@ -104,6 +118,10 @@ | ... | @@ -104,6 +118,10 @@ |
| 104 | } | 118 | } |
| 105 | }, | 119 | }, |
| 106 | // 不动产证书 | 120 | // 不动产证书 |
| 121 | /** | ||
| 122 | * @description: 不动产证书 | ||
| 123 | * @author: renchao | ||
| 124 | */ | ||
| 107 | drawTextOnImage () { | 125 | drawTextOnImage () { |
| 108 | const canvas = this.$refs.zs; | 126 | const canvas = this.$refs.zs; |
| 109 | const context = canvas.getContext('2d'); | 127 | const context = canvas.getContext('2d'); |
| ... | @@ -152,6 +170,10 @@ | ... | @@ -152,6 +170,10 @@ |
| 152 | image.src = this.imgSrc | 170 | image.src = this.imgSrc |
| 153 | }, | 171 | }, |
| 154 | // 不动产证明 | 172 | // 不动产证明 |
| 173 | /** | ||
| 174 | * @description: 不动产证明 | ||
| 175 | * @author: renchao | ||
| 176 | */ | ||
| 155 | drawTextzmImage () { | 177 | drawTextzmImage () { |
| 156 | const canvas = this.$refs.zm; | 178 | const canvas = this.$refs.zm; |
| 157 | const context = canvas.getContext('2d'); | 179 | const context = canvas.getContext('2d'); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-16 15:55:45 | 4 | * @LastEditTime: 2023-07-20 16:58:04 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
| 24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> | 24 | <el-input v-model="ruleForm.qlr" clearable placeholder="请输入权利人"></el-input> |
| 25 | </el-form-item> | 25 | </el-form-item> |
| 26 | </el-col> | 26 | </el-col> |
| 27 | <el-col :span="6" class="btnColRight"> | 27 | <el-col :span="6" class="btnColRight" v-if="ableOperation"> |
| 28 | <el-form-item> | 28 | <el-form-item> |
| 29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> | 29 | <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> |
| 30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> | 30 | <el-button type="primary" icon="el-icon-search" @click="zslqClick">证书领取</el-button> |
| ... | @@ -47,6 +47,8 @@ | ... | @@ -47,6 +47,8 @@ |
| 47 | mixins: [table], | 47 | mixins: [table], |
| 48 | data () { | 48 | data () { |
| 49 | return { | 49 | return { |
| 50 | //表单是否可操作 | ||
| 51 | ableOperation: true, | ||
| 50 | ruleForm: { | 52 | ruleForm: { |
| 51 | ysxlh: '', | 53 | ysxlh: '', |
| 52 | zsh: '', | 54 | zsh: '', |
| ... | @@ -61,7 +63,14 @@ | ... | @@ -61,7 +63,14 @@ |
| 61 | dialogVisible: false | 63 | dialogVisible: false |
| 62 | } | 64 | } |
| 63 | }, | 65 | }, |
| 66 | created () { | ||
| 67 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | ||
| 68 | }, | ||
| 64 | methods: { | 69 | methods: { |
| 70 | /** | ||
| 71 | * @description: queryClick | ||
| 72 | * @author: renchao | ||
| 73 | */ | ||
| 65 | queryClick () { | 74 | queryClick () { |
| 66 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; | 75 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; |
| 67 | getCertificateList(this.ruleForm).then(res => { | 76 | getCertificateList(this.ruleForm).then(res => { |
| ... | @@ -78,4 +87,4 @@ | ... | @@ -78,4 +87,4 @@ |
| 78 | </script> | 87 | </script> |
| 79 | <style scoped lang='scss'> | 88 | <style scoped lang='scss'> |
| 80 | @import "~@/styles/public.scss"; | 89 | @import "~@/styles/public.scss"; |
| 81 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 90 | </style> | ... | ... |
| ... | @@ -78,6 +78,10 @@ | ... | @@ -78,6 +78,10 @@ |
| 78 | }, | 78 | }, |
| 79 | methods: { | 79 | methods: { |
| 80 | //读取申请单元信息 | 80 | //读取申请单元信息 |
| 81 | /** | ||
| 82 | * @description: 读取申请单元信息 | ||
| 83 | * @author: renchao | ||
| 84 | */ | ||
| 81 | loadBdcdylist () { | 85 | loadBdcdylist () { |
| 82 | var formdata = new FormData(); | 86 | var formdata = new FormData(); |
| 83 | formdata.append("bsmSlsq", this.bsmSlsq); | 87 | formdata.append("bsmSlsq", this.bsmSlsq); |
| ... | @@ -102,6 +106,10 @@ | ... | @@ -102,6 +106,10 @@ |
| 102 | }) | 106 | }) |
| 103 | }, | 107 | }, |
| 104 | //批量按钮判断 | 108 | //批量按钮判断 |
| 109 | /** | ||
| 110 | * @description: 批量按钮判断 | ||
| 111 | * @author: renchao | ||
| 112 | */ | ||
| 105 | judgeBatchShow () { | 113 | judgeBatchShow () { |
| 106 | this.showBatch = false; | 114 | this.showBatch = false; |
| 107 | if (this.unitData.length > 1) { | 115 | if (this.unitData.length > 1) { |
| ... | @@ -163,6 +171,10 @@ | ... | @@ -163,6 +171,10 @@ |
| 163 | }); | 171 | }); |
| 164 | }, | 172 | }, |
| 165 | //批量按钮点击事件 | 173 | //批量按钮点击事件 |
| 174 | /** | ||
| 175 | * @description: 批量按钮点击事件 | ||
| 176 | * @author: renchao | ||
| 177 | */ | ||
| 166 | batchUnitClick () { | 178 | batchUnitClick () { |
| 167 | this.currentSelectProps.batchOperation = true; | 179 | this.currentSelectProps.batchOperation = true; |
| 168 | // this.activeIndex = "-1"; | 180 | // this.activeIndex = "-1"; |
| ... | @@ -170,6 +182,10 @@ | ... | @@ -170,6 +182,10 @@ |
| 170 | 182 | ||
| 171 | }, | 183 | }, |
| 172 | //批量操作 | 184 | //批量操作 |
| 185 | /** | ||
| 186 | * @description: 批量操作 | ||
| 187 | * @author: renchao | ||
| 188 | */ | ||
| 173 | handleBatchDel () { | 189 | handleBatchDel () { |
| 174 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 190 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
| 175 | bsmSlsq: this.bsmSlsq, | 191 | bsmSlsq: this.bsmSlsq, |
| ... | @@ -177,7 +193,13 @@ | ... | @@ -177,7 +193,13 @@ |
| 177 | }, '50%', true) | 193 | }, '50%', true) |
| 178 | }, | 194 | }, |
| 179 | //申请单元点击事件 | 195 | //申请单元点击事件 |
| 196 | /** | ||
| 197 | * @description: 申请单元点击事件 | ||
| 198 | * @param {*} index | ||
| 199 | * @author: renchao | ||
| 200 | */ | ||
| 180 | unitClick (index) { | 201 | unitClick (index) { |
| 202 | if(this.unitData.length==0) return | ||
| 181 | this.currentSelectProps = this.unitData[index]; | 203 | this.currentSelectProps = this.unitData[index]; |
| 182 | this.currentSelectProps.batchOperation = false; | 204 | this.currentSelectProps.batchOperation = false; |
| 183 | this.activeIndex = index.toString(); | 205 | this.activeIndex = index.toString(); | ... | ... |
| ... | @@ -95,6 +95,10 @@ | ... | @@ -95,6 +95,10 @@ |
| 95 | }, | 95 | }, |
| 96 | methods: { | 96 | methods: { |
| 97 | //读取申请单元信息 | 97 | //读取申请单元信息 |
| 98 | /** | ||
| 99 | * @description: 读取申请单元信息 | ||
| 100 | * @author: renchao | ||
| 101 | */ | ||
| 98 | loadBdcdylist () { | 102 | loadBdcdylist () { |
| 99 | var formdata = new FormData(); | 103 | var formdata = new FormData(); |
| 100 | formdata.append("bsmSlsq", this.bsmSlsq); | 104 | formdata.append("bsmSlsq", this.bsmSlsq); |
| ... | @@ -120,6 +124,10 @@ | ... | @@ -120,6 +124,10 @@ |
| 120 | }) | 124 | }) |
| 121 | }, | 125 | }, |
| 122 | //批量按钮判断 | 126 | //批量按钮判断 |
| 127 | /** | ||
| 128 | * @description: 批量按钮判断 | ||
| 129 | * @author: renchao | ||
| 130 | */ | ||
| 123 | judgeBatchShow () { | 131 | judgeBatchShow () { |
| 124 | this.showBatch = false; | 132 | this.showBatch = false; |
| 125 | if (this.afterUnitData.length > 1) { | 133 | if (this.afterUnitData.length > 1) { |
| ... | @@ -171,6 +179,10 @@ | ... | @@ -171,6 +179,10 @@ |
| 171 | }, | 179 | }, |
| 172 | 180 | ||
| 173 | //批量按钮点击事件 | 181 | //批量按钮点击事件 |
| 182 | /** | ||
| 183 | * @description: 批量按钮点击事件 | ||
| 184 | * @author: renchao | ||
| 185 | */ | ||
| 174 | batchUnitClick () { | 186 | batchUnitClick () { |
| 175 | this.currentSelectProps.batchOperation = true; | 187 | this.currentSelectProps.batchOperation = true; |
| 176 | // this.activeIndex = "-1"; | 188 | // this.activeIndex = "-1"; |
| ... | @@ -178,6 +190,11 @@ | ... | @@ -178,6 +190,11 @@ |
| 178 | 190 | ||
| 179 | }, | 191 | }, |
| 180 | //申请单元点击事件 | 192 | //申请单元点击事件 |
| 193 | /** | ||
| 194 | * @description: 申请单元点击事件 | ||
| 195 | * @param {*} index | ||
| 196 | * @author: renchao | ||
| 197 | */ | ||
| 181 | unitClick (index) { | 198 | unitClick (index) { |
| 182 | this.activeHIndex = '-1' | 199 | this.activeHIndex = '-1' |
| 183 | this.currentSelectProps = this.aroundUnitData[index]; | 200 | this.currentSelectProps = this.aroundUnitData[index]; |
| ... | @@ -188,6 +205,11 @@ | ... | @@ -188,6 +205,11 @@ |
| 188 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | 205 | this.$emit('getCurrentSelectProps', this.currentSelectProps); |
| 189 | this.$parent.stepForm(index); | 206 | this.$parent.stepForm(index); |
| 190 | }, | 207 | }, |
| 208 | /** | ||
| 209 | * @description: handleAfterunitClick | ||
| 210 | * @param {*} index | ||
| 211 | * @author: renchao | ||
| 212 | */ | ||
| 191 | handleAfterunitClick (index) { | 213 | handleAfterunitClick (index) { |
| 192 | this.activeIndex = '-1' | 214 | this.activeIndex = '-1' |
| 193 | this.currentSelectProps = this.afterUnitData[index]; | 215 | this.currentSelectProps = this.afterUnitData[index]; | ... | ... |
| ... | @@ -242,6 +242,12 @@ export default { | ... | @@ -242,6 +242,12 @@ export default { |
| 242 | this.clearViewer(); | 242 | this.clearViewer(); |
| 243 | }, | 243 | }, |
| 244 | methods: { | 244 | methods: { |
| 245 | /** | ||
| 246 | * @description: formatDate | ||
| 247 | * @param {*} row | ||
| 248 | * @param {*} column | ||
| 249 | * @author: renchao | ||
| 250 | */ | ||
| 245 | formatDate(row, column) { | 251 | formatDate(row, column) { |
| 246 | let data = row[column.property]; | 252 | let data = row[column.property]; |
| 247 | if (data == null) { | 253 | if (data == null) { |
| ... | @@ -262,10 +268,19 @@ export default { | ... | @@ -262,10 +268,19 @@ export default { |
| 262 | dt.getSeconds() | 268 | dt.getSeconds() |
| 263 | ); | 269 | ); |
| 264 | }, | 270 | }, |
| 271 | /** | ||
| 272 | * @description: processReZoom | ||
| 273 | * @author: renchao | ||
| 274 | */ | ||
| 265 | processReZoom() { | 275 | processReZoom() { |
| 266 | this.defaultZoom = 1; | 276 | this.defaultZoom = 1; |
| 267 | this.bpmnViewer.get("canvas").zoom("fit-viewport", "auto"); | 277 | this.bpmnViewer.get("canvas").zoom("fit-viewport", "auto"); |
| 268 | }, | 278 | }, |
| 279 | /** | ||
| 280 | * @description: processZoomIn | ||
| 281 | * @param {*} zoomStep | ||
| 282 | * @author: renchao | ||
| 283 | */ | ||
| 269 | processZoomIn(zoomStep = 0.1) { | 284 | processZoomIn(zoomStep = 0.1) { |
| 270 | const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100; | 285 | const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100; |
| 271 | if (newZoom > 4) { | 286 | if (newZoom > 4) { |
| ... | @@ -276,6 +291,11 @@ export default { | ... | @@ -276,6 +291,11 @@ export default { |
| 276 | this.defaultZoom = newZoom; | 291 | this.defaultZoom = newZoom; |
| 277 | this.bpmnViewer.get("canvas").zoom(this.defaultZoom); | 292 | this.bpmnViewer.get("canvas").zoom(this.defaultZoom); |
| 278 | }, | 293 | }, |
| 294 | /** | ||
| 295 | * @description: processZoomOut | ||
| 296 | * @param {*} zoomStep | ||
| 297 | * @author: renchao | ||
| 298 | */ | ||
| 279 | processZoomOut(zoomStep = 0.1) { | 299 | processZoomOut(zoomStep = 0.1) { |
| 280 | const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100; | 300 | const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100; |
| 281 | if (newZoom < 0.2) { | 301 | if (newZoom < 0.2) { |
| ... | @@ -286,10 +306,20 @@ export default { | ... | @@ -286,10 +306,20 @@ export default { |
| 286 | this.defaultZoom = newZoom; | 306 | this.defaultZoom = newZoom; |
| 287 | this.bpmnViewer.get("canvas").zoom(this.defaultZoom); | 307 | this.bpmnViewer.get("canvas").zoom(this.defaultZoom); |
| 288 | }, | 308 | }, |
| 309 | /** | ||
| 310 | * @description: getOperationTagType | ||
| 311 | * @param {*} type | ||
| 312 | * @author: renchao | ||
| 313 | */ | ||
| 289 | getOperationTagType(type) { | 314 | getOperationTagType(type) { |
| 290 | return "success"; | 315 | return "success"; |
| 291 | }, | 316 | }, |
| 292 | // 流程图预览清空 | 317 | // 流程图预览清空 |
| 318 | /** | ||
| 319 | * @description: 流程图预览清空 | ||
| 320 | * @param {*} e | ||
| 321 | * @author: renchao | ||
| 322 | */ | ||
| 293 | clearViewer(a) { | 323 | clearViewer(a) { |
| 294 | if (this.$refs.processCanvas) { | 324 | if (this.$refs.processCanvas) { |
| 295 | this.$refs.processCanvas.innerHTML = ""; | 325 | this.$refs.processCanvas.innerHTML = ""; |
| ... | @@ -300,6 +330,10 @@ export default { | ... | @@ -300,6 +330,10 @@ export default { |
| 300 | this.bpmnViewer = null; | 330 | this.bpmnViewer = null; |
| 301 | }, | 331 | }, |
| 302 | // 添加自定义箭头 | 332 | // 添加自定义箭头 |
| 333 | /** | ||
| 334 | * @description: 添加自定义箭头 | ||
| 335 | * @author: renchao | ||
| 336 | */ | ||
| 303 | addCustomDefs() { | 337 | addCustomDefs() { |
| 304 | const canvas = this.bpmnViewer.get("canvas"); | 338 | const canvas = this.bpmnViewer.get("canvas"); |
| 305 | const svg = canvas._svg; | 339 | const svg = canvas._svg; |
| ... | @@ -309,6 +343,11 @@ export default { | ... | @@ -309,6 +343,11 @@ export default { |
| 309 | svg.appendChild(customFailDefs); | 343 | svg.appendChild(customFailDefs); |
| 310 | }, | 344 | }, |
| 311 | // 任务悬浮弹窗 | 345 | // 任务悬浮弹窗 |
| 346 | /** | ||
| 347 | * @description: 任务悬浮弹窗 | ||
| 348 | * @param {*} element | ||
| 349 | * @author: renchao | ||
| 350 | */ | ||
| 312 | onSelectElement(element) { | 351 | onSelectElement(element) { |
| 313 | this.selectTaskId = undefined; | 352 | this.selectTaskId = undefined; |
| 314 | this.dlgTitle = undefined; | 353 | this.dlgTitle = undefined; |
| ... | @@ -334,6 +373,11 @@ export default { | ... | @@ -334,6 +373,11 @@ export default { |
| 334 | } | 373 | } |
| 335 | }, | 374 | }, |
| 336 | // 下拉列表切换 | 375 | // 下拉列表切换 |
| 376 | /** | ||
| 377 | * @description: 下拉列表切换 | ||
| 378 | * @param {*} val | ||
| 379 | * @author: renchao | ||
| 380 | */ | ||
| 337 | handleSelect(val) { | 381 | handleSelect(val) { |
| 338 | this.taskCommentList = (this.taskList || []).filter((item) => { | 382 | this.taskCommentList = (this.taskList || []).filter((item) => { |
| 339 | return item.taskDefinitionKey === val; | 383 | return item.taskDefinitionKey === val; |
| ... | @@ -343,6 +387,11 @@ export default { | ... | @@ -343,6 +387,11 @@ export default { |
| 343 | } | 387 | } |
| 344 | }, | 388 | }, |
| 345 | // 显示流程图 | 389 | // 显示流程图 |
| 390 | /** | ||
| 391 | * @description: 显示流程图 | ||
| 392 | * @param {*} xml | ||
| 393 | * @author: renchao | ||
| 394 | */ | ||
| 346 | async importXML(xml) { | 395 | async importXML(xml) { |
| 347 | let xmlData = this.$x2js.xml2js(xml).definitions.process; | 396 | let xmlData = this.$x2js.xml2js(xml).definitions.process; |
| 348 | this.selectOptions = xmlData.userTask.map((item) => { | 397 | this.selectOptions = xmlData.userTask.map((item) => { |
| ... | @@ -394,6 +443,10 @@ export default { | ... | @@ -394,6 +443,10 @@ export default { |
| 394 | } | 443 | } |
| 395 | }, | 444 | }, |
| 396 | // 获取流程记录 | 445 | // 获取流程记录 |
| 446 | /** | ||
| 447 | * @description: 获取流程记录 | ||
| 448 | * @author: renchao | ||
| 449 | */ | ||
| 397 | getCommentList() { | 450 | getCommentList() { |
| 398 | this.formData.allCommentList.forEach(async (item, index) => { | 451 | this.formData.allCommentList.forEach(async (item, index) => { |
| 399 | // item.comments.forEach(element => { | 452 | // item.comments.forEach(element => { |
| ... | @@ -455,6 +508,11 @@ export default { | ... | @@ -455,6 +508,11 @@ export default { |
| 455 | }, | 508 | }, |
| 456 | 509 | ||
| 457 | // 设置流程图元素状态 | 510 | // 设置流程图元素状态 |
| 511 | /** | ||
| 512 | * @description: 设置流程图元素状态 | ||
| 513 | * @param {*} processNodeInfo | ||
| 514 | * @author: renchao | ||
| 515 | */ | ||
| 458 | setProcessStatus(processNodeInfo) { | 516 | setProcessStatus(processNodeInfo) { |
| 459 | this.processNodeInfo = processNodeInfo; | 517 | this.processNodeInfo = processNodeInfo; |
| 460 | if ( | 518 | if ( | ... | ... |
| ... | @@ -161,6 +161,11 @@ | ... | @@ -161,6 +161,11 @@ |
| 161 | } | 161 | } |
| 162 | }, | 162 | }, |
| 163 | methods: { | 163 | methods: { |
| 164 | /** | ||
| 165 | * @description: handleupdateDetail | ||
| 166 | * @param {*} value | ||
| 167 | * @author: renchao | ||
| 168 | */ | ||
| 164 | handleupdateDetail (value) { | 169 | handleupdateDetail (value) { |
| 165 | if (this.isaddupdate) { | 170 | if (this.isaddupdate) { |
| 166 | if (!_.isEqual(value, this.tableData)) { | 171 | if (!_.isEqual(value, this.tableData)) { |
| ... | @@ -176,6 +181,10 @@ | ... | @@ -176,6 +181,10 @@ |
| 176 | this.key++ | 181 | this.key++ |
| 177 | }, | 182 | }, |
| 178 | // 新增 | 183 | // 新增 |
| 184 | /** | ||
| 185 | * @description: 新增 | ||
| 186 | * @author: renchao | ||
| 187 | */ | ||
| 179 | addClick () { | 188 | addClick () { |
| 180 | if (this.gyfs == '0' && this.tableDataList.length > 0) { | 189 | if (this.gyfs == '0' && this.tableDataList.length > 0) { |
| 181 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") | 190 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") |
| ... | @@ -186,6 +195,12 @@ | ... | @@ -186,6 +195,12 @@ |
| 186 | }, | 195 | }, |
| 187 | 196 | ||
| 188 | // 删除 | 197 | // 删除 |
| 198 | /** | ||
| 199 | * @description: 删除 | ||
| 200 | * @param {*} index | ||
| 201 | * @param {*} row | ||
| 202 | * @author: renchao | ||
| 203 | */ | ||
| 189 | deleClick (index, row) { | 204 | deleClick (index, row) { |
| 190 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 205 | this.$confirm('确定要删除吗, 是否继续?', '提示', { |
| 191 | confirmButtonText: '确定', | 206 | confirmButtonText: '确定', |
| ... | @@ -198,6 +213,11 @@ | ... | @@ -198,6 +213,11 @@ |
| 198 | }, | 213 | }, |
| 199 | 214 | ||
| 200 | // 身份证读取 | 215 | // 身份证读取 |
| 216 | /** | ||
| 217 | * @description: 身份证读取 | ||
| 218 | * @param {*} row | ||
| 219 | * @author: renchao | ||
| 220 | */ | ||
| 201 | readClick (row) { | 221 | readClick (row) { |
| 202 | getIdCardInfo().then(res => { | 222 | getIdCardInfo().then(res => { |
| 203 | if (res.data.code == 0) { | 223 | if (res.data.code == 0) { |
| ... | @@ -221,12 +241,24 @@ | ... | @@ -221,12 +241,24 @@ |
| 221 | }) | 241 | }) |
| 222 | }, | 242 | }, |
| 223 | // 修改 | 243 | // 修改 |
| 244 | /** | ||
| 245 | * @description: 修改 | ||
| 246 | * @param {*} index | ||
| 247 | * @param {*} row | ||
| 248 | * @author: renchao | ||
| 249 | */ | ||
| 224 | editClick (index, row) { | 250 | editClick (index, row) { |
| 225 | this.dataIndex = index | 251 | this.dataIndex = index |
| 226 | this.dialog = true | 252 | this.dialog = true |
| 227 | this.details = row | 253 | this.details = row |
| 228 | this.isaddupdate = false | 254 | this.isaddupdate = false |
| 229 | }, | 255 | }, |
| 256 | /** | ||
| 257 | * @description: queryViewClick | ||
| 258 | * @param {*} index | ||
| 259 | * @param {*} row | ||
| 260 | * @author: renchao | ||
| 261 | */ | ||
| 230 | queryViewClick (index, row) { | 262 | queryViewClick (index, row) { |
| 231 | this.dialog = true | 263 | this.dialog = true |
| 232 | this.details = row | 264 | this.details = row | ... | ... |
| ... | @@ -88,6 +88,10 @@ | ... | @@ -88,6 +88,10 @@ |
| 88 | }, | 88 | }, |
| 89 | methods: { | 89 | methods: { |
| 90 | //审批意见数据初始化 | 90 | //审批意见数据初始化 |
| 91 | /** | ||
| 92 | * @description: 审批意见数据初始化 | ||
| 93 | * @author: renchao | ||
| 94 | */ | ||
| 91 | list () { | 95 | list () { |
| 92 | let that = this | 96 | let that = this |
| 93 | this.$startLoading() | 97 | this.$startLoading() |
| ... | @@ -105,6 +109,10 @@ | ... | @@ -105,6 +109,10 @@ |
| 105 | } | 109 | } |
| 106 | }) | 110 | }) |
| 107 | }, | 111 | }, |
| 112 | /** | ||
| 113 | * @description: onSubmit | ||
| 114 | * @author: renchao | ||
| 115 | */ | ||
| 108 | onSubmit () { | 116 | onSubmit () { |
| 109 | this.ruleForm.bsmSlsq = this.bsmSlsq | 117 | this.ruleForm.bsmSlsq = this.bsmSlsq |
| 110 | this.ruleForm.bestepid = this.bestepid | 118 | this.ruleForm.bestepid = this.bestepid |
| ... | @@ -118,10 +126,18 @@ | ... | @@ -118,10 +126,18 @@ |
| 118 | }) | 126 | }) |
| 119 | }, | 127 | }, |
| 120 | //打开常用意见列表弹窗 | 128 | //打开常用意见列表弹窗 |
| 129 | /** | ||
| 130 | * @description: 打开常用意见列表弹窗 | ||
| 131 | * @author: renchao | ||
| 132 | */ | ||
| 121 | commonOpinion () { | 133 | commonOpinion () { |
| 122 | this.$popupDialog("常用意见", "workflow/components/dialog/commonOpinion", {}, "70%", true) | 134 | this.$popupDialog("常用意见", "workflow/components/dialog/commonOpinion", {}, "70%", true) |
| 123 | }, | 135 | }, |
| 124 | //使用常用意见 | 136 | //使用常用意见 |
| 137 | /** | ||
| 138 | * @description: 使用常用意见 | ||
| 139 | * @author: renchao | ||
| 140 | */ | ||
| 125 | useOpinion (opinion) { | 141 | useOpinion (opinion) { |
| 126 | this.ruleForm.shyj = opinion | 142 | this.ruleForm.shyj = opinion |
| 127 | } | 143 | } | ... | ... |
| ... | @@ -130,28 +130,57 @@ | ... | @@ -130,28 +130,57 @@ |
| 130 | } | 130 | } |
| 131 | }, | 131 | }, |
| 132 | methods: { | 132 | methods: { |
| 133 | /** | ||
| 134 | * @description: updateDetail | ||
| 135 | * @param {*} value | ||
| 136 | * @author: renchao | ||
| 137 | */ | ||
| 133 | updateDetail (value) { | 138 | updateDetail (value) { |
| 134 | this.tableDataList[this.dataIndex] = value | 139 | this.tableDataList[this.dataIndex] = value |
| 135 | this.key++ | 140 | this.key++ |
| 136 | this.$emit('upDateQlrxxList', this.tableDataList) | 141 | this.$emit('upDateQlrxxList', this.tableDataList) |
| 137 | }, | 142 | }, |
| 138 | // 添加 | 143 | // 添加 |
| 144 | /** | ||
| 145 | * @description: 添加 | ||
| 146 | * @author: renchao | ||
| 147 | */ | ||
| 139 | handleAdd () { | 148 | handleAdd () { |
| 140 | this.dialog = true | 149 | this.dialog = true |
| 141 | }, | 150 | }, |
| 142 | // 减 | 151 | // 减 |
| 152 | /** | ||
| 153 | * @description: 减 | ||
| 154 | * @param {*} index | ||
| 155 | * @param {*} row | ||
| 156 | * @author: renchao | ||
| 157 | */ | ||
| 143 | handleMinus (index, row) { | 158 | handleMinus (index, row) { |
| 144 | this.tableData.splice(index, 1) | 159 | this.tableData.splice(index, 1) |
| 145 | }, | 160 | }, |
| 146 | // 身份证读取 | 161 | // 身份证读取 |
| 162 | /** | ||
| 163 | * @description: 身份证读取 | ||
| 164 | * @author: renchao | ||
| 165 | */ | ||
| 147 | readClick () { }, | 166 | readClick () { }, |
| 148 | // 修改 | 167 | // 修改 |
| 168 | /** | ||
| 169 | * @description: 修改 | ||
| 170 | * @param {*} index | ||
| 171 | * @param {*} row | ||
| 172 | * @author: renchao | ||
| 173 | */ | ||
| 149 | handleEdit (index, row) { | 174 | handleEdit (index, row) { |
| 150 | console.log(row, 'rowrowrowrowrow'); | 175 | console.log(row, 'rowrowrowrowrow'); |
| 151 | this.dataIndex = index | 176 | this.dataIndex = index |
| 152 | this.dialog = true | 177 | this.dialog = true |
| 153 | this.details = row | 178 | this.details = row |
| 154 | }, | 179 | }, |
| 180 | /** | ||
| 181 | * @description: handleView | ||
| 182 | * @author: renchao | ||
| 183 | */ | ||
| 155 | handleView () { | 184 | handleView () { |
| 156 | this.dialog = true | 185 | this.dialog = true |
| 157 | } | 186 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-06-25 11:15:01 | 4 | * @LastEditTime: 2023-06-25 11:15:01 |
| 5 | --> | 5 | --> |
| ... | @@ -104,6 +104,10 @@ | ... | @@ -104,6 +104,10 @@ |
| 104 | }, | 104 | }, |
| 105 | methods: { | 105 | methods: { |
| 106 | //初始化列表 | 106 | //初始化列表 |
| 107 | /** | ||
| 108 | * @description: 初始化列表 | ||
| 109 | * @author: renchao | ||
| 110 | */ | ||
| 107 | list () { | 111 | list () { |
| 108 | var bsmSlsq = this.$route.query.bsmSlsq; | 112 | var bsmSlsq = this.$route.query.bsmSlsq; |
| 109 | getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => { | 113 | getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => { |
| ... | @@ -116,6 +120,12 @@ | ... | @@ -116,6 +120,12 @@ |
| 116 | }); | 120 | }); |
| 117 | }, | 121 | }, |
| 118 | //打开证书预览弹窗 | 122 | //打开证书预览弹窗 |
| 123 | /** | ||
| 124 | * @description: 打开证书预览弹窗 | ||
| 125 | * @param {*} item | ||
| 126 | * @param {*} type | ||
| 127 | * @author: renchao | ||
| 128 | */ | ||
| 119 | openZsylDialog (item, type) { | 129 | openZsylDialog (item, type) { |
| 120 | if (type == 1) { | 130 | if (type == 1) { |
| 121 | //证书预览 | 131 | //证书预览 |
| ... | @@ -125,17 +135,30 @@ | ... | @@ -125,17 +135,30 @@ |
| 125 | } | 135 | } |
| 126 | }, | 136 | }, |
| 127 | //再次打印 | 137 | //再次打印 |
| 138 | /** | ||
| 139 | * @description: 再次打印 | ||
| 140 | * @param {*} item | ||
| 141 | * @author: renchao | ||
| 142 | */ | ||
| 128 | openInvalidDiglog (item) { | 143 | openInvalidDiglog (item) { |
| 129 | this.bsmSz = item.bsmSz; | 144 | this.bsmSz = item.bsmSz; |
| 130 | this.invalidDiglog = true; | 145 | this.invalidDiglog = true; |
| 131 | this.bsmBdcqz = item.bsmBdcqz | 146 | this.bsmBdcqz = item.bsmBdcqz |
| 132 | }, | 147 | }, |
| 148 | /** | ||
| 149 | * @description: closeInvalidDiglog | ||
| 150 | * @author: renchao | ||
| 151 | */ | ||
| 133 | closeInvalidDiglog () { | 152 | closeInvalidDiglog () { |
| 134 | this.invalidDiglog = false; | 153 | this.invalidDiglog = false; |
| 135 | this.bsmSz = ""; | 154 | this.bsmSz = ""; |
| 136 | this.zfyy = ""; | 155 | this.zfyy = ""; |
| 137 | }, | 156 | }, |
| 138 | //作废缮证信息 | 157 | //作废缮证信息 |
| 158 | /** | ||
| 159 | * @description: 作废缮证信息 | ||
| 160 | * @author: renchao | ||
| 161 | */ | ||
| 139 | confirmInvalid () { | 162 | confirmInvalid () { |
| 140 | invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => { | 163 | invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => { |
| 141 | if (res.code === 200) { | 164 | if (res.code === 200) { |
| ... | @@ -149,6 +172,11 @@ | ... | @@ -149,6 +172,11 @@ |
| 149 | } | 172 | } |
| 150 | }); | 173 | }); |
| 151 | }, | 174 | }, |
| 175 | /** | ||
| 176 | * @description: openRecordPop | ||
| 177 | * @param {*} item | ||
| 178 | * @author: renchao | ||
| 179 | */ | ||
| 152 | openRecordPop (item) { | 180 | openRecordPop (item) { |
| 153 | this.$popupDialog("缮证记录", "workflow/components/dialog/szRecord", { bsmBdcqz: item.bsmBdcqz }, '60%', true) | 181 | this.$popupDialog("缮证记录", "workflow/components/dialog/szRecord", { bsmBdcqz: item.bsmBdcqz }, '60%', true) |
| 154 | } | 182 | } | ... | ... |
| ... | @@ -166,6 +166,10 @@ | ... | @@ -166,6 +166,10 @@ |
| 166 | }, | 166 | }, |
| 167 | }, | 167 | }, |
| 168 | methods: { | 168 | methods: { |
| 169 | /** | ||
| 170 | * @description: renderHeader | ||
| 171 | * @author: renchao | ||
| 172 | */ | ||
| 169 | renderHeader () { | 173 | renderHeader () { |
| 170 | return ( | 174 | return ( |
| 171 | <div> | 175 | <div> |
| ... | @@ -184,6 +188,10 @@ | ... | @@ -184,6 +188,10 @@ |
| 184 | ); | 188 | ); |
| 185 | }, | 189 | }, |
| 186 | // 修改事件 | 190 | // 修改事件 |
| 191 | /** | ||
| 192 | * @description: 修改事件 | ||
| 193 | * @author: renchao | ||
| 194 | */ | ||
| 187 | addrow () { | 195 | addrow () { |
| 188 | this.tableDataList = this.tableDataList.map((item) => { | 196 | this.tableDataList = this.tableDataList.map((item) => { |
| 189 | return { | 197 | return { |
| ... | @@ -193,6 +201,11 @@ | ... | @@ -193,6 +201,11 @@ |
| 193 | }); | 201 | }); |
| 194 | this.$emit("upDateTdytxxList", this.tableDataList); | 202 | this.$emit("upDateTdytxxList", this.tableDataList); |
| 195 | }, | 203 | }, |
| 204 | /** | ||
| 205 | * @description: startTime | ||
| 206 | * @param {*} index | ||
| 207 | * @author: renchao | ||
| 208 | */ | ||
| 196 | startTime (index) { | 209 | startTime (index) { |
| 197 | // let startTime = this.tableDataList[index].tdsyqssj; | 210 | // let startTime = this.tableDataList[index].tdsyqssj; |
| 198 | let endTime = this.tableDataList[index].jssj; | 211 | let endTime = this.tableDataList[index].jssj; |
| ... | @@ -215,6 +228,11 @@ | ... | @@ -215,6 +228,11 @@ |
| 215 | this.tableDataList[index].syqx = endYear - startYear; | 228 | this.tableDataList[index].syqx = endYear - startYear; |
| 216 | } | 229 | } |
| 217 | }, | 230 | }, |
| 231 | /** | ||
| 232 | * @description: endTime | ||
| 233 | * @param {*} index | ||
| 234 | * @author: renchao | ||
| 235 | */ | ||
| 218 | endTime (index) { | 236 | endTime (index) { |
| 219 | // let startTime = this.tableDataList[index].tdsyqssj; | 237 | // let startTime = this.tableDataList[index].tdsyqssj; |
| 220 | let startTime = this.tableDataList[index].qssj; | 238 | let startTime = this.tableDataList[index].qssj; |
| ... | @@ -237,6 +255,12 @@ | ... | @@ -237,6 +255,12 @@ |
| 237 | this.tableDataList[index].syqx = endYear - startYear; | 255 | this.tableDataList[index].syqx = endYear - startYear; |
| 238 | } | 256 | } |
| 239 | }, | 257 | }, |
| 258 | /** | ||
| 259 | * @description: sumTime | ||
| 260 | * @param {*} index | ||
| 261 | * @param {*} syqx | ||
| 262 | * @author: renchao | ||
| 263 | */ | ||
| 240 | sumTime (index, syqx) { | 264 | sumTime (index, syqx) { |
| 241 | 265 | ||
| 242 | let startTime = this.tableDataList[index].qssj; | 266 | let startTime = this.tableDataList[index].qssj; |
| ... | @@ -247,6 +271,10 @@ | ... | @@ -247,6 +271,10 @@ |
| 247 | 271 | ||
| 248 | }, | 272 | }, |
| 249 | // 新增 | 273 | // 新增 |
| 274 | /** | ||
| 275 | * @description: 新增 | ||
| 276 | * @author: renchao | ||
| 277 | */ | ||
| 250 | addClick () { | 278 | addClick () { |
| 251 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); | 279 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); |
| 252 | 280 | ||
| ... | @@ -254,6 +282,12 @@ | ... | @@ -254,6 +282,12 @@ |
| 254 | }, | 282 | }, |
| 255 | 283 | ||
| 256 | // 删除 | 284 | // 删除 |
| 285 | /** | ||
| 286 | * @description: 删除 | ||
| 287 | * @param {*} index | ||
| 288 | * @param {*} row | ||
| 289 | * @author: renchao | ||
| 290 | */ | ||
| 257 | deleClick (index, row) { | 291 | deleClick (index, row) { |
| 258 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 292 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
| 259 | confirmButtonText: "确定", | 293 | confirmButtonText: "确定", | ... | ... |
| ... | @@ -68,6 +68,10 @@ | ... | @@ -68,6 +68,10 @@ |
| 68 | this.getBackNode(); | 68 | this.getBackNode(); |
| 69 | }, | 69 | }, |
| 70 | methods: { | 70 | methods: { |
| 71 | /** | ||
| 72 | * @description: onSubmit | ||
| 73 | * @author: renchao | ||
| 74 | */ | ||
| 71 | onSubmit () { | 75 | onSubmit () { |
| 72 | console.log(this.formData.bsmSlsq); | 76 | console.log(this.formData.bsmSlsq); |
| 73 | console.log(this.selectItem); | 77 | console.log(this.selectItem); |
| ... | @@ -89,11 +93,20 @@ | ... | @@ -89,11 +93,20 @@ |
| 89 | }, 1000); | 93 | }, 1000); |
| 90 | }); | 94 | }); |
| 91 | }, | 95 | }, |
| 96 | /** | ||
| 97 | * @description: changeSelectItem | ||
| 98 | * @param {*} item | ||
| 99 | * @author: renchao | ||
| 100 | */ | ||
| 92 | changeSelectItem (item) { | 101 | changeSelectItem (item) { |
| 93 | this.selectItem = item; | 102 | this.selectItem = item; |
| 94 | this.selectActivity = item.activityId; | 103 | this.selectActivity = item.activityId; |
| 95 | }, | 104 | }, |
| 96 | //获取可回退环节信息 | 105 | //获取可回退环节信息 |
| 106 | /** | ||
| 107 | * @description: 获取可回退环节信息 | ||
| 108 | * @author: renchao | ||
| 109 | */ | ||
| 97 | getBackNode () { | 110 | getBackNode () { |
| 98 | getTaskBackNode(this.formData).then((res) => { | 111 | getTaskBackNode(this.formData).then((res) => { |
| 99 | if (res.code == 200) { | 112 | if (res.code == 200) { |
| ... | @@ -106,6 +119,10 @@ | ... | @@ -106,6 +119,10 @@ |
| 106 | }); | 119 | }); |
| 107 | }, | 120 | }, |
| 108 | 121 | ||
| 122 | /** | ||
| 123 | * @description: cancelBack | ||
| 124 | * @author: renchao | ||
| 125 | */ | ||
| 109 | cancelBack () { | 126 | cancelBack () { |
| 110 | popupCacel(); | 127 | popupCacel(); |
| 111 | } | 128 | } | ... | ... |
| ... | @@ -4,6 +4,12 @@ | ... | @@ -4,6 +4,12 @@ |
| 4 | * @LastEditTime: 2023-06-19 13:16:53 | 4 | * @LastEditTime: 2023-06-19 13:16:53 |
| 5 | */ | 5 | */ |
| 6 | //流程环节操作按钮 | 6 | //流程环节操作按钮 |
| 7 | /** | ||
| 8 | * @description: 流程环节操作按钮 | ||
| 9 | * @param {*} tabName | ||
| 10 | * @param {*} djywbm | ||
| 11 | * @author: renchao | ||
| 12 | */ | ||
| 7 | export function getForm(tabName, djywbm) { | 13 | export function getForm(tabName, djywbm) { |
| 8 | let form; | 14 | let form; |
| 9 | switch (tabName) { | 15 | switch (tabName) { | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 14:20:17 | 4 | * @LastEditTime: 2023-07-21 13:43:14 |
| 5 | */ | 5 | */ |
| 6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
| 7 | import { uploadUndo } from "@/api/clxx"; | 7 | import { uploadUndo } from "@/api/clxx"; |
| ... | @@ -43,6 +43,10 @@ export default { | ... | @@ -43,6 +43,10 @@ export default { |
| 43 | }, | 43 | }, |
| 44 | methods: { | 44 | methods: { |
| 45 | //加载流程初始参数 | 45 | //加载流程初始参数 |
| 46 | /** | ||
| 47 | * @description: 加载流程初始参数 | ||
| 48 | * @author: renchao | ||
| 49 | */ | ||
| 46 | flowInitParam () { | 50 | flowInitParam () { |
| 47 | var formdata = new FormData(); | 51 | var formdata = new FormData(); |
| 48 | formdata.append("bsmSlsq", this.bsmSlsq); | 52 | formdata.append("bsmSlsq", this.bsmSlsq); |
| ... | @@ -59,6 +63,11 @@ export default { | ... | @@ -59,6 +63,11 @@ export default { |
| 59 | }) | 63 | }) |
| 60 | }, | 64 | }, |
| 61 | //流程环节操作按钮 | 65 | //流程环节操作按钮 |
| 66 | /** | ||
| 67 | * @description: 流程环节操作按钮 | ||
| 68 | * @param {*} item | ||
| 69 | * @author: renchao | ||
| 70 | */ | ||
| 62 | operation (item) { | 71 | operation (item) { |
| 63 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 | 72 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 |
| 64 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 73 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout |
| ... | @@ -225,6 +234,10 @@ export default { | ... | @@ -225,6 +234,10 @@ export default { |
| 225 | break; | 234 | break; |
| 226 | } | 235 | } |
| 227 | }, | 236 | }, |
| 237 | /** | ||
| 238 | * @description: del | ||
| 239 | * @author: renchao | ||
| 240 | */ | ||
| 228 | del () { | 241 | del () { |
| 229 | let formdata = new FormData(); | 242 | let formdata = new FormData(); |
| 230 | formdata.append("bsmSlsq", this.bsmSlsq); | 243 | formdata.append("bsmSlsq", this.bsmSlsq); |
| ... | @@ -270,9 +283,10 @@ export default { | ... | @@ -270,9 +283,10 @@ export default { |
| 270 | //转出最后一个流程 | 283 | //转出最后一个流程 |
| 271 | /** | 284 | /** |
| 272 | * @description: 转出最后一个流程 | 285 | * @description: 转出最后一个流程 |
| 286 | * @param {*} obj | ||
| 273 | * @author: renchao | 287 | * @author: renchao |
| 274 | */ | 288 | */ |
| 275 | sendToEnd () { | 289 | sendToNext (obj) { |
| 276 | this.$popupDialog("转出", "djbworkflow/components/zc", { | 290 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
| 277 | obj:"", | 291 | obj:"", |
| 278 | bsmSlsq: this.bsmSlsq, | 292 | bsmSlsq: this.bsmSlsq, |
| ... | @@ -280,6 +294,10 @@ export default { | ... | @@ -280,6 +294,10 @@ export default { |
| 280 | }, '800px', true) | 294 | }, '800px', true) |
| 281 | }, | 295 | }, |
| 282 | //批量操作 | 296 | //批量操作 |
| 297 | /** | ||
| 298 | * @description: 批量操作 | ||
| 299 | * @author: renchao | ||
| 300 | */ | ||
| 283 | handleBatchDel () { | 301 | handleBatchDel () { |
| 284 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 302 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
| 285 | width: "50%", | 303 | width: "50%", |
| ... | @@ -289,6 +307,11 @@ export default { | ... | @@ -289,6 +307,11 @@ export default { |
| 289 | 307 | ||
| 290 | }) | 308 | }) |
| 291 | }, | 309 | }, |
| 310 | /** | ||
| 311 | * @description: handleChange | ||
| 312 | * @param {*} file | ||
| 313 | * @author: renchao | ||
| 314 | */ | ||
| 292 | handleChange (file) { | 315 | handleChange (file) { |
| 293 | var formdata = new FormData(); | 316 | var formdata = new FormData(); |
| 294 | formdata.append("file", file.raw); | 317 | formdata.append("file", file.raw); |
| ... | @@ -303,6 +326,11 @@ export default { | ... | @@ -303,6 +326,11 @@ export default { |
| 303 | }) | 326 | }) |
| 304 | }, | 327 | }, |
| 305 | // 上传 | 328 | // 上传 |
| 329 | /** | ||
| 330 | * @description: 上传 | ||
| 331 | * @param {*} file | ||
| 332 | * @author: renchao | ||
| 333 | */ | ||
| 306 | beforeUpload (file) { | 334 | beforeUpload (file) { |
| 307 | return true; | 335 | return true; |
| 308 | } | 336 | } | ... | ... |
| ... | @@ -21,6 +21,10 @@ export default { | ... | @@ -21,6 +21,10 @@ export default { |
| 21 | }, false) | 21 | }, false) |
| 22 | }, | 22 | }, |
| 23 | methods: { | 23 | methods: { |
| 24 | /** | ||
| 25 | * @description: getHomeNotice | ||
| 26 | * @author: renchao | ||
| 27 | */ | ||
| 24 | getHomeNotice () { | 28 | getHomeNotice () { |
| 25 | getHomeNoticeList().then(res => { | 29 | getHomeNoticeList().then(res => { |
| 26 | if (res.result) { | 30 | if (res.result) { |
| ... | @@ -29,10 +33,21 @@ export default { | ... | @@ -29,10 +33,21 @@ export default { |
| 29 | }) | 33 | }) |
| 30 | }, | 34 | }, |
| 31 | //右侧表单选项卡事件 | 35 | //右侧表单选项卡事件 |
| 36 | /** | ||
| 37 | * @description: 右侧表单选项卡事件 | ||
| 38 | * @param {*} activeName | ||
| 39 | * @param {*} oldActiveName | ||
| 40 | * @author: renchao | ||
| 41 | */ | ||
| 32 | beforeLeave (activeName, oldActiveName) { | 42 | beforeLeave (activeName, oldActiveName) { |
| 33 | if (activeName && activeName != 0) this.getFromRouter(activeName) | 43 | if (activeName && activeName != 0) this.getFromRouter(activeName) |
| 34 | }, | 44 | }, |
| 35 | //切换选项卡内容组件 | 45 | //切换选项卡内容组件 |
| 46 | /** | ||
| 47 | * @description: 切换选项卡内容组件 | ||
| 48 | * @param {*} tabname | ||
| 49 | * @author: renchao | ||
| 50 | */ | ||
| 36 | getFromRouter (tabname) { | 51 | getFromRouter (tabname) { |
| 37 | console.log(tabname, 'tabnametabnametabnametabnametabname'); | 52 | console.log(tabname, 'tabnametabnametabnametabnametabname'); |
| 38 | //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 | 53 | //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 | ... | ... |
| ... | @@ -100,7 +100,7 @@ | ... | @@ -100,7 +100,7 @@ |
| 100 | clxxIndex: "", | 100 | clxxIndex: "", |
| 101 | //材料信息选项卡对象 | 101 | //材料信息选项卡对象 |
| 102 | clxxTab: {}, | 102 | clxxTab: {}, |
| 103 | ableOperation:false, | 103 | ableOperation: false, |
| 104 | //页面监听时间 | 104 | //页面监听时间 |
| 105 | _beforeUnload_time: "" | 105 | _beforeUnload_time: "" |
| 106 | } | 106 | } |
| ... | @@ -118,12 +118,26 @@ | ... | @@ -118,12 +118,26 @@ |
| 118 | window.removeEventListener("unload", (e) => this.unloadHandler(e)); | 118 | window.removeEventListener("unload", (e) => this.unloadHandler(e)); |
| 119 | }, | 119 | }, |
| 120 | methods: { | 120 | methods: { |
| 121 | /** | ||
| 122 | * @description: getCurrentSelectProps | ||
| 123 | * @param {*} val | ||
| 124 | * @author: renchao | ||
| 125 | */ | ||
| 121 | getCurrentSelectProps (val) { | 126 | getCurrentSelectProps (val) { |
| 122 | this.currentSelectProps = val | 127 | this.currentSelectProps = val |
| 123 | }, | 128 | }, |
| 129 | /** | ||
| 130 | * @description: beforeunloadHandler | ||
| 131 | * @author: renchao | ||
| 132 | */ | ||
| 124 | beforeunloadHandler () { | 133 | beforeunloadHandler () { |
| 125 | this._beforeUnload_time = new Date().getTime(); | 134 | this._beforeUnload_time = new Date().getTime(); |
| 126 | }, | 135 | }, |
| 136 | /** | ||
| 137 | * @description: unloadHandler | ||
| 138 | * @param {*} e | ||
| 139 | * @author: renchao | ||
| 140 | */ | ||
| 127 | unloadHandler (e) { | 141 | unloadHandler (e) { |
| 128 | this._gap_time = new Date().getTime() - this._beforeUnload_time; | 142 | this._gap_time = new Date().getTime() - this._beforeUnload_time; |
| 129 | //判断是窗口关闭还是刷新 | 143 | //判断是窗口关闭还是刷新 |
| ... | @@ -133,6 +147,11 @@ | ... | @@ -133,6 +147,11 @@ |
| 133 | } | 147 | } |
| 134 | }, | 148 | }, |
| 135 | //申请单元点击事件 | 149 | //申请单元点击事件 |
| 150 | /** | ||
| 151 | * @description: 申请单元点击事件 | ||
| 152 | * @param {*} index | ||
| 153 | * @author: renchao | ||
| 154 | */ | ||
| 136 | stepForm (index) { | 155 | stepForm (index) { |
| 137 | getStepFormInfo(this.currentSelectProps).then((res) => { | 156 | getStepFormInfo(this.currentSelectProps).then((res) => { |
| 138 | if (res.code === 200) { | 157 | if (res.code === 200) { |
| ... | @@ -141,7 +160,7 @@ | ... | @@ -141,7 +160,7 @@ |
| 141 | this.tabList = res.result; | 160 | this.tabList = res.result; |
| 142 | //默认加载第一个表单信息 | 161 | //默认加载第一个表单信息 |
| 143 | this.tabName = res.result[0].value; | 162 | this.tabName = res.result[0].value; |
| 144 | this.ableOperation=this.tabList[0].ableOperation | 163 | this.ableOperation = this.tabList[0].ableOperation |
| 145 | //批量操作无分屏按钮 | 164 | //批量操作无分屏按钮 |
| 146 | if (index != null) { | 165 | if (index != null) { |
| 147 | //处理分屏材料信息 | 166 | //处理分屏材料信息 |
| ... | @@ -158,6 +177,10 @@ | ... | @@ -158,6 +177,10 @@ |
| 158 | } | 177 | } |
| 159 | }) | 178 | }) |
| 160 | }, | 179 | }, |
| 180 | /** | ||
| 181 | * @description: openDialog | ||
| 182 | * @author: renchao | ||
| 183 | */ | ||
| 161 | openDialog () { | 184 | openDialog () { |
| 162 | this.$store.dispatch('user/refreshPage', false) | 185 | this.$store.dispatch('user/refreshPage', false) |
| 163 | let data = JSON.parse(localStorage.getItem('ywbl')) | 186 | let data = JSON.parse(localStorage.getItem('ywbl')) | ... | ... |
| ... | @@ -103,10 +103,20 @@ | ... | @@ -103,10 +103,20 @@ |
| 103 | }; | 103 | }; |
| 104 | }, | 104 | }, |
| 105 | methods: { | 105 | methods: { |
| 106 | /** | ||
| 107 | * @description: getCurrentSelectProps | ||
| 108 | * @param {*} val | ||
| 109 | * @author: renchao | ||
| 110 | */ | ||
| 106 | getCurrentSelectProps (val) { | 111 | getCurrentSelectProps (val) { |
| 107 | this.currentSelectProps = val | 112 | this.currentSelectProps = val |
| 108 | }, | 113 | }, |
| 109 | //申请单元点击事件 | 114 | //申请单元点击事件 |
| 115 | /** | ||
| 116 | * @description: 申请单元点击事件 | ||
| 117 | * @param {*} index | ||
| 118 | * @author: renchao | ||
| 119 | */ | ||
| 110 | stepForm (index) { | 120 | stepForm (index) { |
| 111 | this.currentSelectProps.type = "READ_ONLY" | 121 | this.currentSelectProps.type = "READ_ONLY" |
| 112 | getStepFormInfo(this.currentSelectProps).then((res) => { | 122 | getStepFormInfo(this.currentSelectProps).then((res) => { | ... | ... |
| ... | @@ -68,6 +68,10 @@ export default { | ... | @@ -68,6 +68,10 @@ export default { |
| 68 | }; | 68 | }; |
| 69 | }, | 69 | }, |
| 70 | methods: { | 70 | methods: { |
| 71 | /** | ||
| 72 | * @description: queryClick | ||
| 73 | * @author: renchao | ||
| 74 | */ | ||
| 71 | queryClick () { | 75 | queryClick () { |
| 72 | getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => { | 76 | getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => { |
| 73 | if (res.code === 200) { | 77 | if (res.code === 200) { |
| ... | @@ -80,6 +84,11 @@ export default { | ... | @@ -80,6 +84,11 @@ export default { |
| 80 | } | 84 | } |
| 81 | }) | 85 | }) |
| 82 | }, | 86 | }, |
| 87 | /** | ||
| 88 | * @description: viewDetail | ||
| 89 | * @param {*} e | ||
| 90 | * @author: renchao | ||
| 91 | */ | ||
| 83 | viewDetail (e) { | 92 | viewDetail (e) { |
| 84 | this.$popupDialog("错误日志", "xtjk/cwrz/components/viewDialog", e, "50%") | 93 | this.$popupDialog("错误日志", "xtjk/cwrz/components/viewDialog", e, "50%") |
| 85 | } | 94 | } | ... | ... |
| ... | @@ -68,6 +68,10 @@ export default { | ... | @@ -68,6 +68,10 @@ export default { |
| 68 | }; | 68 | }; |
| 69 | }, | 69 | }, |
| 70 | methods: { | 70 | methods: { |
| 71 | /** | ||
| 72 | * @description: queryClick | ||
| 73 | * @author: renchao | ||
| 74 | */ | ||
| 71 | queryClick () { | 75 | queryClick () { |
| 72 | getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => { | 76 | getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => { |
| 73 | if (res.code === 200) { | 77 | if (res.code === 200) { |
| ... | @@ -77,6 +81,11 @@ export default { | ... | @@ -77,6 +81,11 @@ export default { |
| 77 | } | 81 | } |
| 78 | }) | 82 | }) |
| 79 | }, | 83 | }, |
| 84 | /** | ||
| 85 | * @description: viewDetail | ||
| 86 | * @param {*} e | ||
| 87 | * @author: renchao | ||
| 88 | */ | ||
| 80 | viewDetail (e) { | 89 | viewDetail (e) { |
| 81 | this.$popupDialog("操作日志", "xtjk/czrz/components/viewDialog", e, "50%") | 90 | this.$popupDialog("操作日志", "xtjk/czrz/components/viewDialog", e, "50%") |
| 82 | } | 91 | } | ... | ... |
| ... | @@ -163,6 +163,10 @@ | ... | @@ -163,6 +163,10 @@ |
| 163 | }, | 163 | }, |
| 164 | methods: { | 164 | methods: { |
| 165 | // 列表渲染接口 | 165 | // 列表渲染接口 |
| 166 | /** | ||
| 167 | * @description: 列表渲染接口 | ||
| 168 | * @author: renchao | ||
| 169 | */ | ||
| 166 | queryClick () { | 170 | queryClick () { |
| 167 | getServerInfo().then(res => { | 171 | getServerInfo().then(res => { |
| 168 | if (res.code === 200) { | 172 | if (res.code === 200) { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:42:32 | 4 | * @LastEditTime: 2023-05-17 10:42:32 |
| 5 | --> | 5 | --> |
| ... | @@ -216,6 +216,10 @@ | ... | @@ -216,6 +216,10 @@ |
| 216 | }, | 216 | }, |
| 217 | methods: { | 217 | methods: { |
| 218 | // 材料目录明细初始化 | 218 | // 材料目录明细初始化 |
| 219 | /** | ||
| 220 | * @description: 材料目录明细初始化 | ||
| 221 | * @author: renchao | ||
| 222 | */ | ||
| 219 | clmlInitList () { | 223 | clmlInitList () { |
| 220 | return new Promise(resolve => { | 224 | return new Promise(resolve => { |
| 221 | this.unitData = this.$parent.unitData; | 225 | this.unitData = this.$parent.unitData; |
| ... | @@ -237,6 +241,11 @@ | ... | @@ -237,6 +241,11 @@ |
| 237 | }) | 241 | }) |
| 238 | }) | 242 | }) |
| 239 | }, | 243 | }, |
| 244 | /** | ||
| 245 | * @description: updateList | ||
| 246 | * @param {*} val | ||
| 247 | * @author: renchao | ||
| 248 | */ | ||
| 240 | updateList (val) { | 249 | updateList (val) { |
| 241 | this.tableData.forEach(item => { | 250 | this.tableData.forEach(item => { |
| 242 | if (item.bsmSj === val.bsmSj) { | 251 | if (item.bsmSj === val.bsmSj) { |
| ... | @@ -249,14 +258,29 @@ | ... | @@ -249,14 +258,29 @@ |
| 249 | } | 258 | } |
| 250 | }, | 259 | }, |
| 251 | // 左侧菜单点击 | 260 | // 左侧菜单点击 |
| 261 | /** | ||
| 262 | * @description: 左侧菜单点击 | ||
| 263 | * @param {*} item | ||
| 264 | * @author: renchao | ||
| 265 | */ | ||
| 252 | menuClick (item) { | 266 | menuClick (item) { |
| 253 | this.checkedId = item.id | 267 | this.checkedId = item.id |
| 254 | }, | 268 | }, |
| 255 | // 添加材料目录 | 269 | // 添加材料目录 |
| 270 | /** | ||
| 271 | * @description: 添加材料目录 | ||
| 272 | * @author: renchao | ||
| 273 | */ | ||
| 256 | handleAdd () { | 274 | handleAdd () { |
| 257 | this.isDialog = true; | 275 | this.isDialog = true; |
| 258 | }, | 276 | }, |
| 259 | // 上移 | 277 | // 上移 |
| 278 | /** | ||
| 279 | * @description: 上移 | ||
| 280 | * @param {*} index | ||
| 281 | * @param {*} row | ||
| 282 | * @author: renchao | ||
| 283 | */ | ||
| 260 | moveUpward (index, row) { | 284 | moveUpward (index, row) { |
| 261 | let obj = { | 285 | let obj = { |
| 262 | xh: row.xh, | 286 | xh: row.xh, |
| ... | @@ -277,6 +301,12 @@ | ... | @@ -277,6 +301,12 @@ |
| 277 | }) | 301 | }) |
| 278 | }, | 302 | }, |
| 279 | // 下移 | 303 | // 下移 |
| 304 | /** | ||
| 305 | * @description: 下移 | ||
| 306 | * @param {*} index | ||
| 307 | * @param {*} row | ||
| 308 | * @author: renchao | ||
| 309 | */ | ||
| 280 | moveDown (index, row) { | 310 | moveDown (index, row) { |
| 281 | let obj = { | 311 | let obj = { |
| 282 | xh: row.xh, | 312 | xh: row.xh, |
| ... | @@ -297,6 +327,11 @@ | ... | @@ -297,6 +327,11 @@ |
| 297 | }) | 327 | }) |
| 298 | }, | 328 | }, |
| 299 | // 新增弹窗保存 | 329 | // 新增弹窗保存 |
| 330 | /** | ||
| 331 | * @description: 新增弹窗保存 | ||
| 332 | * @param {*} data | ||
| 333 | * @author: renchao | ||
| 334 | */ | ||
| 300 | addSave (data) { | 335 | addSave (data) { |
| 301 | let obj = { | 336 | let obj = { |
| 302 | bsmSlsq: this.$parent.bsmSlsq, | 337 | bsmSlsq: this.$parent.bsmSlsq, |
| ... | @@ -319,6 +354,12 @@ | ... | @@ -319,6 +354,12 @@ |
| 319 | }); | 354 | }); |
| 320 | }, | 355 | }, |
| 321 | // 材料目录删除 | 356 | // 材料目录删除 |
| 357 | /** | ||
| 358 | * @description: 材料目录删除 | ||
| 359 | * @param {*} index | ||
| 360 | * @param {*} row | ||
| 361 | * @author: renchao | ||
| 362 | */ | ||
| 322 | handleDelete (index, row) { | 363 | handleDelete (index, row) { |
| 323 | let that = this | 364 | let that = this |
| 324 | this.$confirm('此操作将永久删除该 是否继续?', '提示', { | 365 | this.$confirm('此操作将永久删除该 是否继续?', '提示', { |
| ... | @@ -343,6 +384,10 @@ | ... | @@ -343,6 +384,10 @@ |
| 343 | }) | 384 | }) |
| 344 | }, | 385 | }, |
| 345 | // 材料目录关闭收起 | 386 | // 材料目录关闭收起 |
| 387 | /** | ||
| 388 | * @description: 材料目录关闭收起 | ||
| 389 | * @author: renchao | ||
| 390 | */ | ||
| 346 | iconClick () { | 391 | iconClick () { |
| 347 | this.menuOpen = !this.menuOpen; | 392 | this.menuOpen = !this.menuOpen; |
| 348 | if (this.menuOpen) { | 393 | if (this.menuOpen) { |
| ... | @@ -352,17 +397,34 @@ | ... | @@ -352,17 +397,34 @@ |
| 352 | } | 397 | } |
| 353 | }, | 398 | }, |
| 354 | // 材料目录点击选中 | 399 | // 材料目录点击选中 |
| 400 | /** | ||
| 401 | * @description: 材料目录点击选中 | ||
| 402 | * @param {*} item | ||
| 403 | * @author: renchao | ||
| 404 | */ | ||
| 355 | treeClick (item) { | 405 | treeClick (item) { |
| 356 | this.treeCheckId = item.bsmSj; | 406 | this.treeCheckId = item.bsmSj; |
| 357 | this.previewImg.imgList = item?.children; | 407 | this.previewImg.imgList = item?.children; |
| 358 | this.previewImg.bsmSj = item?.bsmSj; | 408 | this.previewImg.bsmSj = item?.bsmSj; |
| 359 | }, | 409 | }, |
| 360 | // 小图片点击 | 410 | // 小图片点击 |
| 411 | /** | ||
| 412 | * @description: 小图片点击 | ||
| 413 | * @param {*} item | ||
| 414 | * @param {*} index | ||
| 415 | * @author: renchao | ||
| 416 | */ | ||
| 361 | imgClick (item, index) { | 417 | imgClick (item, index) { |
| 362 | this.showImg = item; | 418 | this.showImg = item; |
| 363 | this.titleYs = index + 1; | 419 | this.titleYs = index + 1; |
| 364 | }, | 420 | }, |
| 365 | // 字典 | 421 | // 字典 |
| 422 | /** | ||
| 423 | * @description: 字典 | ||
| 424 | * @param {*} val | ||
| 425 | * @param {*} code | ||
| 426 | * @author: renchao | ||
| 427 | */ | ||
| 366 | dicStatus (val, code) { | 428 | dicStatus (val, code) { |
| 367 | let data = this.$store.getters.dictData[code], | 429 | let data = this.$store.getters.dictData[code], |
| 368 | name = "暂无"; | 430 | name = "暂无"; |
| ... | @@ -509,4 +571,4 @@ | ... | @@ -509,4 +571,4 @@ |
| 509 | } | 571 | } |
| 510 | } | 572 | } |
| 511 | } | 573 | } |
| 512 | </style> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 574 | </style> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:42:38 | 4 | * @LastEditTime: 2023-05-17 10:42:38 |
| 5 | --> | 5 | --> |
| ... | @@ -52,9 +52,17 @@ | ... | @@ -52,9 +52,17 @@ |
| 52 | }, | 52 | }, |
| 53 | }, | 53 | }, |
| 54 | methods: { | 54 | methods: { |
| 55 | /** | ||
| 56 | * @description: closeDialog | ||
| 57 | * @author: renchao | ||
| 58 | */ | ||
| 55 | closeDialog () { | 59 | closeDialog () { |
| 56 | this.$emit("input", false); | 60 | this.$emit("input", false); |
| 57 | }, | 61 | }, |
| 62 | /** | ||
| 63 | * @description: handleSubmit | ||
| 64 | * @author: renchao | ||
| 65 | */ | ||
| 58 | handleSubmit () { | 66 | handleSubmit () { |
| 59 | this.$parent.addSave(this.ruleForm); | 67 | this.$parent.addSave(this.ruleForm); |
| 60 | this.$emit("input", false); | 68 | this.$emit("input", false); | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-17 10:42:40 | 4 | * @LastEditTime: 2023-05-17 10:42:40 |
| 5 | */ | 5 | */ |
| ... | @@ -13,12 +13,22 @@ export default { | ... | @@ -13,12 +13,22 @@ export default { |
| 13 | }, | 13 | }, |
| 14 | methods: { | 14 | methods: { |
| 15 | // 点击高级查询弹出查询弹框 | 15 | // 点击高级查询弹出查询弹框 |
| 16 | 16 | /** | |
| 17 | * @description: 点击高级查询弹出查询弹框 | ||
| 18 | * @author: renchao | ||
| 19 | */ | ||
| 17 | moreQueryClick () { | 20 | moreQueryClick () { |
| 18 | this.isSearch = true | 21 | this.isSearch = true |
| 19 | 22 | ||
| 20 | }, | 23 | }, |
| 21 | // 查询事件 | 24 | // 查询事件 |
| 25 | /** | ||
| 26 | * @description: 查询事件 | ||
| 27 | * @param {*} bs | ||
| 28 | * @param {*} mc | ||
| 29 | * @param {*} code | ||
| 30 | * @author: renchao | ||
| 31 | */ | ||
| 22 | handleSelect (bs, mc, code) { | 32 | handleSelect (bs, mc, code) { |
| 23 | this.dictData[bs].forEach(item => { | 33 | this.dictData[bs].forEach(item => { |
| 24 | if (item.dcode == this.queryForm[code]) { | 34 | if (item.dcode == this.queryForm[code]) { |
| ... | @@ -27,6 +37,11 @@ export default { | ... | @@ -27,6 +37,11 @@ export default { |
| 27 | }) | 37 | }) |
| 28 | }, | 38 | }, |
| 29 | // 清空单个表单 | 39 | // 清空单个表单 |
| 40 | /** | ||
| 41 | * @description: 清空单个表单 | ||
| 42 | * @param {*} el | ||
| 43 | * @author: renchao | ||
| 44 | */ | ||
| 30 | handleEmpty (el) { | 45 | handleEmpty (el) { |
| 31 | for (var i = 0; i < this.searchList.length; i++) { | 46 | for (var i = 0; i < this.searchList.length; i++) { |
| 32 | if (el == this.searchList[i].zdm) { | 47 | if (el == this.searchList[i].zdm) { |
| ... | @@ -48,7 +63,12 @@ export default { | ... | @@ -48,7 +63,12 @@ export default { |
| 48 | this.searchForm[el] = '' | 63 | this.searchForm[el] = '' |
| 49 | }, | 64 | }, |
| 50 | // 删除单个查询条件 | 65 | // 删除单个查询条件 |
| 51 | 66 | /** | |
| 67 | * @description: 删除单个查询条件 | ||
| 68 | * @param {*} item | ||
| 69 | * @param {*} index | ||
| 70 | * @author: renchao | ||
| 71 | */ | ||
| 52 | handelItem (item, index) { | 72 | handelItem (item, index) { |
| 53 | let obj = { | 73 | let obj = { |
| 54 | ywlymc: 'ywly', | 74 | ywlymc: 'ywly', |
| ... | @@ -65,6 +85,10 @@ export default { | ... | @@ -65,6 +85,10 @@ export default { |
| 65 | } | 85 | } |
| 66 | this.searchForm[item.zdm] = '' | 86 | this.searchForm[item.zdm] = '' |
| 67 | }, | 87 | }, |
| 88 | /** | ||
| 89 | * @description: iterationData | ||
| 90 | * @author: renchao | ||
| 91 | */ | ||
| 68 | iterationData () { | 92 | iterationData () { |
| 69 | let obj = { | 93 | let obj = { |
| 70 | ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', | 94 | ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', |
| ... | @@ -75,12 +99,21 @@ export default { | ... | @@ -75,12 +99,21 @@ export default { |
| 75 | if (value) return { name: obj[name], value, zdm: name } | 99 | if (value) return { name: obj[name], value, zdm: name } |
| 76 | }).filter(Boolean) | 100 | }).filter(Boolean) |
| 77 | }, | 101 | }, |
| 102 | /** | ||
| 103 | * @description: getSearch | ||
| 104 | * @param {*} val | ||
| 105 | * @author: renchao | ||
| 106 | */ | ||
| 78 | getSearch (val) { | 107 | getSearch (val) { |
| 79 | this.otherForm = val | 108 | this.otherForm = val |
| 80 | this.iterationData() | 109 | this.iterationData() |
| 81 | this.queryClick() | 110 | this.queryClick() |
| 82 | }, | 111 | }, |
| 83 | // 清空查询条件 | 112 | // 清空查询条件 |
| 113 | /** | ||
| 114 | * @description: 清空查询条件 | ||
| 115 | * @author: renchao | ||
| 116 | */ | ||
| 84 | hanldeCleanAll () { | 117 | hanldeCleanAll () { |
| 85 | this.searchForm = {} | 118 | this.searchForm = {} |
| 86 | this.queryForm = { | 119 | this.queryForm = { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-19 14:08:17 | 4 | * @LastEditTime: 2023-07-19 14:08:17 |
| 5 | --> | 5 | --> |
| ... | @@ -70,9 +70,17 @@ | ... | @@ -70,9 +70,17 @@ |
| 70 | 70 | ||
| 71 | 71 | ||
| 72 | methods: { | 72 | methods: { |
| 73 | /** | ||
| 74 | * @description: closeDialog | ||
| 75 | * @author: renchao | ||
| 76 | */ | ||
| 73 | closeDialog () { | 77 | closeDialog () { |
| 74 | this.$emit('input', false) | 78 | this.$emit('input', false) |
| 75 | }, | 79 | }, |
| 80 | /** | ||
| 81 | * @description: resetForm | ||
| 82 | * @author: renchao | ||
| 83 | */ | ||
| 76 | resetForm () { | 84 | resetForm () { |
| 77 | this.$refs['ruleForm'].resetFields() | 85 | this.$refs['ruleForm'].resetFields() |
| 78 | this.ruleForm = { | 86 | this.ruleForm = { |
| ... | @@ -82,6 +90,10 @@ | ... | @@ -82,6 +90,10 @@ |
| 82 | slsj: '' | 90 | slsj: '' |
| 83 | } | 91 | } |
| 84 | }, | 92 | }, |
| 93 | /** | ||
| 94 | * @description: submitForm | ||
| 95 | * @author: renchao | ||
| 96 | */ | ||
| 85 | submitForm () { | 97 | submitForm () { |
| 86 | this.$emit('getSearch', _.cloneDeep(this.ruleForm)) | 98 | this.$emit('getSearch', _.cloneDeep(this.ruleForm)) |
| 87 | this.$emit('input', false) | 99 | this.$emit('input', false) | ... | ... |
| ... | @@ -146,6 +146,10 @@ | ... | @@ -146,6 +146,10 @@ |
| 146 | }, | 146 | }, |
| 147 | methods: { | 147 | methods: { |
| 148 | // 列表渲染接口 | 148 | // 列表渲染接口 |
| 149 | /** | ||
| 150 | * @description: 列表渲染接口 | ||
| 151 | * @author: renchao | ||
| 152 | */ | ||
| 149 | queryClick () { | 153 | queryClick () { |
| 150 | this.$startLoading(); | 154 | this.$startLoading(); |
| 151 | this.searchForm.ywh = this.queryForm.ywh; | 155 | this.searchForm.ywh = this.queryForm.ywh; |
| ... | @@ -163,11 +167,21 @@ | ... | @@ -163,11 +167,21 @@ |
| 163 | } | 167 | } |
| 164 | }); | 168 | }); |
| 165 | }, | 169 | }, |
| 170 | /** | ||
| 171 | * @description: handleSort | ||
| 172 | * @param {*} val | ||
| 173 | * @author: renchao | ||
| 174 | */ | ||
| 166 | handleSort (val) { | 175 | handleSort (val) { |
| 167 | this.queryForm.sortField = val.prop; | 176 | this.queryForm.sortField = val.prop; |
| 168 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; | 177 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; |
| 169 | this.queryClick(); | 178 | this.queryClick(); |
| 170 | }, | 179 | }, |
| 180 | /** | ||
| 181 | * @description: del | ||
| 182 | * @param {*} item | ||
| 183 | * @author: renchao | ||
| 184 | */ | ||
| 171 | del (item) { | 185 | del (item) { |
| 172 | let formdata = new FormData(); | 186 | let formdata = new FormData(); |
| 173 | formdata.append("bsmSlsq", item.bsmSlsq); | 187 | formdata.append("bsmSlsq", item.bsmSlsq); |
| ... | @@ -197,6 +211,11 @@ | ... | @@ -197,6 +211,11 @@ |
| 197 | }); | 211 | }); |
| 198 | }); | 212 | }); |
| 199 | }, | 213 | }, |
| 214 | /** | ||
| 215 | * @description: ywhClick | ||
| 216 | * @param {*} item | ||
| 217 | * @author: renchao | ||
| 218 | */ | ||
| 200 | ywhClick (item) { | 219 | ywhClick (item) { |
| 201 | //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 | 220 | //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 |
| 202 | judgeUserTaskPermission({ | 221 | judgeUserTaskPermission({ | ... | ... |
| ... | @@ -213,6 +213,10 @@ | ... | @@ -213,6 +213,10 @@ |
| 213 | }, | 213 | }, |
| 214 | 214 | ||
| 215 | methods: { | 215 | methods: { |
| 216 | /** | ||
| 217 | * @description: onSubmit | ||
| 218 | * @author: renchao | ||
| 219 | */ | ||
| 216 | onSubmit () { | 220 | onSubmit () { |
| 217 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; | 221 | this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq; |
| 218 | batchSaveData(this.ruleForm).then((res) => { | 222 | batchSaveData(this.ruleForm).then((res) => { |
| ... | @@ -221,6 +225,11 @@ | ... | @@ -221,6 +225,11 @@ |
| 221 | } | 225 | } |
| 222 | }); | 226 | }); |
| 223 | }, | 227 | }, |
| 228 | /** | ||
| 229 | * @description: changeCflx | ||
| 230 | * @param {*} e | ||
| 231 | * @author: renchao | ||
| 232 | */ | ||
| 224 | changeCflx (e) { | 233 | changeCflx (e) { |
| 225 | let cflxItem = {} | 234 | let cflxItem = {} |
| 226 | cflxItem = this.dictData['A32'].find((item) => { | 235 | cflxItem = this.dictData['A32'].find((item) => { | ... | ... |
| ... | @@ -330,6 +330,10 @@ | ... | @@ -330,6 +330,10 @@ |
| 330 | }, | 330 | }, |
| 331 | 331 | ||
| 332 | methods: { | 332 | methods: { |
| 333 | /** | ||
| 334 | * @description: onSubmit | ||
| 335 | * @author: renchao | ||
| 336 | */ | ||
| 333 | onSubmit () { | 337 | onSubmit () { |
| 334 | saveData(this.ruleForm).then((res) => { | 338 | saveData(this.ruleForm).then((res) => { |
| 335 | if (res.code === 200) { | 339 | if (res.code === 200) { |
| ... | @@ -337,6 +341,11 @@ | ... | @@ -337,6 +341,11 @@ |
| 337 | } | 341 | } |
| 338 | }); | 342 | }); |
| 339 | }, | 343 | }, |
| 344 | /** | ||
| 345 | * @description: changeCflx | ||
| 346 | * @param {*} e | ||
| 347 | * @author: renchao | ||
| 348 | */ | ||
| 340 | changeCflx (e) { | 349 | changeCflx (e) { |
| 341 | let cflxItem = {}; | 350 | let cflxItem = {}; |
| 342 | cflxItem = this.dictData["A32"].find((item) => { | 351 | cflxItem = this.dictData["A32"].find((item) => { | ... | ... |
| ... | @@ -302,6 +302,10 @@ | ... | @@ -302,6 +302,10 @@ |
| 302 | }; | 302 | }; |
| 303 | }, | 303 | }, |
| 304 | methods: { | 304 | methods: { |
| 305 | /** | ||
| 306 | * @description: onSubmitClick | ||
| 307 | * @author: renchao | ||
| 308 | */ | ||
| 305 | onSubmitClick () { | 309 | onSubmitClick () { |
| 306 | saveData(this.ruleForm, this.propsParam.djlx).then((res) => { | 310 | saveData(this.ruleForm, this.propsParam.djlx).then((res) => { |
| 307 | if (res.code === 200) { | 311 | if (res.code === 200) { |
| ... | @@ -322,12 +326,22 @@ | ... | @@ -322,12 +326,22 @@ |
| 322 | }, | 326 | }, |
| 323 | 327 | ||
| 324 | // 更新权利人信息 | 328 | // 更新权利人信息 |
| 329 | /** | ||
| 330 | * @description: 更新权利人信息 | ||
| 331 | * @param {*} val | ||
| 332 | * @author: renchao | ||
| 333 | */ | ||
| 325 | upDateQlrxxList (val) { | 334 | upDateQlrxxList (val) { |
| 326 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | 335 | if (!_.isEqual(val, this.ruleForm.qlrList)) { |
| 327 | this.ruleForm.qlrList = _.cloneDeep(val); | 336 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 328 | } | 337 | } |
| 329 | }, | 338 | }, |
| 330 | // 更新义务人信息 | 339 | // 更新义务人信息 |
| 340 | /** | ||
| 341 | * @description: 更新义务人信息 | ||
| 342 | * @param {*} val | ||
| 343 | * @author: renchao | ||
| 344 | */ | ||
| 331 | upDateYwrxxList (val) { | 345 | upDateYwrxxList (val) { |
| 332 | if (!_.isEqual(val, this.ruleForm.ywrList)) { | 346 | if (!_.isEqual(val, this.ruleForm.ywrList)) { |
| 333 | this.ruleForm.ywrList = _.cloneDeep(val); | 347 | this.ruleForm.ywrList = _.cloneDeep(val); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-20 09:30:06 | 4 | * @LastEditTime: 2023-07-21 09:50:20 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="slxx"> | 7 | <div class="slxx"> |
| ... | @@ -242,7 +242,12 @@ | ... | @@ -242,7 +242,12 @@ |
| 242 | disabled: true, | 242 | disabled: true, |
| 243 | tdytOption: [], | 243 | tdytOption: [], |
| 244 | czrOptions: [], | 244 | czrOptions: [], |
| 245 | ruleForm: {}, | 245 | ruleForm: { |
| 246 | fdcq2: { | ||
| 247 | zyjzmj: '', | ||
| 248 | ftjzmj: '' | ||
| 249 | } | ||
| 250 | }, | ||
| 246 | //传递参数 | 251 | //传递参数 |
| 247 | propsParam: this.$attrs, | 252 | propsParam: this.$attrs, |
| 248 | //表单是否可操作 | 253 | //表单是否可操作 |
| ... | @@ -252,21 +257,44 @@ | ... | @@ -252,21 +257,44 @@ |
| 252 | }, | 257 | }, |
| 253 | methods: { | 258 | methods: { |
| 254 | // 更新土地用途信息 | 259 | // 更新土地用途信息 |
| 260 | /** | ||
| 261 | * @description: 更新土地用途信息 | ||
| 262 | * @param {*} val | ||
| 263 | * @author: renchao | ||
| 264 | */ | ||
| 255 | upDateTdytxxList (val) { | 265 | upDateTdytxxList (val) { |
| 256 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 266 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 257 | this.key++; | 267 | this.key++; |
| 258 | }, | 268 | }, |
| 259 | // 更新权利人信息 | 269 | // 更新权利人信息 |
| 270 | /** | ||
| 271 | * @description: 更新权利人信息 | ||
| 272 | * @param {*} val | ||
| 273 | * @author: renchao | ||
| 274 | */ | ||
| 260 | upDateQlrxxList (val) { | 275 | upDateQlrxxList (val) { |
| 261 | this.ruleForm.qlrList = _.cloneDeep(val); | 276 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 262 | }, | 277 | }, |
| 278 | /** | ||
| 279 | * @description: showCZInfo | ||
| 280 | * @author: renchao | ||
| 281 | */ | ||
| 263 | showCZInfo () { | 282 | showCZInfo () { |
| 264 | console.log(this.ruleForm.slsq.gyfs); | 283 | console.log(this.ruleForm.slsq.gyfs); |
| 265 | }, | 284 | }, |
| 266 | // 更新权利人信息 | 285 | // 更新权利人信息 |
| 286 | /** | ||
| 287 | * @description: 更新权利人信息 | ||
| 288 | * @param {*} val | ||
| 289 | * @author: renchao | ||
| 290 | */ | ||
| 267 | upDateYwrxxList (val) { | 291 | upDateYwrxxList (val) { |
| 268 | this.ruleForm.ywrList = _.cloneDeep(val); | 292 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 269 | }, | 293 | }, |
| 294 | /** | ||
| 295 | * @description: onSubmit | ||
| 296 | * @author: renchao | ||
| 297 | */ | ||
| 270 | onSubmit () { | 298 | onSubmit () { |
| 271 | saveData(this.ruleForm).then((res) => { | 299 | saveData(this.ruleForm).then((res) => { |
| 272 | if (res.code === 200) { | 300 | if (res.code === 200) { | ... | ... |
| ... | @@ -269,7 +269,14 @@ | ... | @@ -269,7 +269,14 @@ |
| 269 | sffbcz: "", | 269 | sffbcz: "", |
| 270 | // 持证人 | 270 | // 持证人 |
| 271 | czr: "", | 271 | czr: "", |
| 272 | djyy: '' | 272 | djyy: '', |
| 273 | // 规划用途名称 | ||
| 274 | zdjbxx: { | ||
| 275 | ghytmc: '' | ||
| 276 | }, | ||
| 277 | fdcq2: { | ||
| 278 | fwxzmc: '' | ||
| 279 | } | ||
| 273 | }, | 280 | }, |
| 274 | //传递参数 | 281 | //传递参数 |
| 275 | propsParam: {}, | 282 | propsParam: {}, |
| ... | @@ -277,6 +284,10 @@ | ... | @@ -277,6 +284,10 @@ |
| 277 | }; | 284 | }; |
| 278 | }, | 285 | }, |
| 279 | methods: { | 286 | methods: { |
| 287 | /** | ||
| 288 | * @description: dataSelectClick | ||
| 289 | * @author: renchao | ||
| 290 | */ | ||
| 280 | dataSelectClick () { | 291 | dataSelectClick () { |
| 281 | this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", | 292 | this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", |
| 282 | { | 293 | { |
| ... | @@ -287,19 +298,38 @@ | ... | @@ -287,19 +298,38 @@ |
| 287 | }); | 298 | }); |
| 288 | }, | 299 | }, |
| 289 | // 更新土地用途信息 | 300 | // 更新土地用途信息 |
| 301 | /** | ||
| 302 | * @description: 更新土地用途信息 | ||
| 303 | * @param {*} val | ||
| 304 | * @author: renchao | ||
| 305 | */ | ||
| 290 | upDateTdytxxList (val) { | 306 | upDateTdytxxList (val) { |
| 291 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 307 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 292 | this.key++; | 308 | this.key++; |
| 293 | }, | 309 | }, |
| 294 | // 更新权利人信息 | 310 | // 更新权利人信息 |
| 311 | /** | ||
| 312 | * @description: 更新权利人信息 | ||
| 313 | * @param {*} val | ||
| 314 | * @author: renchao | ||
| 315 | */ | ||
| 295 | upDateQlrxxList (val) { | 316 | upDateQlrxxList (val) { |
| 296 | this.ruleForm.qlrList = _.cloneDeep(val); | 317 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 297 | }, | 318 | }, |
| 298 | // 更新权利人信息 | 319 | // 更新权利人信息 |
| 320 | /** | ||
| 321 | * @description: 更新权利人信息 | ||
| 322 | * @param {*} val | ||
| 323 | * @author: renchao | ||
| 324 | */ | ||
| 299 | upDateYwrxxList (val) { | 325 | upDateYwrxxList (val) { |
| 300 | this.ruleForm.ywrList = _.cloneDeep(val); | 326 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 301 | }, | 327 | }, |
| 302 | 328 | ||
| 329 | /** | ||
| 330 | * @description: onSubmit | ||
| 331 | * @author: renchao | ||
| 332 | */ | ||
| 303 | onSubmit () { | 333 | onSubmit () { |
| 304 | saveData(this.ruleForm).then((res) => { | 334 | saveData(this.ruleForm).then((res) => { |
| 305 | if (res.code === 200) { | 335 | if (res.code === 200) { | ... | ... |
| ... | @@ -91,6 +91,10 @@ | ... | @@ -91,6 +91,10 @@ |
| 91 | }; | 91 | }; |
| 92 | }, | 92 | }, |
| 93 | methods: { | 93 | methods: { |
| 94 | /** | ||
| 95 | * @description: loadData | ||
| 96 | * @author: renchao | ||
| 97 | */ | ||
| 94 | loadData () { | 98 | loadData () { |
| 95 | var formdata = new FormData(); | 99 | var formdata = new FormData(); |
| 96 | formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); | 100 | formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); |
| ... | @@ -108,6 +112,10 @@ | ... | @@ -108,6 +112,10 @@ |
| 108 | } | 112 | } |
| 109 | }); | 113 | }); |
| 110 | }, | 114 | }, |
| 115 | /** | ||
| 116 | * @description: checkChange | ||
| 117 | * @author: renchao | ||
| 118 | */ | ||
| 111 | checkChange () { | 119 | checkChange () { |
| 112 | if (this.checkList.length === 0) { | 120 | if (this.checkList.length === 0) { |
| 113 | this.tableData = []; | 121 | this.tableData = []; |
| ... | @@ -116,6 +124,11 @@ | ... | @@ -116,6 +124,11 @@ |
| 116 | this.loadData(); | 124 | this.loadData(); |
| 117 | } | 125 | } |
| 118 | }, | 126 | }, |
| 127 | /** | ||
| 128 | * @description: getQsztName | ||
| 129 | * @param {*} code | ||
| 130 | * @author: renchao | ||
| 131 | */ | ||
| 119 | getQsztName (code) { | 132 | getQsztName (code) { |
| 120 | let name = ""; | 133 | let name = ""; |
| 121 | for (let item of this.qsztList) { | 134 | for (let item of this.qsztList) { | ... | ... |
| ... | @@ -209,6 +209,10 @@ | ... | @@ -209,6 +209,10 @@ |
| 209 | }, | 209 | }, |
| 210 | methods: { | 210 | methods: { |
| 211 | //组装房地产权通用信息 | 211 | //组装房地产权通用信息 |
| 212 | /** | ||
| 213 | * @description: 组装房地产权通用信息 | ||
| 214 | * @author: renchao | ||
| 215 | */ | ||
| 212 | splicingFdcq2Info () { | 216 | splicingFdcq2Info () { |
| 213 | let fdcq2List = this.ruleForm.fdcq2List; | 217 | let fdcq2List = this.ruleForm.fdcq2List; |
| 214 | let fwxzArr = []; | 218 | let fwxzArr = []; |
| ... | @@ -232,16 +236,34 @@ | ... | @@ -232,16 +236,34 @@ |
| 232 | }, | 236 | }, |
| 233 | 237 | ||
| 234 | // 更新权利人信息 | 238 | // 更新权利人信息 |
| 239 | /** | ||
| 240 | * @description: 更新权利人信息 | ||
| 241 | * @param {*} val | ||
| 242 | * @author: renchao | ||
| 243 | */ | ||
| 235 | upDateQlrxxList (val) { | 244 | upDateQlrxxList (val) { |
| 236 | this.ruleForm.qlrList = _.cloneDeep(val); | 245 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 237 | }, | 246 | }, |
| 247 | /** | ||
| 248 | * @description: showCZInfo | ||
| 249 | * @author: renchao | ||
| 250 | */ | ||
| 238 | showCZInfo () { | 251 | showCZInfo () { |
| 239 | console.log(this.ruleForm.slsq.gyfs); | 252 | console.log(this.ruleForm.slsq.gyfs); |
| 240 | }, | 253 | }, |
| 241 | // 更新义务人信息 | 254 | // 更新义务人信息 |
| 255 | /** | ||
| 256 | * @description: 更新义务人信息 | ||
| 257 | * @param {*} val | ||
| 258 | * @author: renchao | ||
| 259 | */ | ||
| 242 | upDateYwrxxList (val) { | 260 | upDateYwrxxList (val) { |
| 243 | this.ruleForm.ywrList = _.cloneDeep(val); | 261 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 244 | }, | 262 | }, |
| 263 | /** | ||
| 264 | * @description: onSubmit | ||
| 265 | * @author: renchao | ||
| 266 | */ | ||
| 245 | onSubmit () { | 267 | onSubmit () { |
| 246 | saveBatchData(this.ruleForm).then((res) => { | 268 | saveBatchData(this.ruleForm).then((res) => { |
| 247 | if (res.code === 200) { | 269 | if (res.code === 200) { | ... | ... |
| ... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
| 81 | </el-form-item> | 81 | </el-form-item> |
| 82 | </el-col> | 82 | </el-col> |
| 83 | <el-col :span="8"> | 83 | <el-col :span="8"> |
| 84 | <el-form-item label="户不动产单元号:" prop="hbdcdyh"> | 84 | <el-form-item label="户不动产单元号:" prop="ghytmc"> |
| 85 | <el-input disabled v-model="ruleForm.ghytmc"></el-input> | 85 | <el-input disabled v-model="ruleForm.ghytmc"></el-input> |
| 86 | </el-form-item> | 86 | </el-form-item> |
| 87 | </el-col> | 87 | </el-col> |
| ... | @@ -233,7 +233,7 @@ | ... | @@ -233,7 +233,7 @@ |
| 233 | // 自然幢号 | 233 | // 自然幢号 |
| 234 | zrzh: "", | 234 | zrzh: "", |
| 235 | // 户不动产单元号 | 235 | // 户不动产单元号 |
| 236 | hbdcdyh: '', | 236 | ghytmc: '', |
| 237 | djzt: '', | 237 | djzt: '', |
| 238 | // 图幅丘幢号 | 238 | // 图幅丘幢号 |
| 239 | tfqzh: '', | 239 | tfqzh: '', |
| ... | @@ -257,10 +257,20 @@ | ... | @@ -257,10 +257,20 @@ |
| 257 | }, | 257 | }, |
| 258 | methods: { | 258 | methods: { |
| 259 | // 更新土地用途信息 | 259 | // 更新土地用途信息 |
| 260 | /** | ||
| 261 | * @description: 更新土地用途信息 | ||
| 262 | * @param {*} val | ||
| 263 | * @author: renchao | ||
| 264 | */ | ||
| 260 | upDateTdytxxList (val) { | 265 | upDateTdytxxList (val) { |
| 261 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 266 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 262 | this.key++; | 267 | this.key++; |
| 263 | }, | 268 | }, |
| 269 | /** | ||
| 270 | * @description: list | ||
| 271 | * @param {*} bsmSldy | ||
| 272 | * @author: renchao | ||
| 273 | */ | ||
| 264 | list (bsmSldy) { | 274 | list (bsmSldy) { |
| 265 | var formdata = new FormData(); | 275 | var formdata = new FormData(); |
| 266 | formdata.append("bsmSldy", bsmSldy); | 276 | formdata.append("bsmSldy", bsmSldy); |
| ... | @@ -276,6 +286,10 @@ | ... | @@ -276,6 +286,10 @@ |
| 276 | } | 286 | } |
| 277 | }); | 287 | }); |
| 278 | }, | 288 | }, |
| 289 | /** | ||
| 290 | * @description: onSubmit | ||
| 291 | * @author: renchao | ||
| 292 | */ | ||
| 279 | onSubmit () { | 293 | onSubmit () { |
| 280 | fristReg(this.ruleForm).then((res) => { | 294 | fristReg(this.ruleForm).then((res) => { |
| 281 | if (res.code === 200 && res.result) { | 295 | if (res.code === 200 && res.result) { | ... | ... |
| ... | @@ -249,21 +249,40 @@ | ... | @@ -249,21 +249,40 @@ |
| 249 | }, | 249 | }, |
| 250 | methods: { | 250 | methods: { |
| 251 | // 更新土地用途信息 | 251 | // 更新土地用途信息 |
| 252 | /** | ||
| 253 | * @description: 更新土地用途信息 | ||
| 254 | * @param {*} val | ||
| 255 | * @author: renchao | ||
| 256 | */ | ||
| 252 | upDateTdytxxList (val) { | 257 | upDateTdytxxList (val) { |
| 253 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 258 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 254 | this.key++; | 259 | this.key++; |
| 255 | }, | 260 | }, |
| 256 | // 更新权利人信息 | 261 | // 更新权利人信息 |
| 262 | /** | ||
| 263 | * @description: 更新权利人信息 | ||
| 264 | * @param {*} val | ||
| 265 | * @author: renchao | ||
| 266 | */ | ||
| 257 | upDateQlrxxList (val) { | 267 | upDateQlrxxList (val) { |
| 258 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) | 268 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) |
| 259 | this.czrOptions = this.ruleForm.qlrList; | 269 | this.czrOptions = this.ruleForm.qlrList; |
| 260 | this.key++ | 270 | this.key++ |
| 261 | }, | 271 | }, |
| 262 | // 更新义务人信息 | 272 | // 更新义务人信息 |
| 273 | /** | ||
| 274 | * @description: 更新义务人信息 | ||
| 275 | * @param {*} val | ||
| 276 | * @author: renchao | ||
| 277 | */ | ||
| 263 | upDateYwrxxList (val) { | 278 | upDateYwrxxList (val) { |
| 264 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) | 279 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) |
| 265 | this.key++ | 280 | this.key++ |
| 266 | }, | 281 | }, |
| 282 | /** | ||
| 283 | * @description: onSubmit | ||
| 284 | * @author: renchao | ||
| 285 | */ | ||
| 267 | onSubmit () { | 286 | onSubmit () { |
| 268 | if (this.ruleForm.qlrList.length == 0) { | 287 | if (this.ruleForm.qlrList.length == 0) { |
| 269 | this.$message({ | 288 | this.$message({ | ... | ... |
| ... | @@ -235,14 +235,28 @@ | ... | @@ -235,14 +235,28 @@ |
| 235 | }, | 235 | }, |
| 236 | methods: { | 236 | methods: { |
| 237 | // 更新土地用途信息 | 237 | // 更新土地用途信息 |
| 238 | /** | ||
| 239 | * @description: 更新土地用途信息 | ||
| 240 | * @param {*} val | ||
| 241 | * @author: renchao | ||
| 242 | */ | ||
| 238 | upDateTdytxxList (val) { | 243 | upDateTdytxxList (val) { |
| 239 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 244 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 240 | this.key++; | 245 | this.key++; |
| 241 | }, | 246 | }, |
| 242 | // 更新权利人信息 | 247 | // 更新权利人信息 |
| 248 | /** | ||
| 249 | * @description: 更新权利人信息 | ||
| 250 | * @param {*} val | ||
| 251 | * @author: renchao | ||
| 252 | */ | ||
| 243 | upDateQlrxxList (val) { | 253 | upDateQlrxxList (val) { |
| 244 | this.ruleForm.qlrList = _.cloneDeep(val); | 254 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 245 | }, | 255 | }, |
| 256 | /** | ||
| 257 | * @description: onSubmit | ||
| 258 | * @author: renchao | ||
| 259 | */ | ||
| 246 | onSubmit () { | 260 | onSubmit () { |
| 247 | saveData(this.ruleForm).then((res) => { | 261 | saveData(this.ruleForm).then((res) => { |
| 248 | if (res.code === 200) { | 262 | if (res.code === 200) { |
| ... | @@ -261,6 +275,10 @@ | ... | @@ -261,6 +275,10 @@ |
| 261 | } | 275 | } |
| 262 | }); | 276 | }); |
| 263 | }, | 277 | }, |
| 278 | /** | ||
| 279 | * @description: compare | ||
| 280 | * @author: renchao | ||
| 281 | */ | ||
| 264 | compare () { | 282 | compare () { |
| 265 | this.$popup({ | 283 | this.$popup({ |
| 266 | titleStyle: "left", | 284 | titleStyle: "left", | ... | ... |
| ... | @@ -262,7 +262,11 @@ | ... | @@ -262,7 +262,11 @@ |
| 262 | disabled: true, | 262 | disabled: true, |
| 263 | //持证人选项 | 263 | //持证人选项 |
| 264 | czrOptions: [], | 264 | czrOptions: [], |
| 265 | ruleForm: {}, | 265 | ruleForm: { |
| 266 | zdjbxx: { | ||
| 267 | ghytmc: '' | ||
| 268 | } | ||
| 269 | }, | ||
| 266 | //传递参数 | 270 | //传递参数 |
| 267 | propsParam: {}, | 271 | propsParam: {}, |
| 268 | //表单是否可操作 | 272 | //表单是否可操作 |
| ... | @@ -271,6 +275,10 @@ | ... | @@ -271,6 +275,10 @@ |
| 271 | } | 275 | } |
| 272 | }, | 276 | }, |
| 273 | methods: { | 277 | methods: { |
| 278 | /** | ||
| 279 | * @description: onSubmit | ||
| 280 | * @author: renchao | ||
| 281 | */ | ||
| 274 | onSubmit () { | 282 | onSubmit () { |
| 275 | saveData(this.ruleForm).then((res) => { | 283 | saveData(this.ruleForm).then((res) => { |
| 276 | if (res.code === 200) { | 284 | if (res.code === 200) { |
| ... | @@ -289,13 +297,28 @@ | ... | @@ -289,13 +297,28 @@ |
| 289 | } | 297 | } |
| 290 | }); | 298 | }); |
| 291 | }, | 299 | }, |
| 300 | /** | ||
| 301 | * @description: upDateQlrxxList | ||
| 302 | * @param {*} val | ||
| 303 | * @author: renchao | ||
| 304 | */ | ||
| 292 | upDateQlrxxList (val) { | 305 | upDateQlrxxList (val) { |
| 293 | this.ruleForm.qlrList = _.cloneDeep(val) | 306 | this.ruleForm.qlrList = _.cloneDeep(val) |
| 294 | }, | 307 | }, |
| 308 | /** | ||
| 309 | * @description: upDateJtcyList | ||
| 310 | * @param {*} val | ||
| 311 | * @author: renchao | ||
| 312 | */ | ||
| 295 | upDateJtcyList (val) { | 313 | upDateJtcyList (val) { |
| 296 | this.ruleForm.jtcyList = _.cloneDeep(val) | 314 | this.ruleForm.jtcyList = _.cloneDeep(val) |
| 297 | }, | 315 | }, |
| 298 | //水域滩涂类型变化事件 | 316 | //水域滩涂类型变化事件 |
| 317 | /** | ||
| 318 | * @description: 水域滩涂类型变化事件 | ||
| 319 | * @param {*} e | ||
| 320 | * @author: renchao | ||
| 321 | */ | ||
| 299 | changeSyttlx (e) { | 322 | changeSyttlx (e) { |
| 300 | let itemLx = {} | 323 | let itemLx = {} |
| 301 | itemLx = this.dictData['A23'].find((item) => { | 324 | itemLx = this.dictData['A23'].find((item) => { |
| ... | @@ -304,6 +327,11 @@ | ... | @@ -304,6 +327,11 @@ |
| 304 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; | 327 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; |
| 305 | }, | 328 | }, |
| 306 | //养殖业方式变化事件 | 329 | //养殖业方式变化事件 |
| 330 | /** | ||
| 331 | * @description: 养殖业方式变化事件 | ||
| 332 | * @param {*} e | ||
| 333 | * @author: renchao | ||
| 334 | */ | ||
| 307 | changeYzyfs (e) { | 335 | changeYzyfs (e) { |
| 308 | let itemLx = {} | 336 | let itemLx = {} |
| 309 | itemLx = this.dictData['A24'].find((item) => { | 337 | itemLx = this.dictData['A24'].find((item) => { |
| ... | @@ -312,6 +340,11 @@ | ... | @@ -312,6 +340,11 @@ |
| 312 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; | 340 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; |
| 313 | }, | 341 | }, |
| 314 | //用地用海变化事件 | 342 | //用地用海变化事件 |
| 343 | /** | ||
| 344 | * @description: 用地用海变化事件 | ||
| 345 | * @param {*} e | ||
| 346 | * @author: renchao | ||
| 347 | */ | ||
| 315 | changeYdyhfl (e) { | 348 | changeYdyhfl (e) { |
| 316 | let itemLx = {} | 349 | let itemLx = {} |
| 317 | itemLx = this.dictData['A51'].find((item) => { | 350 | itemLx = this.dictData['A51'].find((item) => { | ... | ... |
| ... | @@ -275,6 +275,10 @@ | ... | @@ -275,6 +275,10 @@ |
| 275 | } | 275 | } |
| 276 | }, | 276 | }, |
| 277 | methods: { | 277 | methods: { |
| 278 | /** | ||
| 279 | * @description: onSubmit | ||
| 280 | * @author: renchao | ||
| 281 | */ | ||
| 278 | onSubmit () { | 282 | onSubmit () { |
| 279 | saveData(this.ruleForm).then((res) => { | 283 | saveData(this.ruleForm).then((res) => { |
| 280 | if (res.code === 200) { | 284 | if (res.code === 200) { |
| ... | @@ -294,18 +298,38 @@ | ... | @@ -294,18 +298,38 @@ |
| 294 | }); | 298 | }); |
| 295 | }, | 299 | }, |
| 296 | //权利人更新 | 300 | //权利人更新 |
| 301 | /** | ||
| 302 | * @description: 权利人更新 | ||
| 303 | * @param {*} val | ||
| 304 | * @author: renchao | ||
| 305 | */ | ||
| 297 | upDateQlrxxList (val) { | 306 | upDateQlrxxList (val) { |
| 298 | this.ruleForm.qlrList = _.cloneDeep(val) | 307 | this.ruleForm.qlrList = _.cloneDeep(val) |
| 299 | }, | 308 | }, |
| 300 | // 更新义务人信息 | 309 | // 更新义务人信息 |
| 310 | /** | ||
| 311 | * @description: 更新义务人信息 | ||
| 312 | * @param {*} val | ||
| 313 | * @author: renchao | ||
| 314 | */ | ||
| 301 | upDateYwrxxList (val) { | 315 | upDateYwrxxList (val) { |
| 302 | this.ruleForm.ywrList = _.cloneDeep(val); | 316 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 303 | }, | 317 | }, |
| 304 | //家庭成员更新 | 318 | //家庭成员更新 |
| 319 | /** | ||
| 320 | * @description: 家庭成员更新 | ||
| 321 | * @param {*} val | ||
| 322 | * @author: renchao | ||
| 323 | */ | ||
| 305 | upDateJtcyList (val) { | 324 | upDateJtcyList (val) { |
| 306 | this.ruleForm.jtcyList = _.cloneDeep(val) | 325 | this.ruleForm.jtcyList = _.cloneDeep(val) |
| 307 | }, | 326 | }, |
| 308 | //水域滩涂类型变化事件 | 327 | //水域滩涂类型变化事件 |
| 328 | /** | ||
| 329 | * @description: 水域滩涂类型变化事件 | ||
| 330 | * @param {*} e | ||
| 331 | * @author: renchao | ||
| 332 | */ | ||
| 309 | changeSyttlx (e) { | 333 | changeSyttlx (e) { |
| 310 | let itemLx = {} | 334 | let itemLx = {} |
| 311 | itemLx = this.dictData['A23'].find((item) => { | 335 | itemLx = this.dictData['A23'].find((item) => { |
| ... | @@ -314,6 +338,11 @@ | ... | @@ -314,6 +338,11 @@ |
| 314 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; | 338 | this.ruleForm.nydsyq.syttlxmc = itemLx.dname; |
| 315 | }, | 339 | }, |
| 316 | //养殖业方式变化事件 | 340 | //养殖业方式变化事件 |
| 341 | /** | ||
| 342 | * @description: 养殖业方式变化事件 | ||
| 343 | * @param {*} e | ||
| 344 | * @author: renchao | ||
| 345 | */ | ||
| 317 | changeYzyfs (e) { | 346 | changeYzyfs (e) { |
| 318 | let itemLx = {} | 347 | let itemLx = {} |
| 319 | itemLx = this.dictData['A24'].find((item) => { | 348 | itemLx = this.dictData['A24'].find((item) => { |
| ... | @@ -322,6 +351,11 @@ | ... | @@ -322,6 +351,11 @@ |
| 322 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; | 351 | this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; |
| 323 | }, | 352 | }, |
| 324 | //用地用海变化事件 | 353 | //用地用海变化事件 |
| 354 | /** | ||
| 355 | * @description: 用地用海变化事件 | ||
| 356 | * @param {*} e | ||
| 357 | * @author: renchao | ||
| 358 | */ | ||
| 325 | changeYdyhfl (e) { | 359 | changeYdyhfl (e) { |
| 326 | let itemLx = {} | 360 | let itemLx = {} |
| 327 | itemLx = this.dictData['A51'].find((item) => { | 361 | itemLx = this.dictData['A51'].find((item) => { | ... | ... |
| ... | @@ -400,21 +400,40 @@ | ... | @@ -400,21 +400,40 @@ |
| 400 | }, | 400 | }, |
| 401 | methods: { | 401 | methods: { |
| 402 | // 更新土地用途信息 | 402 | // 更新土地用途信息 |
| 403 | /** | ||
| 404 | * @description: 更新土地用途信息 | ||
| 405 | * @param {*} val | ||
| 406 | * @author: renchao | ||
| 407 | */ | ||
| 403 | upDateTdytxxList (val) { | 408 | upDateTdytxxList (val) { |
| 404 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 409 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
| 405 | this.key++; | 410 | this.key++; |
| 406 | }, | 411 | }, |
| 407 | // 更新权利人信息 | 412 | // 更新权利人信息 |
| 413 | /** | ||
| 414 | * @description: 更新权利人信息 | ||
| 415 | * @param {*} val | ||
| 416 | * @author: renchao | ||
| 417 | */ | ||
| 408 | upDateQlrxxList (val) { | 418 | upDateQlrxxList (val) { |
| 409 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); | 419 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); |
| 410 | this.czrOptions = this.ruleForm.qlrList; | 420 | this.czrOptions = this.ruleForm.qlrList; |
| 411 | this.key++; | 421 | this.key++; |
| 412 | }, | 422 | }, |
| 413 | // 更新义务人信息 | 423 | // 更新义务人信息 |
| 424 | /** | ||
| 425 | * @description: 更新义务人信息 | ||
| 426 | * @param {*} val | ||
| 427 | * @author: renchao | ||
| 428 | */ | ||
| 414 | upDateYwrxxList (val) { | 429 | upDateYwrxxList (val) { |
| 415 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); | 430 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); |
| 416 | this.key++; | 431 | this.key++; |
| 417 | }, | 432 | }, |
| 433 | /** | ||
| 434 | * @description: onSubmit | ||
| 435 | * @author: renchao | ||
| 436 | */ | ||
| 418 | onSubmit () { | 437 | onSubmit () { |
| 419 | if (this.ruleForm.qlrList.length == 0) { | 438 | if (this.ruleForm.qlrList.length == 0) { |
| 420 | this.$message({ | 439 | this.$message({ | ... | ... |
| ... | @@ -196,13 +196,27 @@ | ... | @@ -196,13 +196,27 @@ |
| 196 | }, | 196 | }, |
| 197 | methods: { | 197 | methods: { |
| 198 | // 更新权利人信息 | 198 | // 更新权利人信息 |
| 199 | /** | ||
| 200 | * @description: 更新权利人信息 | ||
| 201 | * @param {*} val | ||
| 202 | * @author: renchao | ||
| 203 | */ | ||
| 199 | upDateQlrxxList (val) { | 204 | upDateQlrxxList (val) { |
| 200 | this.ruleForm.qlrList = _.cloneDeep(val); | 205 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 201 | }, | 206 | }, |
| 202 | // 更新权利人信息 | 207 | // 更新权利人信息 |
| 208 | /** | ||
| 209 | * @description: 更新权利人信息 | ||
| 210 | * @param {*} val | ||
| 211 | * @author: renchao | ||
| 212 | */ | ||
| 203 | upDateYwrxxList (val) { | 213 | upDateYwrxxList (val) { |
| 204 | this.ruleForm.ywrList = _.cloneDeep(val); | 214 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 205 | }, | 215 | }, |
| 216 | /** | ||
| 217 | * @description: onSubmit | ||
| 218 | * @author: renchao | ||
| 219 | */ | ||
| 206 | onSubmit () { | 220 | onSubmit () { |
| 207 | saveData(this.ruleForm).then((res) => { | 221 | saveData(this.ruleForm).then((res) => { |
| 208 | if (res.code === 200) { | 222 | if (res.code === 200) { | ... | ... |
| ... | @@ -191,6 +191,10 @@ | ... | @@ -191,6 +191,10 @@ |
| 191 | }; | 191 | }; |
| 192 | }, | 192 | }, |
| 193 | methods: { | 193 | methods: { |
| 194 | /** | ||
| 195 | * @description: onClick | ||
| 196 | * @author: renchao | ||
| 197 | */ | ||
| 194 | onClick () { | 198 | onClick () { |
| 195 | this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai", | 199 | this.$popup("房屋信息比对", "ywbl/ygdj/slxxCompareDetai", |
| 196 | { | 200 | { |
| ... | @@ -201,14 +205,28 @@ | ... | @@ -201,14 +205,28 @@ |
| 201 | }); | 205 | }); |
| 202 | }, | 206 | }, |
| 203 | // 更新权利人信息 | 207 | // 更新权利人信息 |
| 208 | /** | ||
| 209 | * @description: 更新权利人信息 | ||
| 210 | * @param {*} val | ||
| 211 | * @author: renchao | ||
| 212 | */ | ||
| 204 | upDateQlrxxList (val) { | 213 | upDateQlrxxList (val) { |
| 205 | this.ruleForm.qlrList = _.cloneDeep(val); | 214 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 206 | }, | 215 | }, |
| 207 | // 更新权利人信息 | 216 | // 更新权利人信息 |
| 217 | /** | ||
| 218 | * @description: 更新权利人信息 | ||
| 219 | * @param {*} val | ||
| 220 | * @author: renchao | ||
| 221 | */ | ||
| 208 | upDateYwrxxList (val) { | 222 | upDateYwrxxList (val) { |
| 209 | this.ruleForm.ywrList = _.cloneDeep(val); | 223 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 210 | }, | 224 | }, |
| 211 | 225 | ||
| 226 | /** | ||
| 227 | * @description: onSubmit | ||
| 228 | * @author: renchao | ||
| 229 | */ | ||
| 212 | onSubmit () { | 230 | onSubmit () { |
| 213 | saveData(this.ruleForm).then((res) => { | 231 | saveData(this.ruleForm).then((res) => { |
| 214 | if (res.code === 200) { | 232 | if (res.code === 200) { | ... | ... |
| ... | @@ -244,13 +244,27 @@ | ... | @@ -244,13 +244,27 @@ |
| 244 | }, | 244 | }, |
| 245 | methods: { | 245 | methods: { |
| 246 | // 更新权利人信息 | 246 | // 更新权利人信息 |
| 247 | /** | ||
| 248 | * @description: 更新权利人信息 | ||
| 249 | * @param {*} val | ||
| 250 | * @author: renchao | ||
| 251 | */ | ||
| 247 | upDateQlrxxList (val) { | 252 | upDateQlrxxList (val) { |
| 248 | this.ruleForm.qlrList = _.cloneDeep(val); | 253 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 249 | }, | 254 | }, |
| 250 | // 更新权利人信息 | 255 | // 更新权利人信息 |
| 256 | /** | ||
| 257 | * @description: 更新权利人信息 | ||
| 258 | * @param {*} val | ||
| 259 | * @author: renchao | ||
| 260 | */ | ||
| 251 | upDateYwrxxList (val) { | 261 | upDateYwrxxList (val) { |
| 252 | this.ruleForm.ywrList = _.cloneDeep(val); | 262 | this.ruleForm.ywrList = _.cloneDeep(val); |
| 253 | }, | 263 | }, |
| 264 | /** | ||
| 265 | * @description: onSubmit | ||
| 266 | * @author: renchao | ||
| 267 | */ | ||
| 254 | onSubmit () { | 268 | onSubmit () { |
| 255 | saveData(this.ruleForm).then((res) => { | 269 | saveData(this.ruleForm).then((res) => { |
| 256 | if (res.code === 200) { | 270 | if (res.code === 200) { | ... | ... |
| ... | @@ -243,6 +243,10 @@ | ... | @@ -243,6 +243,10 @@ |
| 243 | }; | 243 | }; |
| 244 | }, | 244 | }, |
| 245 | methods: { | 245 | methods: { |
| 246 | /** | ||
| 247 | * @description: onSubmitClick | ||
| 248 | * @author: renchao | ||
| 249 | */ | ||
| 246 | onSubmitClick () { | 250 | onSubmitClick () { |
| 247 | saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => { | 251 | saveBatchData(this.ruleForm, this.propsParam.djlx).then((res) => { |
| 248 | if (res.code === 200) { | 252 | if (res.code === 200) { |
| ... | @@ -263,12 +267,22 @@ | ... | @@ -263,12 +267,22 @@ |
| 263 | }, | 267 | }, |
| 264 | 268 | ||
| 265 | // 更新权利人信息 | 269 | // 更新权利人信息 |
| 270 | /** | ||
| 271 | * @description: 更新权利人信息 | ||
| 272 | * @param {*} val | ||
| 273 | * @author: renchao | ||
| 274 | */ | ||
| 266 | upDateQlrxxList (val) { | 275 | upDateQlrxxList (val) { |
| 267 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | 276 | if (!_.isEqual(val, this.ruleForm.qlrList)) { |
| 268 | this.ruleForm.qlrList = _.cloneDeep(val); | 277 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 269 | } | 278 | } |
| 270 | }, | 279 | }, |
| 271 | // 更新义务人信息 | 280 | // 更新义务人信息 |
| 281 | /** | ||
| 282 | * @description: 更新义务人信息 | ||
| 283 | * @param {*} val | ||
| 284 | * @author: renchao | ||
| 285 | */ | ||
| 272 | upDateYwrxxList (val) { | 286 | upDateYwrxxList (val) { |
| 273 | if (!_.isEqual(val, this.ruleForm.ywrList)) { | 287 | if (!_.isEqual(val, this.ruleForm.ywrList)) { |
| 274 | this.ruleForm.ywrList = _.cloneDeep(val); | 288 | this.ruleForm.ywrList = _.cloneDeep(val); | ... | ... |
| ... | @@ -285,6 +285,10 @@ | ... | @@ -285,6 +285,10 @@ |
| 285 | }; | 285 | }; |
| 286 | }, | 286 | }, |
| 287 | methods: { | 287 | methods: { |
| 288 | /** | ||
| 289 | * @description: onSubmitClick | ||
| 290 | * @author: renchao | ||
| 291 | */ | ||
| 288 | onSubmitClick () { | 292 | onSubmitClick () { |
| 289 | saveData(this.ruleForm, this.propsParam.djlx).then((res) => { | 293 | saveData(this.ruleForm, this.propsParam.djlx).then((res) => { |
| 290 | if (res.code === 200) { | 294 | if (res.code === 200) { |
| ... | @@ -305,12 +309,22 @@ | ... | @@ -305,12 +309,22 @@ |
| 305 | }, | 309 | }, |
| 306 | 310 | ||
| 307 | // 更新权利人信息 | 311 | // 更新权利人信息 |
| 312 | /** | ||
| 313 | * @description: 更新权利人信息 | ||
| 314 | * @param {*} val | ||
| 315 | * @author: renchao | ||
| 316 | */ | ||
| 308 | upDateQlrxxList (val) { | 317 | upDateQlrxxList (val) { |
| 309 | if (!_.isEqual(val, this.ruleForm.qlrList)) { | 318 | if (!_.isEqual(val, this.ruleForm.qlrList)) { |
| 310 | this.ruleForm.qlrList = _.cloneDeep(val); | 319 | this.ruleForm.qlrList = _.cloneDeep(val); |
| 311 | } | 320 | } |
| 312 | }, | 321 | }, |
| 313 | // 更新义务人信息 | 322 | // 更新义务人信息 |
| 323 | /** | ||
| 324 | * @description: 更新义务人信息 | ||
| 325 | * @param {*} val | ||
| 326 | * @author: renchao | ||
| 327 | */ | ||
| 314 | upDateYwrxxList (val) { | 328 | upDateYwrxxList (val) { |
| 315 | if (!_.isEqual(val, this.ruleForm.ywrList)) { | 329 | if (!_.isEqual(val, this.ruleForm.ywrList)) { |
| 316 | this.ruleForm.ywrList = _.cloneDeep(val); | 330 | this.ruleForm.ywrList = _.cloneDeep(val); | ... | ... |
| ... | @@ -168,6 +168,10 @@ | ... | @@ -168,6 +168,10 @@ |
| 168 | }, | 168 | }, |
| 169 | methods: { | 169 | methods: { |
| 170 | // 列表渲染接口 | 170 | // 列表渲染接口 |
| 171 | /** | ||
| 172 | * @description: 列表渲染接口 | ||
| 173 | * @author: renchao | ||
| 174 | */ | ||
| 171 | queryClick () { | 175 | queryClick () { |
| 172 | this.$startLoading(); | 176 | this.$startLoading(); |
| 173 | this.searchForm.ywh = this.queryForm.ywh; | 177 | this.searchForm.ywh = this.queryForm.ywh; |
| ... | @@ -191,11 +195,21 @@ | ... | @@ -191,11 +195,21 @@ |
| 191 | } | 195 | } |
| 192 | }); | 196 | }); |
| 193 | }, | 197 | }, |
| 198 | /** | ||
| 199 | * @description: handleSort | ||
| 200 | * @param {*} val | ||
| 201 | * @author: renchao | ||
| 202 | */ | ||
| 194 | handleSort (val) { | 203 | handleSort (val) { |
| 195 | this.queryForm.sortField = val.prop; | 204 | this.queryForm.sortField = val.prop; |
| 196 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; | 205 | this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; |
| 197 | this.queryClick(); | 206 | this.queryClick(); |
| 198 | }, | 207 | }, |
| 208 | /** | ||
| 209 | * @description: ywhClick | ||
| 210 | * @param {*} item | ||
| 211 | * @author: renchao | ||
| 212 | */ | ||
| 199 | ywhClick (item) { | 213 | ywhClick (item) { |
| 200 | //有任务权限 | 214 | //有任务权限 |
| 201 | if (item.sjlx == "3") { | 215 | if (item.sjlx == "3") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:38:49 | 4 | * @LastEditTime: 2023-07-21 11:17:58 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -104,6 +104,10 @@ | ... | @@ -104,6 +104,10 @@ |
| 104 | sendThis(this); | 104 | sendThis(this); |
| 105 | }, | 105 | }, |
| 106 | methods: { | 106 | methods: { |
| 107 | /** | ||
| 108 | * @description: queryClick | ||
| 109 | * @author: renchao | ||
| 110 | */ | ||
| 107 | queryClick () { | 111 | queryClick () { |
| 108 | this.$startLoading(); | 112 | this.$startLoading(); |
| 109 | selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => { | 113 | selectCfdj({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -115,6 +119,10 @@ | ... | @@ -115,6 +119,10 @@ |
| 115 | } | 119 | } |
| 116 | }); | 120 | }); |
| 117 | }, | 121 | }, |
| 122 | /** | ||
| 123 | * @description: submitForm | ||
| 124 | * @author: renchao | ||
| 125 | */ | ||
| 118 | submitForm () { | 126 | submitForm () { |
| 119 | if (this.bdcdysz.length == 0) { | 127 | if (this.bdcdysz.length == 0) { |
| 120 | this.$message.error("请至少选择一条数据"); | 128 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -165,9 +173,28 @@ | ... | @@ -165,9 +173,28 @@ |
| 165 | }); | 173 | }); |
| 166 | } | 174 | } |
| 167 | }, | 175 | }, |
| 176 | /** | ||
| 177 | * @description: handleSelectionChange | ||
| 178 | * @param {*} val | ||
| 179 | * @author: renchao | ||
| 180 | */ | ||
| 168 | handleSelectionChange (val) { | 181 | handleSelectionChange (val) { |
| 169 | this.bdcdysz = val; | 182 | if (this.sqywInfo.sqywdylx == "1") { |
| 183 | if (val.length > 1) { | ||
| 184 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 185 | } else { | ||
| 186 | this.bdcdysz = val; | ||
| 187 | } | ||
| 188 | } else { | ||
| 189 | this.bdcdysz = val; | ||
| 190 | } | ||
| 170 | }, | 191 | }, |
| 192 | /** | ||
| 193 | * @description: select | ||
| 194 | * @param {*} selection | ||
| 195 | * @param {*} row | ||
| 196 | * @author: renchao | ||
| 197 | */ | ||
| 171 | select (selection, row) { | 198 | select (selection, row) { |
| 172 | if (this.sqywInfo.sqywdylx == "1") { | 199 | if (this.sqywInfo.sqywdylx == "1") { |
| 173 | // 清除 所有勾选项 | 200 | // 清除 所有勾选项 |
| ... | @@ -178,6 +205,11 @@ | ... | @@ -178,6 +205,11 @@ |
| 178 | this.$refs.table.toggleRowSelection(row, true); | 205 | this.$refs.table.toggleRowSelection(row, true); |
| 179 | } | 206 | } |
| 180 | }, | 207 | }, |
| 208 | /** | ||
| 209 | * @description: handleRowClick | ||
| 210 | * @param {*} row | ||
| 211 | * @author: renchao | ||
| 212 | */ | ||
| 181 | handleRowClick (row) { | 213 | handleRowClick (row) { |
| 182 | // 如果状态是1,那就是单选 | 214 | // 如果状态是1,那就是单选 |
| 183 | if (this.sqywInfo.sqywdylx == "1") { | 215 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:16:57 | 4 | * @LastEditTime: 2023-07-21 11:18:03 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
| ... | @@ -90,6 +90,10 @@ | ... | @@ -90,6 +90,10 @@ |
| 90 | sendThis(this); | 90 | sendThis(this); |
| 91 | }, | 91 | }, |
| 92 | methods: { | 92 | methods: { |
| 93 | /** | ||
| 94 | * @description: queryClick | ||
| 95 | * @author: renchao | ||
| 96 | */ | ||
| 93 | queryClick () { | 97 | queryClick () { |
| 94 | this.$startLoading(); | 98 | this.$startLoading(); |
| 95 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 99 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -102,6 +106,10 @@ | ... | @@ -102,6 +106,10 @@ |
| 102 | } | 106 | } |
| 103 | }); | 107 | }); |
| 104 | }, | 108 | }, |
| 109 | /** | ||
| 110 | * @description: submitFormClick | ||
| 111 | * @author: renchao | ||
| 112 | */ | ||
| 105 | submitFormClick () { | 113 | submitFormClick () { |
| 106 | if (this.bdcdysz.length == 0) { | 114 | if (this.bdcdysz.length == 0) { |
| 107 | this.$message.error("请至少选择一条数据"); | 115 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -130,9 +138,28 @@ | ... | @@ -130,9 +138,28 @@ |
| 130 | } | 138 | } |
| 131 | }) | 139 | }) |
| 132 | }, | 140 | }, |
| 141 | /** | ||
| 142 | * @description: handleSelectionChange | ||
| 143 | * @param {*} val | ||
| 144 | * @author: renchao | ||
| 145 | */ | ||
| 133 | handleSelectionChange (val) { | 146 | handleSelectionChange (val) { |
| 134 | this.bdcdysz = val; | 147 | if (this.sqywInfo.sqywdylx == "1") { |
| 148 | if (val.length > 1) { | ||
| 149 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 150 | } else { | ||
| 151 | this.bdcdysz = val; | ||
| 152 | } | ||
| 153 | } else { | ||
| 154 | this.bdcdysz = val; | ||
| 155 | } | ||
| 135 | }, | 156 | }, |
| 157 | /** | ||
| 158 | * @description: select | ||
| 159 | * @param {*} selection | ||
| 160 | * @param {*} row | ||
| 161 | * @author: renchao | ||
| 162 | */ | ||
| 136 | select (selection, row) { | 163 | select (selection, row) { |
| 137 | if (this.sqywInfo.sqywdylx == "1") { | 164 | if (this.sqywInfo.sqywdylx == "1") { |
| 138 | // 清除 所有勾选项 | 165 | // 清除 所有勾选项 |
| ... | @@ -143,6 +170,11 @@ | ... | @@ -143,6 +170,11 @@ |
| 143 | this.$refs.table.toggleRowSelection(row, true); | 170 | this.$refs.table.toggleRowSelection(row, true); |
| 144 | } | 171 | } |
| 145 | }, | 172 | }, |
| 173 | /** | ||
| 174 | * @description: handleRowClick | ||
| 175 | * @param {*} row | ||
| 176 | * @author: renchao | ||
| 177 | */ | ||
| 146 | handleRowClick (row) { | 178 | handleRowClick (row) { |
| 147 | // 如果状态是1,那就是单选 | 179 | // 如果状态是1,那就是单选 |
| 148 | if (this.sqywInfo.sqywdylx == "1") { | 180 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-13 15:23:28 | 4 | * @LastEditTime: 2023-07-21 11:18:09 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -177,6 +177,10 @@ | ... | @@ -177,6 +177,10 @@ |
| 177 | sendThis(this) | 177 | sendThis(this) |
| 178 | }, | 178 | }, |
| 179 | methods: { | 179 | methods: { |
| 180 | /** | ||
| 181 | * @description: queryClick | ||
| 182 | * @author: renchao | ||
| 183 | */ | ||
| 180 | queryClick () { | 184 | queryClick () { |
| 181 | this.$startLoading(); | 185 | this.$startLoading(); |
| 182 | if (!this.isJump) { | 186 | if (!this.isJump) { |
| ... | @@ -217,11 +221,19 @@ | ... | @@ -217,11 +221,19 @@ |
| 217 | }) | 221 | }) |
| 218 | } | 222 | } |
| 219 | }, | 223 | }, |
| 224 | /** | ||
| 225 | * @description: handleTabClick | ||
| 226 | * @author: renchao | ||
| 227 | */ | ||
| 220 | handleTabClick () { | 228 | handleTabClick () { |
| 221 | this.bdcdysz = [], | 229 | this.bdcdysz = [], |
| 222 | this.pageData.currentPage = 1; | 230 | this.pageData.currentPage = 1; |
| 223 | this.queryClick(); | 231 | this.queryClick(); |
| 224 | }, | 232 | }, |
| 233 | /** | ||
| 234 | * @description: submitForm | ||
| 235 | * @author: renchao | ||
| 236 | */ | ||
| 225 | submitForm () { | 237 | submitForm () { |
| 226 | if (this.bdcdysz.length == 0) { | 238 | if (this.bdcdysz.length == 0) { |
| 227 | this.$message.error("请至少选择一条数据"); | 239 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -270,8 +282,21 @@ | ... | @@ -270,8 +282,21 @@ |
| 270 | }) | 282 | }) |
| 271 | } | 283 | } |
| 272 | }, | 284 | }, |
| 285 | /** | ||
| 286 | * @description: handleSelectionChange | ||
| 287 | * @param {*} val | ||
| 288 | * @author: renchao | ||
| 289 | */ | ||
| 273 | handleSelectionChange (val) { | 290 | handleSelectionChange (val) { |
| 274 | this.bdcdysz = val | 291 | if (this.sqywInfo.sqywdylx == "1") { |
| 292 | if (val.length > 1) { | ||
| 293 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 294 | } else { | ||
| 295 | this.bdcdysz = val; | ||
| 296 | } | ||
| 297 | } else { | ||
| 298 | this.bdcdysz = val; | ||
| 299 | } | ||
| 275 | }, | 300 | }, |
| 276 | handleLpbClick (item) { | 301 | handleLpbClick (item) { |
| 277 | this.$popup('楼盘表', 'lpb/index', { | 302 | this.$popup('楼盘表', 'lpb/index', { |
| ... | @@ -286,6 +311,12 @@ | ... | @@ -286,6 +311,12 @@ |
| 286 | } | 311 | } |
| 287 | }) | 312 | }) |
| 288 | }, | 313 | }, |
| 314 | /** | ||
| 315 | * @description: select | ||
| 316 | * @param {*} selection | ||
| 317 | * @param {*} row | ||
| 318 | * @author: renchao | ||
| 319 | */ | ||
| 289 | select (selection, row) { | 320 | select (selection, row) { |
| 290 | if (this.sqywInfo.sqywdylx == "1") { | 321 | if (this.sqywInfo.sqywdylx == "1") { |
| 291 | // 清除 所有勾选项 | 322 | // 清除 所有勾选项 |
| ... | @@ -297,6 +328,11 @@ | ... | @@ -297,6 +328,11 @@ |
| 297 | } | 328 | } |
| 298 | 329 | ||
| 299 | }, | 330 | }, |
| 331 | /** | ||
| 332 | * @description: handleRowClick | ||
| 333 | * @param {*} row | ||
| 334 | * @author: renchao | ||
| 335 | */ | ||
| 300 | handleRowClick (row) { | 336 | handleRowClick (row) { |
| 301 | // 如果状态是1,那就是单选 | 337 | // 如果状态是1,那就是单选 |
| 302 | if (this.sqywInfo.sqywdylx == "1") { | 338 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| ... | @@ -7,9 +7,22 @@ import Router from '@/router' | ... | @@ -7,9 +7,22 @@ import Router from '@/router' |
| 7 | export default { | 7 | export default { |
| 8 | methods: { | 8 | methods: { |
| 9 | //点击行选中或取消复选框 | 9 | //点击行选中或取消复选框 |
| 10 | /** | ||
| 11 | * @description: 点击行选中或取消复选框 | ||
| 12 | * @param {*} row | ||
| 13 | * @param {*} column | ||
| 14 | * @param {*} event | ||
| 15 | * @author: renchao | ||
| 16 | */ | ||
| 10 | handleRowClick (row, column, event) { | 17 | handleRowClick (row, column, event) { |
| 11 | this.$refs.table.toggleRowSelection(row) | 18 | this.$refs.table.toggleRowSelection(row) |
| 12 | }, | 19 | }, |
| 20 | /** | ||
| 21 | * @description: jump | ||
| 22 | * @param {*} data | ||
| 23 | * @param {*} type | ||
| 24 | * @author: renchao | ||
| 25 | */ | ||
| 13 | jump (data, type) { | 26 | jump (data, type) { |
| 14 | const { href } = Router.resolve( | 27 | const { href } = Router.resolve( |
| 15 | "/djbworkFrame?bsmSlsq=" + | 28 | "/djbworkFrame?bsmSlsq=" + |
| ... | @@ -20,6 +33,10 @@ export default { | ... | @@ -20,6 +33,10 @@ export default { |
| 20 | window.open(href, "_blank"); | 33 | window.open(href, "_blank"); |
| 21 | this.$popupCacel() | 34 | this.$popupCacel() |
| 22 | }, | 35 | }, |
| 36 | /** | ||
| 37 | * @description: queryClick | ||
| 38 | * @author: renchao | ||
| 39 | */ | ||
| 23 | queryClick () { | 40 | queryClick () { |
| 24 | this.pageData.currentPage = 1 | 41 | this.pageData.currentPage = 1 |
| 25 | // this.fetchData(); | 42 | // this.fetchData(); | ... | ... |
| 1 | /* | 1 | /* |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-05-05 09:45:31 | 4 | * @LastEditTime: 2023-05-05 09:45:31 |
| 5 | */ | 5 | */ |
| ... | @@ -7,9 +7,22 @@ import Router from '@/router' | ... | @@ -7,9 +7,22 @@ import Router from '@/router' |
| 7 | export default { | 7 | export default { |
| 8 | methods: { | 8 | methods: { |
| 9 | //点击行选中或取消复选框 | 9 | //点击行选中或取消复选框 |
| 10 | /** | ||
| 11 | * @description: 点击行选中或取消复选框 | ||
| 12 | * @param {*} row | ||
| 13 | * @param {*} column | ||
| 14 | * @param {*} event | ||
| 15 | * @author: renchao | ||
| 16 | */ | ||
| 10 | handleRowClick (row, column, event) { | 17 | handleRowClick (row, column, event) { |
| 11 | this.$refs.table.toggleRowSelection(row) | 18 | this.$refs.table.toggleRowSelection(row) |
| 12 | }, | 19 | }, |
| 20 | /** | ||
| 21 | * @description: jump | ||
| 22 | * @param {*} data | ||
| 23 | * @param {*} type | ||
| 24 | * @author: renchao | ||
| 25 | */ | ||
| 13 | jump (data, type) { | 26 | jump (data, type) { |
| 14 | const { href } = Router.resolve( | 27 | const { href } = Router.resolve( |
| 15 | "/workFrame?bsmSlsq=" + | 28 | "/workFrame?bsmSlsq=" + |
| ... | @@ -20,6 +33,10 @@ export default { | ... | @@ -20,6 +33,10 @@ export default { |
| 20 | window.open(href, "_blank"); | 33 | window.open(href, "_blank"); |
| 21 | this.$popupCacel() | 34 | this.$popupCacel() |
| 22 | }, | 35 | }, |
| 36 | /** | ||
| 37 | * @description: queryClick | ||
| 38 | * @author: renchao | ||
| 39 | */ | ||
| 23 | queryClick () { | 40 | queryClick () { |
| 24 | this.pageData.currentPage = 1 | 41 | this.pageData.currentPage = 1 |
| 25 | // this.fetchData(); | 42 | // this.fetchData(); | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:17:12 | 4 | * @LastEditTime: 2023-07-21 11:18:14 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -79,6 +79,10 @@ | ... | @@ -79,6 +79,10 @@ |
| 79 | sendThis(this); | 79 | sendThis(this); |
| 80 | }, | 80 | }, |
| 81 | methods: { | 81 | methods: { |
| 82 | /** | ||
| 83 | * @description: queryClick | ||
| 84 | * @author: renchao | ||
| 85 | */ | ||
| 82 | queryClick () { | 86 | queryClick () { |
| 83 | this.$startLoading(); | 87 | this.$startLoading(); |
| 84 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 88 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -91,6 +95,10 @@ | ... | @@ -91,6 +95,10 @@ |
| 91 | } | 95 | } |
| 92 | }); | 96 | }); |
| 93 | }, | 97 | }, |
| 98 | /** | ||
| 99 | * @description: submitForm | ||
| 100 | * @author: renchao | ||
| 101 | */ | ||
| 94 | submitForm () { | 102 | submitForm () { |
| 95 | if (this.bdcdysz.length == 0) { | 103 | if (this.bdcdysz.length == 0) { |
| 96 | this.$message.error("请至少选择一条数据"); | 104 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -119,9 +127,28 @@ | ... | @@ -119,9 +127,28 @@ |
| 119 | } | 127 | } |
| 120 | }) | 128 | }) |
| 121 | }, | 129 | }, |
| 130 | /** | ||
| 131 | * @description: handleSelectionChange | ||
| 132 | * @param {*} val | ||
| 133 | * @author: renchao | ||
| 134 | */ | ||
| 122 | handleSelectionChange (val) { | 135 | handleSelectionChange (val) { |
| 123 | this.bdcdysz = val; | 136 | if (this.sqywInfo.sqywdylx == "1") { |
| 137 | if (val.length > 1) { | ||
| 138 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 139 | } else { | ||
| 140 | this.bdcdysz = val; | ||
| 141 | } | ||
| 142 | } else { | ||
| 143 | this.bdcdysz = val; | ||
| 144 | } | ||
| 124 | }, | 145 | }, |
| 146 | /** | ||
| 147 | * @description: select | ||
| 148 | * @param {*} selection | ||
| 149 | * @param {*} row | ||
| 150 | * @author: renchao | ||
| 151 | */ | ||
| 125 | select (selection, row) { | 152 | select (selection, row) { |
| 126 | if (this.sqywInfo.sqywdylx == "1") { | 153 | if (this.sqywInfo.sqywdylx == "1") { |
| 127 | // 清除 所有勾选项 | 154 | // 清除 所有勾选项 |
| ... | @@ -132,6 +159,11 @@ | ... | @@ -132,6 +159,11 @@ |
| 132 | this.$refs.table.toggleRowSelection(row, true); | 159 | this.$refs.table.toggleRowSelection(row, true); |
| 133 | } | 160 | } |
| 134 | }, | 161 | }, |
| 162 | /** | ||
| 163 | * @description: handleRowClick | ||
| 164 | * @param {*} row | ||
| 165 | * @author: renchao | ||
| 166 | */ | ||
| 135 | handleRowClick (row) { | 167 | handleRowClick (row) { |
| 136 | // 如果状态是1,那就是单选 | 168 | // 如果状态是1,那就是单选 |
| 137 | if (this.sqywInfo.sqywdylx == "1") { | 169 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:17:17 | 4 | * @LastEditTime: 2023-07-21 11:18:22 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -76,6 +76,10 @@ | ... | @@ -76,6 +76,10 @@ |
| 76 | sendThis(this); | 76 | sendThis(this); |
| 77 | }, | 77 | }, |
| 78 | methods: { | 78 | methods: { |
| 79 | /** | ||
| 80 | * @description: queryClick | ||
| 81 | * @author: renchao | ||
| 82 | */ | ||
| 79 | queryClick () { | 83 | queryClick () { |
| 80 | this.$startLoading(); | 84 | this.$startLoading(); |
| 81 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 85 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -88,6 +92,10 @@ | ... | @@ -88,6 +92,10 @@ |
| 88 | } | 92 | } |
| 89 | }) | 93 | }) |
| 90 | }, | 94 | }, |
| 95 | /** | ||
| 96 | * @description: submitForm | ||
| 97 | * @author: renchao | ||
| 98 | */ | ||
| 91 | submitForm () { | 99 | submitForm () { |
| 92 | if (this.bdcdysz.length == 0) { | 100 | if (this.bdcdysz.length == 0) { |
| 93 | this.$message.error("请至少选择一条数据"); | 101 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -116,15 +124,39 @@ | ... | @@ -116,15 +124,39 @@ |
| 116 | } | 124 | } |
| 117 | }) | 125 | }) |
| 118 | }, | 126 | }, |
| 127 | /** | ||
| 128 | * @description: handleSelectionChange | ||
| 129 | * @param {*} val | ||
| 130 | * @author: renchao | ||
| 131 | */ | ||
| 119 | handleSelectionChange (val) { | 132 | handleSelectionChange (val) { |
| 120 | this.bdcdysz = val; | 133 | if (this.sqywInfo.sqywdylx == "1") { |
| 134 | if (val.length > 1) { | ||
| 135 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 136 | } else { | ||
| 137 | this.bdcdysz = val; | ||
| 138 | } | ||
| 139 | } else { | ||
| 140 | this.bdcdysz = val; | ||
| 141 | } | ||
| 121 | }, | 142 | }, |
| 143 | /** | ||
| 144 | * @description: openBook | ||
| 145 | * @param {*} row | ||
| 146 | * @author: renchao | ||
| 147 | */ | ||
| 122 | openBook (row) { | 148 | openBook (row) { |
| 123 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; | 149 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; |
| 124 | this.$popup('登记簿详情', 'registerBook/djbFrame', { | 150 | this.$popup('登记簿详情', 'registerBook/djbFrame', { |
| 125 | formData: param | 151 | formData: param |
| 126 | }) | 152 | }) |
| 127 | }, | 153 | }, |
| 154 | /** | ||
| 155 | * @description: select | ||
| 156 | * @param {*} selection | ||
| 157 | * @param {*} row | ||
| 158 | * @author: renchao | ||
| 159 | */ | ||
| 128 | select (selection, row) { | 160 | select (selection, row) { |
| 129 | if (this.sqywInfo.sqywdylx == "1") { | 161 | if (this.sqywInfo.sqywdylx == "1") { |
| 130 | // 清除 所有勾选项 | 162 | // 清除 所有勾选项 |
| ... | @@ -135,6 +167,11 @@ | ... | @@ -135,6 +167,11 @@ |
| 135 | this.$refs.table.toggleRowSelection(row, true); | 167 | this.$refs.table.toggleRowSelection(row, true); |
| 136 | } | 168 | } |
| 137 | }, | 169 | }, |
| 170 | /** | ||
| 171 | * @description: handleRowClick | ||
| 172 | * @param {*} row | ||
| 173 | * @author: renchao | ||
| 174 | */ | ||
| 138 | handleRowClick (row) { | 175 | handleRowClick (row) { |
| 139 | // 如果状态是1,那就是单选 | 176 | // 如果状态是1,那就是单选 |
| 140 | if (this.sqywInfo.sqywdylx == "1") { | 177 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:17:38 | 4 | * @LastEditTime: 2023-07-21 11:18:26 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -104,6 +104,10 @@ | ... | @@ -104,6 +104,10 @@ |
| 104 | }, | 104 | }, |
| 105 | methods: { | 105 | methods: { |
| 106 | //默认加载表格信息 | 106 | //默认加载表格信息 |
| 107 | /** | ||
| 108 | * @description: 默认加载表格信息 | ||
| 109 | * @author: renchao | ||
| 110 | */ | ||
| 107 | queryClick () { | 111 | queryClick () { |
| 108 | this.$startLoading(); | 112 | this.$startLoading(); |
| 109 | this.queryForm.bsmSqyw = this.bsmSqyw; | 113 | this.queryForm.bsmSqyw = this.bsmSqyw; |
| ... | @@ -116,6 +120,10 @@ | ... | @@ -116,6 +120,10 @@ |
| 116 | } | 120 | } |
| 117 | }); | 121 | }); |
| 118 | }, | 122 | }, |
| 123 | /** | ||
| 124 | * @description: submitForm | ||
| 125 | * @author: renchao | ||
| 126 | */ | ||
| 119 | submitForm () { | 127 | submitForm () { |
| 120 | if (this.bdcdysz.length == 0) { | 128 | if (this.bdcdysz.length == 0) { |
| 121 | this.$alert("请至少选择一条数据"); | 129 | this.$alert("请至少选择一条数据"); |
| ... | @@ -144,9 +152,28 @@ | ... | @@ -144,9 +152,28 @@ |
| 144 | } | 152 | } |
| 145 | }) | 153 | }) |
| 146 | }, | 154 | }, |
| 155 | /** | ||
| 156 | * @description: handleSelectionChange | ||
| 157 | * @param {*} val | ||
| 158 | * @author: renchao | ||
| 159 | */ | ||
| 147 | handleSelectionChange (val) { | 160 | handleSelectionChange (val) { |
| 148 | this.bdcdysz = val; | 161 | if (this.sqywInfo.sqywdylx == "1") { |
| 162 | if (val.length > 1) { | ||
| 163 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 164 | } else { | ||
| 165 | this.bdcdysz = val; | ||
| 166 | } | ||
| 167 | } else { | ||
| 168 | this.bdcdysz = val; | ||
| 169 | } | ||
| 149 | }, | 170 | }, |
| 171 | /** | ||
| 172 | * @description: select | ||
| 173 | * @param {*} selection | ||
| 174 | * @param {*} row | ||
| 175 | * @author: renchao | ||
| 176 | */ | ||
| 150 | select (selection, row) { | 177 | select (selection, row) { |
| 151 | if (this.sqywInfo.sqywdylx == "1") { | 178 | if (this.sqywInfo.sqywdylx == "1") { |
| 152 | // 清除 所有勾选项 | 179 | // 清除 所有勾选项 |
| ... | @@ -157,6 +184,11 @@ | ... | @@ -157,6 +184,11 @@ |
| 157 | this.$refs.table.toggleRowSelection(row, true); | 184 | this.$refs.table.toggleRowSelection(row, true); |
| 158 | } | 185 | } |
| 159 | }, | 186 | }, |
| 187 | /** | ||
| 188 | * @description: handleRowClick | ||
| 189 | * @param {*} row | ||
| 190 | * @author: renchao | ||
| 191 | */ | ||
| 160 | handleRowClick (row) { | 192 | handleRowClick (row) { |
| 161 | // 如果状态是1,那就是单选 | 193 | // 如果状态是1,那就是单选 |
| 162 | if (this.sqywInfo.sqywdylx == "1") { | 194 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:17:50 | 4 | * @LastEditTime: 2023-07-21 11:18:32 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -104,6 +104,10 @@ | ... | @@ -104,6 +104,10 @@ |
| 104 | }, | 104 | }, |
| 105 | methods: { | 105 | methods: { |
| 106 | // 初始化数据 | 106 | // 初始化数据 |
| 107 | /** | ||
| 108 | * @description: 初始化数据 | ||
| 109 | * @author: renchao | ||
| 110 | */ | ||
| 107 | queryClick () { | 111 | queryClick () { |
| 108 | this.$startLoading() | 112 | this.$startLoading() |
| 109 | selectRepairQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { | 113 | selectRepairQlxx({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -125,6 +129,11 @@ | ... | @@ -125,6 +129,11 @@ |
| 125 | // bsm: '' | 129 | // bsm: '' |
| 126 | // }, '85%') | 130 | // }, '85%') |
| 127 | // }, | 131 | // }, |
| 132 | /** | ||
| 133 | * @description: ywhClick | ||
| 134 | * @param {*} item) | ||
| 135 | * @author: renchao | ||
| 136 | */ | ||
| 128 | ywhClick (item) { | 137 | ywhClick (item) { |
| 129 | const { href } = this.$router.resolve( | 138 | const { href } = this.$router.resolve( |
| 130 | "/djbworkFrame?bdcdyid=" + | 139 | "/djbworkFrame?bdcdyid=" + |
| ... | @@ -141,6 +150,10 @@ | ... | @@ -141,6 +150,10 @@ |
| 141 | window.open(href, `urlname${item.bdcdyid}`); | 150 | window.open(href, `urlname${item.bdcdyid}`); |
| 142 | 151 | ||
| 143 | }, | 152 | }, |
| 153 | /** | ||
| 154 | * @description: submitForm | ||
| 155 | * @author: renchao | ||
| 156 | */ | ||
| 144 | submitForm () { | 157 | submitForm () { |
| 145 | if (this.bdcdysz.length == 0) { | 158 | if (this.bdcdysz.length == 0) { |
| 146 | this.$message.error("请至少选择一条数据"); | 159 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -171,10 +184,27 @@ | ... | @@ -171,10 +184,27 @@ |
| 171 | } | 184 | } |
| 172 | }) | 185 | }) |
| 173 | }, | 186 | }, |
| 187 | /** | ||
| 188 | * @description: handleSelectionChange | ||
| 189 | * @param {*} val | ||
| 190 | * @author: renchao | ||
| 191 | */ | ||
| 174 | handleSelectionChange (val) { | 192 | handleSelectionChange (val) { |
| 175 | console.log("val", val); | 193 | if (this.sqywInfo.sqywdylx == "1") { |
| 176 | this.bdcdysz = val; | 194 | if (val.length > 1) { |
| 195 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 196 | } else { | ||
| 197 | this.bdcdysz = val; | ||
| 198 | } | ||
| 199 | } else { | ||
| 200 | this.bdcdysz = val; | ||
| 201 | } | ||
| 177 | }, | 202 | }, |
| 203 | /** | ||
| 204 | * @description: handleRowClick | ||
| 205 | * @param {*} row | ||
| 206 | * @author: renchao | ||
| 207 | */ | ||
| 178 | handleRowClick (row) { | 208 | handleRowClick (row) { |
| 179 | // 如果状态是1,那就是单选 | 209 | // 如果状态是1,那就是单选 |
| 180 | if (this.sqywInfo.sqywdylx == "1") { | 210 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:18:01 | 4 | * @LastEditTime: 2023-07-21 11:18:36 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -81,6 +81,10 @@ | ... | @@ -81,6 +81,10 @@ |
| 81 | sendThis(this); | 81 | sendThis(this); |
| 82 | }, | 82 | }, |
| 83 | methods: { | 83 | methods: { |
| 84 | /** | ||
| 85 | * @description: queryClick | ||
| 86 | * @author: renchao | ||
| 87 | */ | ||
| 84 | queryClick () { | 88 | queryClick () { |
| 85 | this.$startLoading(); | 89 | this.$startLoading(); |
| 86 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 90 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -93,6 +97,10 @@ | ... | @@ -93,6 +97,10 @@ |
| 93 | } | 97 | } |
| 94 | }); | 98 | }); |
| 95 | }, | 99 | }, |
| 100 | /** | ||
| 101 | * @description: submitForm | ||
| 102 | * @author: renchao | ||
| 103 | */ | ||
| 96 | submitForm () { | 104 | submitForm () { |
| 97 | if (this.bdcdysz.length == 0) { | 105 | if (this.bdcdysz.length == 0) { |
| 98 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -121,9 +129,28 @@ | ... | @@ -121,9 +129,28 @@ |
| 121 | } | 129 | } |
| 122 | }) | 130 | }) |
| 123 | }, | 131 | }, |
| 132 | /** | ||
| 133 | * @description: handleSelectionChange | ||
| 134 | * @param {*} val | ||
| 135 | * @author: renchao | ||
| 136 | */ | ||
| 124 | handleSelectionChange (val) { | 137 | handleSelectionChange (val) { |
| 125 | this.bdcdysz = val; | 138 | if (this.sqywInfo.sqywdylx == "1") { |
| 139 | if (val.length > 1) { | ||
| 140 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 141 | } else { | ||
| 142 | this.bdcdysz = val; | ||
| 143 | } | ||
| 144 | } else { | ||
| 145 | this.bdcdysz = val; | ||
| 146 | } | ||
| 126 | }, | 147 | }, |
| 148 | /** | ||
| 149 | * @description: select | ||
| 150 | * @param {*} selection | ||
| 151 | * @param {*} row | ||
| 152 | * @author: renchao | ||
| 153 | */ | ||
| 127 | select (selection, row) { | 154 | select (selection, row) { |
| 128 | if (this.sqywInfo.sqywdylx == "1") { | 155 | if (this.sqywInfo.sqywdylx == "1") { |
| 129 | // 清除 所有勾选项 | 156 | // 清除 所有勾选项 |
| ... | @@ -134,6 +161,11 @@ | ... | @@ -134,6 +161,11 @@ |
| 134 | this.$refs.table.toggleRowSelection(row, true); | 161 | this.$refs.table.toggleRowSelection(row, true); |
| 135 | } | 162 | } |
| 136 | }, | 163 | }, |
| 164 | /** | ||
| 165 | * @description: handleRowClick | ||
| 166 | * @param {*} row | ||
| 167 | * @author: renchao | ||
| 168 | */ | ||
| 137 | handleRowClick (row) { | 169 | handleRowClick (row) { |
| 138 | // 如果状态是1,那就是单选 | 170 | // 如果状态是1,那就是单选 |
| 139 | if (this.sqywInfo.sqywdylx == "1") { | 171 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-20 16:39:12 | 4 | * @LastEditTime: 2023-07-21 11:18:39 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -80,6 +80,10 @@ | ... | @@ -80,6 +80,10 @@ |
| 80 | sendThis(this); | 80 | sendThis(this); |
| 81 | }, | 81 | }, |
| 82 | methods: { | 82 | methods: { |
| 83 | /** | ||
| 84 | * @description: queryClick | ||
| 85 | * @author: renchao | ||
| 86 | */ | ||
| 83 | queryClick () { | 87 | queryClick () { |
| 84 | this.$startLoading(); | 88 | this.$startLoading(); |
| 85 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 89 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -92,6 +96,10 @@ | ... | @@ -92,6 +96,10 @@ |
| 92 | } | 96 | } |
| 93 | }); | 97 | }); |
| 94 | }, | 98 | }, |
| 99 | /** | ||
| 100 | * @description: submitForm | ||
| 101 | * @author: renchao | ||
| 102 | */ | ||
| 95 | submitForm () { | 103 | submitForm () { |
| 96 | if (this.bdcdysz.length == 0) { | 104 | if (this.bdcdysz.length == 0) { |
| 97 | this.$message.error("请至少选择一条数据"); | 105 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -120,9 +128,28 @@ | ... | @@ -120,9 +128,28 @@ |
| 120 | } | 128 | } |
| 121 | }) | 129 | }) |
| 122 | }, | 130 | }, |
| 131 | /** | ||
| 132 | * @description: handleSelectionChange | ||
| 133 | * @param {*} val | ||
| 134 | * @author: renchao | ||
| 135 | */ | ||
| 123 | handleSelectionChange (val) { | 136 | handleSelectionChange (val) { |
| 124 | this.bdcdysz = val; | 137 | if (this.sqywInfo.sqywdylx == "1") { |
| 138 | if (val.length > 1) { | ||
| 139 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 140 | } else { | ||
| 141 | this.bdcdysz = val; | ||
| 142 | } | ||
| 143 | } else { | ||
| 144 | this.bdcdysz = val; | ||
| 145 | } | ||
| 125 | }, | 146 | }, |
| 147 | /** | ||
| 148 | * @description: select | ||
| 149 | * @param {*} selection | ||
| 150 | * @param {*} row | ||
| 151 | * @author: renchao | ||
| 152 | */ | ||
| 126 | select (selection, row) { | 153 | select (selection, row) { |
| 127 | if (this.sqywInfo.sqywdylx == "1") { | 154 | if (this.sqywInfo.sqywdylx == "1") { |
| 128 | // 清除 所有勾选项 | 155 | // 清除 所有勾选项 |
| ... | @@ -133,6 +160,11 @@ | ... | @@ -133,6 +160,11 @@ |
| 133 | this.$refs.table.toggleRowSelection(row, true); | 160 | this.$refs.table.toggleRowSelection(row, true); |
| 134 | } | 161 | } |
| 135 | }, | 162 | }, |
| 163 | /** | ||
| 164 | * @description: handleRowClick | ||
| 165 | * @param {*} row | ||
| 166 | * @author: renchao | ||
| 167 | */ | ||
| 136 | handleRowClick (row) { | 168 | handleRowClick (row) { |
| 137 | // 如果状态是1,那就是单选 | 169 | // 如果状态是1,那就是单选 |
| 138 | if (this.sqywInfo.sqywdylx == "1") { | 170 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:18:12 | 4 | * @LastEditTime: 2023-07-21 11:18:45 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -89,6 +89,10 @@ | ... | @@ -89,6 +89,10 @@ |
| 89 | sendThis(this); | 89 | sendThis(this); |
| 90 | }, | 90 | }, |
| 91 | methods: { | 91 | methods: { |
| 92 | /** | ||
| 93 | * @description: queryClick | ||
| 94 | * @author: renchao | ||
| 95 | */ | ||
| 92 | queryClick () { | 96 | queryClick () { |
| 93 | this.$startLoading(); | 97 | this.$startLoading(); |
| 94 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 98 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -101,6 +105,10 @@ | ... | @@ -101,6 +105,10 @@ |
| 101 | } | 105 | } |
| 102 | }); | 106 | }); |
| 103 | }, | 107 | }, |
| 108 | /** | ||
| 109 | * @description: submitForm | ||
| 110 | * @author: renchao | ||
| 111 | */ | ||
| 104 | submitForm () { | 112 | submitForm () { |
| 105 | if (this.bdcdysz.length == 0) { | 113 | if (this.bdcdysz.length == 0) { |
| 106 | this.$message.error("请至少选择一条数据"); | 114 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -129,9 +137,27 @@ | ... | @@ -129,9 +137,27 @@ |
| 129 | } | 137 | } |
| 130 | }) | 138 | }) |
| 131 | }, | 139 | }, |
| 140 | /** | ||
| 141 | * @description: handleSelectionChange | ||
| 142 | * @param {*} val | ||
| 143 | * @author: renchao | ||
| 144 | */ | ||
| 132 | handleSelectionChange (val) { | 145 | handleSelectionChange (val) { |
| 133 | this.bdcdysz = val; | 146 | if (this.sqywInfo.sqywdylx == "1") { |
| 147 | if (val.length > 1) { | ||
| 148 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 149 | } else { | ||
| 150 | this.bdcdysz = val; | ||
| 151 | } | ||
| 152 | } else { | ||
| 153 | this.bdcdysz = val; | ||
| 154 | } | ||
| 134 | }, | 155 | }, |
| 156 | /** | ||
| 157 | * @description: openBook | ||
| 158 | * @param {*} row | ||
| 159 | * @author: renchao | ||
| 160 | */ | ||
| 135 | openBook (row) { | 161 | openBook (row) { |
| 136 | var param = { | 162 | var param = { |
| 137 | bdcdyid: row.bdcdyid, | 163 | bdcdyid: row.bdcdyid, |
| ... | @@ -143,6 +169,12 @@ | ... | @@ -143,6 +169,12 @@ |
| 143 | formData: param | 169 | formData: param |
| 144 | }) | 170 | }) |
| 145 | }, | 171 | }, |
| 172 | /** | ||
| 173 | * @description: select | ||
| 174 | * @param {*} selection | ||
| 175 | * @param {*} row | ||
| 176 | * @author: renchao | ||
| 177 | */ | ||
| 146 | select (selection, row) { | 178 | select (selection, row) { |
| 147 | if (this.sqywInfo.sqywdylx == "1") { | 179 | if (this.sqywInfo.sqywdylx == "1") { |
| 148 | // 清除 所有勾选项 | 180 | // 清除 所有勾选项 |
| ... | @@ -153,6 +185,11 @@ | ... | @@ -153,6 +185,11 @@ |
| 153 | this.$refs.table.toggleRowSelection(row, true); | 185 | this.$refs.table.toggleRowSelection(row, true); |
| 154 | } | 186 | } |
| 155 | }, | 187 | }, |
| 188 | /** | ||
| 189 | * @description: handleRowClick | ||
| 190 | * @param {*} row | ||
| 191 | * @author: renchao | ||
| 192 | */ | ||
| 156 | handleRowClick (row) { | 193 | handleRowClick (row) { |
| 157 | // 如果状态是1,那就是单选 | 194 | // 如果状态是1,那就是单选 |
| 158 | if (this.sqywInfo.sqywdylx == "1") { | 195 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| ... | @@ -191,6 +191,10 @@ | ... | @@ -191,6 +191,10 @@ |
| 191 | }, | 191 | }, |
| 192 | methods: { | 192 | methods: { |
| 193 | // 单选事件 | 193 | // 单选事件 |
| 194 | /** | ||
| 195 | * @description: 单选事件 | ||
| 196 | * @author: renchao | ||
| 197 | */ | ||
| 194 | close () { | 198 | close () { |
| 195 | this.tableData.data.forEach(item => { | 199 | this.tableData.data.forEach(item => { |
| 196 | if (this.radioVal == item.bhqkbsm) { | 200 | if (this.radioVal == item.bhqkbsm) { |
| ... | @@ -211,6 +215,10 @@ | ... | @@ -211,6 +215,10 @@ |
| 211 | } | 215 | } |
| 212 | }) | 216 | }) |
| 213 | }, | 217 | }, |
| 218 | /** | ||
| 219 | * @description: queryClick | ||
| 220 | * @author: renchao | ||
| 221 | */ | ||
| 214 | queryClick () { | 222 | queryClick () { |
| 215 | this.$startLoading(); | 223 | this.$startLoading(); |
| 216 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 224 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -221,13 +229,10 @@ | ... | @@ -221,13 +229,10 @@ |
| 221 | } | 229 | } |
| 222 | }); | 230 | }); |
| 223 | }, | 231 | }, |
| 224 | handleRowClick (val) { | 232 | /** |
| 225 | // this.radioVal = val.bhqkbsm | 233 | * @description: submitForm |
| 226 | // let obj = val | 234 | * @author: renchao |
| 227 | // obj.bglx = '1'; | 235 | */ |
| 228 | // this.bdcdysz[0] = obj | ||
| 229 | // this.close() | ||
| 230 | }, | ||
| 231 | submitForm () { | 236 | submitForm () { |
| 232 | startBusinessFlow({ | 237 | startBusinessFlow({ |
| 233 | bsmSqyw: this.sqywInfo.parentid, | 238 | bsmSqyw: this.sqywInfo.parentid, |
| ... | @@ -252,6 +257,11 @@ | ... | @@ -252,6 +257,11 @@ |
| 252 | } | 257 | } |
| 253 | }) | 258 | }) |
| 254 | }, | 259 | }, |
| 260 | /** | ||
| 261 | * @description: openBook | ||
| 262 | * @param {*} row | ||
| 263 | * @author: renchao | ||
| 264 | */ | ||
| 255 | openBook (row) { | 265 | openBook (row) { |
| 256 | var param = { | 266 | var param = { |
| 257 | bdcdyid: row.bdcdyid, | 267 | bdcdyid: row.bdcdyid, |
| ... | @@ -263,6 +273,12 @@ | ... | @@ -263,6 +273,12 @@ |
| 263 | formData: param | 273 | formData: param |
| 264 | }) | 274 | }) |
| 265 | }, | 275 | }, |
| 276 | /** | ||
| 277 | * @description: select | ||
| 278 | * @param {*} selection | ||
| 279 | * @param {*} row | ||
| 280 | * @author: renchao | ||
| 281 | */ | ||
| 266 | select (selection, row) { | 282 | select (selection, row) { |
| 267 | if (this.sqywInfo.sqywdylx == "1") { | 283 | if (this.sqywInfo.sqywdylx == "1") { |
| 268 | // 清除 所有勾选项 | 284 | // 清除 所有勾选项 |
| ... | @@ -273,6 +289,11 @@ | ... | @@ -273,6 +289,11 @@ |
| 273 | this.$refs.table.toggleRowSelection(row, true); | 289 | this.$refs.table.toggleRowSelection(row, true); |
| 274 | } | 290 | } |
| 275 | }, | 291 | }, |
| 292 | /** | ||
| 293 | * @description: handleRowClick | ||
| 294 | * @param {*} row | ||
| 295 | * @author: renchao | ||
| 296 | */ | ||
| 276 | handleRowClick (row) { | 297 | handleRowClick (row) { |
| 277 | // 如果状态是1,那就是单选 | 298 | // 如果状态是1,那就是单选 |
| 278 | if (this.sqywInfo.sqywdylx == "1") { | 299 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:16:27 | 4 | * @LastEditTime: 2023-07-21 11:19:04 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -85,6 +85,10 @@ | ... | @@ -85,6 +85,10 @@ |
| 85 | sendThis(this); | 85 | sendThis(this); |
| 86 | }, | 86 | }, |
| 87 | methods: { | 87 | methods: { |
| 88 | /** | ||
| 89 | * @description: queryClick | ||
| 90 | * @author: renchao | ||
| 91 | */ | ||
| 88 | queryClick () { | 92 | queryClick () { |
| 89 | this.$startLoading(); | 93 | this.$startLoading(); |
| 90 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 94 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -98,6 +102,10 @@ | ... | @@ -98,6 +102,10 @@ |
| 98 | }); | 102 | }); |
| 99 | }, | 103 | }, |
| 100 | 104 | ||
| 105 | /** | ||
| 106 | * @description: submitForm | ||
| 107 | * @author: renchao | ||
| 108 | */ | ||
| 101 | submitForm () { | 109 | submitForm () { |
| 102 | if (this.bdcdysz.length == 0) { | 110 | if (this.bdcdysz.length == 0) { |
| 103 | this.$alert("请至少选择一条数据"); | 111 | this.$alert("请至少选择一条数据"); |
| ... | @@ -126,12 +134,31 @@ | ... | @@ -126,12 +134,31 @@ |
| 126 | } | 134 | } |
| 127 | }) | 135 | }) |
| 128 | }, | 136 | }, |
| 137 | /** | ||
| 138 | * @description: handleSelectionChange | ||
| 139 | * @param {*} val | ||
| 140 | * @author: renchao | ||
| 141 | */ | ||
| 129 | handleSelectionChange (val) { | 142 | handleSelectionChange (val) { |
| 130 | val.forEach((item, index) => { | 143 | val.forEach((item, index) => { |
| 131 | item.bsm = item.zdbsm; | 144 | item.bsm = item.zdbsm; |
| 132 | }); | 145 | }); |
| 133 | this.bdcdysz = val; | 146 | if (this.sqywInfo.sqywdylx == "1") { |
| 147 | if (val.length > 1) { | ||
| 148 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 149 | } else { | ||
| 150 | this.bdcdysz = val; | ||
| 151 | } | ||
| 152 | } else { | ||
| 153 | this.bdcdysz = val; | ||
| 154 | } | ||
| 134 | }, | 155 | }, |
| 156 | /** | ||
| 157 | * @description: select | ||
| 158 | * @param {*} selection | ||
| 159 | * @param {*} row | ||
| 160 | * @author: renchao | ||
| 161 | */ | ||
| 135 | select (selection, row) { | 162 | select (selection, row) { |
| 136 | if (this.sqywInfo.sqywdylx == "1") { | 163 | if (this.sqywInfo.sqywdylx == "1") { |
| 137 | // 清除 所有勾选项 | 164 | // 清除 所有勾选项 |
| ... | @@ -143,6 +170,11 @@ | ... | @@ -143,6 +170,11 @@ |
| 143 | } | 170 | } |
| 144 | }, | 171 | }, |
| 145 | 172 | ||
| 173 | /** | ||
| 174 | * @description: handleRowClick | ||
| 175 | * @param {*} row | ||
| 176 | * @author: renchao | ||
| 177 | */ | ||
| 146 | handleRowClick (row) { | 178 | handleRowClick (row) { |
| 147 | // 如果状态是1,那就是单选 | 179 | // 如果状态是1,那就是单选 |
| 148 | if (this.sqywInfo.sqywdylx == "1") { | 180 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:18:26 | 4 | * @LastEditTime: 2023-07-21 11:19:09 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
| ... | @@ -89,6 +89,10 @@ | ... | @@ -89,6 +89,10 @@ |
| 89 | sendThis(this); | 89 | sendThis(this); |
| 90 | }, | 90 | }, |
| 91 | methods: { | 91 | methods: { |
| 92 | /** | ||
| 93 | * @description: queryClick | ||
| 94 | * @author: renchao | ||
| 95 | */ | ||
| 92 | queryClick () { | 96 | queryClick () { |
| 93 | this.$startLoading(); | 97 | this.$startLoading(); |
| 94 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 98 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -101,6 +105,10 @@ | ... | @@ -101,6 +105,10 @@ |
| 101 | } | 105 | } |
| 102 | }); | 106 | }); |
| 103 | }, | 107 | }, |
| 108 | /** | ||
| 109 | * @description: submitForm | ||
| 110 | * @author: renchao | ||
| 111 | */ | ||
| 104 | submitForm () { | 112 | submitForm () { |
| 105 | if (this.bdcdysz.length == 0) { | 113 | if (this.bdcdysz.length == 0) { |
| 106 | this.$message.error("请至少选择一条数据"); | 114 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -129,9 +137,27 @@ | ... | @@ -129,9 +137,27 @@ |
| 129 | } | 137 | } |
| 130 | }) | 138 | }) |
| 131 | }, | 139 | }, |
| 140 | /** | ||
| 141 | * @description: handleSelectionChange | ||
| 142 | * @param {*} val | ||
| 143 | * @author: renchao | ||
| 144 | */ | ||
| 132 | handleSelectionChange (val) { | 145 | handleSelectionChange (val) { |
| 133 | this.bdcdysz = val; | 146 | if (this.sqywInfo.sqywdylx == "1") { |
| 147 | if (val.length > 1) { | ||
| 148 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 149 | } else { | ||
| 150 | this.bdcdysz = val; | ||
| 151 | } | ||
| 152 | } else { | ||
| 153 | this.bdcdysz = val; | ||
| 154 | } | ||
| 134 | }, | 155 | }, |
| 156 | /** | ||
| 157 | * @description: openBook | ||
| 158 | * @param {*} row | ||
| 159 | * @author: renchao | ||
| 160 | */ | ||
| 135 | openBook (row) { | 161 | openBook (row) { |
| 136 | var param = { | 162 | var param = { |
| 137 | bdcdyid: row.bdcdyid, | 163 | bdcdyid: row.bdcdyid, |
| ... | @@ -143,6 +169,12 @@ | ... | @@ -143,6 +169,12 @@ |
| 143 | formData: param | 169 | formData: param |
| 144 | }) | 170 | }) |
| 145 | }, | 171 | }, |
| 172 | /** | ||
| 173 | * @description: select | ||
| 174 | * @param {*} selection | ||
| 175 | * @param {*} row | ||
| 176 | * @author: renchao | ||
| 177 | */ | ||
| 146 | select (selection, row) { | 178 | select (selection, row) { |
| 147 | if (this.sqywInfo.sqywdylx == "1") { | 179 | if (this.sqywInfo.sqywdylx == "1") { |
| 148 | // 清除 所有勾选项 | 180 | // 清除 所有勾选项 |
| ... | @@ -153,6 +185,11 @@ | ... | @@ -153,6 +185,11 @@ |
| 153 | this.$refs.table.toggleRowSelection(row, true); | 185 | this.$refs.table.toggleRowSelection(row, true); |
| 154 | } | 186 | } |
| 155 | }, | 187 | }, |
| 188 | /** | ||
| 189 | * @description: handleRowClick | ||
| 190 | * @param {*} row | ||
| 191 | * @author: renchao | ||
| 192 | */ | ||
| 156 | handleRowClick (row) { | 193 | handleRowClick (row) { |
| 157 | // 如果状态是1,那就是单选 | 194 | // 如果状态是1,那就是单选 |
| 158 | if (this.sqywInfo.sqywdylx == "1") { | 195 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:18:34 | 4 | * @LastEditTime: 2023-07-21 11:19:14 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -81,6 +81,10 @@ | ... | @@ -81,6 +81,10 @@ |
| 81 | sendThis(this); | 81 | sendThis(this); |
| 82 | }, | 82 | }, |
| 83 | methods: { | 83 | methods: { |
| 84 | /** | ||
| 85 | * @description: queryClick | ||
| 86 | * @author: renchao | ||
| 87 | */ | ||
| 84 | queryClick () { | 88 | queryClick () { |
| 85 | this.$startLoading(); | 89 | this.$startLoading(); |
| 86 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 90 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -93,6 +97,10 @@ | ... | @@ -93,6 +97,10 @@ |
| 93 | } | 97 | } |
| 94 | }); | 98 | }); |
| 95 | }, | 99 | }, |
| 100 | /** | ||
| 101 | * @description: submitForm | ||
| 102 | * @author: renchao | ||
| 103 | */ | ||
| 96 | submitForm () { | 104 | submitForm () { |
| 97 | if (this.bdcdysz.length == 0) { | 105 | if (this.bdcdysz.length == 0) { |
| 98 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -121,9 +129,28 @@ | ... | @@ -121,9 +129,28 @@ |
| 121 | } | 129 | } |
| 122 | }) | 130 | }) |
| 123 | }, | 131 | }, |
| 132 | /** | ||
| 133 | * @description: handleSelectionChange | ||
| 134 | * @param {*} val | ||
| 135 | * @author: renchao | ||
| 136 | */ | ||
| 124 | handleSelectionChange (val) { | 137 | handleSelectionChange (val) { |
| 125 | this.bdcdysz = val; | 138 | if (this.sqywInfo.sqywdylx == "1") { |
| 139 | if (val.length > 1) { | ||
| 140 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 141 | } else { | ||
| 142 | this.bdcdysz = val; | ||
| 143 | } | ||
| 144 | } else { | ||
| 145 | this.bdcdysz = val; | ||
| 146 | } | ||
| 126 | }, | 147 | }, |
| 148 | /** | ||
| 149 | * @description: select | ||
| 150 | * @param {*} selection | ||
| 151 | * @param {*} row | ||
| 152 | * @author: renchao | ||
| 153 | */ | ||
| 127 | select (selection, row) { | 154 | select (selection, row) { |
| 128 | if (this.sqywInfo.sqywdylx == "1") { | 155 | if (this.sqywInfo.sqywdylx == "1") { |
| 129 | // 清除 所有勾选项 | 156 | // 清除 所有勾选项 |
| ... | @@ -134,6 +161,11 @@ | ... | @@ -134,6 +161,11 @@ |
| 134 | this.$refs.table.toggleRowSelection(row, true); | 161 | this.$refs.table.toggleRowSelection(row, true); |
| 135 | } | 162 | } |
| 136 | }, | 163 | }, |
| 164 | /** | ||
| 165 | * @description: handleRowClick | ||
| 166 | * @param {*} row | ||
| 167 | * @author: renchao | ||
| 168 | */ | ||
| 137 | handleRowClick (row) { | 169 | handleRowClick (row) { |
| 138 | // 如果状态是1,那就是单选 | 170 | // 如果状态是1,那就是单选 |
| 139 | if (this.sqywInfo.sqywdylx == "1") { | 171 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:18:39 | 4 | * @LastEditTime: 2023-07-21 11:19:18 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -81,6 +81,10 @@ | ... | @@ -81,6 +81,10 @@ |
| 81 | sendThis(this); | 81 | sendThis(this); |
| 82 | }, | 82 | }, |
| 83 | methods: { | 83 | methods: { |
| 84 | /** | ||
| 85 | * @description: queryClick | ||
| 86 | * @author: renchao | ||
| 87 | */ | ||
| 84 | queryClick () { | 88 | queryClick () { |
| 85 | this.$startLoading(); | 89 | this.$startLoading(); |
| 86 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 90 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
| ... | @@ -93,6 +97,10 @@ | ... | @@ -93,6 +97,10 @@ |
| 93 | } | 97 | } |
| 94 | }); | 98 | }); |
| 95 | }, | 99 | }, |
| 100 | /** | ||
| 101 | * @description: submitForm | ||
| 102 | * @author: renchao | ||
| 103 | */ | ||
| 96 | submitForm () { | 104 | submitForm () { |
| 97 | if (this.bdcdysz.length == 0) { | 105 | if (this.bdcdysz.length == 0) { |
| 98 | this.$message.error("请至少选择一条数据"); | 106 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -121,9 +129,28 @@ | ... | @@ -121,9 +129,28 @@ |
| 121 | } | 129 | } |
| 122 | }) | 130 | }) |
| 123 | }, | 131 | }, |
| 132 | /** | ||
| 133 | * @description: handleSelectionChange | ||
| 134 | * @param {*} val | ||
| 135 | * @author: renchao | ||
| 136 | */ | ||
| 124 | handleSelectionChange (val) { | 137 | handleSelectionChange (val) { |
| 125 | this.bdcdysz = val; | 138 | if (this.sqywInfo.sqywdylx == "1") { |
| 139 | if (val.length > 1) { | ||
| 140 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 141 | } else { | ||
| 142 | this.bdcdysz = val; | ||
| 143 | } | ||
| 144 | } else { | ||
| 145 | this.bdcdysz = val; | ||
| 146 | } | ||
| 126 | }, | 147 | }, |
| 148 | /** | ||
| 149 | * @description: select | ||
| 150 | * @param {*} selection | ||
| 151 | * @param {*} row | ||
| 152 | * @author: renchao | ||
| 153 | */ | ||
| 127 | select (selection, row) { | 154 | select (selection, row) { |
| 128 | if (this.sqywInfo.sqywdylx == "1") { | 155 | if (this.sqywInfo.sqywdylx == "1") { |
| 129 | // 清除 所有勾选项 | 156 | // 清除 所有勾选项 |
| ... | @@ -134,6 +161,11 @@ | ... | @@ -134,6 +161,11 @@ |
| 134 | this.$refs.table.toggleRowSelection(row, true); | 161 | this.$refs.table.toggleRowSelection(row, true); |
| 135 | } | 162 | } |
| 136 | }, | 163 | }, |
| 164 | /** | ||
| 165 | * @description: handleRowClick | ||
| 166 | * @param {*} row | ||
| 167 | * @author: renchao | ||
| 168 | */ | ||
| 137 | handleRowClick (row) { | 169 | handleRowClick (row) { |
| 138 | // 如果状态是1,那就是单选 | 170 | // 如果状态是1,那就是单选 |
| 139 | if (this.sqywInfo.sqywdylx == "1") { | 171 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-17 13:18:43 | 4 | * @LastEditTime: 2023-07-21 11:19:23 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
| ... | @@ -82,6 +82,10 @@ | ... | @@ -82,6 +82,10 @@ |
| 82 | sendThis(this); | 82 | sendThis(this); |
| 83 | }, | 83 | }, |
| 84 | methods: { | 84 | methods: { |
| 85 | /** | ||
| 86 | * @description: queryClick | ||
| 87 | * @author: renchao | ||
| 88 | */ | ||
| 85 | queryClick () { | 89 | queryClick () { |
| 86 | this.$startLoading(); | 90 | this.$startLoading(); |
| 87 | this.queryForm.zrzbsm = this.sqywInfo.zrzbsm; | 91 | this.queryForm.zrzbsm = this.sqywInfo.zrzbsm; |
| ... | @@ -94,6 +98,10 @@ | ... | @@ -94,6 +98,10 @@ |
| 94 | } | 98 | } |
| 95 | }); | 99 | }); |
| 96 | }, | 100 | }, |
| 101 | /** | ||
| 102 | * @description: submitForm | ||
| 103 | * @author: renchao | ||
| 104 | */ | ||
| 97 | submitForm () { | 105 | submitForm () { |
| 98 | if (this.bdcdysz.length == 0) { | 106 | if (this.bdcdysz.length == 0) { |
| 99 | this.$message.error("请至少选择一条数据"); | 107 | this.$message.error("请至少选择一条数据"); |
| ... | @@ -122,9 +130,28 @@ | ... | @@ -122,9 +130,28 @@ |
| 122 | } | 130 | } |
| 123 | }) | 131 | }) |
| 124 | }, | 132 | }, |
| 133 | /** | ||
| 134 | * @description: handleSelectionChange | ||
| 135 | * @param {*} val | ||
| 136 | * @author: renchao | ||
| 137 | */ | ||
| 125 | handleSelectionChange (val) { | 138 | handleSelectionChange (val) { |
| 126 | this.bdcdysz = val; | 139 | if (this.sqywInfo.sqywdylx == "1") { |
| 140 | if (val.length > 1) { | ||
| 141 | this.bdcdysz = [...val[val.length - 1]]; | ||
| 142 | } else { | ||
| 143 | this.bdcdysz = val; | ||
| 144 | } | ||
| 145 | } else { | ||
| 146 | this.bdcdysz = val; | ||
| 147 | } | ||
| 127 | }, | 148 | }, |
| 149 | /** | ||
| 150 | * @description: select | ||
| 151 | * @param {*} selection | ||
| 152 | * @param {*} row | ||
| 153 | * @author: renchao | ||
| 154 | */ | ||
| 128 | select (selection, row) { | 155 | select (selection, row) { |
| 129 | if (this.sqywInfo.sqywdylx == "1") { | 156 | if (this.sqywInfo.sqywdylx == "1") { |
| 130 | // 清除 所有勾选项 | 157 | // 清除 所有勾选项 |
| ... | @@ -135,6 +162,11 @@ | ... | @@ -135,6 +162,11 @@ |
| 135 | this.$refs.table.toggleRowSelection(row, true); | 162 | this.$refs.table.toggleRowSelection(row, true); |
| 136 | } | 163 | } |
| 137 | }, | 164 | }, |
| 165 | /** | ||
| 166 | * @description: handleRowClick | ||
| 167 | * @param {*} row | ||
| 168 | * @author: renchao | ||
| 169 | */ | ||
| 138 | handleRowClick (row) { | 170 | handleRowClick (row) { |
| 139 | // 如果状态是1,那就是单选 | 171 | // 如果状态是1,那就是单选 |
| 140 | if (this.sqywInfo.sqywdylx == "1") { | 172 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
| ... | @@ -123,6 +123,10 @@ | ... | @@ -123,6 +123,10 @@ |
| 123 | this.getDataList(); | 123 | this.getDataList(); |
| 124 | }, | 124 | }, |
| 125 | methods: { | 125 | methods: { |
| 126 | /** | ||
| 127 | * @description: getDataList | ||
| 128 | * @author: renchao | ||
| 129 | */ | ||
| 126 | getDataList () { | 130 | getDataList () { |
| 127 | //获取收藏信息集合 | 131 | //获取收藏信息集合 |
| 128 | getCollectBiz().then(res => { | 132 | getCollectBiz().then(res => { |
| ... | @@ -137,6 +141,11 @@ | ... | @@ -137,6 +141,11 @@ |
| 137 | }) | 141 | }) |
| 138 | }, | 142 | }, |
| 139 | //申请业务类型菜单事件 | 143 | //申请业务类型菜单事件 |
| 144 | /** | ||
| 145 | * @description: 申请业务类型菜单事件 | ||
| 146 | * @param {*} item | ||
| 147 | * @author: renchao | ||
| 148 | */ | ||
| 140 | sqywlxClick (item) { | 149 | sqywlxClick (item) { |
| 141 | console.log("item", item); | 150 | console.log("item", item); |
| 142 | this.btnDisabled = true; | 151 | this.btnDisabled = true; |
| ... | @@ -157,6 +166,11 @@ | ... | @@ -157,6 +166,11 @@ |
| 157 | } | 166 | } |
| 158 | }, | 167 | }, |
| 159 | //权利类型菜单事件 | 168 | //权利类型菜单事件 |
| 169 | /** | ||
| 170 | * @description: 权利类型菜单事件 | ||
| 171 | * @param {*} index | ||
| 172 | * @author: renchao | ||
| 173 | */ | ||
| 160 | qllxClick (index) { | 174 | qllxClick (index) { |
| 161 | console.log("业务", index); | 175 | console.log("业务", index); |
| 162 | this.btnDisabled = true; | 176 | this.btnDisabled = true; |
| ... | @@ -170,6 +184,12 @@ | ... | @@ -170,6 +184,12 @@ |
| 170 | this.getNextNode(this.sqywQllxList[index].bsmSqyw); | 184 | this.getNextNode(this.sqywQllxList[index].bsmSqyw); |
| 171 | }, | 185 | }, |
| 172 | //选择申请业务事件 | 186 | //选择申请业务事件 |
| 187 | /** | ||
| 188 | * @description: 选择申请业务事件 | ||
| 189 | * @param {*} data | ||
| 190 | * @param {*} index | ||
| 191 | * @author: renchao | ||
| 192 | */ | ||
| 173 | selectSqywClick (data, index) { | 193 | selectSqywClick (data, index) { |
| 174 | data.forEach(item => { | 194 | data.forEach(item => { |
| 175 | item.selected = false; | 195 | item.selected = false; |
| ... | @@ -184,6 +204,11 @@ | ... | @@ -184,6 +204,11 @@ |
| 184 | } | 204 | } |
| 185 | }, | 205 | }, |
| 186 | //获取下个节点类型数据 | 206 | //获取下个节点类型数据 |
| 207 | /** | ||
| 208 | * @description: 获取下个节点类型数据 | ||
| 209 | * @param {*} bsmSqyw | ||
| 210 | * @author: renchao | ||
| 211 | */ | ||
| 187 | getNextNode (bsmSqyw) { | 212 | getNextNode (bsmSqyw) { |
| 188 | getNextNode(bsmSqyw).then(res => { | 213 | getNextNode(bsmSqyw).then(res => { |
| 189 | if (res.result.djqx) { | 214 | if (res.result.djqx) { |
| ... | @@ -202,6 +227,10 @@ | ... | @@ -202,6 +227,10 @@ |
| 202 | }, | 227 | }, |
| 203 | 228 | ||
| 204 | //获取下个节点类型数据 | 229 | //获取下个节点类型数据 |
| 230 | /** | ||
| 231 | * @description: 获取下个节点类型数据 | ||
| 232 | * @author: renchao | ||
| 233 | */ | ||
| 205 | getRepairBiz () { | 234 | getRepairBiz () { |
| 206 | getRepairBiz().then(res => { | 235 | getRepairBiz().then(res => { |
| 207 | if (res) { | 236 | if (res) { |
| ... | @@ -211,16 +240,32 @@ | ... | @@ -211,16 +240,32 @@ |
| 211 | }) | 240 | }) |
| 212 | }, | 241 | }, |
| 213 | //双击事件 | 242 | //双击事件 |
| 243 | /** | ||
| 244 | * @description: 双击事件 | ||
| 245 | * @param {*} data | ||
| 246 | * @param {*} index | ||
| 247 | * @param {*} item | ||
| 248 | * @author: renchao | ||
| 249 | */ | ||
| 214 | dblclick (data, index, item) { | 250 | dblclick (data, index, item) { |
| 215 | localStorage.setItem('ywbl', JSON.stringify(item)); | 251 | localStorage.setItem('ywbl', JSON.stringify(item)); |
| 216 | this.selectSqywClick(data, index); | 252 | this.selectSqywClick(data, index); |
| 217 | this.dialogClick(); | 253 | this.dialogClick(); |
| 218 | }, | 254 | }, |
| 219 | //打开弹框内容 | 255 | //打开弹框内容 |
| 256 | /** | ||
| 257 | * @description: 打开弹框内容 | ||
| 258 | * @author: renchao | ||
| 259 | */ | ||
| 220 | dialogClick () { | 260 | dialogClick () { |
| 221 | this.openDialog(); | 261 | this.openDialog(); |
| 222 | }, | 262 | }, |
| 223 | //收藏操作 | 263 | //收藏操作 |
| 264 | /** | ||
| 265 | * @description: 收藏操作 | ||
| 266 | * @param {*} item | ||
| 267 | * @author: renchao | ||
| 268 | */ | ||
| 224 | handleCollection (item) { | 269 | handleCollection (item) { |
| 225 | let that = this | 270 | let that = this |
| 226 | if (item.userCollect == '2') { | 271 | if (item.userCollect == '2') { |
| ... | @@ -253,6 +298,11 @@ | ... | @@ -253,6 +298,11 @@ |
| 253 | }) | 298 | }) |
| 254 | } | 299 | } |
| 255 | }, | 300 | }, |
| 301 | /** | ||
| 302 | * @description: handleSelect | ||
| 303 | * @param {*} item | ||
| 304 | * @author: renchao | ||
| 305 | */ | ||
| 256 | handleSelect (item) { | 306 | handleSelect (item) { |
| 257 | this.busList.forEach(item => { | 307 | this.busList.forEach(item => { |
| 258 | item.cselect = false | 308 | item.cselect = false |
| ... | @@ -260,6 +310,11 @@ | ... | @@ -260,6 +310,11 @@ |
| 260 | item.cselect = !item.cselect | 310 | item.cselect = !item.cselect |
| 261 | }, | 311 | }, |
| 262 | // 登记类型 | 312 | // 登记类型 |
| 313 | /** | ||
| 314 | * @description: 登记类型 | ||
| 315 | * @param {*} item | ||
| 316 | * @author: renchao | ||
| 317 | */ | ||
| 263 | handleDjlxSelect (item) { | 318 | handleDjlxSelect (item) { |
| 264 | this.djlxList.forEach(item => { | 319 | this.djlxList.forEach(item => { |
| 265 | item.cselect = false | 320 | item.cselect = false |
| ... | @@ -276,6 +331,11 @@ | ... | @@ -276,6 +331,11 @@ |
| 276 | } | 331 | } |
| 277 | this.djqxList = [] | 332 | this.djqxList = [] |
| 278 | }, | 333 | }, |
| 334 | /** | ||
| 335 | * @description: handleDjqxItem | ||
| 336 | * @param {*} item | ||
| 337 | * @author: renchao | ||
| 338 | */ | ||
| 279 | handleDjqxItem (item) { | 339 | handleDjqxItem (item) { |
| 280 | this.djlxList.forEach(item => { | 340 | this.djlxList.forEach(item => { |
| 281 | item.cselect = false | 341 | item.cselect = false |
| ... | @@ -288,20 +348,39 @@ | ... | @@ -288,20 +348,39 @@ |
| 288 | this.btnDisabled = true | 348 | this.btnDisabled = true |
| 289 | } | 349 | } |
| 290 | }, | 350 | }, |
| 351 | /** | ||
| 352 | * @description: handleSelectItem | ||
| 353 | * @param {*} item | ||
| 354 | * @param {*} list | ||
| 355 | * @author: renchao | ||
| 356 | */ | ||
| 291 | handleSelectItem (item, list) { | 357 | handleSelectItem (item, list) { |
| 292 | this.handleSelectYw(item, list) | 358 | this.handleSelectYw(item, list) |
| 293 | this.openDialog() | 359 | this.openDialog() |
| 294 | }, | 360 | }, |
| 295 | // 选择不动产信息 | 361 | // 选择不动产信息 |
| 362 | /** | ||
| 363 | * @description: 选择不动产信息 | ||
| 364 | * @author: renchao | ||
| 365 | */ | ||
| 296 | bthSelectClick () { | 366 | bthSelectClick () { |
| 297 | this.openDialog() | 367 | this.openDialog() |
| 298 | }, | 368 | }, |
| 369 | /** | ||
| 370 | * @description: openDialog | ||
| 371 | * @author: renchao | ||
| 372 | */ | ||
| 299 | openDialog () { | 373 | openDialog () { |
| 300 | console.log("this.selectParam", this.selectParam); | 374 | console.log("this.selectParam", this.selectParam); |
| 301 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; | 375 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; |
| 302 | 376 | ||
| 303 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%") | 377 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "85%") |
| 304 | }, | 378 | }, |
| 379 | /** | ||
| 380 | * @description: loadView | ||
| 381 | * @param {*} view | ||
| 382 | * @author: renchao | ||
| 383 | */ | ||
| 305 | loadView (view) { | 384 | loadView (view) { |
| 306 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) | 385 | return r => require.ensure([], () => r(require(`./components/${view}/${view}.vue`))) |
| 307 | } | 386 | } | ... | ... |
| ... | @@ -32,11 +32,20 @@ | ... | @@ -32,11 +32,20 @@ |
| 32 | } | 32 | } |
| 33 | }, | 33 | }, |
| 34 | methods: { | 34 | methods: { |
| 35 | /** | ||
| 36 | * @description: loadView | ||
| 37 | * @param {*} view | ||
| 38 | * @author: renchao | ||
| 39 | */ | ||
| 35 | loadView (view) { | 40 | loadView (view) { |
| 36 | console.log(view, 'view'); | 41 | console.log(view, 'view'); |
| 37 | return (r) => | 42 | return (r) => |
| 38 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 43 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
| 39 | }, | 44 | }, |
| 45 | /** | ||
| 46 | * @description: updateDialog | ||
| 47 | * @author: renchao | ||
| 48 | */ | ||
| 40 | updateDialog () { | 49 | updateDialog () { |
| 41 | this.$popupCacel() | 50 | this.$popupCacel() |
| 42 | this.$emit("updateDialog", true) | 51 | this.$emit("updateDialog", true) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-19 13:59:35 | 4 | * @LastEditTime: 2023-07-19 13:59:35 |
| 5 | --> | 5 | --> |
| ... | @@ -145,6 +145,10 @@ | ... | @@ -145,6 +145,10 @@ |
| 145 | }, | 145 | }, |
| 146 | methods: { | 146 | methods: { |
| 147 | // 初始化数据 | 147 | // 初始化数据 |
| 148 | /** | ||
| 149 | * @description: 初始化数据 | ||
| 150 | * @author: renchao | ||
| 151 | */ | ||
| 148 | queryClick () { | 152 | queryClick () { |
| 149 | this.$startLoading() | 153 | this.$startLoading() |
| 150 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { | 154 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -156,14 +160,34 @@ | ... | @@ -156,14 +160,34 @@ |
| 156 | } | 160 | } |
| 157 | }); | 161 | }); |
| 158 | }, | 162 | }, |
| 163 | /** | ||
| 164 | * @description: handleSort | ||
| 165 | * @param {*} name | ||
| 166 | * @param {*} sort | ||
| 167 | * @author: renchao | ||
| 168 | */ | ||
| 159 | handleSort (name, sort) { | 169 | handleSort (name, sort) { |
| 160 | console.log(name, sort); | 170 | console.log(name, sort); |
| 161 | }, | 171 | }, |
| 162 | // 高级查询 | 172 | // 高级查询 |
| 173 | /** | ||
| 174 | * @description: 高级查询 | ||
| 175 | * @author: renchao | ||
| 176 | */ | ||
| 163 | moreQueryClick () { }, | 177 | moreQueryClick () { }, |
| 178 | /** | ||
| 179 | * @description: openDialog | ||
| 180 | * @param {*} scroll | ||
| 181 | * @author: renchao | ||
| 182 | */ | ||
| 164 | openDialog (scroll) { | 183 | openDialog (scroll) { |
| 165 | this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | 184 | this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); |
| 166 | }, | 185 | }, |
| 186 | /** | ||
| 187 | * @description: handleLpbClick | ||
| 188 | * @param {*} item | ||
| 189 | * @author: renchao | ||
| 190 | */ | ||
| 167 | handleLpbClick (item) { | 191 | handleLpbClick (item) { |
| 168 | this.$popupDialog('楼盘表', 'lpb/index', { | 192 | this.$popupDialog('楼盘表', 'lpb/index', { |
| 169 | bsm: '' | 193 | bsm: '' | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-19 13:59:55 | 4 | * @LastEditTime: 2023-07-19 13:59:55 |
| 5 | --> | 5 | --> |
| ... | @@ -112,6 +112,10 @@ | ... | @@ -112,6 +112,10 @@ |
| 112 | }, | 112 | }, |
| 113 | methods: { | 113 | methods: { |
| 114 | // 初始化数据 | 114 | // 初始化数据 |
| 115 | /** | ||
| 116 | * @description: 初始化数据 | ||
| 117 | * @author: renchao | ||
| 118 | */ | ||
| 115 | queryClick () { | 119 | queryClick () { |
| 116 | this.$startLoading() | 120 | this.$startLoading() |
| 117 | getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => { | 121 | getJdcxBysearch({ ...this.queryForm, ...this.pageData }).then(res => { |
| ... | @@ -123,10 +127,26 @@ | ... | @@ -123,10 +127,26 @@ |
| 123 | } | 127 | } |
| 124 | }) | 128 | }) |
| 125 | }, | 129 | }, |
| 130 | /** | ||
| 131 | * @description: handleSort | ||
| 132 | * @param {*} name | ||
| 133 | * @param {*} sort | ||
| 134 | * @author: renchao | ||
| 135 | */ | ||
| 126 | handleSort (name, sort) { | 136 | handleSort (name, sort) { |
| 127 | console.log(name, sort); | 137 | console.log(name, sort); |
| 128 | }, | 138 | }, |
| 139 | // 高级查询 | ||
| 140 | /** | ||
| 141 | * @description: 高级查询 | ||
| 142 | * @author: renchao | ||
| 143 | */ | ||
| 129 | moreQueryClick () { }, | 144 | moreQueryClick () { }, |
| 145 | /** | ||
| 146 | * @description: openDialog | ||
| 147 | * @param {*} item | ||
| 148 | * @author: renchao | ||
| 149 | */ | ||
| 130 | openDialog (item) { | 150 | openDialog (item) { |
| 131 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') | 151 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3') |
| 132 | window.open(href, `urlname${item.bsmSlsq}`) | 152 | window.open(href, `urlname${item.bsmSlsq}`) | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-19 14:00:03 | 4 | * @LastEditTime: 2023-07-19 14:00:03 |
| 5 | --> | 5 | --> |
| ... | @@ -80,6 +80,10 @@ | ... | @@ -80,6 +80,10 @@ |
| 80 | }, | 80 | }, |
| 81 | methods: { | 81 | methods: { |
| 82 | // 初始化数据 | 82 | // 初始化数据 |
| 83 | /** | ||
| 84 | * @description: 初始化数据 | ||
| 85 | * @author: renchao | ||
| 86 | */ | ||
| 83 | queryClick () { | 87 | queryClick () { |
| 84 | this.$startLoading(); | 88 | this.$startLoading(); |
| 85 | getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { | 89 | getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { |
| ... | @@ -90,11 +94,27 @@ | ... | @@ -90,11 +94,27 @@ |
| 90 | } | 94 | } |
| 91 | }); | 95 | }); |
| 92 | }, | 96 | }, |
| 97 | /** | ||
| 98 | * @description: handleSort | ||
| 99 | * @param {*} name | ||
| 100 | * @param {*} sort | ||
| 101 | * @author: renchao | ||
| 102 | */ | ||
| 93 | handleSort (name, sort) { | 103 | handleSort (name, sort) { |
| 94 | console.log(name, sort); | 104 | console.log(name, sort); |
| 95 | }, | 105 | }, |
| 106 | // 高级查询 | ||
| 107 | /** | ||
| 108 | * @description: 高级查询 | ||
| 109 | * @author: renchao | ||
| 110 | */ | ||
| 96 | moreQueryClick () { }, | 111 | moreQueryClick () { }, |
| 97 | //打开楼盘表 | 112 | //打开楼盘表 |
| 113 | /** | ||
| 114 | * @description: 打开楼盘表 | ||
| 115 | * @param {*} scope | ||
| 116 | * @author: renchao | ||
| 117 | */ | ||
| 98 | openlpbClick (scope) { | 118 | openlpbClick (scope) { |
| 99 | this.$popup('楼盘表', 'lpb/index', { | 119 | this.$popup('楼盘表', 'lpb/index', { |
| 100 | width: '90%', | 120 | width: '90%', | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-19 14:07:38 | 4 | * @LastEditTime: 2023-07-19 14:07:38 |
| 5 | --> | 5 | --> |
| ... | @@ -81,6 +81,10 @@ | ... | @@ -81,6 +81,10 @@ |
| 81 | }, | 81 | }, |
| 82 | methods: { | 82 | methods: { |
| 83 | // 查询 | 83 | // 查询 |
| 84 | /** | ||
| 85 | * @description: 查询 | ||
| 86 | * @author: renchao | ||
| 87 | */ | ||
| 84 | queryClick () { | 88 | queryClick () { |
| 85 | this.$startLoading() | 89 | this.$startLoading() |
| 86 | getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => { | 90 | getBdcqzReceiveList({ ...this.queryForm, ...this.pageData }).then(res => { |
| ... | @@ -92,6 +96,11 @@ | ... | @@ -92,6 +96,11 @@ |
| 92 | } | 96 | } |
| 93 | }) | 97 | }) |
| 94 | }, | 98 | }, |
| 99 | /** | ||
| 100 | * @description: openDialog | ||
| 101 | * @param {*} item | ||
| 102 | * @author: renchao | ||
| 103 | */ | ||
| 95 | openDialog (item) { | 104 | openDialog (item) { |
| 96 | this.$startLoading() | 105 | this.$startLoading() |
| 97 | bdcqzPreview(item).then(res => { | 106 | bdcqzPreview(item).then(res => { |
| ... | @@ -101,6 +110,10 @@ | ... | @@ -101,6 +110,10 @@ |
| 101 | this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) | 110 | this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) |
| 102 | }) | 111 | }) |
| 103 | }, | 112 | }, |
| 113 | /** | ||
| 114 | * @description: handleClose | ||
| 115 | * @author: renchao | ||
| 116 | */ | ||
| 104 | handleClose () { | 117 | handleClose () { |
| 105 | this.dialogVisible = false; | 118 | this.dialogVisible = false; |
| 106 | } | 119 | } | ... | ... |
| ... | @@ -71,6 +71,10 @@ | ... | @@ -71,6 +71,10 @@ |
| 71 | }, | 71 | }, |
| 72 | methods: { | 72 | methods: { |
| 73 | // 查询 | 73 | // 查询 |
| 74 | /** | ||
| 75 | * @description: 查询 | ||
| 76 | * @author: renchao | ||
| 77 | */ | ||
| 74 | queryClick () { | 78 | queryClick () { |
| 75 | this.$startLoading() | 79 | this.$startLoading() |
| 76 | getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => { | 80 | getZjgcdyList({ ...this.queryForm, ...this.pageData }).then(res => { |
| ... | @@ -82,6 +86,10 @@ | ... | @@ -82,6 +86,10 @@ |
| 82 | } | 86 | } |
| 83 | }) | 87 | }) |
| 84 | }, | 88 | }, |
| 89 | /** | ||
| 90 | * @description: moreQueryClick | ||
| 91 | * @author: renchao | ||
| 92 | */ | ||
| 85 | moreQueryClick () { } | 93 | moreQueryClick () { } |
| 86 | } | 94 | } |
| 87 | } | 95 | } | ... | ... |
| ... | @@ -127,6 +127,11 @@ export default { | ... | @@ -127,6 +127,11 @@ export default { |
| 127 | this.getDetail(this.formData.bsmZswj) | 127 | this.getDetail(this.formData.bsmZswj) |
| 128 | }, | 128 | }, |
| 129 | methods: { | 129 | methods: { |
| 130 | /** | ||
| 131 | * @description: getDetail | ||
| 132 | * @param {*} bsmZswj | ||
| 133 | * @author: renchao | ||
| 134 | */ | ||
| 130 | getDetail (bsmZswj) { | 135 | getDetail (bsmZswj) { |
| 131 | getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => { | 136 | getZssyqkInfo({ "bsmZswj": bsmZswj }).then(res => { |
| 132 | if (res.code == 200) { | 137 | if (res.code == 200) { | ... | ... |
| ... | @@ -136,6 +136,10 @@ export default { | ... | @@ -136,6 +136,10 @@ export default { |
| 136 | }, | 136 | }, |
| 137 | methods: { | 137 | methods: { |
| 138 | //表单提交 | 138 | //表单提交 |
| 139 | /** | ||
| 140 | * @description: 表单提交 | ||
| 141 | * @author: renchao | ||
| 142 | */ | ||
| 139 | submitForm () { | 143 | submitForm () { |
| 140 | zsff(this.ruleForm).then(res => { | 144 | zsff(this.ruleForm).then(res => { |
| 141 | if (res.code == 200) { | 145 | if (res.code == 200) { |
| ... | @@ -150,6 +154,10 @@ export default { | ... | @@ -150,6 +154,10 @@ export default { |
| 150 | }) | 154 | }) |
| 151 | }, | 155 | }, |
| 152 | //序列号获取 | 156 | //序列号获取 |
| 157 | /** | ||
| 158 | * @description: 序列号获取 | ||
| 159 | * @author: renchao | ||
| 160 | */ | ||
| 153 | ywhSerial () { | 161 | ywhSerial () { |
| 154 | getSysSerialSingle(this.ywhQueryForm).then(res => { | 162 | getSysSerialSingle(this.ywhQueryForm).then(res => { |
| 155 | if (res.code == 200) { | 163 | if (res.code == 200) { |
| ... | @@ -159,6 +167,11 @@ export default { | ... | @@ -159,6 +167,11 @@ export default { |
| 159 | }) | 167 | }) |
| 160 | }, | 168 | }, |
| 161 | //获取详情信息 | 169 | //获取详情信息 |
| 170 | /** | ||
| 171 | * @description: 获取详情信息 | ||
| 172 | * @param {*} bsmBatch | ||
| 173 | * @author: renchao | ||
| 174 | */ | ||
| 162 | getDetailInfo (bsmBatch) { | 175 | getDetailInfo (bsmBatch) { |
| 163 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { | 176 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { |
| 164 | if (res.code == 200) { | 177 | if (res.code == 200) { |
| ... | @@ -174,6 +187,10 @@ export default { | ... | @@ -174,6 +187,10 @@ export default { |
| 174 | }) | 187 | }) |
| 175 | }, | 188 | }, |
| 176 | //初始化开始序列号 | 189 | //初始化开始序列号 |
| 190 | /** | ||
| 191 | * @description: 初始化开始序列号 | ||
| 192 | * @author: renchao | ||
| 193 | */ | ||
| 177 | initStartNo () { | 194 | initStartNo () { |
| 178 | getZsStartNo().then(res => { | 195 | getZsStartNo().then(res => { |
| 179 | if (res.code == 200) { | 196 | if (res.code == 200) { |
| ... | @@ -183,6 +200,11 @@ export default { | ... | @@ -183,6 +200,11 @@ export default { |
| 183 | }) | 200 | }) |
| 184 | }, | 201 | }, |
| 185 | //印刷序列号处理 | 202 | //印刷序列号处理 |
| 203 | /** | ||
| 204 | * @description: 印刷序列号处理 | ||
| 205 | * @param {*} item | ||
| 206 | * @author: renchao | ||
| 207 | */ | ||
| 186 | ysxlhDeal (item) { | 208 | ysxlhDeal (item) { |
| 187 | if (item.bs) { | 209 | if (item.bs) { |
| 188 | //存在本数 | 210 | //存在本数 |
| ... | @@ -203,6 +225,13 @@ export default { | ... | @@ -203,6 +225,13 @@ export default { |
| 203 | } | 225 | } |
| 204 | }, | 226 | }, |
| 205 | //更新表单数据 | 227 | //更新表单数据 |
| 228 | /** | ||
| 229 | * @description: 更新表单数据 | ||
| 230 | * @param {*} endno | ||
| 231 | * @param {*} bookNumber | ||
| 232 | * @param {*} item | ||
| 233 | * @author: renchao | ||
| 234 | */ | ||
| 206 | updateRuleForm (endno, bookNumber, item) { | 235 | updateRuleForm (endno, bookNumber, item) { |
| 207 | if (item.zslx == 'zs') { | 236 | if (item.zslx == 'zs') { |
| 208 | this.ruleForm.zsstarno = item.ksysxlh; | 237 | this.ruleForm.zsstarno = item.ksysxlh; |
| ... | @@ -214,6 +243,10 @@ export default { | ... | @@ -214,6 +243,10 @@ export default { |
| 214 | this.ruleForm.zmnum = bookNumber; | 243 | this.ruleForm.zmnum = bookNumber; |
| 215 | } | 244 | } |
| 216 | }, | 245 | }, |
| 246 | /** | ||
| 247 | * @description: resetTableFields | ||
| 248 | * @author: renchao | ||
| 249 | */ | ||
| 217 | resetTableFields () { | 250 | resetTableFields () { |
| 218 | this.tableForm = [ | 251 | this.tableForm = [ |
| 219 | { | 252 | { |
| ... | @@ -232,6 +265,10 @@ export default { | ... | @@ -232,6 +265,10 @@ export default { |
| 232 | } | 265 | } |
| 233 | ] | 266 | ] |
| 234 | }, | 267 | }, |
| 268 | /** | ||
| 269 | * @description: closeDialog | ||
| 270 | * @author: renchao | ||
| 271 | */ | ||
| 235 | closeDialog () { | 272 | closeDialog () { |
| 236 | this.$popupCacel() | 273 | this.$popupCacel() |
| 237 | this.$refs['ruleForm'].resetFields(); | 274 | this.$refs['ruleForm'].resetFields(); | ... | ... |
| ... | @@ -90,11 +90,20 @@ export default { | ... | @@ -90,11 +90,20 @@ export default { |
| 90 | }, | 90 | }, |
| 91 | methods: { | 91 | methods: { |
| 92 | // 查看弹框 | 92 | // 查看弹框 |
| 93 | /** | ||
| 94 | * @description: 查看弹框 | ||
| 95 | * @param {*} bsmBatch | ||
| 96 | * @author: renchao | ||
| 97 | */ | ||
| 93 | openDialog (bsmBatch) { | 98 | openDialog (bsmBatch) { |
| 94 | this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", { | 99 | this.$popupDialog("证书分发", "zsgl/zsff/components/addDialog", { |
| 95 | bsmBatch: bsmBatch | 100 | bsmBatch: bsmBatch |
| 96 | }, "50%") | 101 | }, "50%") |
| 97 | }, | 102 | }, |
| 103 | /** | ||
| 104 | * @description: queryClick | ||
| 105 | * @author: renchao | ||
| 106 | */ | ||
| 98 | queryClick () { | 107 | queryClick () { |
| 99 | getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => { | 108 | getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => { |
| 100 | if (res.code === 200) { | 109 | if (res.code === 200) { |
| ... | @@ -105,6 +114,11 @@ export default { | ... | @@ -105,6 +114,11 @@ export default { |
| 105 | }) | 114 | }) |
| 106 | }, | 115 | }, |
| 107 | //确定证书分发 | 116 | //确定证书分发 |
| 117 | /** | ||
| 118 | * @description: 确定证书分发 | ||
| 119 | * @param {*} item | ||
| 120 | * @author: renchao | ||
| 121 | */ | ||
| 108 | confrimVerify (item) { | 122 | confrimVerify (item) { |
| 109 | this.$confirm('是否确定分发', '提示', { | 123 | this.$confirm('是否确定分发', '提示', { |
| 110 | confirmButtonText: '确定', | 124 | confirmButtonText: '确定', |
| ... | @@ -127,6 +141,11 @@ export default { | ... | @@ -127,6 +141,11 @@ export default { |
| 127 | }); | 141 | }); |
| 128 | }, | 142 | }, |
| 129 | //删除证书分发数据 | 143 | //删除证书分发数据 |
| 144 | /** | ||
| 145 | * @description: 删除证书分发数据 | ||
| 146 | * @param {*} item | ||
| 147 | * @author: renchao | ||
| 148 | */ | ||
| 130 | delZsff (item) { | 149 | delZsff (item) { |
| 131 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 150 | this.$confirm('确定要删除吗, 是否继续?', '提示', { |
| 132 | confirmButtonText: '确定', | 151 | confirmButtonText: '确定', | ... | ... |
| ... | @@ -142,6 +142,10 @@ export default { | ... | @@ -142,6 +142,10 @@ export default { |
| 142 | }, | 142 | }, |
| 143 | methods: { | 143 | methods: { |
| 144 | //表单提交 | 144 | //表单提交 |
| 145 | /** | ||
| 146 | * @description: 表单提交 | ||
| 147 | * @author: renchao | ||
| 148 | */ | ||
| 145 | submitForm () { | 149 | submitForm () { |
| 146 | this.tableForm.forEach((item, index) => { | 150 | this.tableForm.forEach((item, index) => { |
| 147 | if (item.bs < 0) { | 151 | if (item.bs < 0) { |
| ... | @@ -161,6 +165,10 @@ export default { | ... | @@ -161,6 +165,10 @@ export default { |
| 161 | }) | 165 | }) |
| 162 | }, | 166 | }, |
| 163 | //序列号获取 | 167 | //序列号获取 |
| 168 | /** | ||
| 169 | * @description: 序列号获取 | ||
| 170 | * @author: renchao | ||
| 171 | */ | ||
| 164 | ywhSerial () { | 172 | ywhSerial () { |
| 165 | getSysSerialSingle(this.ywhQueryForm).then(res => { | 173 | getSysSerialSingle(this.ywhQueryForm).then(res => { |
| 166 | if (res.code == 200) { | 174 | if (res.code == 200) { |
| ... | @@ -170,6 +178,11 @@ export default { | ... | @@ -170,6 +178,11 @@ export default { |
| 170 | }) | 178 | }) |
| 171 | }, | 179 | }, |
| 172 | //获取详情信息 | 180 | //获取详情信息 |
| 181 | /** | ||
| 182 | * @description: 获取详情信息 | ||
| 183 | * @param {*} bsmBatch | ||
| 184 | * @author: renchao | ||
| 185 | */ | ||
| 173 | getDetailInfo (bsmBatch) { | 186 | getDetailInfo (bsmBatch) { |
| 174 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { | 187 | getZsglInfo({ "bsmBatch": bsmBatch }).then(res => { |
| 175 | if (res.code == 200) { | 188 | if (res.code == 200) { |
| ... | @@ -185,6 +198,11 @@ export default { | ... | @@ -185,6 +198,11 @@ export default { |
| 185 | }) | 198 | }) |
| 186 | }, | 199 | }, |
| 187 | //印刷序列号处理 | 200 | //印刷序列号处理 |
| 201 | /** | ||
| 202 | * @description: 印刷序列号处理 | ||
| 203 | * @param {*} item | ||
| 204 | * @author: renchao | ||
| 205 | */ | ||
| 188 | ysxlhDeal (item) { | 206 | ysxlhDeal (item) { |
| 189 | if (item.ksysxlh && item.jsysxlh) { | 207 | if (item.ksysxlh && item.jsysxlh) { |
| 190 | if (item.ksysxlh.length == item.jsysxlh.length) { | 208 | if (item.ksysxlh.length == item.jsysxlh.length) { |
| ... | @@ -222,6 +240,10 @@ export default { | ... | @@ -222,6 +240,10 @@ export default { |
| 222 | } | 240 | } |
| 223 | } | 241 | } |
| 224 | }, | 242 | }, |
| 243 | /** | ||
| 244 | * @description: resetTableFields | ||
| 245 | * @author: renchao | ||
| 246 | */ | ||
| 225 | resetTableFields () { | 247 | resetTableFields () { |
| 226 | this.tableForm = [ | 248 | this.tableForm = [ |
| 227 | { | 249 | { |
| ... | @@ -240,6 +262,10 @@ export default { | ... | @@ -240,6 +262,10 @@ export default { |
| 240 | } | 262 | } |
| 241 | ] | 263 | ] |
| 242 | }, | 264 | }, |
| 265 | /** | ||
| 266 | * @description: closeDialog | ||
| 267 | * @author: renchao | ||
| 268 | */ | ||
| 243 | closeDialog () { | 269 | closeDialog () { |
| 244 | this.$popupCacel() | 270 | this.$popupCacel() |
| 245 | this.$refs['ruleForm'].resetFields(); | 271 | this.$refs['ruleForm'].resetFields(); | ... | ... |
| ... | @@ -87,11 +87,20 @@ export default { | ... | @@ -87,11 +87,20 @@ export default { |
| 87 | }, | 87 | }, |
| 88 | methods: { | 88 | methods: { |
| 89 | // 查看弹框 | 89 | // 查看弹框 |
| 90 | /** | ||
| 91 | * @description: 查看弹框 | ||
| 92 | * @param {*} bsmBatch | ||
| 93 | * @author: renchao | ||
| 94 | */ | ||
| 90 | openDialog (bsmBatch) { | 95 | openDialog (bsmBatch) { |
| 91 | this.$popupDialog("证书入库", "zsgl/zsrk/components/addDialog", { | 96 | this.$popupDialog("证书入库", "zsgl/zsrk/components/addDialog", { |
| 92 | bsmBatch: bsmBatch | 97 | bsmBatch: bsmBatch |
| 93 | }, "50%") | 98 | }, "50%") |
| 94 | }, | 99 | }, |
| 100 | /** | ||
| 101 | * @description: queryClick | ||
| 102 | * @author: renchao | ||
| 103 | */ | ||
| 95 | queryClick () { | 104 | queryClick () { |
| 96 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { | 105 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
| 97 | if (res.code === 200) { | 106 | if (res.code === 200) { |
| ... | @@ -102,6 +111,11 @@ export default { | ... | @@ -102,6 +111,11 @@ export default { |
| 102 | }) | 111 | }) |
| 103 | }, | 112 | }, |
| 104 | //删除证书入库数据 | 113 | //删除证书入库数据 |
| 114 | /** | ||
| 115 | * @description: 删除证书入库数据 | ||
| 116 | * @param {*} item | ||
| 117 | * @author: renchao | ||
| 118 | */ | ||
| 105 | delZsrk (item) { | 119 | delZsrk (item) { |
| 106 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 120 | this.$confirm('确定要删除吗, 是否继续?', '提示', { |
| 107 | confirmButtonText: '确定', | 121 | confirmButtonText: '确定', |
| ... | @@ -125,6 +139,11 @@ export default { | ... | @@ -125,6 +139,11 @@ export default { |
| 125 | }); | 139 | }); |
| 126 | }, | 140 | }, |
| 127 | //审核证书入库数据 | 141 | //审核证书入库数据 |
| 142 | /** | ||
| 143 | * @description: 审核证书入库数据 | ||
| 144 | * @param {*} item | ||
| 145 | * @author: renchao | ||
| 146 | */ | ||
| 128 | confrimVerify (item) { | 147 | confrimVerify (item) { |
| 129 | this.$confirm('审核是否通过', '提示', { | 148 | this.$confirm('审核是否通过', '提示', { |
| 130 | confirmButtonText: '确定', | 149 | confirmButtonText: '确定', | ... | ... |
| ... | @@ -76,6 +76,10 @@ export default { | ... | @@ -76,6 +76,10 @@ export default { |
| 76 | }; | 76 | }; |
| 77 | }, | 77 | }, |
| 78 | methods: { | 78 | methods: { |
| 79 | /** | ||
| 80 | * @description: queryClick | ||
| 81 | * @author: renchao | ||
| 82 | */ | ||
| 79 | queryClick () { | 83 | queryClick () { |
| 80 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { | 84 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
| 81 | if (res.code === 200) { | 85 | if (res.code === 200) { |
| ... | @@ -86,6 +90,11 @@ export default { | ... | @@ -86,6 +90,11 @@ export default { |
| 86 | }) | 90 | }) |
| 87 | }, | 91 | }, |
| 88 | // 查看证书使用情况 | 92 | // 查看证书使用情况 |
| 93 | /** | ||
| 94 | * @description: 查看证书使用情况 | ||
| 95 | * @param {*} item | ||
| 96 | * @author: renchao | ||
| 97 | */ | ||
| 89 | openDialog (item) { | 98 | openDialog (item) { |
| 90 | this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", { | 99 | this.$popupDialog("证书使用情况", "zsgl/components/viewDialog", { |
| 91 | bsmZswj: item.bsmZswj | 100 | bsmZswj: item.bsmZswj | ... | ... |
-
Please register or sign in to post a comment