Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
26 changed files
with
633 additions
and
10 deletions
... | @@ -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'); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:06 | 4 | * @LastEditTime: 2023-07-20 16:39:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -10,27 +10,26 @@ | ... | @@ -10,27 +10,26 @@ |
10 | <div class="from-clues-header"> | 10 | <div class="from-clues-header"> |
11 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | 11 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> |
12 | <el-row> | 12 | <el-row> |
13 | <el-col :span="8"> | 13 | <el-col :span="6"> |
14 | <el-form-item label="不动产权证号"> | 14 | <el-form-item label="不动产权证号"> |
15 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width200px"> | 15 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> |
16 | </el-input> | 16 | </el-input> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="8"> | 19 | <el-col :span="6"> |
20 | <el-form-item label="不动产单元号"> | 20 | <el-form-item label="不动产单元号"> |
21 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width200px"> | 21 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> |
22 | </el-input> | 22 | </el-input> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
26 | <el-form-item label="坐落"> | 26 | <el-form-item label="坐落" label-width="60px"> |
27 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px"> | 27 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width100"> |
28 | </el-input> | 28 | </el-input> |
29 | </el-form-item> | 29 | </el-form-item> |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="2" class="btnColRight"> | 31 | <el-col :span="6" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 33 | <el-button type="primary" @click="handleSearch">查询</el-button> |
35 | </el-form-item> | 34 | </el-form-item> |
36 | </el-col> | 35 | </el-col> | ... | ... |
-
Please register or sign in to post a comment