Merge branch 'dev'
Showing
102 changed files
with
1926 additions
and
287 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> |
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: { | ... | ... |
... | @@ -45,7 +45,7 @@ | ... | @@ -45,7 +45,7 @@ |
45 | <el-col :span="16"> | 45 | <el-col :span="16"> |
46 | <el-form-item label="审查人"> | 46 | <el-form-item label="审查人"> |
47 | <el-input | 47 | <el-input |
48 | :disabled="!ableOperation || !item.shyj" | 48 | :disabled="!ableOperation" |
49 | v-model="item.shryxm" | 49 | v-model="item.shryxm" |
50 | ></el-input> | 50 | ></el-input> |
51 | </el-form-item> | 51 | </el-form-item> |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | <el-col :span="8"> | 53 | <el-col :span="8"> |
54 | <el-form-item class="sjxzq" label="审核时间"> | 54 | <el-form-item class="sjxzq" label="审核时间"> |
55 | <el-date-picker | 55 | <el-date-picker |
56 | :disabled="!ableOperation || !item.shyj" | 56 | :disabled="!ableOperation" |
57 | v-model="item.shkssj" | 57 | v-model="item.shkssj" |
58 | type="date" | 58 | type="date" |
59 | placeholder="选择日期" | 59 | placeholder="选择日期" |
... | @@ -111,7 +111,9 @@ export default { | ... | @@ -111,7 +111,9 @@ export default { |
111 | methods: { | 111 | methods: { |
112 | /** | 112 | /** |
113 | * @description: getShList | 113 | * @description: getShList |
114 | * @a | 114 | * @param {*} obj |
115 | * @author: renchao | ||
116 | */ | ||
115 | getShList() { | 117 | getShList() { |
116 | this.$startLoading(); | 118 | this.$startLoading(); |
117 | var formdata = { | 119 | var formdata = { |
... | @@ -123,8 +125,6 @@ export default { | ... | @@ -123,8 +125,6 @@ export default { |
123 | if (res.result.length) { | 125 | if (res.result.length) { |
124 | this.tableData = res.result; | 126 | this.tableData = res.result; |
125 | } | 127 | } |
126 | |||
127 | // this.ruleForm = res.result[res.result.length - 1] | ||
128 | } | 128 | } |
129 | }); | 129 | }); |
130 | }, | 130 | }, |
... | @@ -151,8 +151,12 @@ export default { | ... | @@ -151,8 +151,12 @@ export default { |
151 | this.$message.error("请完善核定意见信息填写"); | 151 | this.$message.error("请完善核定意见信息填写"); |
152 | } else { | 152 | } else { |
153 | this.falg = true; | 153 | this.falg = true; |
154 | if (this.tableData[0].shyj != null && this.tableData[0].shyj != "") { | 154 | if (this.tableData[0].shyj != null && this.tableData[0].shyj != ""|| |
155 | this.tableData[0].shryxm != null && this.tableData[0].shryxm != ""|| | ||
156 | this.tableData[0].shkssj != null && this.tableData[0].shkssj != "") { | ||
155 | if ( | 157 | if ( |
158 | this.tableData[0].shyj == null || | ||
159 | this.tableData[0].shyj == ""|| | ||
156 | this.tableData[0].shryxm == null || | 160 | this.tableData[0].shryxm == null || |
157 | this.tableData[0].shryxm == "" || | 161 | this.tableData[0].shryxm == "" || |
158 | this.tableData[0].shkssj == null || | 162 | this.tableData[0].shkssj == null || |
... | @@ -166,8 +170,12 @@ export default { | ... | @@ -166,8 +170,12 @@ export default { |
166 | } else { | 170 | } else { |
167 | this.falg = true; | 171 | this.falg = true; |
168 | } | 172 | } |
169 | if (this.tableData[1].shyj != null && this.tableData[1].shyj != "") { | 173 | if (this.tableData[1].shyj != null && this.tableData[1].shyj != ""|| |
174 | this.tableData[1].shryxm != null && this.tableData[1].shryxm != ""|| | ||
175 | this.tableData[1].shkssj != null && this.tableData[1].shkssj != "") { | ||
170 | if ( | 176 | if ( |
177 | this.tableData[1].shyj == null || | ||
178 | this.tableData[1].shyj == ""|| | ||
171 | this.tableData[1].shryxm == null || | 179 | this.tableData[1].shryxm == null || |
172 | this.tableData[1].shryxm == "" || | 180 | this.tableData[1].shryxm == "" || |
173 | this.tableData[1].shkssj == null || | 181 | this.tableData[1].shkssj == null || | ... | ... |
... | @@ -325,102 +325,17 @@ export default { | ... | @@ -325,102 +325,17 @@ export default { |
325 | * @author: renchao | 325 | * @author: renchao |
326 | */ | 326 | */ |
327 | sendToNext (obj) { | 327 | sendToNext (obj) { |
328 | const h = this.$createElement; | 328 | this.$popupDialog("转出", "workflow/components/zc", { |
329 | this.$msgbox({ | ||
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, | 329 | bsmSlsq: this.bsmSlsq, |
345 | shyj: "this.bestepid", | 330 | bestepid: this.bestepid |
346 | stepform: JSON.stringify(this.tabList), | 331 | }, '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 | }, | 332 | }, |
376 | /** | 333 | /** |
377 | * @description: sendToEnd | 334 | * @description: sendToEnd |
378 | * @author: renchao | 335 | * @author: renchao |
379 | */ | 336 | */ |
380 | sendToEnd () { | 337 | sendToEnd () { |
381 | let that = this | 338 | |
382 | const h = this.$createElement; | ||
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, | ||
393 | shyj: "this.bestepid", | ||
394 | stepform: JSON.stringify(this.tabList), | ||
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 | }, | 339 | }, |
425 | //批量操作 | 340 | //批量操作 |
426 | /** | 341 | /** | ... | ... |
... | @@ -96,6 +96,10 @@ | ... | @@ -96,6 +96,10 @@ |
96 | this.loadData(); | 96 | this.loadData(); |
97 | }, | 97 | }, |
98 | methods: { | 98 | methods: { |
99 | /** | ||
100 | * @description: loadData | ||
101 | * @author: renchao | ||
102 | */ | ||
99 | loadData () { | 103 | loadData () { |
100 | if (this.$parent.addRepairRecord) { | 104 | if (this.$parent.addRepairRecord) { |
101 | this.columns.unshift({ prop: "cz", label: "操作" }); | 105 | this.columns.unshift({ prop: "cz", label: "操作" }); |
... | @@ -120,6 +124,10 @@ | ... | @@ -120,6 +124,10 @@ |
120 | } | 124 | } |
121 | }); | 125 | }); |
122 | }, | 126 | }, |
127 | /** | ||
128 | * @description: checkChange | ||
129 | * @author: renchao | ||
130 | */ | ||
123 | checkChange () { | 131 | checkChange () { |
124 | if (this.checkList.length === 0) { | 132 | if (this.checkList.length === 0) { |
125 | this.tableData = []; | 133 | this.tableData = []; |
... | @@ -128,6 +136,11 @@ | ... | @@ -128,6 +136,11 @@ |
128 | this.loadData(); | 136 | this.loadData(); |
129 | } | 137 | } |
130 | }, | 138 | }, |
139 | /** | ||
140 | * @description: getQsztName | ||
141 | * @param {*} code | ||
142 | * @author: renchao | ||
143 | */ | ||
131 | getQsztName (code) { | 144 | getQsztName (code) { |
132 | let name = ""; | 145 | let name = ""; |
133 | for (let item of this.qsztList) { | 146 | for (let item of this.qsztList) { |
... | @@ -139,6 +152,12 @@ | ... | @@ -139,6 +152,12 @@ |
139 | return name; | 152 | return name; |
140 | }, | 153 | }, |
141 | // 新增一条补录信息 | 154 | // 新增一条补录信息 |
155 | /** | ||
156 | * @description: 新增一条补录信息 | ||
157 | * @param {*} row | ||
158 | * @param {*} del | ||
159 | * @author: renchao | ||
160 | */ | ||
142 | editDialog (row, del) { | 161 | editDialog (row, del) { |
143 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | 162 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { |
144 | confirmButtonText: "确定", | 163 | confirmButtonText: "确定", | ... | ... |
... | @@ -90,6 +90,10 @@ | ... | @@ -90,6 +90,10 @@ |
90 | this.loadData(); | 90 | this.loadData(); |
91 | }, | 91 | }, |
92 | methods: { | 92 | methods: { |
93 | /** | ||
94 | * @description: loadData | ||
95 | * @author: renchao | ||
96 | */ | ||
93 | loadData () { | 97 | loadData () { |
94 | if (this.$parent.addRepairRecord) { | 98 | if (this.$parent.addRepairRecord) { |
95 | this.columns.unshift({ prop: "cz", label: "操作" }); | 99 | this.columns.unshift({ prop: "cz", label: "操作" }); |
... | @@ -114,6 +118,10 @@ | ... | @@ -114,6 +118,10 @@ |
114 | } | 118 | } |
115 | }); | 119 | }); |
116 | }, | 120 | }, |
121 | /** | ||
122 | * @description: checkChange | ||
123 | * @author: renchao | ||
124 | */ | ||
117 | checkChange () { | 125 | checkChange () { |
118 | if (this.checkList.length === 0) { | 126 | if (this.checkList.length === 0) { |
119 | this.tableData = []; | 127 | this.tableData = []; |
... | @@ -122,6 +130,11 @@ | ... | @@ -122,6 +130,11 @@ |
122 | this.loadData(); | 130 | this.loadData(); |
123 | } | 131 | } |
124 | }, | 132 | }, |
133 | /** | ||
134 | * @description: getQsztName | ||
135 | * @param {*} code | ||
136 | * @author: renchao | ||
137 | */ | ||
125 | getQsztName (code) { | 138 | getQsztName (code) { |
126 | let name = ""; | 139 | let name = ""; |
127 | for (let item of this.qsztList) { | 140 | for (let item of this.qsztList) { |
... | @@ -133,6 +146,12 @@ | ... | @@ -133,6 +146,12 @@ |
133 | return name; | 146 | return name; |
134 | }, | 147 | }, |
135 | // 新增一条补录信息 | 148 | // 新增一条补录信息 |
149 | /** | ||
150 | * @description: 新增一条补录信息 | ||
151 | * @param {*} row | ||
152 | * @param {*} del | ||
153 | * @author: renchao | ||
154 | */ | ||
136 | editDialog (row, del) { | 155 | editDialog (row, del) { |
137 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | 156 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { |
138 | confirmButtonText: "确定", | 157 | confirmButtonText: "确定", | ... | ... |
... | @@ -45,6 +45,10 @@ | ... | @@ -45,6 +45,10 @@ |
45 | this.loadData(); | 45 | this.loadData(); |
46 | }, | 46 | }, |
47 | methods: { | 47 | methods: { |
48 | /** | ||
49 | * @description: loadData | ||
50 | * @author: renchao | ||
51 | */ | ||
48 | loadData () { | 52 | loadData () { |
49 | getBdcqljqtsx({ | 53 | getBdcqljqtsx({ |
50 | bdcdyid: this.formData.bdcdyid, | 54 | bdcdyid: this.formData.bdcdyid, |
... | @@ -66,9 +70,21 @@ | ... | @@ -66,9 +70,21 @@ |
66 | bsmQlxx: this.formData.bsmQlxx, | 70 | bsmQlxx: this.formData.bsmQlxx, |
67 | }; | 71 | }; |
68 | }, | 72 | }, |
73 | /** | ||
74 | * @description: handleNodeClick | ||
75 | * @param {*} data | ||
76 | * @param {*} node | ||
77 | * @param {*} elem | ||
78 | * @author: renchao | ||
79 | */ | ||
69 | handleNodeClick (data, node, elem) { | 80 | handleNodeClick (data, node, elem) { |
70 | this.loadComponent(data.form); | 81 | this.loadComponent(data.form); |
71 | }, | 82 | }, |
83 | /** | ||
84 | * @description: loadComponent | ||
85 | * @param {*} form | ||
86 | * @author: renchao | ||
87 | */ | ||
72 | loadComponent (form) { | 88 | loadComponent (form) { |
73 | console.log(form, 'formformformform'); | 89 | console.log(form, 'formformformform'); |
74 | this.componentTag = (r) => | 90 | this.componentTag = (r) => | ... | ... |
... | @@ -39,6 +39,12 @@ var qlxxPage = [ | ... | @@ -39,6 +39,12 @@ var qlxxPage = [ |
39 | ]; | 39 | ]; |
40 | 40 | ||
41 | //组装登记簿树形结构 | 41 | //组装登记簿树形结构 |
42 | /** | ||
43 | * @description: 组装登记簿树形结构 | ||
44 | * @param {*} qlxxData | ||
45 | * @param {*} bdcdyh | ||
46 | * @author: renchao | ||
47 | */ | ||
42 | export function loadTreeData(qlxxData, bdcdyh) { | 48 | export function loadTreeData(qlxxData, bdcdyh) { |
43 | let treedata = []; | 49 | let treedata = []; |
44 | //加载封面 | 50 | //加载封面 |
... | @@ -65,6 +71,13 @@ export function loadTreeData(qlxxData, bdcdyh) { | ... | @@ -65,6 +71,13 @@ export function loadTreeData(qlxxData, bdcdyh) { |
65 | } | 71 | } |
66 | 72 | ||
67 | //获取权利类型、不动产单元类型对应的树形节点信息 | 73 | //获取权利类型、不动产单元类型对应的树形节点信息 |
74 | /** | ||
75 | * @description: 不动产单元类型对应的树形节点信息 | ||
76 | * @param {*} qllx | ||
77 | * @param {*} qlxx | ||
78 | * @param {*} bdcdylx | ||
79 | * @author: renchao | ||
80 | */ | ||
68 | export function getNode(qllx, qlxx, bdcdylx) { | 81 | export function getNode(qllx, qlxx, bdcdylx) { |
69 | let node; | 82 | let node; |
70 | for (var i = 0; i < qlxxPage.length; i++) { | 83 | for (var i = 0; i < qlxxPage.length; i++) { | ... | ... |
... | @@ -53,12 +53,21 @@ | ... | @@ -53,12 +53,21 @@ |
53 | }, | 53 | }, |
54 | methods: { | 54 | methods: { |
55 | // 截取字符的方法 | 55 | // 截取字符的方法 |
56 | /** | ||
57 | * @description: 截取字符的方法 | ||
58 | * @param {*} obj | ||
59 | * @author: renchao | ||
60 | */ | ||
56 | getCaption (obj) { | 61 | getCaption (obj) { |
57 | let index = obj.lastIndexOf("="); | 62 | let index = obj.lastIndexOf("="); |
58 | obj = obj.substring(index + 1, obj.length); | 63 | obj = obj.substring(index + 1, obj.length); |
59 | return obj | 64 | return obj |
60 | }, | 65 | }, |
61 | // 通过不动产业务号获取参数 | 66 | // 通过不动产业务号获取参数 |
67 | /** | ||
68 | * @description: 通过不动产业务号获取参数 | ||
69 | * @author: renchao | ||
70 | */ | ||
62 | getdata () { | 71 | getdata () { |
63 | this.queryForm = { | 72 | this.queryForm = { |
64 | bdcdyh: this.getCaption(window.location.href), | 73 | bdcdyh: this.getCaption(window.location.href), |
... | @@ -84,6 +93,12 @@ | ... | @@ -84,6 +93,12 @@ |
84 | }, | 93 | }, |
85 | 94 | ||
86 | // 获取不动产信息 | 95 | // 获取不动产信息 |
96 | /** | ||
97 | * @description: 获取不动产信息 | ||
98 | * @param {*} a | ||
99 | * @param {*} b | ||
100 | * @author: renchao | ||
101 | */ | ||
87 | loadBdcdylist (a, b) { | 102 | loadBdcdylist (a, b) { |
88 | var formdata = new FormData(); | 103 | var formdata = new FormData(); |
89 | formdata.append("bsmSlsq", a); | 104 | formdata.append("bsmSlsq", a); |
... | @@ -97,6 +112,10 @@ | ... | @@ -97,6 +112,10 @@ |
97 | } | 112 | } |
98 | }); | 113 | }); |
99 | }, | 114 | }, |
115 | /** | ||
116 | * @description: loadData | ||
117 | * @author: renchao | ||
118 | */ | ||
100 | loadData () { | 119 | loadData () { |
101 | getBdcqljqtsx({ | 120 | getBdcqljqtsx({ |
102 | bdcdyid: this.currentSelectProps.bdcdyid, | 121 | bdcdyid: this.currentSelectProps.bdcdyid, |
... | @@ -121,9 +140,21 @@ | ... | @@ -121,9 +140,21 @@ |
121 | /* | 140 | /* |
122 | 点击登记簿菜单 | 141 | 点击登记簿菜单 |
123 | */ | 142 | */ |
143 | /** | ||
144 | * @description: 点击登记簿菜单 | ||
145 | * @param {*} data | ||
146 | * @param {*} node | ||
147 | * @param {*} elem | ||
148 | * @author: renchao | ||
149 | */ | ||
124 | handleNodeClick (data, node, elem) { | 150 | handleNodeClick (data, node, elem) { |
125 | this.loadComponent(data.form); | 151 | this.loadComponent(data.form); |
126 | }, | 152 | }, |
153 | /** | ||
154 | * @description: loadComponent | ||
155 | * @param {*} form | ||
156 | * @author: renchao | ||
157 | */ | ||
127 | loadComponent (form) { | 158 | loadComponent (form) { |
128 | this.componentTag = (r) => | 159 | this.componentTag = (r) => |
129 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 160 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | ... | ... |
... | @@ -52,6 +52,10 @@ | ... | @@ -52,6 +52,10 @@ |
52 | this.loadData(); | 52 | this.loadData(); |
53 | }, | 53 | }, |
54 | methods: { | 54 | methods: { |
55 | /** | ||
56 | * @description: loadData | ||
57 | * @author: renchao | ||
58 | */ | ||
55 | loadData () { | 59 | loadData () { |
56 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 60 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
57 | if (res.code === 200) { | 61 | if (res.code === 200) { | ... | ... |
... | @@ -80,6 +80,10 @@ | ... | @@ -80,6 +80,10 @@ |
80 | this.loadData(); | 80 | this.loadData(); |
81 | }, | 81 | }, |
82 | methods: { | 82 | methods: { |
83 | /** | ||
84 | * @description: loadData | ||
85 | * @author: renchao | ||
86 | */ | ||
83 | loadData () { | 87 | loadData () { |
84 | if (this.$parent.addRepairRecord) { | 88 | if (this.$parent.addRepairRecord) { |
85 | this.columns.unshift({ | 89 | this.columns.unshift({ |
... | @@ -106,6 +110,10 @@ | ... | @@ -106,6 +110,10 @@ |
106 | } | 110 | } |
107 | }); | 111 | }); |
108 | }, | 112 | }, |
113 | /** | ||
114 | * @description: checkChange | ||
115 | * @author: renchao | ||
116 | */ | ||
109 | checkChange () { | 117 | checkChange () { |
110 | if (this.checkList.length === 0) { | 118 | if (this.checkList.length === 0) { |
111 | this.tableData = []; | 119 | this.tableData = []; |
... | @@ -114,6 +122,11 @@ | ... | @@ -114,6 +122,11 @@ |
114 | this.loadData(); | 122 | this.loadData(); |
115 | } | 123 | } |
116 | }, | 124 | }, |
125 | /** | ||
126 | * @description: getQsztName | ||
127 | * @param {*} code | ||
128 | * @author: renchao | ||
129 | */ | ||
117 | getQsztName (code) { | 130 | getQsztName (code) { |
118 | let name = ""; | 131 | let name = ""; |
119 | for (let item of this.qsztList) { | 132 | for (let item of this.qsztList) { |
... | @@ -125,6 +138,12 @@ | ... | @@ -125,6 +138,12 @@ |
125 | return name; | 138 | return name; |
126 | }, | 139 | }, |
127 | // 新增一条补录信息 | 140 | // 新增一条补录信息 |
141 | /** | ||
142 | * @description: 新增一条补录信息 | ||
143 | * @param {*} row | ||
144 | * @param {*} del | ||
145 | * @author: renchao | ||
146 | */ | ||
128 | editDialog (row, del) { | 147 | editDialog (row, del) { |
129 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 148 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
130 | confirmButtonText: '确定', | 149 | confirmButtonText: '确定', | ... | ... |
... | @@ -96,6 +96,10 @@ | ... | @@ -96,6 +96,10 @@ |
96 | this.loadData(); | 96 | this.loadData(); |
97 | }, | 97 | }, |
98 | methods: { | 98 | methods: { |
99 | /** | ||
100 | * @description: loadData | ||
101 | * @author: renchao | ||
102 | */ | ||
99 | loadData () { | 103 | loadData () { |
100 | if (this.$parent.addRepairRecord) { | 104 | if (this.$parent.addRepairRecord) { |
101 | this.columns.unshift({ prop: "cz", label: "操作" }); | 105 | this.columns.unshift({ prop: "cz", label: "操作" }); |
... | @@ -119,6 +123,10 @@ | ... | @@ -119,6 +123,10 @@ |
119 | } | 123 | } |
120 | }); | 124 | }); |
121 | }, | 125 | }, |
126 | /** | ||
127 | * @description: checkChange | ||
128 | * @author: renchao | ||
129 | */ | ||
122 | checkChange () { | 130 | checkChange () { |
123 | if (this.checkList.length === 0) { | 131 | if (this.checkList.length === 0) { |
124 | this.tableData = []; | 132 | this.tableData = []; |
... | @@ -127,6 +135,11 @@ | ... | @@ -127,6 +135,11 @@ |
127 | this.loadData(); | 135 | this.loadData(); |
128 | } | 136 | } |
129 | }, | 137 | }, |
138 | /** | ||
139 | * @description: getQsztName | ||
140 | * @param {*} code | ||
141 | * @author: renchao | ||
142 | */ | ||
130 | getQsztName (code) { | 143 | getQsztName (code) { |
131 | let name = ""; | 144 | let name = ""; |
132 | for (let item of this.qsztList) { | 145 | for (let item of this.qsztList) { |
... | @@ -138,6 +151,12 @@ | ... | @@ -138,6 +151,12 @@ |
138 | return name; | 151 | return name; |
139 | }, | 152 | }, |
140 | // 新增一条补录信息 | 153 | // 新增一条补录信息 |
154 | /** | ||
155 | * @description: 新增一条补录信息 | ||
156 | * @param {*} row | ||
157 | * @param {*} del | ||
158 | * @author: renchao | ||
159 | */ | ||
141 | editDialog (row, del) { | 160 | editDialog (row, del) { |
142 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { | 161 | this.$confirm("此操作将新增一条补录信息, 是否继续?", "提示", { |
143 | confirmButtonText: "确定", | 162 | confirmButtonText: "确定", | ... | ... |
... | @@ -85,6 +85,10 @@ | ... | @@ -85,6 +85,10 @@ |
85 | this.loadData(); | 85 | this.loadData(); |
86 | }, | 86 | }, |
87 | methods: { | 87 | methods: { |
88 | /** | ||
89 | * @description: loadData | ||
90 | * @author: renchao | ||
91 | */ | ||
88 | loadData () { | 92 | loadData () { |
89 | 93 | ||
90 | if (this.$parent.addRepairRecord) { | 94 | if (this.$parent.addRepairRecord) { |
... | @@ -112,6 +116,10 @@ | ... | @@ -112,6 +116,10 @@ |
112 | } | 116 | } |
113 | }); | 117 | }); |
114 | }, | 118 | }, |
119 | /** | ||
120 | * @description: checkChange | ||
121 | * @author: renchao | ||
122 | */ | ||
115 | checkChange () { | 123 | checkChange () { |
116 | if (this.checkList.length === 0) { | 124 | if (this.checkList.length === 0) { |
117 | this.tableData = []; | 125 | this.tableData = []; |
... | @@ -120,6 +128,11 @@ | ... | @@ -120,6 +128,11 @@ |
120 | this.loadData(); | 128 | this.loadData(); |
121 | } | 129 | } |
122 | }, | 130 | }, |
131 | /** | ||
132 | * @description: getQsztName | ||
133 | * @param {*} code | ||
134 | * @author: renchao | ||
135 | */ | ||
123 | getQsztName (code) { | 136 | getQsztName (code) { |
124 | let name = ""; | 137 | let name = ""; |
125 | for (let item of this.qsztList) { | 138 | for (let item of this.qsztList) { |
... | @@ -131,6 +144,12 @@ | ... | @@ -131,6 +144,12 @@ |
131 | return name; | 144 | return name; |
132 | }, | 145 | }, |
133 | // 新增一条补录信息 | 146 | // 新增一条补录信息 |
147 | /** | ||
148 | * @description: 新增一条补录信息 | ||
149 | * @param {*} row | ||
150 | * @param {*} del | ||
151 | * @author: renchao | ||
152 | */ | ||
134 | editDialog (row, del) { | 153 | editDialog (row, del) { |
135 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 154 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
136 | confirmButtonText: '确定', | 155 | confirmButtonText: '确定', | ... | ... |
... | @@ -128,6 +128,10 @@ | ... | @@ -128,6 +128,10 @@ |
128 | this.loadData(); | 128 | this.loadData(); |
129 | }, | 129 | }, |
130 | methods: { | 130 | methods: { |
131 | /** | ||
132 | * @description: loadData | ||
133 | * @author: renchao | ||
134 | */ | ||
131 | loadData () { | 135 | loadData () { |
132 | if (this.$parent.addRepairRecord) { | 136 | if (this.$parent.addRepairRecord) { |
133 | this.columns.unshift({ | 137 | this.columns.unshift({ |
... | @@ -154,6 +158,10 @@ | ... | @@ -154,6 +158,10 @@ |
154 | } | 158 | } |
155 | }); | 159 | }); |
156 | }, | 160 | }, |
161 | /** | ||
162 | * @description: checkChange | ||
163 | * @author: renchao | ||
164 | */ | ||
157 | checkChange () { | 165 | checkChange () { |
158 | if (this.checkList.length === 0) { | 166 | if (this.checkList.length === 0) { |
159 | this.tableData = []; | 167 | this.tableData = []; |
... | @@ -162,6 +170,10 @@ | ... | @@ -162,6 +170,10 @@ |
162 | this.loadData(); | 170 | this.loadData(); |
163 | } | 171 | } |
164 | }, | 172 | }, |
173 | /** | ||
174 | * @description: getQsztName | ||
175 | * @author: renchao | ||
176 | */ | ||
165 | getQsztName (code) { | 177 | getQsztName (code) { |
166 | let name = ""; | 178 | let name = ""; |
167 | for (let item of this.qsztList) { | 179 | for (let item of this.qsztList) { |
... | @@ -173,6 +185,12 @@ | ... | @@ -173,6 +185,12 @@ |
173 | return name; | 185 | return name; |
174 | }, | 186 | }, |
175 | // 新增一条补录信息 | 187 | // 新增一条补录信息 |
188 | /** | ||
189 | * @description: 新增一条补录信息 | ||
190 | * @param {*} row | ||
191 | * @param {*} del | ||
192 | * @author: renchao | ||
193 | */ | ||
176 | editDialog (row, del) { | 194 | editDialog (row, del) { |
177 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 195 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
178 | confirmButtonText: '确定', | 196 | confirmButtonText: '确定', | ... | ... |
... | @@ -85,6 +85,10 @@ | ... | @@ -85,6 +85,10 @@ |
85 | this.loadData(); | 85 | this.loadData(); |
86 | }, | 86 | }, |
87 | methods: { | 87 | methods: { |
88 | /** | ||
89 | * @description: loadData | ||
90 | * @author: renchao | ||
91 | */ | ||
88 | loadData () { | 92 | loadData () { |
89 | 93 | ||
90 | if (this.$parent.addRepairRecord) { | 94 | if (this.$parent.addRepairRecord) { |
... | @@ -112,6 +116,10 @@ | ... | @@ -112,6 +116,10 @@ |
112 | } | 116 | } |
113 | }); | 117 | }); |
114 | }, | 118 | }, |
119 | /** | ||
120 | * @description: checkChange | ||
121 | * @author: renchao | ||
122 | */ | ||
115 | checkChange () { | 123 | checkChange () { |
116 | if (this.checkList.length === 0) { | 124 | if (this.checkList.length === 0) { |
117 | this.tableData = []; | 125 | this.tableData = []; |
... | @@ -120,6 +128,11 @@ | ... | @@ -120,6 +128,11 @@ |
120 | this.loadData(); | 128 | this.loadData(); |
121 | } | 129 | } |
122 | }, | 130 | }, |
131 | /** | ||
132 | * @description: getQsztName | ||
133 | * @param {*} code | ||
134 | * @author: renchao | ||
135 | */ | ||
123 | getQsztName (code) { | 136 | getQsztName (code) { |
124 | let name = ""; | 137 | let name = ""; |
125 | for (let item of this.qsztList) { | 138 | for (let item of this.qsztList) { |
... | @@ -131,6 +144,12 @@ | ... | @@ -131,6 +144,12 @@ |
131 | return name; | 144 | return name; |
132 | }, | 145 | }, |
133 | // 新增一条补录信息 | 146 | // 新增一条补录信息 |
147 | /** | ||
148 | * @description: 新增一条补录信息 | ||
149 | * @param {*} row | ||
150 | * @param {*} del | ||
151 | * @author: renchao | ||
152 | */ | ||
134 | editDialog (row, del) { | 153 | editDialog (row, del) { |
135 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 154 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
136 | confirmButtonText: '确定', | 155 | confirmButtonText: '确定', | ... | ... |
... | @@ -84,6 +84,10 @@ | ... | @@ -84,6 +84,10 @@ |
84 | this.loadData(); | 84 | this.loadData(); |
85 | }, | 85 | }, |
86 | methods: { | 86 | methods: { |
87 | /** | ||
88 | * @description: loadData | ||
89 | * @author: renchao | ||
90 | */ | ||
87 | loadData () { | 91 | loadData () { |
88 | // 判断是否在登记簿补录调的子页面 | 92 | // 判断是否在登记簿补录调的子页面 |
89 | if (this.$parent.addRepairRecord) { | 93 | if (this.$parent.addRepairRecord) { |
... | @@ -112,6 +116,10 @@ | ... | @@ -112,6 +116,10 @@ |
112 | } | 116 | } |
113 | }); | 117 | }); |
114 | }, | 118 | }, |
119 | /** | ||
120 | * @description: checkChange | ||
121 | * @author: renchao | ||
122 | */ | ||
115 | checkChange () { | 123 | checkChange () { |
116 | if (this.checkList.length === 0) { | 124 | if (this.checkList.length === 0) { |
117 | this.tableData = []; | 125 | this.tableData = []; |
... | @@ -120,6 +128,11 @@ | ... | @@ -120,6 +128,11 @@ |
120 | this.loadData(); | 128 | this.loadData(); |
121 | } | 129 | } |
122 | }, | 130 | }, |
131 | /** | ||
132 | * @description: getQsztName | ||
133 | * @param {*} code | ||
134 | * @author: renchao | ||
135 | */ | ||
123 | getQsztName (code) { | 136 | getQsztName (code) { |
124 | let name = ""; | 137 | let name = ""; |
125 | for (let item of this.qsztList) { | 138 | for (let item of this.qsztList) { |
... | @@ -131,6 +144,12 @@ | ... | @@ -131,6 +144,12 @@ |
131 | return name; | 144 | return name; |
132 | }, | 145 | }, |
133 | // 新增一条补录信息 | 146 | // 新增一条补录信息 |
147 | /** | ||
148 | * @description: 新增一条补录信息 | ||
149 | * @param {*} row | ||
150 | * @param {*} del | ||
151 | * @author: renchao | ||
152 | */ | ||
134 | editDialog (row, del) { | 153 | editDialog (row, del) { |
135 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 154 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
136 | confirmButtonText: '确定', | 155 | confirmButtonText: '确定', | ... | ... |
... | @@ -84,6 +84,10 @@ | ... | @@ -84,6 +84,10 @@ |
84 | this.loadData(); | 84 | this.loadData(); |
85 | }, | 85 | }, |
86 | methods: { | 86 | methods: { |
87 | /** | ||
88 | * @description: loadData | ||
89 | * @author: renchao | ||
90 | */ | ||
87 | loadData () { | 91 | loadData () { |
88 | if (this.$parent.addRepairRecord) { | 92 | if (this.$parent.addRepairRecord) { |
89 | this.columns.unshift({ | 93 | this.columns.unshift({ |
... | @@ -111,6 +115,10 @@ | ... | @@ -111,6 +115,10 @@ |
111 | } | 115 | } |
112 | }); | 116 | }); |
113 | }, | 117 | }, |
118 | /** | ||
119 | * @description: checkChange | ||
120 | * @author: renchao | ||
121 | */ | ||
114 | checkChange () { | 122 | checkChange () { |
115 | if (this.checkList.length === 0) { | 123 | if (this.checkList.length === 0) { |
116 | this.tableData = []; | 124 | this.tableData = []; |
... | @@ -119,6 +127,11 @@ | ... | @@ -119,6 +127,11 @@ |
119 | this.loadData(); | 127 | this.loadData(); |
120 | } | 128 | } |
121 | }, | 129 | }, |
130 | /** | ||
131 | * @description: getQsztName | ||
132 | * @param {*} code | ||
133 | * @author: renchao | ||
134 | */ | ||
122 | getQsztName (code) { | 135 | getQsztName (code) { |
123 | let name = ""; | 136 | let name = ""; |
124 | for (let item of this.qsztList) { | 137 | for (let item of this.qsztList) { |
... | @@ -130,6 +143,12 @@ | ... | @@ -130,6 +143,12 @@ |
130 | return name; | 143 | return name; |
131 | }, | 144 | }, |
132 | // 新增一条补录信息 | 145 | // 新增一条补录信息 |
146 | /** | ||
147 | * @description: 新增一条补录信息 | ||
148 | * @param {*} row | ||
149 | * @param {*} del | ||
150 | * @author: renchao | ||
151 | */ | ||
133 | editDialog (row, del) { | 152 | editDialog (row, del) { |
134 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 153 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
135 | confirmButtonText: '确定', | 154 | confirmButtonText: '确定', | ... | ... |
... | @@ -192,6 +192,10 @@ | ... | @@ -192,6 +192,10 @@ |
192 | this.loadData() | 192 | this.loadData() |
193 | }, | 193 | }, |
194 | methods: { | 194 | methods: { |
195 | /** | ||
196 | * @description: loadData | ||
197 | * @author: renchao | ||
198 | */ | ||
195 | loadData () { | 199 | loadData () { |
196 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | 200 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { |
197 | if (res.code === 200) { | 201 | if (res.code === 200) { | ... | ... |
... | @@ -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 | } | ... | ... |
... | @@ -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); |
... | @@ -102,6 +106,10 @@ | ... | @@ -102,6 +106,10 @@ |
102 | }) | 106 | }) |
103 | }, | 107 | }, |
104 | //批量按钮判断 | 108 | //批量按钮判断 |
109 | /** | ||
110 | * @description: 批量按钮判断 | ||
111 | * @author: renchao | ||
112 | */ | ||
105 | judgeBatchShow () { | 113 | judgeBatchShow () { |
106 | this.showBatch = false; | 114 | this.showBatch = false; |
107 | if (this.unitData.length > 1) { | 115 | if (this.unitData.length > 1) { |
... | @@ -163,13 +171,21 @@ | ... | @@ -163,13 +171,21 @@ |
163 | }); | 171 | }); |
164 | }, | 172 | }, |
165 | //批量按钮点击事件 | 173 | //批量按钮点击事件 |
174 | /** | ||
175 | * @description: 批量按钮点击事件 | ||
176 | * @author: renchao | ||
177 | */ | ||
166 | batchUnitClick () { | 178 | batchUnitClick () { |
167 | this.currentSelectProps.batchOperation = true; | 179 | this.currentSelectProps.batchOperation = true; |
168 | this.activeIndex = "-1"; | 180 | // this.activeIndex = "-1"; |
169 | this.$parent.stepForm(); | 181 | this.$parent.stepForm(0); |
170 | 182 | ||
171 | }, | 183 | }, |
172 | //批量操作 | 184 | //批量操作 |
185 | /** | ||
186 | * @description: 批量操作 | ||
187 | * @author: renchao | ||
188 | */ | ||
173 | handleBatchDel () { | 189 | handleBatchDel () { |
174 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 190 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
175 | bsmSlsq: this.bsmSlsq, | 191 | bsmSlsq: this.bsmSlsq, |
... | @@ -177,7 +193,13 @@ | ... | @@ -177,7 +193,13 @@ |
177 | }, '50%', true) | 193 | }, '50%', true) |
178 | }, | 194 | }, |
179 | //申请单元点击事件 | 195 | //申请单元点击事件 |
196 | /** | ||
197 | * @description: 申请单元点击事件 | ||
198 | * @param {*} index | ||
199 | * @author: renchao | ||
200 | */ | ||
180 | unitClick (index) { | 201 | unitClick (index) { |
202 | if(this.unitData.length==0) return | ||
181 | this.currentSelectProps = this.unitData[index]; | 203 | this.currentSelectProps = this.unitData[index]; |
182 | this.currentSelectProps.batchOperation = false; | 204 | this.currentSelectProps.batchOperation = false; |
183 | this.activeIndex = index.toString(); | 205 | this.activeIndex = index.toString(); | ... | ... |
... | @@ -95,6 +95,10 @@ | ... | @@ -95,6 +95,10 @@ |
95 | }, | 95 | }, |
96 | methods: { | 96 | methods: { |
97 | //读取申请单元信息 | 97 | //读取申请单元信息 |
98 | /** | ||
99 | * @description: 读取申请单元信息 | ||
100 | * @author: renchao | ||
101 | */ | ||
98 | loadBdcdylist () { | 102 | loadBdcdylist () { |
99 | var formdata = new FormData(); | 103 | var formdata = new FormData(); |
100 | formdata.append("bsmSlsq", this.bsmSlsq); | 104 | formdata.append("bsmSlsq", this.bsmSlsq); |
... | @@ -120,6 +124,10 @@ | ... | @@ -120,6 +124,10 @@ |
120 | }) | 124 | }) |
121 | }, | 125 | }, |
122 | //批量按钮判断 | 126 | //批量按钮判断 |
127 | /** | ||
128 | * @description: 批量按钮判断 | ||
129 | * @author: renchao | ||
130 | */ | ||
123 | judgeBatchShow () { | 131 | judgeBatchShow () { |
124 | this.showBatch = false; | 132 | this.showBatch = false; |
125 | if (this.afterUnitData.length > 1) { | 133 | if (this.afterUnitData.length > 1) { |
... | @@ -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 | } | ... | ... |
... | @@ -39,6 +39,10 @@ | ... | @@ -39,6 +39,10 @@ |
39 | } | 39 | } |
40 | }, | 40 | }, |
41 | methods: { | 41 | methods: { |
42 | /** | ||
43 | * @description: tablelistFn | ||
44 | * @author: renchao | ||
45 | */ | ||
42 | tablelistFn () { | 46 | tablelistFn () { |
43 | getNextLinkInfo(this.queryForm).then(res => { | 47 | getNextLinkInfo(this.queryForm).then(res => { |
44 | if (res.code === 200) { | 48 | if (res.code === 200) { |
... | @@ -49,6 +53,10 @@ | ... | @@ -49,6 +53,10 @@ |
49 | } | 53 | } |
50 | }) | 54 | }) |
51 | }, | 55 | }, |
56 | /** | ||
57 | * @description: submitForm | ||
58 | * @author: renchao | ||
59 | */ | ||
52 | submitForm () { | 60 | submitForm () { |
53 | completeTask(this.queryForm).then(res => { | 61 | completeTask(this.queryForm).then(res => { |
54 | if (res.code === 200) { | 62 | if (res.code === 200) { |
... | @@ -62,6 +70,10 @@ | ... | @@ -62,6 +70,10 @@ |
62 | } | 70 | } |
63 | }) | 71 | }) |
64 | }, | 72 | }, |
73 | /** | ||
74 | * @description: closeDialog | ||
75 | * @author: renchao | ||
76 | */ | ||
65 | closeDialog () { | 77 | closeDialog () { |
66 | this.$emit("input", false); | 78 | this.$emit("input", false); |
67 | }, | 79 | }, | ... | ... |
... | @@ -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-20 15:37:37 | 4 | * @LastEditTime: 2023-07-21 10:32:29 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { uploadUndo } from "@/api/clxx"; | 7 | import { uploadUndo } from "@/api/clxx"; |
... | @@ -43,6 +43,10 @@ export default { | ... | @@ -43,6 +43,10 @@ export default { |
43 | }, | 43 | }, |
44 | methods: { | 44 | methods: { |
45 | //加载流程初始参数 | 45 | //加载流程初始参数 |
46 | /** | ||
47 | * @description: 加载流程初始参数 | ||
48 | * @author: renchao | ||
49 | */ | ||
46 | flowInitParam () { | 50 | flowInitParam () { |
47 | var formdata = new FormData(); | 51 | var formdata = new FormData(); |
48 | formdata.append("bsmSlsq", this.bsmSlsq); | 52 | formdata.append("bsmSlsq", this.bsmSlsq); |
... | @@ -59,6 +63,11 @@ export default { | ... | @@ -59,6 +63,11 @@ export default { |
59 | }) | 63 | }) |
60 | }, | 64 | }, |
61 | //流程环节操作按钮 | 65 | //流程环节操作按钮 |
66 | /** | ||
67 | * @description: 流程环节操作按钮 | ||
68 | * @param {*} item | ||
69 | * @author: renchao | ||
70 | */ | ||
62 | operation (item) { | 71 | operation (item) { |
63 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 | 72 | //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 |
64 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout | 73 | //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout |
... | @@ -225,6 +234,10 @@ export default { | ... | @@ -225,6 +234,10 @@ export default { |
225 | break; | 234 | break; |
226 | } | 235 | } |
227 | }, | 236 | }, |
237 | /** | ||
238 | * @description: del | ||
239 | * @author: renchao | ||
240 | */ | ||
228 | del () { | 241 | del () { |
229 | let formdata = new FormData(); | 242 | let formdata = new FormData(); |
230 | formdata.append("bsmSlsq", this.bsmSlsq); | 243 | formdata.append("bsmSlsq", this.bsmSlsq); |
... | @@ -255,6 +268,11 @@ export default { | ... | @@ -255,6 +268,11 @@ export default { |
255 | }); | 268 | }); |
256 | }, | 269 | }, |
257 | //发送下一个环节 | 270 | //发送下一个环节 |
271 | /** | ||
272 | * @description: 发送下一个环节 | ||
273 | * @param {*} obj | ||
274 | * @author: renchao | ||
275 | */ | ||
258 | sendToNext (obj) { | 276 | sendToNext (obj) { |
259 | const h = this.$createElement; | 277 | const h = this.$createElement; |
260 | this.$msgbox({ | 278 | this.$msgbox({ |
... | @@ -291,6 +309,7 @@ export default { | ... | @@ -291,6 +309,7 @@ export default { |
291 | instance.confirmButtonLoading = false; | 309 | instance.confirmButtonLoading = false; |
292 | instance.confirmButtonText = "确定"; | 310 | instance.confirmButtonText = "确定"; |
293 | this.$message.error(res.message); | 311 | this.$message.error(res.message); |
312 | // ywPopupDialog("转出错误明细", "workflow/components/dialog/dblist", { result: res.result }, '30%', true) | ||
294 | } | 313 | } |
295 | }); | 314 | }); |
296 | } else { | 315 | } else { |
... | @@ -304,6 +323,10 @@ export default { | ... | @@ -304,6 +323,10 @@ export default { |
304 | }); | 323 | }); |
305 | }); | 324 | }); |
306 | }, | 325 | }, |
326 | /** | ||
327 | * @description: sendToEnd | ||
328 | * @author: renchao | ||
329 | */ | ||
307 | sendToEnd () { | 330 | sendToEnd () { |
308 | let that = this | 331 | let that = this |
309 | const h = this.$createElement; | 332 | const h = this.$createElement; |
... | @@ -350,6 +373,10 @@ export default { | ... | @@ -350,6 +373,10 @@ export default { |
350 | }) | 373 | }) |
351 | }, | 374 | }, |
352 | //批量操作 | 375 | //批量操作 |
376 | /** | ||
377 | * @description: 批量操作 | ||
378 | * @author: renchao | ||
379 | */ | ||
353 | handleBatchDel () { | 380 | handleBatchDel () { |
354 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 381 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
355 | width: "50%", | 382 | width: "50%", |
... | @@ -359,6 +386,11 @@ export default { | ... | @@ -359,6 +386,11 @@ export default { |
359 | 386 | ||
360 | }) | 387 | }) |
361 | }, | 388 | }, |
389 | /** | ||
390 | * @description: handleChange | ||
391 | * @param {*} file | ||
392 | * @author: renchao | ||
393 | */ | ||
362 | handleChange (file) { | 394 | handleChange (file) { |
363 | var formdata = new FormData(); | 395 | var formdata = new FormData(); |
364 | formdata.append("file", file.raw); | 396 | formdata.append("file", file.raw); |
... | @@ -373,6 +405,11 @@ export default { | ... | @@ -373,6 +405,11 @@ export default { |
373 | }) | 405 | }) |
374 | }, | 406 | }, |
375 | // 上传 | 407 | // 上传 |
408 | /** | ||
409 | * @description: 上传 | ||
410 | * @param {*} file | ||
411 | * @author: renchao | ||
412 | */ | ||
376 | beforeUpload (file) { | 413 | beforeUpload (file) { |
377 | return true; | 414 | return true; |
378 | } | 415 | } | ... | ... |
... | @@ -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获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 | ... | ... |
... | @@ -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) { |
... | @@ -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 09:50:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -242,7 +242,12 @@ | ... | @@ -242,7 +242,12 @@ |
242 | disabled: true, | 242 | disabled: true, |
243 | tdytOption: [], | 243 | tdytOption: [], |
244 | czrOptions: [], | 244 | czrOptions: [], |
245 | ruleForm: {}, | 245 | ruleForm: { |
246 | fdcq2: { | ||
247 | zyjzmj: '', | ||
248 | ftjzmj: '' | ||
249 | } | ||
250 | }, | ||
246 | //传递参数 | 251 | //传递参数 |
247 | propsParam: this.$attrs, | 252 | propsParam: this.$attrs, |
248 | //表单是否可操作 | 253 | //表单是否可操作 |
... | @@ -252,21 +257,44 @@ | ... | @@ -252,21 +257,44 @@ |
252 | }, | 257 | }, |
253 | methods: { | 258 | methods: { |
254 | // 更新土地用途信息 | 259 | // 更新土地用途信息 |
260 | /** | ||
261 | * @description: 更新土地用途信息 | ||
262 | * @param {*} val | ||
263 | * @author: renchao | ||
264 | */ | ||
255 | upDateTdytxxList (val) { | 265 | upDateTdytxxList (val) { |
256 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 266 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
257 | this.key++; | 267 | this.key++; |
258 | }, | 268 | }, |
259 | // 更新权利人信息 | 269 | // 更新权利人信息 |
270 | /** | ||
271 | * @description: 更新权利人信息 | ||
272 | * @param {*} val | ||
273 | * @author: renchao | ||
274 | */ | ||
260 | upDateQlrxxList (val) { | 275 | upDateQlrxxList (val) { |
261 | this.ruleForm.qlrList = _.cloneDeep(val); | 276 | this.ruleForm.qlrList = _.cloneDeep(val); |
262 | }, | 277 | }, |
278 | /** | ||
279 | * @description: showCZInfo | ||
280 | * @author: renchao | ||
281 | */ | ||
263 | showCZInfo () { | 282 | showCZInfo () { |
264 | console.log(this.ruleForm.slsq.gyfs); | 283 | console.log(this.ruleForm.slsq.gyfs); |
265 | }, | 284 | }, |
266 | // 更新权利人信息 | 285 | // 更新权利人信息 |
286 | /** | ||
287 | * @description: 更新权利人信息 | ||
288 | * @param {*} val | ||
289 | * @author: renchao | ||
290 | */ | ||
267 | upDateYwrxxList (val) { | 291 | upDateYwrxxList (val) { |
268 | this.ruleForm.ywrList = _.cloneDeep(val); | 292 | this.ruleForm.ywrList = _.cloneDeep(val); |
269 | }, | 293 | }, |
294 | /** | ||
295 | * @description: onSubmit | ||
296 | * @author: renchao | ||
297 | */ | ||
270 | onSubmit () { | 298 | onSubmit () { |
271 | saveData(this.ruleForm).then((res) => { | 299 | saveData(this.ruleForm).then((res) => { |
272 | if (res.code === 200) { | 300 | if (res.code === 200) { | ... | ... |
... | @@ -269,7 +269,14 @@ | ... | @@ -269,7 +269,14 @@ |
269 | sffbcz: "", | 269 | sffbcz: "", |
270 | // 持证人 | 270 | // 持证人 |
271 | czr: "", | 271 | czr: "", |
272 | djyy: '' | 272 | djyy: '', |
273 | // 规划用途名称 | ||
274 | zdjbxx: { | ||
275 | ghytmc: '' | ||
276 | }, | ||
277 | fdcq2: { | ||
278 | fwxzmc: '' | ||
279 | } | ||
273 | }, | 280 | }, |
274 | //传递参数 | 281 | //传递参数 |
275 | propsParam: {}, | 282 | propsParam: {}, |
... | @@ -277,6 +284,10 @@ | ... | @@ -277,6 +284,10 @@ |
277 | }; | 284 | }; |
278 | }, | 285 | }, |
279 | methods: { | 286 | methods: { |
287 | /** | ||
288 | * @description: dataSelectClick | ||
289 | * @author: renchao | ||
290 | */ | ||
280 | dataSelectClick () { | 291 | dataSelectClick () { |
281 | this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", | 292 | this.$popup("房屋信息比对", this.BASE_API.SERVERAPI + "/rest/ywbl/fdcq2/slxxCompareDetai", |
282 | { | 293 | { |
... | @@ -287,19 +298,38 @@ | ... | @@ -287,19 +298,38 @@ |
287 | }); | 298 | }); |
288 | }, | 299 | }, |
289 | // 更新土地用途信息 | 300 | // 更新土地用途信息 |
301 | /** | ||
302 | * @description: 更新土地用途信息 | ||
303 | * @param {*} val | ||
304 | * @author: renchao | ||
305 | */ | ||
290 | upDateTdytxxList (val) { | 306 | upDateTdytxxList (val) { |
291 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 307 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
292 | this.key++; | 308 | this.key++; |
293 | }, | 309 | }, |
294 | // 更新权利人信息 | 310 | // 更新权利人信息 |
311 | /** | ||
312 | * @description: 更新权利人信息 | ||
313 | * @param {*} val | ||
314 | * @author: renchao | ||
315 | */ | ||
295 | upDateQlrxxList (val) { | 316 | upDateQlrxxList (val) { |
296 | this.ruleForm.qlrList = _.cloneDeep(val); | 317 | this.ruleForm.qlrList = _.cloneDeep(val); |
297 | }, | 318 | }, |
298 | // 更新权利人信息 | 319 | // 更新权利人信息 |
320 | /** | ||
321 | * @description: 更新权利人信息 | ||
322 | * @param {*} val | ||
323 | * @author: renchao | ||
324 | */ | ||
299 | upDateYwrxxList (val) { | 325 | upDateYwrxxList (val) { |
300 | this.ruleForm.ywrList = _.cloneDeep(val); | 326 | this.ruleForm.ywrList = _.cloneDeep(val); |
301 | }, | 327 | }, |
302 | 328 | ||
329 | /** | ||
330 | * @description: onSubmit | ||
331 | * @author: renchao | ||
332 | */ | ||
303 | onSubmit () { | 333 | onSubmit () { |
304 | saveData(this.ruleForm).then((res) => { | 334 | saveData(this.ruleForm).then((res) => { |
305 | if (res.code === 200) { | 335 | if (res.code === 200) { | ... | ... |
... | @@ -91,6 +91,10 @@ | ... | @@ -91,6 +91,10 @@ |
91 | }; | 91 | }; |
92 | }, | 92 | }, |
93 | methods: { | 93 | methods: { |
94 | /** | ||
95 | * @description: loadData | ||
96 | * @author: renchao | ||
97 | */ | ||
94 | loadData () { | 98 | loadData () { |
95 | var formdata = new FormData(); | 99 | var formdata = new FormData(); |
96 | formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); | 100 | formdata.append("bsmSldy", this.propsParam.formData.bsmSldy); |
... | @@ -108,6 +112,10 @@ | ... | @@ -108,6 +112,10 @@ |
108 | } | 112 | } |
109 | }); | 113 | }); |
110 | }, | 114 | }, |
115 | /** | ||
116 | * @description: checkChange | ||
117 | * @author: renchao | ||
118 | */ | ||
111 | checkChange () { | 119 | checkChange () { |
112 | if (this.checkList.length === 0) { | 120 | if (this.checkList.length === 0) { |
113 | this.tableData = []; | 121 | this.tableData = []; |
... | @@ -116,6 +124,11 @@ | ... | @@ -116,6 +124,11 @@ |
116 | this.loadData(); | 124 | this.loadData(); |
117 | } | 125 | } |
118 | }, | 126 | }, |
127 | /** | ||
128 | * @description: getQsztName | ||
129 | * @param {*} code | ||
130 | * @author: renchao | ||
131 | */ | ||
119 | getQsztName (code) { | 132 | getQsztName (code) { |
120 | let name = ""; | 133 | let name = ""; |
121 | for (let item of this.qsztList) { | 134 | for (let item of this.qsztList) { | ... | ... |
... | @@ -209,9 +209,12 @@ | ... | @@ -209,9 +209,12 @@ |
209 | }, | 209 | }, |
210 | methods: { | 210 | methods: { |
211 | //组装房地产权通用信息 | 211 | //组装房地产权通用信息 |
212 | /** | ||
213 | * @description: 组装房地产权通用信息 | ||
214 | * @author: renchao | ||
215 | */ | ||
212 | splicingFdcq2Info () { | 216 | splicingFdcq2Info () { |
213 | let fdcq2List = this.ruleForm.fdcq2List; | 217 | let fdcq2List = this.ruleForm.fdcq2List; |
214 | console.log(this.ruleForm.fdcq2List, 'this.ruleForm.fdcq2List'); | ||
215 | let fwxzArr = []; | 218 | let fwxzArr = []; |
216 | let fwjgArr = []; | 219 | let fwjgArr = []; |
217 | let jzmj = 0; | 220 | let jzmj = 0; |
... | @@ -233,16 +236,34 @@ | ... | @@ -233,16 +236,34 @@ |
233 | }, | 236 | }, |
234 | 237 | ||
235 | // 更新权利人信息 | 238 | // 更新权利人信息 |
239 | /** | ||
240 | * @description: 更新权利人信息 | ||
241 | * @param {*} val | ||
242 | * @author: renchao | ||
243 | */ | ||
236 | upDateQlrxxList (val) { | 244 | upDateQlrxxList (val) { |
237 | this.ruleForm.qlrList = _.cloneDeep(val); | 245 | this.ruleForm.qlrList = _.cloneDeep(val); |
238 | }, | 246 | }, |
247 | /** | ||
248 | * @description: showCZInfo | ||
249 | * @author: renchao | ||
250 | */ | ||
239 | showCZInfo () { | 251 | showCZInfo () { |
240 | console.log(this.ruleForm.slsq.gyfs); | 252 | console.log(this.ruleForm.slsq.gyfs); |
241 | }, | 253 | }, |
242 | // 更新义务人信息 | 254 | // 更新义务人信息 |
255 | /** | ||
256 | * @description: 更新义务人信息 | ||
257 | * @param {*} val | ||
258 | * @author: renchao | ||
259 | */ | ||
243 | upDateYwrxxList (val) { | 260 | upDateYwrxxList (val) { |
244 | this.ruleForm.ywrList = _.cloneDeep(val); | 261 | this.ruleForm.ywrList = _.cloneDeep(val); |
245 | }, | 262 | }, |
263 | /** | ||
264 | * @description: onSubmit | ||
265 | * @author: renchao | ||
266 | */ | ||
246 | onSubmit () { | 267 | onSubmit () { |
247 | saveBatchData(this.ruleForm).then((res) => { | 268 | saveBatchData(this.ruleForm).then((res) => { |
248 | if (res.code === 200) { | 269 | if (res.code === 200) { | ... | ... |
... | @@ -81,7 +81,7 @@ | ... | @@ -81,7 +81,7 @@ |
81 | </el-form-item> | 81 | </el-form-item> |
82 | </el-col> | 82 | </el-col> |
83 | <el-col :span="8"> | 83 | <el-col :span="8"> |
84 | <el-form-item label="户不动产单元号:" prop="hbdcdyh"> | 84 | <el-form-item label="户不动产单元号:" prop="ghytmc"> |
85 | <el-input disabled v-model="ruleForm.ghytmc"></el-input> | 85 | <el-input disabled v-model="ruleForm.ghytmc"></el-input> |
86 | </el-form-item> | 86 | </el-form-item> |
87 | </el-col> | 87 | </el-col> |
... | @@ -233,7 +233,7 @@ | ... | @@ -233,7 +233,7 @@ |
233 | // 自然幢号 | 233 | // 自然幢号 |
234 | zrzh: "", | 234 | zrzh: "", |
235 | // 户不动产单元号 | 235 | // 户不动产单元号 |
236 | hbdcdyh: '', | 236 | ghytmc: '', |
237 | djzt: '', | 237 | djzt: '', |
238 | // 图幅丘幢号 | 238 | // 图幅丘幢号 |
239 | tfqzh: '', | 239 | tfqzh: '', |
... | @@ -257,10 +257,20 @@ | ... | @@ -257,10 +257,20 @@ |
257 | }, | 257 | }, |
258 | methods: { | 258 | methods: { |
259 | // 更新土地用途信息 | 259 | // 更新土地用途信息 |
260 | /** | ||
261 | * @description: 更新土地用途信息 | ||
262 | * @param {*} val | ||
263 | * @author: renchao | ||
264 | */ | ||
260 | upDateTdytxxList (val) { | 265 | upDateTdytxxList (val) { |
261 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 266 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
262 | this.key++; | 267 | this.key++; |
263 | }, | 268 | }, |
269 | /** | ||
270 | * @description: list | ||
271 | * @param {*} bsmSldy | ||
272 | * @author: renchao | ||
273 | */ | ||
264 | list (bsmSldy) { | 274 | list (bsmSldy) { |
265 | var formdata = new FormData(); | 275 | var formdata = new FormData(); |
266 | formdata.append("bsmSldy", bsmSldy); | 276 | formdata.append("bsmSldy", bsmSldy); |
... | @@ -276,6 +286,10 @@ | ... | @@ -276,6 +286,10 @@ |
276 | } | 286 | } |
277 | }); | 287 | }); |
278 | }, | 288 | }, |
289 | /** | ||
290 | * @description: onSubmit | ||
291 | * @author: renchao | ||
292 | */ | ||
279 | onSubmit () { | 293 | onSubmit () { |
280 | fristReg(this.ruleForm).then((res) => { | 294 | fristReg(this.ruleForm).then((res) => { |
281 | if (res.code === 200 && res.result) { | 295 | if (res.code === 200 && res.result) { | ... | ... |
... | @@ -249,21 +249,40 @@ | ... | @@ -249,21 +249,40 @@ |
249 | }, | 249 | }, |
250 | methods: { | 250 | methods: { |
251 | // 更新土地用途信息 | 251 | // 更新土地用途信息 |
252 | /** | ||
253 | * @description: 更新土地用途信息 | ||
254 | * @param {*} val | ||
255 | * @author: renchao | ||
256 | */ | ||
252 | upDateTdytxxList (val) { | 257 | upDateTdytxxList (val) { |
253 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 258 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
254 | this.key++; | 259 | this.key++; |
255 | }, | 260 | }, |
256 | // 更新权利人信息 | 261 | // 更新权利人信息 |
262 | /** | ||
263 | * @description: 更新权利人信息 | ||
264 | * @param {*} val | ||
265 | * @author: renchao | ||
266 | */ | ||
257 | upDateQlrxxList (val) { | 267 | upDateQlrxxList (val) { |
258 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) | 268 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) |
259 | this.czrOptions = this.ruleForm.qlrList; | 269 | this.czrOptions = this.ruleForm.qlrList; |
260 | this.key++ | 270 | this.key++ |
261 | }, | 271 | }, |
262 | // 更新义务人信息 | 272 | // 更新义务人信息 |
273 | /** | ||
274 | * @description: 更新义务人信息 | ||
275 | * @param {*} val | ||
276 | * @author: renchao | ||
277 | */ | ||
263 | upDateYwrxxList (val) { | 278 | upDateYwrxxList (val) { |
264 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) | 279 | this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) |
265 | this.key++ | 280 | this.key++ |
266 | }, | 281 | }, |
282 | /** | ||
283 | * @description: onSubmit | ||
284 | * @author: renchao | ||
285 | */ | ||
267 | onSubmit () { | 286 | onSubmit () { |
268 | if (this.ruleForm.qlrList.length == 0) { | 287 | if (this.ruleForm.qlrList.length == 0) { |
269 | this.$message({ | 288 | this.$message({ | ... | ... |
... | @@ -235,14 +235,28 @@ | ... | @@ -235,14 +235,28 @@ |
235 | }, | 235 | }, |
236 | methods: { | 236 | methods: { |
237 | // 更新土地用途信息 | 237 | // 更新土地用途信息 |
238 | /** | ||
239 | * @description: 更新土地用途信息 | ||
240 | * @param {*} val | ||
241 | * @author: renchao | ||
242 | */ | ||
238 | upDateTdytxxList (val) { | 243 | upDateTdytxxList (val) { |
239 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 244 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
240 | this.key++; | 245 | this.key++; |
241 | }, | 246 | }, |
242 | // 更新权利人信息 | 247 | // 更新权利人信息 |
248 | /** | ||
249 | * @description: 更新权利人信息 | ||
250 | * @param {*} val | ||
251 | * @author: renchao | ||
252 | */ | ||
243 | upDateQlrxxList (val) { | 253 | upDateQlrxxList (val) { |
244 | this.ruleForm.qlrList = _.cloneDeep(val); | 254 | this.ruleForm.qlrList = _.cloneDeep(val); |
245 | }, | 255 | }, |
256 | /** | ||
257 | * @description: onSubmit | ||
258 | * @author: renchao | ||
259 | */ | ||
246 | onSubmit () { | 260 | onSubmit () { |
247 | saveData(this.ruleForm).then((res) => { | 261 | saveData(this.ruleForm).then((res) => { |
248 | if (res.code === 200) { | 262 | if (res.code === 200) { |
... | @@ -261,6 +275,10 @@ | ... | @@ -261,6 +275,10 @@ |
261 | } | 275 | } |
262 | }); | 276 | }); |
263 | }, | 277 | }, |
278 | /** | ||
279 | * @description: compare | ||
280 | * @author: renchao | ||
281 | */ | ||
264 | compare () { | 282 | compare () { |
265 | this.$popup({ | 283 | this.$popup({ |
266 | titleStyle: "left", | 284 | titleStyle: "left", | ... | ... |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment