Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
122 changed files
with
2922 additions
and
517 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 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:41:57 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="from-clues"> | ||
8 | <!-- 表单部分 --> | ||
9 | <div class="from-clues-header"> | ||
10 | <div class="title">请选择要退回到的环节:</div> | ||
11 | <el-form ref="queryForm" label-width="90px"> | ||
12 | <ul style="margin-bottom: 15px"> | ||
13 | <li | ||
14 | v-for="(item, index) in dataList" | ||
15 | class="listDetail" | ||
16 | :key="index" | ||
17 | @click="changeSelectItem(item)"> | ||
18 | <p class="icon"> | ||
19 | <el-radio | ||
20 | v-model="selectActivity" | ||
21 | :label="item.activityId" | ||
22 | @change="changeSelectItem(item)"></el-radio> | ||
23 | </p> | ||
24 | <p>{{ item.activityName }}</p> | ||
25 | <p v-for="(child, childIndex) in item.userInfos" :key="childIndex"> | ||
26 | {{ child.name }} | ||
27 | </p> | ||
28 | </li> | ||
29 | </ul> | ||
30 | <div class="title">退回意见:</div> | ||
31 | <el-form-item> | ||
32 | <el-input | ||
33 | class="textArea" | ||
34 | type="textarea" | ||
35 | v-model="outstepopinion" | ||
36 | placeholder="请输入退回意见"></el-input> | ||
37 | </el-form-item> | ||
38 | <el-form-item> | ||
39 | <el-button style="float:right" @click="cancelBack">取消</el-button> | ||
40 | <el-button type="primary" @click="onSubmit" style="float:right">退回</el-button> | ||
41 | </el-form-item> | ||
42 | </el-form> | ||
43 | </div> | ||
44 | </div> | ||
45 | </template> | ||
46 | |||
47 | <script> | ||
48 | |||
49 | import { getTaskBackNode, sendBackTask } from "@/api/workFlow.js" | ||
50 | import { popupCacel } from "@/utils/popup.js"; | ||
51 | |||
52 | export default { | ||
53 | props: { | ||
54 | formData: { | ||
55 | type: Object, | ||
56 | default: {}, | ||
57 | }, | ||
58 | }, | ||
59 | data () { | ||
60 | return { | ||
61 | selectActivity: "", | ||
62 | dataList: [], | ||
63 | outstepopinion: "", | ||
64 | selectItem: {}, | ||
65 | }; | ||
66 | }, | ||
67 | created () { | ||
68 | this.getBackNode(); | ||
69 | }, | ||
70 | methods: { | ||
71 | /** | ||
72 | * @description: onSubmit | ||
73 | * @author: renchao | ||
74 | */ | ||
75 | onSubmit () { | ||
76 | this.selectItem.outstepopinion = this.outstepopinion; | ||
77 | sendBackTask({ | ||
78 | bsmSlsq: this.formData.bsmSlsq, | ||
79 | backNodeList: [this.selectItem], | ||
80 | }).then((res) => { | ||
81 | this.$message.success("退回成功"); | ||
82 | setTimeout(() => { | ||
83 | // window.opener.location.reload(); //刷新父窗口 | ||
84 | if (window.opener && window.opener.getBpageList) { | ||
85 | window.opener.getBpageList(); | ||
86 | } else { | ||
87 | window.opener.frames[0].getBpageList(); | ||
88 | } | ||
89 | window.close(); | ||
90 | this.$emit("input", false); | ||
91 | }, 1000); | ||
92 | }); | ||
93 | }, | ||
94 | /** | ||
95 | * @description: changeSelectItem | ||
96 | * @param {*} item | ||
97 | * @author: renchao | ||
98 | */ | ||
99 | changeSelectItem (item) { | ||
100 | this.selectItem = item; | ||
101 | this.selectActivity = item.activityId; | ||
102 | }, | ||
103 | //获取可回退环节信息 | ||
104 | /** | ||
105 | * @description: 获取可回退环节信息 | ||
106 | * @author: renchao | ||
107 | */ | ||
108 | getBackNode () { | ||
109 | getTaskBackNode(this.formData).then((res) => { | ||
110 | if (res.code == 200) { | ||
111 | this.dataList = res.result; | ||
112 | if (res.result) { | ||
113 | this.selectActivity = res.result[0].activityId; | ||
114 | this.selectItem = res.result[0]; | ||
115 | } | ||
116 | } | ||
117 | }); | ||
118 | }, | ||
119 | |||
120 | /** | ||
121 | * @description: cancelBack | ||
122 | * @author: renchao | ||
123 | */ | ||
124 | cancelBack () { | ||
125 | popupCacel(); | ||
126 | } | ||
127 | } | ||
128 | } | ||
129 | </script> | ||
130 | <style scoped lang="scss"> | ||
131 | @import "~@/styles/mixin.scss"; | ||
132 | |||
133 | .listDetail { | ||
134 | display: flex; | ||
135 | align-items: center; | ||
136 | width: 100%; | ||
137 | |||
138 | p { | ||
139 | line-height: 30px; | ||
140 | height: 30px; | ||
141 | @include flex-center; | ||
142 | flex: 1; | ||
143 | width: 100%; | ||
144 | border: 1px solid rgb(233, 235, 237); | ||
145 | margin-top: -1px; | ||
146 | margin-left: -1px; | ||
147 | } | ||
148 | |||
149 | .icon { | ||
150 | flex: 0 0 60px; | ||
151 | } | ||
152 | } | ||
153 | |||
154 | .title { | ||
155 | margin-bottom: 10px; | ||
156 | } | ||
157 | |||
158 | .textArea { | ||
159 | /deep/.el-textarea__inner { | ||
160 | min-height: 90px !important; | ||
161 | } | ||
162 | } | ||
163 | /deep/.el-radio .el-radio__label { | ||
164 | display: none; | ||
165 | } | ||
166 | </style> |
... | @@ -4,82 +4,109 @@ | ... | @@ -4,82 +4,109 @@ |
4 | * @LastEditTime: 2023-05-17 10:42:01 | 4 | * @LastEditTime: 2023-05-17 10:42:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog" | ||
8 | v-model="value"> | ||
9 | <div class="from-clues"> | 7 | <div class="from-clues"> |
10 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
11 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
12 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | 10 | <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj"> |
13 | <el-form-item label="下一环节名称:"> | 11 | <el-form-item label="下一环节名称:"> |
14 | {{this.tableData.taskName}} | 12 | {{ this.formData.obj.taskName }} |
15 | </el-form-item> | 13 | </el-form-item> |
16 | <el-form-item label="下一环节办理人:"> | 14 | <el-form-item label="下一环节办理人:"> |
17 | {{this.usernames}} | 15 | {{ this.formData.obj.usernames.join(",") }} |
16 | </el-form-item> | ||
17 | </el-form> | ||
18 | <el-form ref="queryForm" label-width="180px" v-else> | ||
19 | <el-form-item label=""> | ||
20 | 此环节为流程最后环节,转出后流程将结束 | ||
18 | </el-form-item> | 21 | </el-form-item> |
19 | |||
20 | </el-form> | 22 | </el-form> |
23 | <div class="invalid-reson">转出原因:</div> | ||
24 | <el-input | ||
25 | v-model="shyj" | ||
26 | placeholder="请输入转出原因" | ||
27 | type="textarea" | ||
28 | :rows="4" | ||
29 | ></el-input> | ||
30 | <el-button style="float: right" @click="cancelBack">取消转出</el-button> | ||
31 | <el-button type="primary" @click="submitForm" style="float: right" | ||
32 | >确定转出</el-button | ||
33 | > | ||
21 | </div> | 34 | </div> |
22 | </div> | 35 | </div> |
23 | </dialogBox> | ||
24 | </template> | 36 | </template> |
25 | 37 | ||
26 | <script> | 38 | <script> |
27 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js" | 39 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"; |
28 | export default { | 40 | import { popupCacel } from "@/utils/popup.js"; |
29 | components: { | 41 | export default { |
30 | }, | 42 | components: {}, |
31 | props: { | 43 | props: { |
32 | value: { type: Boolean, default: false }, | 44 | formData: { |
33 | queryForm: { type: Object, default: false } | 45 | type: Object, |
46 | default: {}, | ||
47 | }, | ||
34 | }, | 48 | }, |
35 | data () { | 49 | data() { |
36 | return { | 50 | return { |
37 | tableData: {}, | 51 | queryForm: {}, |
38 | usernames: '', | 52 | shyj: "", |
39 | } | 53 | }; |
40 | }, | 54 | }, |
41 | methods: { | 55 | mounted() { |
42 | /** | 56 | // this.queryForm= this.queryForm.obj |
43 | * @description: tablelistFn | 57 | console.log("formDataformDataformData", this.formData); |
44 | * @author: renchao | ||
45 | */ | ||
46 | tablelistFn () { | ||
47 | getNextLinkInfo(this.queryForm).then(res => { | ||
48 | if (res.code === 200) { | ||
49 | this.tableData = res.result | ||
50 | if (res.result.usernames) { | ||
51 | this.usernames = String(res.result.usernames) | ||
52 | } | ||
53 | } | ||
54 | }) | ||
55 | }, | 58 | }, |
59 | methods: { | ||
56 | /** | 60 | /** |
57 | * @description: submitForm | 61 | * @description: submitForm |
58 | * @author: renchao | 62 | * @author: renchao |
59 | */ | 63 | */ |
60 | submitForm () { | 64 | submitForm() { |
61 | completeTask(this.queryForm).then(res => { | 65 | this.queryForm = { |
66 | bsmSlsq: this.formData.bsmSlsq, | ||
67 | shyj: this.shyj, | ||
68 | stepform: JSON.stringify(this.formData.tabList), | ||
69 | }; | ||
70 | console.log("this.queryForm", this.queryForm); | ||
71 | completeTask(this.queryForm).then((res) => { | ||
62 | if (res.code === 200) { | 72 | if (res.code === 200) { |
63 | this.$message.success('转件成功') | 73 | this.$message.success("转件成功"); |
74 | // setTimeout(() => { | ||
75 | // window.opener = null; | ||
76 | // window.open("about:blank", "_self"); | ||
77 | // window.close(); | ||
78 | // this.$emit("input", false); | ||
79 | // }, 1000); | ||
80 | popupCacel(); | ||
64 | setTimeout(() => { | 81 | setTimeout(() => { |
65 | window.opener = null; | 82 | // window.opener.location.reload(); //刷新父窗口 |
66 | window.open("about:blank", "_self"); | 83 | if (window.opener && window.opener.getBpageList) { |
84 | window.opener.getBpageList(); | ||
85 | } else { | ||
86 | window.opener.frames[0].getBpageList(); | ||
87 | } | ||
67 | window.close(); | 88 | window.close(); |
68 | this.$emit('input', false) | 89 | this.$emit("input", false); |
69 | }, 1000); | 90 | }, 1000); |
91 | }else{ | ||
92 | this.$message.error(res.message); | ||
70 | } | 93 | } |
71 | }) | 94 | }); |
72 | }, | 95 | }, |
73 | /** | 96 | /** |
74 | * @description: closeDialog | 97 | * @description: closeDialog |
75 | * @author: renchao | 98 | * @author: renchao |
76 | */ | 99 | */ |
77 | closeDialog () { | 100 | cancelBack() { |
78 | this.$emit("input", false); | 101 | popupCacel(); |
79 | }, | 102 | }, |
80 | } | 103 | }, |
81 | } | 104 | }; |
82 | </script> | 105 | </script> |
83 | <style scoped lang="scss"> | 106 | <style scoped lang="scss"> |
84 | @import "~@/styles/mixin.scss"; | 107 | @import "~@/styles/mixin.scss"; |
108 | .el-button { | ||
109 | margin-top: 20px; | ||
110 | margin-right: 10px; | ||
111 | } | ||
85 | </style> | 112 | </style> | ... | ... |
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: { | ... | ... |
... | @@ -403,7 +403,7 @@ export default { | ... | @@ -403,7 +403,7 @@ export default { |
403 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 403 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
404 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 404 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
405 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 405 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
406 | djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], | 406 | djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], |
407 | }, | 407 | }, |
408 | }; | 408 | }; |
409 | }, | 409 | }, | ... | ... |
... | @@ -325,103 +325,25 @@ export default { | ... | @@ -325,103 +325,25 @@ export default { |
325 | * @author: renchao | 325 | * @author: renchao |
326 | */ | 326 | */ |
327 | sendToNext (obj) { | 327 | sendToNext (obj) { |
328 | const h = this.$createElement; | 328 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
329 | this.$msgbox({ | 329 | obj:obj, |
330 | title: "您确定转出吗?", | ||
331 | message: h("div", { style: "margin: auto" }, [ | ||
332 | h("span", null, "下个环节名称:"), | ||
333 | h("i", { style: "color: teal" }, obj.taskName), | ||
334 | h("div", null, ""), | ||
335 | h("span", null, "下个环节经办人: "), | ||
336 | h("i", { style: "color: teal" }, obj.usernames.join(",")), | ||
337 | ]), | ||
338 | showCancelButton: true, | ||
339 | beforeClose: (action, instance, done) => { | ||
340 | if (action === "confirm") { | ||
341 | instance.confirmButtonLoading = true; | ||
342 | instance.confirmButtonText = "执行中..."; | ||
343 | completeTask({ | ||
344 | bsmSlsq: this.bsmSlsq, | 330 | bsmSlsq: this.bsmSlsq, |
345 | shyj: "this.bestepid", | 331 | tabList: this.tabList |
346 | stepform: JSON.stringify(this.tabList), | 332 | }, '800px', true) |
347 | }).then((res) => { | ||
348 | if (res.code === 200) { | ||
349 | instance.confirmButtonLoading = false; | ||
350 | this.$message.success("转件成功"); | ||
351 | // window.opener.location.reload(); //刷新父窗口 | ||
352 | if (window.opener && window.opener.getBpageList) { | ||
353 | window.opener.getBpageList(); | ||
354 | } else { | ||
355 | window.opener.frames[0].getBpageList(); | ||
356 | } | ||
357 | window.close(); | ||
358 | this.$emit("input", false); | ||
359 | } else { | ||
360 | instance.confirmButtonLoading = false; | ||
361 | instance.confirmButtonText = "确定"; | ||
362 | this.$message.error(res.message); | ||
363 | } | ||
364 | }); | ||
365 | } else { | ||
366 | done(); | ||
367 | } | ||
368 | }, | ||
369 | }).then((action) => { | ||
370 | this.$message({ | ||
371 | type: "info", | ||
372 | message: "action: " + action, | ||
373 | }); | ||
374 | }); | ||
375 | }, | 333 | }, |
334 | //转出最后一个流程 | ||
376 | /** | 335 | /** |
377 | * @description: sendToEnd | 336 | * @description: 转出最后一个流程 |
378 | * @author: renchao | 337 | * @author: renchao |
379 | */ | 338 | */ |
380 | sendToEnd () { | 339 | sendToEnd () { |
381 | let that = this | 340 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
382 | const h = this.$createElement; | 341 | obj:"", |
383 | this.$msgbox({ | ||
384 | title: "您确定转出吗?", | ||
385 | message: "此环节为流程最后环节,转出后流程将结束", | ||
386 | showCancelButton: true, | ||
387 | beforeClose: (action, instance, done) => { | ||
388 | if (action === "confirm") { | ||
389 | instance.confirmButtonLoading = true; | ||
390 | instance.confirmButtonText = "执行中..."; | ||
391 | completeTask({ | ||
392 | bsmSlsq: this.bsmSlsq, | 342 | bsmSlsq: this.bsmSlsq, |
393 | shyj: "this.bestepid", | 343 | tabList: this.tabList |
394 | stepform: JSON.stringify(this.tabList), | 344 | }, '800px', true) |
395 | }).then((res) => { | ||
396 | if (res.code === 200) { | ||
397 | instance.confirmButtonLoading = false; | ||
398 | that.$message.success("转件成功"); | ||
399 | localStorage.setItem('transfer', true) | ||
400 | // window.opener.location.reload(); //刷新父窗口 | ||
401 | if (window.opener && window.opener.getBpageList) { | ||
402 | window.opener.getBpageList(); | ||
403 | } else { | ||
404 | window.opener.frames[0].getBpageList(); | ||
405 | } | ||
406 | window.close(); | ||
407 | that.$emit("input", false); | ||
408 | } else { | ||
409 | instance.confirmButtonLoading = false; | ||
410 | instance.confirmButtonText = "确定"; | ||
411 | this.$message.error(res.message); | ||
412 | } | ||
413 | }) | ||
414 | } else { | ||
415 | done(); | ||
416 | } | ||
417 | }, | ||
418 | }).then((action) => { | ||
419 | this.$message({ | ||
420 | type: "info", | ||
421 | message: "action: " + action | ||
422 | }) | ||
423 | }) | ||
424 | }, | 345 | }, |
346 | |||
425 | //批量操作 | 347 | //批量操作 |
426 | /** | 348 | /** |
427 | * @description: 批量操作 | 349 | * @description: 批量操作 | ... | ... |
... | @@ -27,6 +27,10 @@ | ... | @@ -27,6 +27,10 @@ |
27 | } | 27 | } |
28 | }, | 28 | }, |
29 | methods: { | 29 | methods: { |
30 | /** | ||
31 | * @description: pushRecord | ||
32 | * @author: renchao | ||
33 | */ | ||
30 | pushRecord () { | 34 | pushRecord () { |
31 | this.$startLoading() | 35 | this.$startLoading() |
32 | push(this.formData).then((res) => { | 36 | push(this.formData).then((res) => { | ... | ... |
... | @@ -65,6 +65,10 @@ | ... | @@ -65,6 +65,10 @@ |
65 | }, | 65 | }, |
66 | methods: { | 66 | methods: { |
67 | // 初始化数据 | 67 | // 初始化数据 |
68 | /** | ||
69 | * @description: 初始化数据 | ||
70 | * @author: renchao | ||
71 | */ | ||
68 | queryClick () { | 72 | queryClick () { |
69 | this.$startLoading() | 73 | this.$startLoading() |
70 | list({ ...this.queryForm, ...this.pageData }).then((res) => { | 74 | list({ ...this.queryForm, ...this.pageData }).then((res) => { |
... | @@ -76,6 +80,11 @@ | ... | @@ -76,6 +80,11 @@ |
76 | } | 80 | } |
77 | }); | 81 | }); |
78 | }, | 82 | }, |
83 | /** | ||
84 | * @description: openDialog | ||
85 | * @param {*} scroll | ||
86 | * @author: renchao | ||
87 | */ | ||
79 | openDialog (scroll) { | 88 | openDialog (scroll) { |
80 | const h = this.$createElement; | 89 | const h = this.$createElement; |
81 | this.$msgbox({ | 90 | this.$msgbox({ |
... | @@ -97,6 +106,11 @@ | ... | @@ -97,6 +106,11 @@ |
97 | } | 106 | } |
98 | }).then(action => { }); | 107 | }).then(action => { }); |
99 | }, | 108 | }, |
109 | /** | ||
110 | * @description: detail | ||
111 | * @param {*} row | ||
112 | * @author: renchao | ||
113 | */ | ||
100 | detail (row) { | 114 | detail (row) { |
101 | detail(row.bsm).then((res) => { | 115 | detail(row.bsm).then((res) => { |
102 | this.$endLoading() | 116 | this.$endLoading() | ... | ... |
... | @@ -130,6 +130,10 @@ export default { | ... | @@ -130,6 +130,10 @@ export default { |
130 | } | 130 | } |
131 | }, | 131 | }, |
132 | methods: { | 132 | methods: { |
133 | /** | ||
134 | * @description: closeDialog | ||
135 | * @author: renchao | ||
136 | */ | ||
133 | closeDialog () { | 137 | closeDialog () { |
134 | this.$emit("input", false); | 138 | this.$emit("input", false); |
135 | this.activeStep = 0; | 139 | this.activeStep = 0; |
... | @@ -142,6 +146,10 @@ export default { | ... | @@ -142,6 +146,10 @@ export default { |
142 | } | 146 | } |
143 | }, | 147 | }, |
144 | //加载详细信息 | 148 | //加载详细信息 |
149 | /** | ||
150 | * @description: 加载详细信息 | ||
151 | * @author: renchao | ||
152 | */ | ||
145 | loadData () { | 153 | loadData () { |
146 | this.$startLoading(); | 154 | this.$startLoading(); |
147 | getFwmxInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { | 155 | getFwmxInfo({ sqcxBsm: this.sqcxBsm }).then((res) => { |
... | @@ -156,6 +164,10 @@ export default { | ... | @@ -156,6 +164,10 @@ export default { |
156 | }); | 164 | }); |
157 | }, | 165 | }, |
158 | //查询结果 | 166 | //查询结果 |
167 | /** | ||
168 | * @description: 查询结果 | ||
169 | * @author: renchao | ||
170 | */ | ||
159 | queryChick () { | 171 | queryChick () { |
160 | this.$startLoading(); | 172 | this.$startLoading(); |
161 | this.activeStep = 1; | 173 | this.activeStep = 1; |
... | @@ -172,6 +184,10 @@ export default { | ... | @@ -172,6 +184,10 @@ export default { |
172 | }); | 184 | }); |
173 | }, | 185 | }, |
174 | //重置 | 186 | //重置 |
187 | /** | ||
188 | * @description: 重置 | ||
189 | * @author: renchao | ||
190 | */ | ||
175 | resetClick () { | 191 | resetClick () { |
176 | this.form.djSqcxDO = { ycqrgx: "1", cxyt: "",bdcqzh: "" }; | 192 | this.form.djSqcxDO = { ycqrgx: "1", cxyt: "",bdcqzh: "" }; |
177 | this.form.sqrList = _.cloneDeep([this.newData]); | 193 | this.form.sqrList = _.cloneDeep([this.newData]); |
... | @@ -180,8 +196,17 @@ export default { | ... | @@ -180,8 +196,17 @@ export default { |
180 | this.form.dyjlList = []; | 196 | this.form.dyjlList = []; |
181 | this.isSearch = false; | 197 | this.isSearch = false; |
182 | }, | 198 | }, |
199 | /** | ||
200 | * @description: handleRead | ||
201 | * @author: renchao | ||
202 | */ | ||
183 | handleRead (scope) { }, | 203 | handleRead (scope) { }, |
184 | //添加申请人或权利人 | 204 | //添加申请人或权利人 |
205 | /** | ||
206 | * @description: 添加申请人或权利人 | ||
207 | * @param {*} type | ||
208 | * @author: renchao | ||
209 | */ | ||
185 | add (type) { | 210 | add (type) { |
186 | if (type == "sqr") { | 211 | if (type == "sqr") { |
187 | this.form.sqrList.push(_.cloneDeep(this.newData)); | 212 | this.form.sqrList.push(_.cloneDeep(this.newData)); |
... | @@ -190,6 +215,13 @@ export default { | ... | @@ -190,6 +215,13 @@ export default { |
190 | } | 215 | } |
191 | }, | 216 | }, |
192 | //移除申请人或权利人 | 217 | //移除申请人或权利人 |
218 | /** | ||
219 | * @description: 移除申请人或权利人 | ||
220 | * @param {*} index | ||
221 | * @param {*} row | ||
222 | * @param {*} type | ||
223 | * @author: renchao | ||
224 | */ | ||
193 | remove (index, row, type) { | 225 | remove (index, row, type) { |
194 | if (type == "sqr") { | 226 | if (type == "sqr") { |
195 | this.form.sqrList.splice(index, 1); | 227 | this.form.sqrList.splice(index, 1); |
... | @@ -198,6 +230,11 @@ export default { | ... | @@ -198,6 +230,11 @@ export default { |
198 | } | 230 | } |
199 | }, | 231 | }, |
200 | //电话号码校验 | 232 | //电话号码校验 |
233 | /** | ||
234 | * @description: 电话号码校验 | ||
235 | * @param {*} row | ||
236 | * @author: renchao | ||
237 | */ | ||
201 | teltest (row) { | 238 | teltest (row) { |
202 | const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/; | 239 | const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/; |
203 | if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) { | 240 | if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) { | ... | ... |
... | @@ -74,9 +74,18 @@ export default { | ... | @@ -74,9 +74,18 @@ export default { |
74 | } | 74 | } |
75 | }, | 75 | }, |
76 | methods: { | 76 | methods: { |
77 | /** | ||
78 | * @description: setResult | ||
79 | * @param {*} data | ||
80 | * @author: renchao | ||
81 | */ | ||
77 | setResult(data){ | 82 | setResult(data){ |
78 | this.resultData = data | 83 | this.resultData = data |
79 | }, | 84 | }, |
85 | /** | ||
86 | * @description: getDetailInfo | ||
87 | * @author: renchao | ||
88 | */ | ||
80 | getDetailInfo(){ | 89 | getDetailInfo(){ |
81 | this.$startLoading(); | 90 | this.$startLoading(); |
82 | getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => { | 91 | getFwmxInfo({ sqcxBsm: this.formData.bsmSqcx }).then((res) => { | ... | ... |
... | @@ -78,6 +78,10 @@ export default { | ... | @@ -78,6 +78,10 @@ export default { |
78 | }, | 78 | }, |
79 | methods: { | 79 | methods: { |
80 | // 初始化数据 | 80 | // 初始化数据 |
81 | /** | ||
82 | * @description: 初始化数据 | ||
83 | * @author: renchao | ||
84 | */ | ||
81 | queryClick () { | 85 | queryClick () { |
82 | this.$startLoading(); | 86 | this.$startLoading(); |
83 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 87 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
... | @@ -89,14 +93,29 @@ export default { | ... | @@ -89,14 +93,29 @@ export default { |
89 | } | 93 | } |
90 | }); | 94 | }); |
91 | }, | 95 | }, |
96 | /** | ||
97 | * @description: dydjbClick | ||
98 | * @param {*} scope | ||
99 | * @author: renchao | ||
100 | */ | ||
92 | dydjbClick (scope) { | 101 | dydjbClick (scope) { |
93 | this.$popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { | 102 | this.$popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", { |
94 | bsmSqcx: scope.row.bsmSqcx, | 103 | bsmSqcx: scope.row.bsmSqcx, |
95 | }) | 104 | }) |
96 | }, | 105 | }, |
106 | /** | ||
107 | * @description: handleSort | ||
108 | * @param {*} name | ||
109 | * @param {*} sort | ||
110 | * @author: renchao | ||
111 | */ | ||
97 | handleSort (name, sort) { | 112 | handleSort (name, sort) { |
98 | console.log(name, sort); | 113 | console.log(name, sort); |
99 | }, | 114 | }, |
115 | /** | ||
116 | * @description: openAddDialog | ||
117 | * @author: renchao | ||
118 | */ | ||
100 | openAddDialog () { | 119 | openAddDialog () { |
101 | this.isDialog = true | 120 | this.isDialog = true |
102 | this.sqcxBsm = '' | 121 | this.sqcxBsm = '' | ... | ... |
... | @@ -324,9 +324,18 @@ | ... | @@ -324,9 +324,18 @@ |
324 | }, | 324 | }, |
325 | methods: { | 325 | methods: { |
326 | // 字典 | 326 | // 字典 |
327 | /** | ||
328 | * @description: 字典 | ||
329 | * @param {*} val | ||
330 | * @author: renchao | ||
331 | */ | ||
327 | getDictData (val) { | 332 | getDictData (val) { |
328 | return store.getters.dictData[val] | 333 | return store.getters.dictData[val] |
329 | }, | 334 | }, |
335 | /** | ||
336 | * @description: closeDialog | ||
337 | * @author: renchao | ||
338 | */ | ||
330 | closeDialog () { | 339 | closeDialog () { |
331 | this.$popupCacel() | 340 | this.$popupCacel() |
332 | this.form = { | 341 | this.form = { |
... | @@ -338,6 +347,10 @@ | ... | @@ -338,6 +347,10 @@ |
338 | } | 347 | } |
339 | }, | 348 | }, |
340 | //加载详细信息 | 349 | //加载详细信息 |
350 | /** | ||
351 | * @description: 加载详细信息 | ||
352 | * @author: renchao | ||
353 | */ | ||
341 | loadData () { | 354 | loadData () { |
342 | this.$startLoading(); | 355 | this.$startLoading(); |
343 | getJtfcInfo({ sqcxBsm: this.formData.sqcxBsm }).then((res) => { | 356 | getJtfcInfo({ sqcxBsm: this.formData.sqcxBsm }).then((res) => { |
... | @@ -350,6 +363,10 @@ | ... | @@ -350,6 +363,10 @@ |
350 | }); | 363 | }); |
351 | }, | 364 | }, |
352 | //查询结果 | 365 | //查询结果 |
366 | /** | ||
367 | * @description: 查询结果 | ||
368 | * @author: renchao | ||
369 | */ | ||
353 | queryChick () { | 370 | queryChick () { |
354 | this.$startLoading(); | 371 | this.$startLoading(); |
355 | addJtfcCxjgXx(this.form).then((res) => { | 372 | addJtfcCxjgXx(this.form).then((res) => { |
... | @@ -362,6 +379,10 @@ | ... | @@ -362,6 +379,10 @@ |
362 | }); | 379 | }); |
363 | }, | 380 | }, |
364 | //重置 | 381 | //重置 |
382 | /** | ||
383 | * @description: 重置 | ||
384 | * @author: renchao | ||
385 | */ | ||
365 | resetClick () { | 386 | resetClick () { |
366 | this.form.djSqcxDO = { ycqrgx: "1", cxyt: "" }; | 387 | this.form.djSqcxDO = { ycqrgx: "1", cxyt: "" }; |
367 | this.form.sqrList = _.cloneDeep([this.newData]); | 388 | this.form.sqrList = _.cloneDeep([this.newData]); |
... | @@ -370,6 +391,12 @@ | ... | @@ -370,6 +391,12 @@ |
370 | this.form.dyjlList = []; | 391 | this.form.dyjlList = []; |
371 | this.isSearch = false; | 392 | this.isSearch = false; |
372 | }, | 393 | }, |
394 | /** | ||
395 | * @description: handleRead | ||
396 | * @param {*} row | ||
397 | * @param {*} type | ||
398 | * @author: renchao | ||
399 | */ | ||
373 | handleRead (row, type) { | 400 | handleRead (row, type) { |
374 | getIdCardInfo().then(res => { | 401 | getIdCardInfo().then(res => { |
375 | if (res.data.code == 0) { | 402 | if (res.data.code == 0) { |
... | @@ -393,13 +420,28 @@ | ... | @@ -393,13 +420,28 @@ |
393 | }) | 420 | }) |
394 | }, | 421 | }, |
395 | //添加申请人 | 422 | //添加申请人 |
423 | /** | ||
424 | * @description: 添加申请人 | ||
425 | * @author: renchao | ||
426 | */ | ||
396 | handleAddsqr () { | 427 | handleAddsqr () { |
397 | this.form.sqrList.push(_.cloneDeep(this.newData)); | 428 | this.form.sqrList.push(_.cloneDeep(this.newData)); |
398 | }, | 429 | }, |
430 | /** | ||
431 | * @description: handleAddqlr | ||
432 | * @author: renchao | ||
433 | */ | ||
399 | handleAddqlr () { | 434 | handleAddqlr () { |
400 | this.form.qlrList.push(_.cloneDeep(this.newData)); | 435 | this.form.qlrList.push(_.cloneDeep(this.newData)); |
401 | }, | 436 | }, |
402 | //移除申请人或权利人 | 437 | //移除申请人或权利人 |
438 | /** | ||
439 | * @description: 移除申请人或权利人 | ||
440 | * @param {*} index | ||
441 | * @param {*} row | ||
442 | * @param {*} type | ||
443 | * @author: renchao | ||
444 | */ | ||
403 | remove (index, row, type) { | 445 | remove (index, row, type) { |
404 | console.log(type, 'type'); | 446 | console.log(type, 'type'); |
405 | if (type == "sqr") { | 447 | if (type == "sqr") { |
... | @@ -409,6 +451,11 @@ | ... | @@ -409,6 +451,11 @@ |
409 | } | 451 | } |
410 | }, | 452 | }, |
411 | //电话号码校验 | 453 | //电话号码校验 |
454 | /** | ||
455 | * @description: 电话号码校验 | ||
456 | * @param {*} row | ||
457 | * @author: renchao | ||
458 | */ | ||
412 | teltest (row) { | 459 | teltest (row) { |
413 | const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/; | 460 | const reg = /^1([38]\d|5[0-35-9]|7[3678])\d{8}$/; |
414 | if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) { | 461 | if (row.lxdh == "" || row.lxdh.length <= 10 || !reg.test(row.lxdh)) { |
... | @@ -420,6 +467,10 @@ | ... | @@ -420,6 +467,10 @@ |
420 | } | 467 | } |
421 | }, | 468 | }, |
422 | //打印 | 469 | //打印 |
470 | /** | ||
471 | * @description: 打印 | ||
472 | * @author: renchao | ||
473 | */ | ||
423 | printResult () { | 474 | printResult () { |
424 | this.openPrintPrew(); | 475 | this.openPrintPrew(); |
425 | var formdata = new FormData(); | 476 | var formdata = new FormData(); |
... | @@ -432,6 +483,10 @@ | ... | @@ -432,6 +483,10 @@ |
432 | }); | 483 | }); |
433 | }, | 484 | }, |
434 | //打开打印预览 | 485 | //打开打印预览 |
486 | /** | ||
487 | * @description: 打开打印预览 | ||
488 | * @author: renchao | ||
489 | */ | ||
435 | openPrintPrew () { | 490 | openPrintPrew () { |
436 | let lodop = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | 491 | let lodop = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); |
437 | // 获取页面的HTML内容 | 492 | // 获取页面的HTML内容 | ... | ... |
... | @@ -83,14 +83,29 @@ | ... | @@ -83,14 +83,29 @@ |
83 | } | 83 | } |
84 | }); | 84 | }); |
85 | }, | 85 | }, |
86 | /** | ||
87 | * @description: handleSort | ||
88 | * @param {*} name | ||
89 | * @param {*} sort | ||
90 | * @author: renchao | ||
91 | */ | ||
86 | handleSort (name, sort) { | 92 | handleSort (name, sort) { |
87 | console.log(name, sort); | 93 | console.log(name, sort); |
88 | }, | 94 | }, |
95 | /** | ||
96 | * @description: handleAdd | ||
97 | * @author: renchao | ||
98 | */ | ||
89 | handleAdd () { | 99 | handleAdd () { |
90 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { | 100 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { |
91 | sqcxBsm: '' | 101 | sqcxBsm: '' |
92 | }) | 102 | }) |
93 | }, | 103 | }, |
104 | /** | ||
105 | * @description: handleAdd | ||
106 | * @param {*} row | ||
107 | * @author: renchao | ||
108 | */ | ||
94 | handleViewClick (row) { | 109 | handleViewClick (row) { |
95 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { | 110 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { |
96 | sqcxBsm: row.bsmSqcx | 111 | sqcxBsm: row.bsmSqcx | ... | ... |
... | @@ -92,6 +92,10 @@ export default { | ... | @@ -92,6 +92,10 @@ export default { |
92 | }, | 92 | }, |
93 | methods: { | 93 | methods: { |
94 | // 初始化数据 | 94 | // 初始化数据 |
95 | /** | ||
96 | * @description: 初始化数据 | ||
97 | * @author: renchao | ||
98 | */ | ||
95 | queryClick () { | 99 | queryClick () { |
96 | this.$startLoading(); | 100 | this.$startLoading(); |
97 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 101 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
... | @@ -103,10 +107,21 @@ export default { | ... | @@ -103,10 +107,21 @@ export default { |
103 | } | 107 | } |
104 | }); | 108 | }); |
105 | }, | 109 | }, |
110 | /** | ||
111 | * @description: handleSort | ||
112 | * @param {*} name | ||
113 | * @param {*} sort | ||
114 | * @author: renchao | ||
115 | */ | ||
106 | handleSort (name, sort) { | 116 | handleSort (name, sort) { |
107 | console.log(name, sort); | 117 | console.log(name, sort); |
108 | }, | 118 | }, |
109 | // 查看 | 119 | // 查看 |
120 | /** | ||
121 | * @description: 查看 | ||
122 | * @param {*} scope | ||
123 | * @author: renchao | ||
124 | */ | ||
110 | handleViewClick (scope) { | 125 | handleViewClick (scope) { |
111 | this.$popupDialog("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", { | 126 | this.$popupDialog("申请查询记录", "sqcx/sqcxjl/components/sqcxjlInfo", { |
112 | sqcxBsm: scope.row.bsmSqcx | 127 | sqcxBsm: scope.row.bsmSqcx | ... | ... |
... | @@ -203,6 +203,12 @@ | ... | @@ -203,6 +203,12 @@ |
203 | }, | 203 | }, |
204 | methods: { | 204 | methods: { |
205 | // 添加索引 | 205 | // 添加索引 |
206 | /** | ||
207 | * @description: 添加索引 | ||
208 | * @param {*} data | ||
209 | * @param {*} isAdd | ||
210 | * @author: renchao | ||
211 | */ | ||
206 | addIndexes (data = this.tableData, isAdd = true) { | 212 | addIndexes (data = this.tableData, isAdd = true) { |
207 | data.forEach((item, index) => { | 213 | data.forEach((item, index) => { |
208 | if (index == 0) { | 214 | if (index == 0) { |
... | @@ -224,6 +230,10 @@ | ... | @@ -224,6 +230,10 @@ |
224 | } | 230 | } |
225 | }) | 231 | }) |
226 | }, | 232 | }, |
233 | /** | ||
234 | * @description: itemShowFalse | ||
235 | * @author: renchao | ||
236 | */ | ||
227 | itemShowFalse () { | 237 | itemShowFalse () { |
228 | this.tableData.forEach((item, index) => { | 238 | this.tableData.forEach((item, index) => { |
229 | item.codeShow = false | 239 | item.codeShow = false |
... | @@ -232,6 +242,12 @@ | ... | @@ -232,6 +242,12 @@ |
232 | item.normnameShow = false | 242 | item.normnameShow = false |
233 | }) | 243 | }) |
234 | }, | 244 | }, |
245 | /** | ||
246 | * @description: handleMinus | ||
247 | * @param {*} index | ||
248 | * @param {*} row | ||
249 | * @author: renchao | ||
250 | */ | ||
235 | handleMinus (index, row) { | 251 | handleMinus (index, row) { |
236 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { | 252 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { |
237 | confirmButtonText: '确定', | 253 | confirmButtonText: '确定', |
... | @@ -250,6 +266,10 @@ | ... | @@ -250,6 +266,10 @@ |
250 | }) | 266 | }) |
251 | }) | 267 | }) |
252 | }, | 268 | }, |
269 | /** | ||
270 | * @description: handleSubmit | ||
271 | * @author: renchao | ||
272 | */ | ||
253 | handleSubmit () { | 273 | handleSubmit () { |
254 | this.$startLoading(); | 274 | this.$startLoading(); |
255 | editDictNode({ | 275 | editDictNode({ |
... | @@ -268,6 +288,11 @@ | ... | @@ -268,6 +288,11 @@ |
268 | }) | 288 | }) |
269 | }, | 289 | }, |
270 | // 增加下级 | 290 | // 增加下级 |
291 | /** | ||
292 | * @description: 增加下级 | ||
293 | * @param {*} row | ||
294 | * @author: renchao | ||
295 | */ | ||
271 | handleAddSubordinate (row) { | 296 | handleAddSubordinate (row) { |
272 | if (!row.children) { | 297 | if (!row.children) { |
273 | row.children = [] | 298 | row.children = [] |
... | @@ -287,6 +312,10 @@ | ... | @@ -287,6 +312,10 @@ |
287 | this.keyList.push(row.bsmDict) | 312 | this.keyList.push(row.bsmDict) |
288 | }, | 313 | }, |
289 | // 增加 | 314 | // 增加 |
315 | /** | ||
316 | * @description: 增加 | ||
317 | * @author: renchao | ||
318 | */ | ||
290 | handleAdd () { | 319 | handleAdd () { |
291 | this.$nextTick(() => { | 320 | this.$nextTick(() => { |
292 | let container = this.$el.querySelector('.el-table__body-wrapper'); | 321 | let container = this.$el.querySelector('.el-table__body-wrapper'); |
... | @@ -307,12 +336,24 @@ | ... | @@ -307,12 +336,24 @@ |
307 | this.key++ | 336 | this.key++ |
308 | }, | 337 | }, |
309 | // 上移下移 | 338 | // 上移下移 |
339 | /** | ||
340 | * @description: 上移下移 | ||
341 | * @param {*} index | ||
342 | * @param {*} row | ||
343 | * @author: renchao | ||
344 | */ | ||
310 | moveUpward (index, row) { | 345 | moveUpward (index, row) { |
311 | realMove(row.bsmDict, 'UP', this.tableData) | 346 | realMove(row.bsmDict, 'UP', this.tableData) |
312 | this.key++ | 347 | this.key++ |
313 | let id = findParents(this.tableData, row.bsmDict) | 348 | let id = findParents(this.tableData, row.bsmDict) |
314 | this.keyList = id | 349 | this.keyList = id |
315 | }, | 350 | }, |
351 | /** | ||
352 | * @description: moveDown | ||
353 | * @param {*} index | ||
354 | * @param {*} row | ||
355 | * @author: renchao | ||
356 | */ | ||
316 | moveDown (index, row) { | 357 | moveDown (index, row) { |
317 | realMove(row.bsmDict, 'DOWN', this.tableData) | 358 | realMove(row.bsmDict, 'DOWN', this.tableData) |
318 | this.key++ | 359 | this.key++ | ... | ... |
... | @@ -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 | getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => { | 80 | getQlxxDictList({ ...this.ruleForm, ...this.pageData }).then(res => { |
... | @@ -80,6 +84,10 @@ | ... | @@ -80,6 +84,10 @@ |
80 | this.tableData.total = total ? total : 0 | 84 | this.tableData.total = total ? total : 0 |
81 | }) | 85 | }) |
82 | }, | 86 | }, |
87 | /** | ||
88 | * @description: handleRefresh | ||
89 | * @author: renchao | ||
90 | */ | ||
83 | handleRefresh () { | 91 | handleRefresh () { |
84 | this.$confirm('是否确认刷新', '提示', { | 92 | this.$confirm('是否确认刷新', '提示', { |
85 | confirmButtonText: '确定', | 93 | confirmButtonText: '确定', |
... | @@ -107,6 +115,12 @@ | ... | @@ -107,6 +115,12 @@ |
107 | }); | 115 | }); |
108 | }, | 116 | }, |
109 | // 修改 | 117 | // 修改 |
118 | /** | ||
119 | * @description: 修改 | ||
120 | * @param {*} row | ||
121 | * @param {*} val | ||
122 | * @author: renchao | ||
123 | */ | ||
110 | editClick (row, val) { | 124 | editClick (row, val) { |
111 | this.details.rowData = row | 125 | this.details.rowData = row |
112 | this.details.isenable = val | 126 | this.details.isenable = val | ... | ... |
... | @@ -84,6 +84,10 @@ | ... | @@ -84,6 +84,10 @@ |
84 | }, | 84 | }, |
85 | methods: { | 85 | methods: { |
86 | //表单提交 | 86 | //表单提交 |
87 | /** | ||
88 | * @description: 表单提交 | ||
89 | * @author: renchao | ||
90 | */ | ||
87 | submitForm () { | 91 | submitForm () { |
88 | if (this.loadStatus == '1') { | 92 | if (this.loadStatus == '1') { |
89 | return this.$message.error("模板设计保存中,请等待...") | 93 | return this.$message.error("模板设计保存中,请等待...") |
... | @@ -101,6 +105,10 @@ | ... | @@ -101,6 +105,10 @@ |
101 | }); | 105 | }); |
102 | }, | 106 | }, |
103 | //新增 | 107 | //新增 |
108 | /** | ||
109 | * @description: 新增 | ||
110 | * @author: renchao | ||
111 | */ | ||
104 | addTemplate () { | 112 | addTemplate () { |
105 | addPrintTemplate(this.ruleForm).then(res => { | 113 | addPrintTemplate(this.ruleForm).then(res => { |
106 | if (res.code == 200) { | 114 | if (res.code == 200) { |
... | @@ -113,6 +121,10 @@ | ... | @@ -113,6 +121,10 @@ |
113 | }) | 121 | }) |
114 | }, | 122 | }, |
115 | //编辑 | 123 | //编辑 |
124 | /** | ||
125 | * @description: 编辑 | ||
126 | * @author: renchao | ||
127 | */ | ||
116 | editTemplate () { | 128 | editTemplate () { |
117 | editPrintTemplate(this.ruleForm).then(res => { | 129 | editPrintTemplate(this.ruleForm).then(res => { |
118 | if (res.code == 200) { | 130 | if (res.code == 200) { |
... | @@ -124,6 +136,10 @@ | ... | @@ -124,6 +136,10 @@ |
124 | } | 136 | } |
125 | }) | 137 | }) |
126 | }, | 138 | }, |
139 | /** | ||
140 | * @description: closeDialog | ||
141 | * @author: renchao | ||
142 | */ | ||
127 | closeDialog () { | 143 | closeDialog () { |
128 | this.$popupCacel() | 144 | this.$popupCacel() |
129 | this.ruleForm = { | 145 | this.ruleForm = { |
... | @@ -136,11 +152,20 @@ | ... | @@ -136,11 +152,20 @@ |
136 | this.loadStatus = '0' | 152 | this.loadStatus = '0' |
137 | this.editFlag = false; | 153 | this.editFlag = false; |
138 | }, | 154 | }, |
155 | /** | ||
156 | * @description: getDetailInfo | ||
157 | * @param {*} row | ||
158 | * @author: renchao | ||
159 | */ | ||
139 | getDetailInfo (item) { | 160 | getDetailInfo (item) { |
140 | this.ruleForm = item; | 161 | this.ruleForm = item; |
141 | this.editFlag = true; | 162 | this.editFlag = true; |
142 | }, | 163 | }, |
143 | //设计打印模板 | 164 | //设计打印模板 |
165 | /** | ||
166 | * @description: 设计打印模板 | ||
167 | * @author: renchao | ||
168 | */ | ||
144 | designByPRGData () { | 169 | designByPRGData () { |
145 | let that = this; | 170 | let that = this; |
146 | that.loadStatus = '1'; | 171 | that.loadStatus = '1'; | ... | ... |
... | @@ -63,6 +63,10 @@ | ... | @@ -63,6 +63,10 @@ |
63 | } | 63 | } |
64 | }, | 64 | }, |
65 | methods: { | 65 | methods: { |
66 | /** | ||
67 | * @description: fetchData | ||
68 | * @author: renchao | ||
69 | */ | ||
66 | fetchData () { | 70 | fetchData () { |
67 | selectPrintTemplateList({ ...this.pageData }).then(res => { | 71 | selectPrintTemplateList({ ...this.pageData }).then(res => { |
68 | if (res.code == 200) { | 72 | if (res.code == 200) { |
... | @@ -73,14 +77,28 @@ | ... | @@ -73,14 +77,28 @@ |
73 | }) | 77 | }) |
74 | }, | 78 | }, |
75 | //打开新增弹窗 | 79 | //打开新增弹窗 |
80 | /** | ||
81 | * @description: 打开新增弹窗 | ||
82 | * @author: renchao | ||
83 | */ | ||
76 | openAddDialog () { | 84 | openAddDialog () { |
77 | this.$popupDialog("新增打印模板", "system/dymbgl/components/editDialog", {}, "35%") | 85 | this.$popupDialog("新增打印模板", "system/dymbgl/components/editDialog", {}, "35%") |
78 | }, | 86 | }, |
79 | //打开编辑弹窗 | 87 | //打开编辑弹窗 |
88 | /** | ||
89 | * @description: 打开编辑弹窗 | ||
90 | * @param {*} item | ||
91 | * @author: renchao | ||
92 | */ | ||
80 | openEditDialog (item) { | 93 | openEditDialog (item) { |
81 | this.$popupDialog("编辑打印模板", "system/dymbgl/components/editDialog", item, "35%") | 94 | this.$popupDialog("编辑打印模板", "system/dymbgl/components/editDialog", item, "35%") |
82 | }, | 95 | }, |
83 | //删除数据 | 96 | //删除数据 |
97 | /** | ||
98 | * @description: 删除数据 | ||
99 | * @param {*} item | ||
100 | * @author: renchao | ||
101 | */ | ||
84 | removeTemplate (item) { | 102 | removeTemplate (item) { |
85 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 103 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
86 | confirmButtonText: "确定", | 104 | confirmButtonText: "确定", | ... | ... |
... | @@ -53,6 +53,10 @@ | ... | @@ -53,6 +53,10 @@ |
53 | }, | 53 | }, |
54 | 54 | ||
55 | methods: { | 55 | methods: { |
56 | /** | ||
57 | * @description: submitForm | ||
58 | * @author: renchao | ||
59 | */ | ||
56 | submitForm () { | 60 | submitForm () { |
57 | let that = this; | 61 | let that = this; |
58 | that.$refs.ruleForm.validate(valid => { | 62 | that.$refs.ruleForm.validate(valid => { |
... | @@ -74,18 +78,35 @@ | ... | @@ -74,18 +78,35 @@ |
74 | }); | 78 | }); |
75 | }, | 79 | }, |
76 | //关闭窗口 | 80 | //关闭窗口 |
81 | /** | ||
82 | * @description: 关闭窗口 | ||
83 | * @author: renchao | ||
84 | */ | ||
77 | closeDialog () { | 85 | closeDialog () { |
78 | this.$emit("input", false); | 86 | this.$emit("input", false); |
79 | this.resetRuleForm(); | 87 | this.resetRuleForm(); |
80 | }, | 88 | }, |
81 | // | 89 | /** |
90 | * @description: resetRuleForm | ||
91 | * @author: renchao | ||
92 | */ | ||
82 | resetRuleForm () { | 93 | resetRuleForm () { |
83 | this.$refs['ruleForm'].resetFields(); | 94 | this.$refs['ruleForm'].resetFields(); |
84 | this.ruleForm.noticeType = '2' | 95 | this.ruleForm.noticeType = '2' |
85 | }, | 96 | }, |
97 | /** | ||
98 | * @description: beforeUpload | ||
99 | * @param {*} file | ||
100 | * @author: renchao | ||
101 | */ | ||
86 | beforeUpload (file) { | 102 | beforeUpload (file) { |
87 | return true; | 103 | return true; |
88 | }, | 104 | }, |
105 | /** | ||
106 | * @description: handleChange | ||
107 | * @param {*} file | ||
108 | * @author: renchao | ||
109 | */ | ||
89 | async handleChange (file) { | 110 | async handleChange (file) { |
90 | var formdata = new FormData(); | 111 | var formdata = new FormData(); |
91 | formdata.append("file", file.raw); | 112 | formdata.append("file", file.raw); | ... | ... |
... | @@ -63,6 +63,10 @@ | ... | @@ -63,6 +63,10 @@ |
63 | }, | 63 | }, |
64 | methods: { | 64 | methods: { |
65 | // 列表渲染接口 | 65 | // 列表渲染接口 |
66 | /** | ||
67 | * @description: 列表渲染接口 | ||
68 | * @author: renchao | ||
69 | */ | ||
66 | queryClick () { | 70 | queryClick () { |
67 | this.$startLoading() | 71 | this.$startLoading() |
68 | getSysPolicyList({ ...this.ruleForm, ...this.pageData }, { 'target': '#flfgLoading' }).then(res => { | 72 | getSysPolicyList({ ...this.ruleForm, ...this.pageData }, { 'target': '#flfgLoading' }).then(res => { |
... | @@ -75,14 +79,28 @@ | ... | @@ -75,14 +79,28 @@ |
75 | }) | 79 | }) |
76 | }, | 80 | }, |
77 | //打开新增弹窗 | 81 | //打开新增弹窗 |
82 | /** | ||
83 | * @description: 打开新增弹窗 | ||
84 | * @author: renchao | ||
85 | */ | ||
78 | openDialog () { | 86 | openDialog () { |
79 | this.isDialog = true; | 87 | this.isDialog = true; |
80 | }, | 88 | }, |
89 | /** | ||
90 | * @description: downloadFile | ||
91 | * @param {*} item | ||
92 | * @author: renchao | ||
93 | */ | ||
81 | downloadFile (item) { | 94 | downloadFile (item) { |
82 | const href = item.noticeFileUrl | 95 | const href = item.noticeFileUrl |
83 | window.open(href, '_blank'); | 96 | window.open(href, '_blank'); |
84 | }, | 97 | }, |
85 | //删除 | 98 | //删除 |
99 | /** | ||
100 | * @description: 删除 | ||
101 | * @param {*} item | ||
102 | * @author: renchao | ||
103 | */ | ||
86 | delNotice (item) { | 104 | delNotice (item) { |
87 | this.$confirm('是否确定删除', '提示', { | 105 | this.$confirm('是否确定删除', '提示', { |
88 | confirmButtonText: '确定', | 106 | confirmButtonText: '确定', | ... | ... |
... | @@ -205,9 +205,18 @@ | ... | @@ -205,9 +205,18 @@ |
205 | } | 205 | } |
206 | }, | 206 | }, |
207 | methods: { | 207 | methods: { |
208 | /** | ||
209 | * @description: handleSelect | ||
210 | * @param {*} index | ||
211 | * @author: renchao | ||
212 | */ | ||
208 | handleSelect (index) { | 213 | handleSelect (index) { |
209 | this.n = index | 214 | this.n = index |
210 | }, | 215 | }, |
216 | /** | ||
217 | * @description: submitForm | ||
218 | * @author: renchao | ||
219 | */ | ||
211 | submitForm () { | 220 | submitForm () { |
212 | let that = this | 221 | let that = this |
213 | updateSysSqywmbsz(this.ruleForm).then(res => { | 222 | updateSysSqywmbsz(this.ruleForm).then(res => { | ... | ... |
... | @@ -65,6 +65,10 @@ | ... | @@ -65,6 +65,10 @@ |
65 | }, | 65 | }, |
66 | methods: { | 66 | methods: { |
67 | // 初始化数据 | 67 | // 初始化数据 |
68 | /** | ||
69 | * @description: 初始化数据 | ||
70 | * @author: renchao | ||
71 | */ | ||
68 | queryClick () { | 72 | queryClick () { |
69 | this.$startLoading(); | 73 | this.$startLoading(); |
70 | sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => { | 74 | sysSqywmbszSearch({ ...this.pageData, ...this.queryForm }).then(res => { |
... | @@ -74,6 +78,11 @@ | ... | @@ -74,6 +78,11 @@ |
74 | this.tableData.total = total ? total : 0 | 78 | this.tableData.total = total ? total : 0 |
75 | }) | 79 | }) |
76 | }, | 80 | }, |
81 | /** | ||
82 | * @description: editClick | ||
83 | * @param {*} row | ||
84 | * @author: renchao | ||
85 | */ | ||
77 | editClick (row) { | 86 | editClick (row) { |
78 | this.$popupDialog("其他及附记模板", "system/qtjfjmb/components/editDialog", row, '60%') | 87 | this.$popupDialog("其他及附记模板", "system/qtjfjmb/components/editDialog", row, '60%') |
79 | } | 88 | } | ... | ... |
... | @@ -181,6 +181,10 @@ | ... | @@ -181,6 +181,10 @@ |
181 | }, | 181 | }, |
182 | }, | 182 | }, |
183 | methods: { | 183 | methods: { |
184 | /** | ||
185 | * @description: handleAdd | ||
186 | * @author: renchao | ||
187 | */ | ||
184 | handleAdd () { | 188 | handleAdd () { |
185 | this.tableData.push( | 189 | this.tableData.push( |
186 | { | 190 | { |
... | @@ -194,11 +198,22 @@ | ... | @@ -194,11 +198,22 @@ |
194 | ) | 198 | ) |
195 | this.key++ | 199 | this.key++ |
196 | }, | 200 | }, |
201 | /** | ||
202 | * @description: handleSelectGgcl | ||
203 | * @param {*} item | ||
204 | * @author: renchao | ||
205 | */ | ||
197 | handleSelectGgcl (item) { | 206 | handleSelectGgcl (item) { |
198 | if (item.sfggcl == '1') { | 207 | if (item.sfggcl == '1') { |
199 | item.djqxbm = '' | 208 | item.djqxbm = '' |
200 | } | 209 | } |
201 | }, | 210 | }, |
211 | /** | ||
212 | * @description: handleMinus | ||
213 | * @param {*} index | ||
214 | * @param {*} row | ||
215 | * @author: renchao | ||
216 | */ | ||
202 | handleMinus (index, row) { | 217 | handleMinus (index, row) { |
203 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { | 218 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { |
204 | confirmButtonText: '确定', | 219 | confirmButtonText: '确定', |
... | @@ -218,9 +233,21 @@ | ... | @@ -218,9 +233,21 @@ |
218 | }); | 233 | }); |
219 | }, | 234 | }, |
220 | // 上移下移 | 235 | // 上移下移 |
236 | /** | ||
237 | * @description: 上移下移 | ||
238 | * @param {*} index | ||
239 | * @param {*} row | ||
240 | * @author: renchao | ||
241 | */ | ||
221 | moveUpward (index, row) { | 242 | moveUpward (index, row) { |
222 | upward(index, this.tableData) | 243 | upward(index, this.tableData) |
223 | }, | 244 | }, |
245 | /** | ||
246 | * @description: moveDown | ||
247 | * @param {*} index | ||
248 | * @param {*} row | ||
249 | * @author: renchao | ||
250 | */ | ||
224 | moveDown (index, row) { | 251 | moveDown (index, row) { |
225 | down(index, this.tableData) | 252 | down(index, this.tableData) |
226 | }, | 253 | }, | ... | ... |
... | @@ -181,6 +181,12 @@ | ... | @@ -181,6 +181,12 @@ |
181 | }, | 181 | }, |
182 | methods: { | 182 | methods: { |
183 | // 添加索引 | 183 | // 添加索引 |
184 | /** | ||
185 | * @description: 添加索引 | ||
186 | * @param {*} data | ||
187 | * @param {*} isAdd | ||
188 | * @author: renchao | ||
189 | */ | ||
184 | addIndexes (data = this.tableData, isAdd = true) { | 190 | addIndexes (data = this.tableData, isAdd = true) { |
185 | data.forEach((item, index) => { | 191 | data.forEach((item, index) => { |
186 | if (isAdd) { | 192 | if (isAdd) { |
... | @@ -188,6 +194,10 @@ | ... | @@ -188,6 +194,10 @@ |
188 | } | 194 | } |
189 | }) | 195 | }) |
190 | }, | 196 | }, |
197 | /** | ||
198 | * @description: handleAdd | ||
199 | * @author: renchao | ||
200 | */ | ||
191 | handleAdd () { | 201 | handleAdd () { |
192 | this.$nextTick(() => { | 202 | this.$nextTick(() => { |
193 | let container = this.$el.querySelector('.el-table__body-wrapper'); | 203 | let container = this.$el.querySelector('.el-table__body-wrapper'); |
... | @@ -205,6 +215,12 @@ | ... | @@ -205,6 +215,12 @@ |
205 | this.addIndexes() | 215 | this.addIndexes() |
206 | this.key++ | 216 | this.key++ |
207 | }, | 217 | }, |
218 | /** | ||
219 | * @description: handleMinus | ||
220 | * @param {*} index | ||
221 | * @param {*} row | ||
222 | * @author: renchao | ||
223 | */ | ||
208 | handleMinus (index, row) { | 224 | handleMinus (index, row) { |
209 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { | 225 | this.$confirm('此操作将永久删除, 是否继续?', '提示', { |
210 | confirmButtonText: '确定', | 226 | confirmButtonText: '确定', |
... | @@ -223,6 +239,12 @@ | ... | @@ -223,6 +239,12 @@ |
223 | }); | 239 | }); |
224 | }); | 240 | }); |
225 | }, | 241 | }, |
242 | /** | ||
243 | * @description: nodecodeBlur | ||
244 | * @param {*} index | ||
245 | * @param {*} row | ||
246 | * @author: renchao | ||
247 | */ | ||
226 | nodecodeBlur (index, row) { | 248 | nodecodeBlur (index, row) { |
227 | let list = _.cloneDeep(this.tableData).filter(item => item.bsmSqyw != row.bsmSqyw) | 249 | let list = _.cloneDeep(this.tableData).filter(item => item.bsmSqyw != row.bsmSqyw) |
228 | let arr = list.map(item => item.nodecode) | 250 | let arr = list.map(item => item.nodecode) |
... | @@ -234,10 +256,22 @@ | ... | @@ -234,10 +256,22 @@ |
234 | } | 256 | } |
235 | }, | 257 | }, |
236 | // 上移下移 | 258 | // 上移下移 |
259 | /** | ||
260 | * @description: 上移下移 | ||
261 | * @param {*} index | ||
262 | * @param {*} row | ||
263 | * @author: renchao | ||
264 | */ | ||
237 | moveUpward (index, row) { | 265 | moveUpward (index, row) { |
238 | upward(index, this.tableData) | 266 | upward(index, this.tableData) |
239 | this.key++ | 267 | this.key++ |
240 | }, | 268 | }, |
269 | /** | ||
270 | * @description: moveDown | ||
271 | * @param {*} index | ||
272 | * @param {*} row | ||
273 | * @author: renchao | ||
274 | */ | ||
241 | moveDown (index, row) { | 275 | moveDown (index, row) { |
242 | down(index, this.tableData) | 276 | down(index, this.tableData) |
243 | this.key++ | 277 | this.key++ | ... | ... |
... | @@ -89,16 +89,29 @@ | ... | @@ -89,16 +89,29 @@ |
89 | }, | 89 | }, |
90 | }, | 90 | }, |
91 | methods: { | 91 | methods: { |
92 | /** | ||
93 | * @description: handleSelect | ||
94 | * @param {*} item | ||
95 | * @author: renchao | ||
96 | */ | ||
92 | handleSelect (item) { | 97 | handleSelect (item) { |
93 | if (item.checked) { | 98 | if (item.checked) { |
94 | item.selected = '0' | 99 | item.selected = '0' |
95 | } | 100 | } |
96 | }, | 101 | }, |
102 | /** | ||
103 | * @description: handleSelectall | ||
104 | * @author: renchao | ||
105 | */ | ||
97 | handleSelectall () { | 106 | handleSelectall () { |
98 | this.dataList.sxql.forEach(item => { | 107 | this.dataList.sxql.forEach(item => { |
99 | item.checked = true | 108 | item.checked = true |
100 | }) | 109 | }) |
101 | }, | 110 | }, |
111 | /** | ||
112 | * @description: handleInvert | ||
113 | * @author: renchao | ||
114 | */ | ||
102 | handleInvert () { | 115 | handleInvert () { |
103 | this.dataList.sxql.forEach(item => { | 116 | this.dataList.sxql.forEach(item => { |
104 | item.checked = false | 117 | item.checked = false | ... | ... |
... | @@ -232,6 +232,11 @@ | ... | @@ -232,6 +232,11 @@ |
232 | }; | 232 | }; |
233 | }, | 233 | }, |
234 | methods: { | 234 | methods: { |
235 | /** | ||
236 | * @description: getSqdjywDetail | ||
237 | * @param {*} bsmSqyw | ||
238 | * @author: renchao | ||
239 | */ | ||
235 | getSqdjywDetail (bsmSqyw) { | 240 | getSqdjywDetail (bsmSqyw) { |
236 | getSqdjywDetail(bsmSqyw).then(res => { | 241 | getSqdjywDetail(bsmSqyw).then(res => { |
237 | this.subData = res.result | 242 | this.subData = res.result |
... | @@ -239,23 +244,44 @@ | ... | @@ -239,23 +244,44 @@ |
239 | this.ruleForm = ywDetail | 244 | this.ruleForm = ywDetail |
240 | }) | 245 | }) |
241 | }, | 246 | }, |
247 | /** | ||
248 | * @description: handleTitleSelct | ||
249 | * @param {*} obj | ||
250 | * @param {*} index | ||
251 | * @author: renchao | ||
252 | */ | ||
242 | handleTitleSelct (obj, index) { | 253 | handleTitleSelct (obj, index) { |
243 | this.n = 0 | 254 | this.n = 0 |
244 | this.tn = index | 255 | this.tn = index |
245 | this.getSqdjywDetail(obj.bsmSqyw) | 256 | this.getSqdjywDetail(obj.bsmSqyw) |
246 | }, | 257 | }, |
258 | /** | ||
259 | * @description: getDjqxValue | ||
260 | * @param {*} val | ||
261 | * @author: renchao | ||
262 | */ | ||
247 | getDjqxValue (val) { | 263 | getDjqxValue (val) { |
248 | if (!_.isEqual(val.djqx, this.subData.djqx)) { | 264 | if (!_.isEqual(val.djqx, this.subData.djqx)) { |
249 | this.subData.djqx = val.djqx | 265 | this.subData.djqx = val.djqx |
250 | this.btnDisabled = val.btnDisabled | 266 | this.btnDisabled = val.btnDisabled |
251 | } | 267 | } |
252 | }, | 268 | }, |
269 | /** | ||
270 | * @description: getClgzValue | ||
271 | * @param {*} val | ||
272 | * @author: renchao | ||
273 | */ | ||
253 | getClgzValue (val) { | 274 | getClgzValue (val) { |
254 | if (!_.isEqual(val, this.subData.clxx)) { | 275 | if (!_.isEqual(val, this.subData.clxx)) { |
255 | this.subData.clxx = val | 276 | this.subData.clxx = val |
256 | } | 277 | } |
257 | }, | 278 | }, |
258 | // 单元状态设定 | 279 | // 单元状态设定 |
280 | /** | ||
281 | * @description: 单元状态设定 | ||
282 | * @param {*} val | ||
283 | * @author: renchao | ||
284 | */ | ||
259 | getDyztsdValue (val) { | 285 | getDyztsdValue (val) { |
260 | if (!_.isEqual(val.sxql, this.subData.sxql)) { | 286 | if (!_.isEqual(val.sxql, this.subData.sxql)) { |
261 | this.subData.sxql = val.sxql | 287 | this.subData.sxql = val.sxql |
... | @@ -264,6 +290,10 @@ | ... | @@ -264,6 +290,10 @@ |
264 | this.subData.sxzt = val.sxzt | 290 | this.subData.sxzt = val.sxzt |
265 | } | 291 | } |
266 | }, | 292 | }, |
293 | /** | ||
294 | * @description: submitForm | ||
295 | * @author: renchao | ||
296 | */ | ||
267 | submitForm () { | 297 | submitForm () { |
268 | this.$refs['ruleForm'].validate(async (valid) => { | 298 | this.$refs['ruleForm'].validate(async (valid) => { |
269 | let that = this | 299 | let that = this |
... | @@ -284,12 +314,26 @@ | ... | @@ -284,12 +314,26 @@ |
284 | } | 314 | } |
285 | }) | 315 | }) |
286 | }, | 316 | }, |
317 | /** | ||
318 | * @description: closeDialog | ||
319 | * @author: renchao | ||
320 | */ | ||
287 | closeDialog () { | 321 | closeDialog () { |
288 | this.$emit('input', false) | 322 | this.$emit('input', false) |
289 | }, | 323 | }, |
324 | /** | ||
325 | * @description: hanldeItem | ||
326 | * @param {*} index | ||
327 | * @author: renchao | ||
328 | */ | ||
290 | hanldeItem (index) { | 329 | hanldeItem (index) { |
291 | this.n = index | 330 | this.n = index |
292 | }, | 331 | }, |
332 | /** | ||
333 | * @description: uploadRecord | ||
334 | * @param {*} file | ||
335 | * @author: renchao | ||
336 | */ | ||
293 | uploadRecord (file) { | 337 | uploadRecord (file) { |
294 | this.requested = true | 338 | this.requested = true |
295 | this.files = file; | 339 | this.files = file; |
... | @@ -306,6 +350,11 @@ | ... | @@ -306,6 +350,11 @@ |
306 | } | 350 | } |
307 | return (extension || extension2) && isLt5M | 351 | return (extension || extension2) && isLt5M |
308 | }, | 352 | }, |
353 | /** | ||
354 | * @description: handleSuccess | ||
355 | * @param {*} res | ||
356 | * @author: renchao | ||
357 | */ | ||
309 | handleSuccess (res) { | 358 | handleSuccess (res) { |
310 | if (res.code === 200) { | 359 | if (res.code === 200) { |
311 | this.requested = false | 360 | this.requested = false | ... | ... |
... | @@ -177,6 +177,10 @@ | ... | @@ -177,6 +177,10 @@ |
177 | }, | 177 | }, |
178 | methods: { | 178 | methods: { |
179 | //页面初始化 | 179 | //页面初始化 |
180 | /** | ||
181 | * @description: 页面初始化 | ||
182 | * @author: renchao | ||
183 | */ | ||
180 | init () { | 184 | init () { |
181 | this.tn = 0; | 185 | this.tn = 0; |
182 | getDjlxInfo(this.formData.bsmSqyw).then((res) => { | 186 | getDjlxInfo(this.formData.bsmSqyw).then((res) => { |
... | @@ -189,9 +193,18 @@ | ... | @@ -189,9 +193,18 @@ |
189 | } | 193 | } |
190 | }) | 194 | }) |
191 | }, | 195 | }, |
196 | /** | ||
197 | * @description: orderNoChange | ||
198 | * @author: renchao | ||
199 | */ | ||
192 | orderNoChange () { | 200 | orderNoChange () { |
193 | this.$forceUpdate(); | 201 | this.$forceUpdate(); |
194 | }, | 202 | }, |
203 | /** | ||
204 | * @description: uploadRecord | ||
205 | * @param {*} file | ||
206 | * @author: renchao | ||
207 | */ | ||
195 | uploadRecord (file) { | 208 | uploadRecord (file) { |
196 | this.requested = true | 209 | this.requested = true |
197 | this.files = file; | 210 | this.files = file; |
... | @@ -208,14 +221,29 @@ | ... | @@ -208,14 +221,29 @@ |
208 | } | 221 | } |
209 | return (extension || extension2) && isLt5M | 222 | return (extension || extension2) && isLt5M |
210 | }, | 223 | }, |
224 | /** | ||
225 | * @description: handleSuccess | ||
226 | * @author: renchao | ||
227 | */ | ||
211 | handleSuccess () { }, | 228 | handleSuccess () { }, |
212 | //tab选项卡事件 | 229 | //tab选项卡事件 |
230 | /** | ||
231 | * @description: tab选项卡事件 | ||
232 | * @param {*} obj | ||
233 | * @param {*} index | ||
234 | * @author: renchao | ||
235 | */ | ||
213 | handleTitleSelct (obj, index) { | 236 | handleTitleSelct (obj, index) { |
214 | this.n = 0; | 237 | this.n = 0; |
215 | this.tn = index; | 238 | this.tn = index; |
216 | this.getDetail(this.djlxList[index].bsmSqyw); | 239 | this.getDetail(this.djlxList[index].bsmSqyw); |
217 | }, | 240 | }, |
218 | //获取业务具体明细内容 | 241 | //获取业务具体明细内容 |
242 | /** | ||
243 | * @description: 获取业务具体明细内容 | ||
244 | * @param {*} bsmSqyw | ||
245 | * @author: renchao | ||
246 | */ | ||
219 | getDetail (bsmSqyw) { | 247 | getDetail (bsmSqyw) { |
220 | let _this = this | 248 | let _this = this |
221 | getSqdjywDetail(bsmSqyw).then((res) => { | 249 | getSqdjywDetail(bsmSqyw).then((res) => { |
... | @@ -233,6 +261,10 @@ | ... | @@ -233,6 +261,10 @@ |
233 | }) | 261 | }) |
234 | }, | 262 | }, |
235 | //提交保存数据 | 263 | //提交保存数据 |
264 | /** | ||
265 | * @description: 提交保存数据 | ||
266 | * @author: renchao | ||
267 | */ | ||
236 | submit () { | 268 | submit () { |
237 | let that = this; | 269 | let that = this; |
238 | saveSqdjyw(this.form).then((res) => { | 270 | saveSqdjyw(this.form).then((res) => { |
... | @@ -246,6 +278,13 @@ | ... | @@ -246,6 +278,13 @@ |
246 | }) | 278 | }) |
247 | }, | 279 | }, |
248 | // 上移下移 | 280 | // 上移下移 |
281 | /** | ||
282 | * @description: 上移下移 | ||
283 | * @param {*} index | ||
284 | * @param {*} row | ||
285 | * @param {*} type | ||
286 | * @author: renchao | ||
287 | */ | ||
249 | moveUpward (index, row, type) { | 288 | moveUpward (index, row, type) { |
250 | if (type == "clxx") { | 289 | if (type == "clxx") { |
251 | upward(index, this.form.clxx); | 290 | upward(index, this.form.clxx); |
... | @@ -253,6 +292,13 @@ | ... | @@ -253,6 +292,13 @@ |
253 | upward(index, this.form.djqx); | 292 | upward(index, this.form.djqx); |
254 | } | 293 | } |
255 | }, | 294 | }, |
295 | /** | ||
296 | * @description: moveDown | ||
297 | * @param {*} index | ||
298 | * @param {*} row | ||
299 | * @param {*} type | ||
300 | * @author: renchao | ||
301 | */ | ||
256 | moveDown (index, row, type) { | 302 | moveDown (index, row, type) { |
257 | if (type == "clxx") { | 303 | if (type == "clxx") { |
258 | down(index, this.form.clxx); | 304 | down(index, this.form.clxx); |
... | @@ -260,6 +306,10 @@ | ... | @@ -260,6 +306,10 @@ |
260 | down(index, this.form.djqx); | 306 | down(index, this.form.djqx); |
261 | } | 307 | } |
262 | }, | 308 | }, |
309 | /** | ||
310 | * @description: addDjqx | ||
311 | * @author: renchao | ||
312 | */ | ||
263 | addDjqx () { | 313 | addDjqx () { |
264 | this.form.djqx.push({ | 314 | this.form.djqx.push({ |
265 | nodecode: "", | 315 | nodecode: "", |
... | @@ -269,9 +319,19 @@ | ... | @@ -269,9 +319,19 @@ |
269 | sfqydjyymb: "0", | 319 | sfqydjyymb: "0", |
270 | }); | 320 | }); |
271 | }, | 321 | }, |
322 | /** | ||
323 | * @description: removeDjqx | ||
324 | * @param {*} index | ||
325 | * @param {*} row | ||
326 | * @author: renchao | ||
327 | */ | ||
272 | removeDjqx (index, row) { | 328 | removeDjqx (index, row) { |
273 | this.form.djqx.splice(index, 1); | 329 | this.form.djqx.splice(index, 1); |
274 | }, | 330 | }, |
331 | /** | ||
332 | * @description: addClxx | ||
333 | * @author: renchao | ||
334 | */ | ||
275 | addClxx () { | 335 | addClxx () { |
276 | this.form.clxx.push({ | 336 | this.form.clxx.push({ |
277 | isrequired: "1", | 337 | isrequired: "1", |
... | @@ -282,6 +342,12 @@ | ... | @@ -282,6 +342,12 @@ |
282 | sfggcl: "1", | 342 | sfggcl: "1", |
283 | }); | 343 | }); |
284 | }, | 344 | }, |
345 | /** | ||
346 | * @description: removeClxx | ||
347 | * @param {*} index | ||
348 | * @param {*} row | ||
349 | * @author: renchao | ||
350 | */ | ||
285 | removeClxx (index, row) { | 351 | removeClxx (index, row) { |
286 | this.form.clxx.splice(index, 1); | 352 | this.form.clxx.splice(index, 1); |
287 | } | 353 | } | ... | ... |
... | @@ -78,6 +78,10 @@ | ... | @@ -78,6 +78,10 @@ |
78 | }, | 78 | }, |
79 | methods: { | 79 | methods: { |
80 | // 初始化数据 | 80 | // 初始化数据 |
81 | /** | ||
82 | * @description: 初始化数据 | ||
83 | * @author: renchao | ||
84 | */ | ||
81 | queryClick () { | 85 | queryClick () { |
82 | this.$startLoading(); | 86 | this.$startLoading(); |
83 | getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then( | 87 | getSysSqdjywBysearch({ ...this.queryForm, ...this.pageData }).then( |
... | @@ -92,6 +96,11 @@ | ... | @@ -92,6 +96,11 @@ |
92 | ); | 96 | ); |
93 | }, | 97 | }, |
94 | // 修改 | 98 | // 修改 |
99 | /** | ||
100 | * @description: 修改 | ||
101 | * @param {*} row | ||
102 | * @author: renchao | ||
103 | */ | ||
95 | editClick (row) { | 104 | editClick (row) { |
96 | this.sqqlRule = row; | 105 | this.sqqlRule = row; |
97 | // this.dialogVisible = true; | 106 | // this.dialogVisible = true; | ... | ... |
... | @@ -156,6 +156,10 @@ export default { | ... | @@ -156,6 +156,10 @@ export default { |
156 | } | 156 | } |
157 | }, | 157 | }, |
158 | methods: { | 158 | methods: { |
159 | /** | ||
160 | * @description: submitForm | ||
161 | * @author: renchao | ||
162 | */ | ||
159 | submitForm () { | 163 | submitForm () { |
160 | let that = this; | 164 | let that = this; |
161 | that.$refs.ruleForm.validate(valid => { | 165 | that.$refs.ruleForm.validate(valid => { |
... | @@ -171,11 +175,19 @@ export default { | ... | @@ -171,11 +175,19 @@ export default { |
171 | }); | 175 | }); |
172 | }, | 176 | }, |
173 | //关闭窗口 | 177 | //关闭窗口 |
178 | /** | ||
179 | * @description: 关闭窗口 | ||
180 | * @author: renchao | ||
181 | */ | ||
174 | closeDialog () { | 182 | closeDialog () { |
175 | this.$popupCacel() | 183 | this.$popupCacel() |
176 | this.resetRuleForm(); | 184 | this.resetRuleForm(); |
177 | }, | 185 | }, |
178 | //新增通知 | 186 | //新增通知 |
187 | /** | ||
188 | * @description: 新增通知 | ||
189 | * @author: renchao | ||
190 | */ | ||
179 | addNotice () { | 191 | addNotice () { |
180 | // 解决报错 | 192 | // 解决报错 |
181 | // this.ruleForm.noticeType = "1" | 193 | // this.ruleForm.noticeType = "1" |
... | @@ -191,6 +203,10 @@ export default { | ... | @@ -191,6 +203,10 @@ export default { |
191 | }); | 203 | }); |
192 | }, | 204 | }, |
193 | //编辑通知 | 205 | //编辑通知 |
206 | /** | ||
207 | * @description: 编辑通知 | ||
208 | * @author: renchao | ||
209 | */ | ||
194 | editNotice () { | 210 | editNotice () { |
195 | updateSysNotice(this.ruleForm).then(res => { | 211 | updateSysNotice(this.ruleForm).then(res => { |
196 | if (res.code == 200) { | 212 | if (res.code == 200) { |
... | @@ -204,6 +220,10 @@ export default { | ... | @@ -204,6 +220,10 @@ export default { |
204 | }); | 220 | }); |
205 | }, | 221 | }, |
206 | //重置表单 | 222 | //重置表单 |
223 | /** | ||
224 | * @description: 重置表单 | ||
225 | * @author: renchao | ||
226 | */ | ||
207 | resetRuleForm () { | 227 | resetRuleForm () { |
208 | this.ruleForm = { | 228 | this.ruleForm = { |
209 | noticeTitle: "", | 229 | noticeTitle: "", |
... | @@ -214,10 +234,20 @@ export default { | ... | @@ -214,10 +234,20 @@ export default { |
214 | noticeType: "1" | 234 | noticeType: "1" |
215 | } | 235 | } |
216 | }, | 236 | }, |
237 | /** | ||
238 | * @description: beforeUpload | ||
239 | * @param {*} file | ||
240 | * @author: renchao | ||
241 | */ | ||
217 | beforeUpload (file) { | 242 | beforeUpload (file) { |
218 | return true; | 243 | return true; |
219 | }, | 244 | }, |
220 | //附件上传事件 | 245 | //附件上传事件 |
246 | /** | ||
247 | * @description: 附件上传事件 | ||
248 | * @param {*} file | ||
249 | * @author: renchao | ||
250 | */ | ||
221 | async handleChange (file) { | 251 | async handleChange (file) { |
222 | var formdata = new FormData(); | 252 | var formdata = new FormData(); |
223 | formdata.append("file", file.raw); | 253 | formdata.append("file", file.raw); |
... | @@ -226,16 +256,36 @@ export default { | ... | @@ -226,16 +256,36 @@ export default { |
226 | }); | 256 | }); |
227 | }, | 257 | }, |
228 | //富文本图片上传事件 | 258 | //富文本图片上传事件 |
259 | /** | ||
260 | * @description: 富文本图片上传事件 | ||
261 | * @param {*} file | ||
262 | * @author: renchao | ||
263 | */ | ||
229 | RichTexthandleChange (file) { | 264 | RichTexthandleChange (file) { |
230 | this.uploadPicture(file.raw) | 265 | this.uploadPicture(file.raw) |
231 | }, | 266 | }, |
232 | //图片粘贴事件 | 267 | //图片粘贴事件 |
268 | /** | ||
269 | * @description: 图片粘贴事件 | ||
270 | * @param {*} file | ||
271 | * @author: renchao | ||
272 | */ | ||
233 | clipboardPictureChange (file) { | 273 | clipboardPictureChange (file) { |
234 | this.uploadPicture(file) | 274 | this.uploadPicture(file) |
235 | }, | 275 | }, |
276 | /** | ||
277 | * @description: getDetailInfo | ||
278 | * @param {*} item | ||
279 | * @author: renchao | ||
280 | */ | ||
236 | getDetailInfo (item) { | 281 | getDetailInfo (item) { |
237 | this.ruleForm = item | 282 | this.ruleForm = item |
238 | }, | 283 | }, |
284 | /** | ||
285 | * @description: uploadPicture | ||
286 | * @param {*} file | ||
287 | * @author: renchao | ||
288 | */ | ||
239 | uploadPicture (file) { | 289 | uploadPicture (file) { |
240 | let that = this; | 290 | let that = this; |
241 | var formdata = new FormData(); | 291 | var formdata = new FormData(); |
... | @@ -252,22 +302,48 @@ export default { | ... | @@ -252,22 +302,48 @@ export default { |
252 | quill.setSelection(length + 1); | 302 | quill.setSelection(length + 1); |
253 | }); | 303 | }); |
254 | }, | 304 | }, |
305 | /** | ||
306 | * @description: onSubmit | ||
307 | * @author: renchao | ||
308 | */ | ||
255 | onSubmit () { | 309 | onSubmit () { |
256 | //console.log("submit!"); | 310 | //console.log("submit!"); |
257 | }, | 311 | }, |
258 | // 失去焦点事件 | 312 | // 失去焦点事件 |
313 | /** | ||
314 | * @description: 失去焦点事件 | ||
315 | * @param {*} quill | ||
316 | * @author: renchao | ||
317 | */ | ||
259 | onEditorBlur (quill) { | 318 | onEditorBlur (quill) { |
260 | //console.log("editor blur!", quill); | 319 | //console.log("editor blur!", quill); |
261 | }, | 320 | }, |
262 | // 获得焦点事件 | 321 | // 获得焦点事件 |
322 | /** | ||
323 | * @description: 获得焦点事件 | ||
324 | * @param {*} quill | ||
325 | * @author: renchao | ||
326 | */ | ||
263 | onEditorFocus (quill) { | 327 | onEditorFocus (quill) { |
264 | //console.log("editor focus!", quill); | 328 | //console.log("editor focus!", quill); |
265 | }, | 329 | }, |
266 | // 准备富文本编辑器 | 330 | // 准备富文本编辑器 |
331 | /** | ||
332 | * @description: 准备富文本编辑器 | ||
333 | * @param {*} quill | ||
334 | * @author: renchao | ||
335 | */ | ||
267 | onEditorReady (quill) { | 336 | onEditorReady (quill) { |
268 | //console.log("editor ready!", quill); | 337 | //console.log("editor ready!", quill); |
269 | }, | 338 | }, |
270 | // 内容改变事件 | 339 | // 内容改变事件 |
340 | /** | ||
341 | * @description: 内容改变事件 | ||
342 | * @param {*} quill | ||
343 | * @param {*} html | ||
344 | * @param {*} text | ||
345 | * @author: renchao | ||
346 | */ | ||
271 | onEditorChange ({ quill, html, text }) { | 347 | onEditorChange ({ quill, html, text }) { |
272 | //console.log("editor change!", quill, html, text); | 348 | //console.log("editor change!", quill, html, text); |
273 | //this.content = html; | 349 | //this.content = html; | ... | ... |
... | @@ -72,6 +72,10 @@ export default { | ... | @@ -72,6 +72,10 @@ export default { |
72 | }, | 72 | }, |
73 | methods: { | 73 | methods: { |
74 | // 列表渲染接口 | 74 | // 列表渲染接口 |
75 | /** | ||
76 | * @description: 列表渲染接口 | ||
77 | * @author: renchao | ||
78 | */ | ||
75 | queryClick () { | 79 | queryClick () { |
76 | this.$startLoading() | 80 | this.$startLoading() |
77 | getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => { | 81 | getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => { |
... | @@ -84,6 +88,11 @@ export default { | ... | @@ -84,6 +88,11 @@ export default { |
84 | }) | 88 | }) |
85 | }, | 89 | }, |
86 | //打开新增弹窗 | 90 | //打开新增弹窗 |
91 | /** | ||
92 | * @description: 打开新增弹窗 | ||
93 | * @param {*} item | ||
94 | * @author: renchao | ||
95 | */ | ||
87 | openDialog (item) { | 96 | openDialog (item) { |
88 | if (item) { | 97 | if (item) { |
89 | this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": false }, "50%") | 98 | this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": false }, "50%") | ... | ... |
... | @@ -60,6 +60,10 @@ export default { | ... | @@ -60,6 +60,10 @@ export default { |
60 | }, | 60 | }, |
61 | methods: { | 61 | methods: { |
62 | // 列表渲染接口 | 62 | // 列表渲染接口 |
63 | /** | ||
64 | * @description: 列表渲染接口 | ||
65 | * @author: renchao | ||
66 | */ | ||
63 | queryClick () { | 67 | queryClick () { |
64 | this.$startLoading() | 68 | this.$startLoading() |
65 | getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => { | 69 | getSysNoticeList({ ...this.ruleForm, ...this.pageData }, { 'target': '#xttzLoading' }).then(res => { |
... | @@ -72,6 +76,11 @@ export default { | ... | @@ -72,6 +76,11 @@ export default { |
72 | }) | 76 | }) |
73 | }, | 77 | }, |
74 | //打开新增弹窗 | 78 | //打开新增弹窗 |
79 | /** | ||
80 | * @description: 打开新增弹窗 | ||
81 | * @param {*} item | ||
82 | * @author: renchao | ||
83 | */ | ||
75 | openDialog (item) { | 84 | openDialog (item) { |
76 | this.$nextTick(() => { | 85 | this.$nextTick(() => { |
77 | this.isButtonFlag = false; | 86 | this.isButtonFlag = false; |
... | @@ -91,6 +100,10 @@ export default { | ... | @@ -91,6 +100,10 @@ export default { |
91 | } | 100 | } |
92 | }, | 101 | }, |
93 | //一键已读 | 102 | //一键已读 |
103 | /** | ||
104 | * @description: 一键已读 | ||
105 | * @author: renchao | ||
106 | */ | ||
94 | toReadAll () { | 107 | toReadAll () { |
95 | setAllRead().then(res => { | 108 | setAllRead().then(res => { |
96 | if (res.code == 200) { | 109 | if (res.code == 200) { |
... | @@ -101,6 +114,11 @@ export default { | ... | @@ -101,6 +114,11 @@ export default { |
101 | } | 114 | } |
102 | }) | 115 | }) |
103 | }, | 116 | }, |
117 | /** | ||
118 | * @description: downloadFile | ||
119 | * @param {*} item | ||
120 | * @author: renchao | ||
121 | */ | ||
104 | downloadFile (item) { | 122 | downloadFile (item) { |
105 | const href = item.noticeFileUrl | 123 | const href = item.noticeFileUrl |
106 | window.open(href, '_blank'); | 124 | window.open(href, '_blank'); | ... | ... |
... | @@ -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 | } | ... | ... |
... | @@ -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) { | ... | ... |
... | @@ -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 | ... | ... |
... | @@ -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) { | ... | ... |
... | @@ -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; | ... | ... |
... | @@ -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 => { | ... | ... |
... | @@ -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,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); |
... | @@ -103,6 +107,10 @@ | ... | @@ -103,6 +107,10 @@ |
103 | }) | 107 | }) |
104 | }, | 108 | }, |
105 | //批量按钮判断 | 109 | //批量按钮判断 |
110 | /** | ||
111 | * @description: 批量按钮判断 | ||
112 | * @author: renchao | ||
113 | */ | ||
106 | judgeBatchShow () { | 114 | judgeBatchShow () { |
107 | this.showBatch = false; | 115 | this.showBatch = false; |
108 | if (this.unitData.length > 1) { | 116 | if (this.unitData.length > 1) { |
... | @@ -164,14 +172,22 @@ | ... | @@ -164,14 +172,22 @@ |
164 | }); | 172 | }); |
165 | }, | 173 | }, |
166 | //批量按钮点击事件 | 174 | //批量按钮点击事件 |
175 | /** | ||
176 | * @description: 批量按钮点击事件 | ||
177 | * @author: renchao | ||
178 | */ | ||
167 | batchUnitClick () { | 179 | batchUnitClick () { |
168 | debugger | 180 | debugger |
169 | this.currentSelectProps.batchOperation = true; | 181 | this.currentSelectProps.batchOperation = true; |
170 | this.activeIndex = "-1"; | 182 | // this.activeIndex = "-1"; |
171 | this.$parent.stepForm(); | 183 | this.$parent.stepForm(0); |
172 | 184 | ||
173 | }, | 185 | }, |
174 | //批量操作 | 186 | //批量操作 |
187 | /** | ||
188 | * @description: 批量操作 | ||
189 | * @author: renchao | ||
190 | */ | ||
175 | handleBatchDel () { | 191 | handleBatchDel () { |
176 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 192 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
177 | bsmSlsq: this.bsmSlsq, | 193 | bsmSlsq: this.bsmSlsq, |
... | @@ -179,7 +195,13 @@ | ... | @@ -179,7 +195,13 @@ |
179 | }, '50%', true) | 195 | }, '50%', true) |
180 | }, | 196 | }, |
181 | //申请单元点击事件 | 197 | //申请单元点击事件 |
198 | /** | ||
199 | * @description: 申请单元点击事件 | ||
200 | * @param {*} index | ||
201 | * @author: renchao | ||
202 | */ | ||
182 | unitClick (index) { | 203 | unitClick (index) { |
204 | if(this.unitData.length==0) return | ||
183 | this.currentSelectProps = this.unitData[index]; | 205 | this.currentSelectProps = this.unitData[index]; |
184 | this.currentSelectProps.batchOperation = false; | 206 | this.currentSelectProps.batchOperation = false; |
185 | this.activeIndex = index.toString(); | 207 | 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) { |
... | @@ -169,13 +177,24 @@ | ... | @@ -169,13 +177,24 @@ |
169 | }); | 177 | }); |
170 | }); | 178 | }); |
171 | }, | 179 | }, |
180 | |||
172 | //批量按钮点击事件 | 181 | //批量按钮点击事件 |
182 | /** | ||
183 | * @description: 批量按钮点击事件 | ||
184 | * @author: renchao | ||
185 | */ | ||
173 | batchUnitClick () { | 186 | batchUnitClick () { |
174 | this.currentSelectProps.batchOperation = true; | 187 | this.currentSelectProps.batchOperation = true; |
175 | this.activeIndex = "-1"; | 188 | // this.activeIndex = "-1"; |
176 | this.$parent.stepForm(); | 189 | this.$parent.stepForm(0); |
190 | |||
177 | }, | 191 | }, |
178 | //申请单元点击事件 | 192 | //申请单元点击事件 |
193 | /** | ||
194 | * @description: 申请单元点击事件 | ||
195 | * @param {*} index | ||
196 | * @author: renchao | ||
197 | */ | ||
179 | unitClick (index) { | 198 | unitClick (index) { |
180 | this.activeHIndex = '-1' | 199 | this.activeHIndex = '-1' |
181 | this.currentSelectProps = this.aroundUnitData[index]; | 200 | this.currentSelectProps = this.aroundUnitData[index]; |
... | @@ -186,6 +205,11 @@ | ... | @@ -186,6 +205,11 @@ |
186 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | 205 | this.$emit('getCurrentSelectProps', this.currentSelectProps); |
187 | this.$parent.stepForm(index); | 206 | this.$parent.stepForm(index); |
188 | }, | 207 | }, |
208 | /** | ||
209 | * @description: handleAfterunitClick | ||
210 | * @param {*} index | ||
211 | * @author: renchao | ||
212 | */ | ||
189 | handleAfterunitClick (index) { | 213 | handleAfterunitClick (index) { |
190 | this.activeIndex = '-1' | 214 | this.activeIndex = '-1' |
191 | 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 | } | ... | ... |
... | @@ -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,11 +68,17 @@ | ... | @@ -68,11 +68,17 @@ |
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 | this.selectItem.outstepopinion = this.outstepopinion; | 76 | console.log(this.formData.bsmSlsq); |
77 | console.log(this.selectItem); | ||
73 | sendBackTask({ | 78 | sendBackTask({ |
74 | bsmSlsq: this.formData.bsmSlsq, | 79 | bsmSlsq: this.formData.bsmSlsq, |
75 | backNodeList: [this.selectItem], | 80 | backNodeList: [this.selectItem], |
81 | message:this.outstepopinion | ||
76 | }).then((res) => { | 82 | }).then((res) => { |
77 | this.$message.success("退回成功"); | 83 | this.$message.success("退回成功"); |
78 | setTimeout(() => { | 84 | setTimeout(() => { |
... | @@ -87,11 +93,20 @@ | ... | @@ -87,11 +93,20 @@ |
87 | }, 1000); | 93 | }, 1000); |
88 | }); | 94 | }); |
89 | }, | 95 | }, |
96 | /** | ||
97 | * @description: changeSelectItem | ||
98 | * @param {*} item | ||
99 | * @author: renchao | ||
100 | */ | ||
90 | changeSelectItem (item) { | 101 | changeSelectItem (item) { |
91 | this.selectItem = item; | 102 | this.selectItem = item; |
92 | this.selectActivity = item.activityId; | 103 | this.selectActivity = item.activityId; |
93 | }, | 104 | }, |
94 | //获取可回退环节信息 | 105 | //获取可回退环节信息 |
106 | /** | ||
107 | * @description: 获取可回退环节信息 | ||
108 | * @author: renchao | ||
109 | */ | ||
95 | getBackNode () { | 110 | getBackNode () { |
96 | getTaskBackNode(this.formData).then((res) => { | 111 | getTaskBackNode(this.formData).then((res) => { |
97 | if (res.code == 200) { | 112 | if (res.code == 200) { |
... | @@ -104,6 +119,10 @@ | ... | @@ -104,6 +119,10 @@ |
104 | }); | 119 | }); |
105 | }, | 120 | }, |
106 | 121 | ||
122 | /** | ||
123 | * @description: cancelBack | ||
124 | * @author: renchao | ||
125 | */ | ||
107 | cancelBack () { | 126 | cancelBack () { |
108 | popupCacel(); | 127 | popupCacel(); |
109 | } | 128 | } | ... | ... |
... | @@ -4,70 +4,109 @@ | ... | @@ -4,70 +4,109 @@ |
4 | * @LastEditTime: 2023-05-17 10:42:01 | 4 | * @LastEditTime: 2023-05-17 10:42:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox title="转出" @submitForm="submitForm" saveButton="确认转出" width="45%" height='30%' @closeDialog="closeDialog" | ||
8 | v-model="value"> | ||
9 | <div class="from-clues"> | 7 | <div class="from-clues"> |
10 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
11 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
12 | <el-form :model="queryForm" ref="queryForm" label-width="120px"> | 10 | <el-form ref="queryForm" label-width="180px" v-if="this.formData.obj"> |
13 | <el-form-item label="下一环节名称:"> | 11 | <el-form-item label="下一环节名称:"> |
14 | {{this.tableData.taskName}} | 12 | {{ this.formData.obj.taskName }} |
15 | </el-form-item> | 13 | </el-form-item> |
16 | <el-form-item label="下一环节办理人:"> | 14 | <el-form-item label="下一环节办理人:"> |
17 | {{this.usernames}} | 15 | {{ this.formData.obj.usernames.join(",") }} |
16 | </el-form-item> | ||
17 | </el-form> | ||
18 | <el-form ref="queryForm" label-width="180px" v-else> | ||
19 | <el-form-item label=""> | ||
20 | 此环节为流程最后环节,转出后流程将结束 | ||
18 | </el-form-item> | 21 | </el-form-item> |
19 | |||
20 | </el-form> | 22 | </el-form> |
23 | <div class="invalid-reson">转出原因:</div> | ||
24 | <el-input | ||
25 | v-model="shyj" | ||
26 | placeholder="请输入转出原因" | ||
27 | type="textarea" | ||
28 | :rows="4" | ||
29 | ></el-input> | ||
30 | <el-button style="float: right" @click="cancelBack">取消转出</el-button> | ||
31 | <el-button type="primary" @click="submitForm" style="float: right" | ||
32 | >确定转出</el-button | ||
33 | > | ||
21 | </div> | 34 | </div> |
22 | </div> | 35 | </div> |
23 | </dialogBox> | ||
24 | </template> | 36 | </template> |
25 | 37 | ||
26 | <script> | 38 | <script> |
27 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js" | 39 | import { completeTask, getNextLinkInfo } from "@/api/workFlow.js"; |
28 | export default { | 40 | import { popupCacel } from "@/utils/popup.js"; |
29 | components: { | 41 | export default { |
30 | }, | 42 | components: {}, |
31 | props: { | 43 | props: { |
32 | value: { type: Boolean, default: false }, | 44 | formData: { |
33 | queryForm: { type: Object, default: false } | 45 | type: Object, |
46 | default: {}, | ||
47 | }, | ||
34 | }, | 48 | }, |
35 | data () { | 49 | data() { |
36 | return { | 50 | return { |
37 | tableData: {}, | 51 | queryForm: {}, |
38 | usernames: '', | 52 | shyj: "", |
39 | } | 53 | }; |
40 | }, | 54 | }, |
41 | methods: { | 55 | mounted() { |
42 | tablelistFn () { | 56 | // this.queryForm= this.queryForm.obj |
43 | getNextLinkInfo(this.queryForm).then(res => { | 57 | console.log("formDataformDataformData", this.formData); |
44 | if (res.code === 200) { | ||
45 | this.tableData = res.result | ||
46 | if (res.result.usernames) { | ||
47 | this.usernames = String(res.result.usernames) | ||
48 | } | ||
49 | } | ||
50 | }) | ||
51 | }, | 58 | }, |
52 | submitForm () { | 59 | methods: { |
53 | completeTask(this.queryForm).then(res => { | 60 | /** |
61 | * @description: submitForm | ||
62 | * @author: renchao | ||
63 | */ | ||
64 | submitForm() { | ||
65 | this.queryForm = { | ||
66 | bsmSlsq: this.formData.bsmSlsq, | ||
67 | shyj: this.shyj, | ||
68 | stepform: JSON.stringify(this.formData.tabList), | ||
69 | }; | ||
70 | console.log("this.queryForm", this.queryForm); | ||
71 | completeTask(this.queryForm).then((res) => { | ||
54 | if (res.code === 200) { | 72 | if (res.code === 200) { |
55 | this.$message.success('转件成功') | 73 | this.$message.success("转件成功"); |
74 | // setTimeout(() => { | ||
75 | // window.opener = null; | ||
76 | // window.open("about:blank", "_self"); | ||
77 | // window.close(); | ||
78 | // this.$emit("input", false); | ||
79 | // }, 1000); | ||
80 | popupCacel(); | ||
56 | setTimeout(() => { | 81 | setTimeout(() => { |
57 | window.opener = null; | 82 | // window.opener.location.reload(); //刷新父窗口 |
58 | window.open("about:blank", "_self"); | 83 | if (window.opener && window.opener.getBpageList) { |
84 | window.opener.getBpageList(); | ||
85 | } else { | ||
86 | window.opener.frames[0].getBpageList(); | ||
87 | } | ||
59 | window.close(); | 88 | window.close(); |
60 | this.$emit('input', false) | 89 | this.$emit("input", false); |
61 | }, 1000); | 90 | }, 1000); |
91 | }else{ | ||
92 | this.$message.error(res.message); | ||
62 | } | 93 | } |
63 | }) | 94 | }); |
64 | }, | 95 | }, |
65 | closeDialog () { | 96 | /** |
66 | this.$emit("input", false); | 97 | * @description: closeDialog |
98 | * @author: renchao | ||
99 | */ | ||
100 | cancelBack() { | ||
101 | popupCacel(); | ||
67 | }, | 102 | }, |
68 | } | 103 | }, |
69 | } | 104 | }; |
70 | </script> | 105 | </script> |
71 | <style scoped lang="scss"> | 106 | <style scoped lang="scss"> |
72 | @import "~@/styles/mixin.scss"; | 107 | @import "~@/styles/mixin.scss"; |
108 | .el-button { | ||
109 | margin-top: 20px; | ||
110 | margin-right: 10px; | ||
111 | } | ||
73 | </style> | 112 | </style> | ... | ... |
... | @@ -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-21 14:04:56 | 4 | * @LastEditTime: 2023-07-17 14:20:17 |
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 |
... | @@ -227,6 +236,10 @@ export default { | ... | @@ -227,6 +236,10 @@ export default { |
227 | break; | 236 | break; |
228 | } | 237 | } |
229 | }, | 238 | }, |
239 | /** | ||
240 | * @description: del | ||
241 | * @author: renchao | ||
242 | */ | ||
230 | del () { | 243 | del () { |
231 | let formdata = new FormData(); | 244 | let formdata = new FormData(); |
232 | formdata.append("bsmSlsq", this.bsmSlsq); | 245 | formdata.append("bsmSlsq", this.bsmSlsq); |
... | @@ -257,101 +270,36 @@ export default { | ... | @@ -257,101 +270,36 @@ export default { |
257 | }); | 270 | }); |
258 | }, | 271 | }, |
259 | //发送下一个环节 | 272 | //发送下一个环节 |
273 | /** | ||
274 | * @description: 发送下一个环节 | ||
275 | * @param {*} obj | ||
276 | * @author: renchao | ||
277 | */ | ||
260 | sendToNext (obj) { | 278 | sendToNext (obj) { |
261 | const h = this.$createElement; | 279 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
262 | this.$msgbox({ | 280 | obj:obj, |
263 | title: "您确定转出吗?", | ||
264 | message: h("div", { style: "margin: auto" }, [ | ||
265 | h("span", null, "下个环节名称:"), | ||
266 | h("i", { style: "color: teal" }, obj.taskName), | ||
267 | h("div", null, ""), | ||
268 | h("span", null, "下个环节经办人: "), | ||
269 | h("i", { style: "color: teal" }, obj.usernames.join(",")), | ||
270 | ]), | ||
271 | showCancelButton: true, | ||
272 | beforeClose: (action, instance, done) => { | ||
273 | if (action === "confirm") { | ||
274 | instance.confirmButtonLoading = true; | ||
275 | instance.confirmButtonText = "执行中..."; | ||
276 | completeTask({ | ||
277 | bsmSlsq: this.bsmSlsq, | 281 | bsmSlsq: this.bsmSlsq, |
278 | shyj: "this.bestepid", | 282 | tabList: this.tabList |
279 | stepform: JSON.stringify(this.tabList), | 283 | }, '800px', true) |
280 | }).then((res) => { | ||
281 | if (res.code === 200) { | ||
282 | instance.confirmButtonLoading = false; | ||
283 | this.$message.success("转件成功"); | ||
284 | // window.opener.location.reload(); //刷新父窗口 | ||
285 | if (window.opener && window.opener.getBpageList) { | ||
286 | window.opener.getBpageList(); | ||
287 | } else { | ||
288 | window.opener.frames[0].getBpageList(); | ||
289 | } | ||
290 | window.close(); | ||
291 | this.$emit("input", false); | ||
292 | } else { | ||
293 | instance.confirmButtonLoading = false; | ||
294 | instance.confirmButtonText = "确定"; | ||
295 | this.$message.error(res.message); | ||
296 | } | ||
297 | }); | ||
298 | } else { | ||
299 | done(); | ||
300 | } | ||
301 | }, | ||
302 | }).then((action) => { | ||
303 | this.$message({ | ||
304 | type: "info", | ||
305 | message: "action: " + action, | ||
306 | }); | ||
307 | }); | ||
308 | }, | 284 | }, |
309 | sendToEnd () { | 285 | //转出最后一个流程 |
310 | let that = this | 286 | /** |
311 | const h = this.$createElement; | 287 | * @description: 转出最后一个流程 |
312 | this.$msgbox({ | 288 | * @param {*} obj |
313 | title: "您确定转出吗?", | 289 | * @author: renchao |
314 | message: "此环节为流程最后环节,转出后流程将结束", | 290 | */ |
315 | showCancelButton: true, | 291 | sendToEnd (obj) { |
316 | beforeClose: (action, instance, done) => { | 292 | this.$popupDialog("转出", "djbworkflow/components/zc", { |
317 | if (action === "confirm") { | 293 | obj:"", |
318 | instance.confirmButtonLoading = true; | ||
319 | instance.confirmButtonText = "执行中..."; | ||
320 | completeTask({ | ||
321 | bsmSlsq: this.bsmSlsq, | 294 | bsmSlsq: this.bsmSlsq, |
322 | shyj: "this.bestepid", | 295 | tabList: this.tabList |
323 | stepform: JSON.stringify(this.tabList), | 296 | }, '800px', true) |
324 | }).then((res) => { | ||
325 | if (res.code === 200) { | ||
326 | instance.confirmButtonLoading = false; | ||
327 | that.$message.success("转件成功"); | ||
328 | localStorage.setItem('transfer', true) | ||
329 | // window.opener.location.reload(); //刷新父窗口 | ||
330 | if (window.opener && window.opener.getBpageList) { | ||
331 | window.opener.getBpageList(); | ||
332 | } else { | ||
333 | window.opener.frames[0].getBpageList(); | ||
334 | } | ||
335 | window.close(); | ||
336 | that.$emit("input", false); | ||
337 | } else { | ||
338 | instance.confirmButtonLoading = false; | ||
339 | instance.confirmButtonText = "确定"; | ||
340 | this.$message.error(res.message); | ||
341 | } | ||
342 | }) | ||
343 | } else { | ||
344 | done(); | ||
345 | } | ||
346 | }, | ||
347 | }).then((action) => { | ||
348 | this.$message({ | ||
349 | type: "info", | ||
350 | message: "action: " + action | ||
351 | }) | ||
352 | }) | ||
353 | }, | 297 | }, |
354 | //批量操作 | 298 | //批量操作 |
299 | /** | ||
300 | * @description: 批量操作 | ||
301 | * @author: renchao | ||
302 | */ | ||
355 | handleBatchDel () { | 303 | handleBatchDel () { |
356 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 304 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
357 | width: "50%", | 305 | width: "50%", |
... | @@ -361,6 +309,11 @@ export default { | ... | @@ -361,6 +309,11 @@ export default { |
361 | 309 | ||
362 | }) | 310 | }) |
363 | }, | 311 | }, |
312 | /** | ||
313 | * @description: handleChange | ||
314 | * @param {*} file | ||
315 | * @author: renchao | ||
316 | */ | ||
364 | handleChange (file) { | 317 | handleChange (file) { |
365 | var formdata = new FormData(); | 318 | var formdata = new FormData(); |
366 | formdata.append("file", file.raw); | 319 | formdata.append("file", file.raw); |
... | @@ -375,6 +328,11 @@ export default { | ... | @@ -375,6 +328,11 @@ export default { |
375 | }) | 328 | }) |
376 | }, | 329 | }, |
377 | // 上传 | 330 | // 上传 |
331 | /** | ||
332 | * @description: 上传 | ||
333 | * @param {*} file | ||
334 | * @author: renchao | ||
335 | */ | ||
378 | beforeUpload (file) { | 336 | beforeUpload (file) { |
379 | return true; | 337 | return true; |
380 | } | 338 | } | ... | ... |
... | @@ -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) { | ... | ... |
... | @@ -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 = "暂无"; | ... | ... |
... | @@ -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); | ... | ... |
... | @@ -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 = { | ... | ... |
... | @@ -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 14:13:57 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -68,11 +68,6 @@ | ... | @@ -68,11 +68,6 @@ |
68 | <el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input> | 68 | <el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input> |
69 | </el-form-item> | 69 | </el-form-item> |
70 | </el-col> | 70 | </el-col> |
71 | <!-- <el-col :span="8"> | ||
72 | <el-form-item label="房屋用途:"> | ||
73 | <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input> | ||
74 | </el-form-item> | ||
75 | </el-col> --> | ||
76 | <el-col :span="8"> | 71 | <el-col :span="8"> |
77 | <el-form-item label="规划用途名称:"> | 72 | <el-form-item label="规划用途名称:"> |
78 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | 73 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> |
... | @@ -215,7 +210,7 @@ | ... | @@ -215,7 +210,7 @@ |
215 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; | 210 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; |
216 | import { mapGetters } from "vuex"; | 211 | import { mapGetters } from "vuex"; |
217 | export default { | 212 | export default { |
218 | created () { | 213 | mounted () { |
219 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 214 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
220 | this.propsParam = this.$attrs; | 215 | this.propsParam = this.$attrs; |
221 | var formdata = new FormData(); | 216 | var formdata = new FormData(); |
... | @@ -242,7 +237,27 @@ | ... | @@ -242,7 +237,27 @@ |
242 | disabled: true, | 237 | disabled: true, |
243 | tdytOption: [], | 238 | tdytOption: [], |
244 | czrOptions: [], | 239 | czrOptions: [], |
245 | ruleForm: {}, | 240 | ruleForm: { |
241 | flow: { | ||
242 | ywh: '' | ||
243 | }, | ||
244 | qlxx: { | ||
245 | mj: '' | ||
246 | }, | ||
247 | sldy: { | ||
248 | gyfs: '' | ||
249 | }, | ||
250 | slsq: { | ||
251 | |||
252 | }, | ||
253 | fdcq2: { | ||
254 | zyjzmj: '', | ||
255 | ftjzmj: '' | ||
256 | }, | ||
257 | zdjbxx: { | ||
258 | ghytmc: '' | ||
259 | } | ||
260 | }, | ||
246 | //传递参数 | 261 | //传递参数 |
247 | propsParam: this.$attrs, | 262 | propsParam: this.$attrs, |
248 | //表单是否可操作 | 263 | //表单是否可操作 |
... | @@ -252,21 +267,44 @@ | ... | @@ -252,21 +267,44 @@ |
252 | }, | 267 | }, |
253 | methods: { | 268 | methods: { |
254 | // 更新土地用途信息 | 269 | // 更新土地用途信息 |
270 | /** | ||
271 | * @description: 更新土地用途信息 | ||
272 | * @param {*} val | ||
273 | * @author: renchao | ||
274 | */ | ||
255 | upDateTdytxxList (val) { | 275 | upDateTdytxxList (val) { |
256 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 276 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
257 | this.key++; | 277 | this.key++; |
258 | }, | 278 | }, |
259 | // 更新权利人信息 | 279 | // 更新权利人信息 |
280 | /** | ||
281 | * @description: 更新权利人信息 | ||
282 | * @param {*} val | ||
283 | * @author: renchao | ||
284 | */ | ||
260 | upDateQlrxxList (val) { | 285 | upDateQlrxxList (val) { |
261 | this.ruleForm.qlrList = _.cloneDeep(val); | 286 | this.ruleForm.qlrList = _.cloneDeep(val); |
262 | }, | 287 | }, |
288 | /** | ||
289 | * @description: showCZInfo | ||
290 | * @author: renchao | ||
291 | */ | ||
263 | showCZInfo () { | 292 | showCZInfo () { |
264 | console.log(this.ruleForm.slsq.gyfs); | 293 | console.log(this.ruleForm.slsq.gyfs); |
265 | }, | 294 | }, |
266 | // 更新权利人信息 | 295 | // 更新权利人信息 |
296 | /** | ||
297 | * @description: 更新权利人信息 | ||
298 | * @param {*} val | ||
299 | * @author: renchao | ||
300 | */ | ||
267 | upDateYwrxxList (val) { | 301 | upDateYwrxxList (val) { |
268 | this.ruleForm.ywrList = _.cloneDeep(val); | 302 | this.ruleForm.ywrList = _.cloneDeep(val); |
269 | }, | 303 | }, |
304 | /** | ||
305 | * @description: onSubmit | ||
306 | * @author: renchao | ||
307 | */ | ||
270 | onSubmit () { | 308 | onSubmit () { |
271 | saveData(this.ruleForm).then((res) => { | 309 | saveData(this.ruleForm).then((res) => { |
272 | if (res.code === 200) { | 310 | if (res.code === 200) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-20 09:30:11 | 4 | * @LastEditTime: 2023-07-21 14:27:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -161,7 +161,7 @@ | ... | @@ -161,7 +161,7 @@ |
161 | </el-radio-group> | 161 | </el-radio-group> |
162 | </el-form-item> | 162 | </el-form-item> |
163 | </el-col> | 163 | </el-col> |
164 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 164 | <el-col :span="5" v-if="ruleForm.sldy.gyfs && ruleForm.sldy.gyfs == '2'"> |
165 | <el-form-item label="是否分别持证:"> | 165 | <el-form-item label="是否分别持证:"> |
166 | <el-radio-group v-model="ruleForm.sffbcz" :disabled="!ableOperation"> | 166 | <el-radio-group v-model="ruleForm.sffbcz" :disabled="!ableOperation"> |
167 | <el-radio label="1">是</el-radio> | 167 | <el-radio label="1">是</el-radio> |
... | @@ -169,7 +169,7 @@ | ... | @@ -169,7 +169,7 @@ |
169 | </el-radio-group> | 169 | </el-radio-group> |
170 | </el-form-item> | 170 | </el-form-item> |
171 | </el-col> | 171 | </el-col> |
172 | <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> | 172 | <el-col :span="5" v-if="ruleForm.sldy.gyfs && ruleForm.sldy.gyfs == '2'"> |
173 | <el-form-item label="持证人:"> | 173 | <el-form-item label="持证人:"> |
174 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation"> | 174 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation"> |
175 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 175 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; | 208 | import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; |
209 | import { mapGetters } from "vuex"; | 209 | import { mapGetters } from "vuex"; |
210 | export default { | 210 | export default { |
211 | async created () { | 211 | mounted () { |
212 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 212 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
213 | this.propsParam = this.$attrs; | 213 | this.propsParam = this.$attrs; |
214 | var formdata = new FormData(); | 214 | var formdata = new FormData(); |
... | @@ -240,12 +240,17 @@ | ... | @@ -240,12 +240,17 @@ |
240 | tdytOption: [], | 240 | tdytOption: [], |
241 | czrOptions: [], | 241 | czrOptions: [], |
242 | ruleForm: { | 242 | ruleForm: { |
243 | ywh: "", | 243 | flow: { |
244 | ywh: '' | ||
245 | }, | ||
244 | slry: "", | 246 | slry: "", |
245 | slsj: "", | 247 | slsj: "", |
246 | qllx: "", | 248 | qllx: "", |
247 | djlx: "", | 249 | djlx: "", |
248 | djqx: "", | 250 | djqx: "", |
251 | sldy: { | ||
252 | gyfs: '' | ||
253 | }, | ||
249 | // 宗地代码 | 254 | // 宗地代码 |
250 | zddm: "", | 255 | zddm: "", |
251 | bdcdyh: "", | 256 | bdcdyh: "", |
... | @@ -264,12 +269,21 @@ | ... | @@ -264,12 +269,21 @@ |
264 | fwxz: '', | 269 | fwxz: '', |
265 | fwjg: '', | 270 | fwjg: '', |
266 | // 权利人信息 | 271 | // 权利人信息 |
267 | gyfs: "1", | ||
268 | // 是否分别持证 | 272 | // 是否分别持证 |
269 | sffbcz: "", | 273 | sffbcz: "", |
270 | // 持证人 | 274 | // 持证人 |
271 | czr: "", | 275 | czr: "", |
272 | djyy: '' | 276 | djyy: '', |
277 | // 规划用途名称 | ||
278 | zdjbxx: { | ||
279 | ghytmc: '' | ||
280 | }, | ||
281 | fdcq2: { | ||
282 | fwxzmc: '' | ||
283 | }, | ||
284 | slsq: { | ||
285 | gyfs: '' | ||
286 | } | ||
273 | }, | 287 | }, |
274 | //传递参数 | 288 | //传递参数 |
275 | propsParam: {}, | 289 | propsParam: {}, |
... | @@ -277,6 +291,10 @@ | ... | @@ -277,6 +291,10 @@ |
277 | }; | 291 | }; |
278 | }, | 292 | }, |
279 | methods: { | 293 | methods: { |
294 | /** | ||
295 | * @description: dataSelectClick | ||
296 | * @author: renchao | ||
297 | */ | ||
280 | dataSelectClick () { | 298 | dataSelectClick () { |
281 | this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", | 299 | this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", |
282 | { | 300 | { |
... | @@ -287,19 +305,38 @@ | ... | @@ -287,19 +305,38 @@ |
287 | }); | 305 | }); |
288 | }, | 306 | }, |
289 | // 更新土地用途信息 | 307 | // 更新土地用途信息 |
308 | /** | ||
309 | * @description: 更新土地用途信息 | ||
310 | * @param {*} val | ||
311 | * @author: renchao | ||
312 | */ | ||
290 | upDateTdytxxList (val) { | 313 | upDateTdytxxList (val) { |
291 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 314 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
292 | this.key++; | 315 | this.key++; |
293 | }, | 316 | }, |
294 | // 更新权利人信息 | 317 | // 更新权利人信息 |
318 | /** | ||
319 | * @description: 更新权利人信息 | ||
320 | * @param {*} val | ||
321 | * @author: renchao | ||
322 | */ | ||
295 | upDateQlrxxList (val) { | 323 | upDateQlrxxList (val) { |
296 | this.ruleForm.qlrList = _.cloneDeep(val); | 324 | this.ruleForm.qlrList = _.cloneDeep(val); |
297 | }, | 325 | }, |
298 | // 更新权利人信息 | 326 | // 更新权利人信息 |
327 | /** | ||
328 | * @description: 更新权利人信息 | ||
329 | * @param {*} val | ||
330 | * @author: renchao | ||
331 | */ | ||
299 | upDateYwrxxList (val) { | 332 | upDateYwrxxList (val) { |
300 | this.ruleForm.ywrList = _.cloneDeep(val); | 333 | this.ruleForm.ywrList = _.cloneDeep(val); |
301 | }, | 334 | }, |
302 | 335 | ||
336 | /** | ||
337 | * @description: onSubmit | ||
338 | * @author: renchao | ||
339 | */ | ||
303 | onSubmit () { | 340 | onSubmit () { |
304 | saveData(this.ruleForm).then((res) => { | 341 | saveData(this.ruleForm).then((res) => { |
305 | if (res.code === 200) { | 342 | 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) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-20 16:12:16 | 4 | * @LastEditTime: 2023-07-21 14:16:25 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -154,7 +154,7 @@ | ... | @@ -154,7 +154,7 @@ |
154 | import { BatchInit, Init, saveBatchData, saveData } from "@/api/workflow/fwsyqFlow.js"; | 154 | import { BatchInit, Init, saveBatchData, saveData } from "@/api/workflow/fwsyqFlow.js"; |
155 | import { mapGetters } from "vuex"; | 155 | import { mapGetters } from "vuex"; |
156 | export default { | 156 | export default { |
157 | created (callbackfn, thisArg) { | 157 | mounted (callbackfn, thisArg) { |
158 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 158 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
159 | this.propsParam = this.$attrs; | 159 | this.propsParam = this.$attrs; |
160 | var formdata = new FormData(); | 160 | var formdata = new FormData(); |
... | @@ -167,12 +167,11 @@ | ... | @@ -167,12 +167,11 @@ |
167 | this.ruleForm = res.result; | 167 | this.ruleForm = res.result; |
168 | this.splicingFdcq2Info(); | 168 | this.splicingFdcq2Info(); |
169 | } | 169 | } |
170 | }); | 170 | }) |
171 | |||
172 | }, | 171 | }, |
173 | components: { qlrCommonTable }, | 172 | components: { qlrCommonTable }, |
174 | computed: { | 173 | computed: { |
175 | ...mapGetters(["dictData", "flag"]), | 174 | ...mapGetters(["dictData", "flag"]) |
176 | }, | 175 | }, |
177 | data () { | 176 | data () { |
178 | return { | 177 | return { |
... | @@ -209,9 +208,12 @@ | ... | @@ -209,9 +208,12 @@ |
209 | }, | 208 | }, |
210 | methods: { | 209 | methods: { |
211 | //组装房地产权通用信息 | 210 | //组装房地产权通用信息 |
211 | /** | ||
212 | * @description: 组装房地产权通用信息 | ||
213 | * @author: renchao | ||
214 | */ | ||
212 | splicingFdcq2Info () { | 215 | splicingFdcq2Info () { |
213 | let fdcq2List = this.ruleForm.fdcq2List; | 216 | let fdcq2List = this.ruleForm.fdcq2List; |
214 | console.log(this.ruleForm.fdcq2List, 'this.ruleForm.fdcq2List'); | ||
215 | let fwxzArr = []; | 217 | let fwxzArr = []; |
216 | let fwjgArr = []; | 218 | let fwjgArr = []; |
217 | let jzmj = 0; | 219 | let jzmj = 0; |
... | @@ -233,16 +235,34 @@ | ... | @@ -233,16 +235,34 @@ |
233 | }, | 235 | }, |
234 | 236 | ||
235 | // 更新权利人信息 | 237 | // 更新权利人信息 |
238 | /** | ||
239 | * @description: 更新权利人信息 | ||
240 | * @param {*} val | ||
241 | * @author: renchao | ||
242 | */ | ||
236 | upDateQlrxxList (val) { | 243 | upDateQlrxxList (val) { |
237 | this.ruleForm.qlrList = _.cloneDeep(val); | 244 | this.ruleForm.qlrList = _.cloneDeep(val); |
238 | }, | 245 | }, |
246 | /** | ||
247 | * @description: showCZInfo | ||
248 | * @author: renchao | ||
249 | */ | ||
239 | showCZInfo () { | 250 | showCZInfo () { |
240 | console.log(this.ruleForm.slsq.gyfs); | 251 | console.log(this.ruleForm.slsq.gyfs); |
241 | }, | 252 | }, |
242 | // 更新义务人信息 | 253 | // 更新义务人信息 |
254 | /** | ||
255 | * @description: 更新义务人信息 | ||
256 | * @param {*} val | ||
257 | * @author: renchao | ||
258 | */ | ||
243 | upDateYwrxxList (val) { | 259 | upDateYwrxxList (val) { |
244 | this.ruleForm.ywrList = _.cloneDeep(val); | 260 | this.ruleForm.ywrList = _.cloneDeep(val); |
245 | }, | 261 | }, |
262 | /** | ||
263 | * @description: onSubmit | ||
264 | * @author: renchao | ||
265 | */ | ||
246 | onSubmit () { | 266 | onSubmit () { |
247 | saveBatchData(this.ruleForm).then((res) => { | 267 | saveBatchData(this.ruleForm).then((res) => { |
248 | if (res.code === 200) { | 268 | 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> |
... | @@ -191,7 +191,7 @@ | ... | @@ -191,7 +191,7 @@ |
191 | import { Init } from "@/api/workflow/fwsyqFlow.js"; | 191 | import { Init } from "@/api/workflow/fwsyqFlow.js"; |
192 | import { mapGetters } from "vuex"; | 192 | import { mapGetters } from "vuex"; |
193 | export default { | 193 | export default { |
194 | async created () { | 194 | mounted () { |
195 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 195 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
196 | this.propsParam = this.$attrs; | 196 | this.propsParam = this.$attrs; |
197 | var formdata = new FormData(); | 197 | var formdata = new FormData(); |
... | @@ -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) { |
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 { | ||
169 | this.bdcdysz = val; | 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) { |
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 { | ||
134 | this.bdcdysz = val; | 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 13:56:38 |
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,23 @@ | ... | @@ -286,6 +311,23 @@ |
286 | } | 311 | } |
287 | }) | 312 | }) |
288 | }, | 313 | }, |
314 | handleSelectionChange (val) { | ||
315 | if (this.sqywInfo.sqywdylx == "1") { | ||
316 | if (val.length > 1) { | ||
317 | this.bdcdysz = [...val[val.length - 1]]; | ||
318 | } else { | ||
319 | this.bdcdysz = val; | ||
320 | } | ||
321 | } else { | ||
322 | this.bdcdysz = val; | ||
323 | } | ||
324 | }, | ||
325 | /** | ||
326 | * @description: select | ||
327 | * @param {*} selection | ||
328 | * @param {*} row | ||
329 | * @author: renchao | ||
330 | */ | ||
289 | select (selection, row) { | 331 | select (selection, row) { |
290 | if (this.sqywInfo.sqywdylx == "1") { | 332 | if (this.sqywInfo.sqywdylx == "1") { |
291 | // 清除 所有勾选项 | 333 | // 清除 所有勾选项 |
... | @@ -295,8 +337,12 @@ | ... | @@ -295,8 +337,12 @@ |
295 | if (selection.length == 0) return | 337 | if (selection.length == 0) return |
296 | this.$refs.table.toggleRowSelection(row, true); | 338 | this.$refs.table.toggleRowSelection(row, true); |
297 | } | 339 | } |
298 | |||
299 | }, | 340 | }, |
341 | /** | ||
342 | * @description: handleRowClick | ||
343 | * @param {*} row | ||
344 | * @author: renchao | ||
345 | */ | ||
300 | handleRowClick (row) { | 346 | handleRowClick (row) { |
301 | // 如果状态是1,那就是单选 | 347 | // 如果状态是1,那就是单选 |
302 | if (this.sqywInfo.sqywdylx == "1") { | 348 | if (this.sqywInfo.sqywdylx == "1") { |
... | @@ -320,7 +366,7 @@ | ... | @@ -320,7 +366,7 @@ |
320 | } else { | 366 | } else { |
321 | this.$refs.table.toggleRowSelection(row); | 367 | this.$refs.table.toggleRowSelection(row); |
322 | } | 368 | } |
323 | }, | 369 | } |
324 | } | 370 | } |
325 | } | 371 | } |
326 | </script> | 372 | </script> | ... | ... |
... | @@ -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(); | ... | ... |
... | @@ -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) { |
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 { | ||
123 | this.bdcdysz = val; | 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) { |
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 { | ||
120 | this.bdcdysz = val; | 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) { |
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 { | ||
148 | this.bdcdysz = val; | 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") { |
194 | if (val.length > 1) { | ||
195 | this.bdcdysz = [...val[val.length - 1]]; | ||
196 | } else { | ||
197 | this.bdcdysz = val; | ||
198 | } | ||
199 | } else { | ||
176 | this.bdcdysz = val; | 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) { |
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 { | ||
125 | this.bdcdysz = val; | 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:06 | 4 | * @LastEditTime: 2023-07-21 11:18:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -10,27 +10,26 @@ | ... | @@ -10,27 +10,26 @@ |
10 | <div class="from-clues-header"> | 10 | <div class="from-clues-header"> |
11 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | 11 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> |
12 | <el-row> | 12 | <el-row> |
13 | <el-col :span="8"> | 13 | <el-col :span="6"> |
14 | <el-form-item label="不动产权证号"> | 14 | <el-form-item label="不动产权证号"> |
15 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> | 15 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="8"> | 19 | <el-col :span="6"> |
20 | <el-form-item label="不动产单元号"> | 20 | <el-form-item label="不动产单元号"> |
21 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width200px"> | 21 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> |
22 | </el-input> | 22 | </el-input> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
26 | <el-form-item label="坐落"> | 26 | <el-form-item label="坐落" label-width="60px"> |
27 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px"> | 27 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width100"> |
28 | </el-input> | 28 | </el-input> |
29 | </el-form-item> | 29 | </el-form-item> |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="2" class="btnColRight"> | 31 | <el-col :span="6" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 33 | <el-button type="primary" @click="handleSearch">查询</el-button> |
35 | </el-form-item> | 34 | </el-form-item> |
36 | </el-col> | 35 | </el-col> |
... | @@ -81,6 +80,10 @@ | ... | @@ -81,6 +80,10 @@ |
81 | sendThis(this); | 80 | sendThis(this); |
82 | }, | 81 | }, |
83 | methods: { | 82 | methods: { |
83 | /** | ||
84 | * @description: queryClick | ||
85 | * @author: renchao | ||
86 | */ | ||
84 | queryClick () { | 87 | queryClick () { |
85 | this.$startLoading(); | 88 | this.$startLoading(); |
86 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | 89 | this.queryForm.sqywbm = this.sqywInfo.djywbm; |
... | @@ -93,6 +96,10 @@ | ... | @@ -93,6 +96,10 @@ |
93 | } | 96 | } |
94 | }); | 97 | }); |
95 | }, | 98 | }, |
99 | /** | ||
100 | * @description: submitForm | ||
101 | * @author: renchao | ||
102 | */ | ||
96 | submitForm () { | 103 | submitForm () { |
97 | if (this.bdcdysz.length == 0) { | 104 | if (this.bdcdysz.length == 0) { |
98 | this.$message.error("请至少选择一条数据"); | 105 | this.$message.error("请至少选择一条数据"); |
... | @@ -121,9 +128,28 @@ | ... | @@ -121,9 +128,28 @@ |
121 | } | 128 | } |
122 | }) | 129 | }) |
123 | }, | 130 | }, |
131 | /** | ||
132 | * @description: handleSelectionChange | ||
133 | * @param {*} val | ||
134 | * @author: renchao | ||
135 | */ | ||
124 | handleSelectionChange (val) { | 136 | handleSelectionChange (val) { |
137 | if (this.sqywInfo.sqywdylx == "1") { | ||
138 | if (val.length > 1) { | ||
139 | this.bdcdysz = [...val[val.length - 1]]; | ||
140 | } else { | ||
125 | this.bdcdysz = val; | 141 | this.bdcdysz = val; |
142 | } | ||
143 | } else { | ||
144 | this.bdcdysz = val; | ||
145 | } | ||
126 | }, | 146 | }, |
147 | /** | ||
148 | * @description: select | ||
149 | * @param {*} selection | ||
150 | * @param {*} row | ||
151 | * @author: renchao | ||
152 | */ | ||
127 | select (selection, row) { | 153 | select (selection, row) { |
128 | if (this.sqywInfo.sqywdylx == "1") { | 154 | if (this.sqywInfo.sqywdylx == "1") { |
129 | // 清除 所有勾选项 | 155 | // 清除 所有勾选项 |
... | @@ -134,6 +160,11 @@ | ... | @@ -134,6 +160,11 @@ |
134 | this.$refs.table.toggleRowSelection(row, true); | 160 | this.$refs.table.toggleRowSelection(row, true); |
135 | } | 161 | } |
136 | }, | 162 | }, |
163 | /** | ||
164 | * @description: handleRowClick | ||
165 | * @param {*} row | ||
166 | * @author: renchao | ||
167 | */ | ||
137 | handleRowClick (row) { | 168 | handleRowClick (row) { |
138 | // 如果状态是1,那就是单选 | 169 | // 如果状态是1,那就是单选 |
139 | 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) { |
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 { | ||
133 | this.bdcdysz = val; | 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 | }); |
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 { | ||
133 | this.bdcdysz = val; | 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) { |
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 { | ||
133 | this.bdcdysz = val; | 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) { |
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 { | ||
125 | this.bdcdysz = val; | 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) { |
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 { | ||
125 | this.bdcdysz = val; | 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) { |
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 { | ||
126 | this.bdcdysz = val; | 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) | ... | ... |
... | @@ -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: '' | ... | ... |
... | @@ -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}`) | ... | ... |
... | @@ -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.$popupDialog('楼盘表', 'lpb/index', { | 119 | this.$popupDialog('楼盘表', 'lpb/index', { |
100 | bsm: scope.row.bsm, | 120 | bsm: scope.row.bsm, | ... | ... |
... | @@ -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