2ea1c216 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents b78166f0 177d7e0a
...@@ -45,6 +45,11 @@ ...@@ -45,6 +45,11 @@
45 }) 45 })
46 }, 46 },
47 methods: { 47 methods: {
48 /**
49 * @description: handleSelectBdcdyh
50 * @param {*} val
51 * @author: renchao
52 */
48 handleSelectBdcdyh (val) { 53 handleSelectBdcdyh (val) {
49 this.$emit('getBdcdyh', val); 54 this.$emit('getBdcdyh', val);
50 } 55 }
......
...@@ -222,6 +222,10 @@ export default { ...@@ -222,6 +222,10 @@ export default {
222 }, 222 },
223 mounted() {}, 223 mounted() {},
224 methods: { 224 methods: {
225 /**
226 * @description: handleSearch
227 * @author: renchao
228 */
225 handleSearch() { 229 handleSearch() {
226 xydm(this.queryForm).then((res) => { 230 xydm(this.queryForm).then((res) => {
227 if (res.status == "OK") { 231 if (res.status == "OK") {
......
...@@ -116,6 +116,11 @@ ...@@ -116,6 +116,11 @@
116 this.$store.dispatch("user/refreshPage", false); 116 this.$store.dispatch("user/refreshPage", false);
117 }, 117 },
118 //删除 118 //删除
119 /**
120 * @description: 删除
121 * @param {*} item
122 * @author: renchao
123 */
119 delNotice (item) { 124 delNotice (item) {
120 this.$confirm('是否确定删除', '提示', { 125 this.$confirm('是否确定删除', '提示', {
121 confirmButtonText: '确定', 126 confirmButtonText: '确定',
...@@ -138,6 +143,11 @@ ...@@ -138,6 +143,11 @@
138 }); 143 });
139 }, 144 },
140 //发布 145 //发布
146 /**
147 * @description: 发布
148 * @param {*} item
149 * @author: renchao
150 */
141 toPublish (item) { 151 toPublish (item) {
142 this.$confirm('是否确定发布', '提示', { 152 this.$confirm('是否确定发布', '提示', {
143 confirmButtonText: '确定', 153 confirmButtonText: '确定',
...@@ -160,10 +170,19 @@ ...@@ -160,10 +170,19 @@
160 }); 170 });
161 }); 171 });
162 }, 172 },
173 /**
174 * @description: postMessage
175 * @author: renchao
176 */
163 postMessage () { 177 postMessage () {
164 window.parent.postMessage({ update: true }, '*') 178 window.parent.postMessage({ update: true }, '*')
165 }, 179 },
166 //取消发布 180 //取消发布
181 /**
182 * @description: 取消发布
183 * @param {*} item
184 * @author: renchao
185 */
167 toUnPublish (item) { 186 toUnPublish (item) {
168 this.$confirm('是否确定取消发布', '提示', { 187 this.$confirm('是否确定取消发布', '提示', {
169 confirmButtonText: '确定', 188 confirmButtonText: '确定',
...@@ -187,9 +206,19 @@ ...@@ -187,9 +206,19 @@
187 }); 206 });
188 }, 207 },
189 //编辑通知 208 //编辑通知
209 /**
210 * @description: 编辑通知
211 * @param {*} item
212 * @author: renchao
213 */
190 editNotice (item) { 214 editNotice (item) {
191 this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%") 215 this.$popupDialog("系统通知详情", "system/xttz/components/addDialog", { ...item, "isButtonFlag": true, "edit": true }, "50%")
192 }, 216 },
217 /**
218 * @description: downloadFile
219 * @param {*} item
220 * @author: renchao
221 */
193 downloadFile (item) { 222 downloadFile (item) {
194 const href = item.noticeFileUrl 223 const href = item.noticeFileUrl
195 window.open(href, '_blank'); 224 window.open(href, '_blank');
......
...@@ -433,6 +433,11 @@ ...@@ -433,6 +433,11 @@
433 }, 433 },
434 methods: { 434 methods: {
435 // 证件种类选择 435 // 证件种类选择
436 /**
437 * @description: 证件种类选择
438 * @param {*} val
439 * @author: renchao
440 */
436 handleZjzl (val) { 441 handleZjzl (val) {
437 if (['6', '7', '8'].includes(val)) { 442 if (['6', '7', '8'].includes(val)) {
438 this.isBz = true 443 this.isBz = true
...@@ -441,6 +446,10 @@ ...@@ -441,6 +446,10 @@
441 } 446 }
442 }, 447 },
443 // 信息备案 448 // 信息备案
449 /**
450 * @description: 信息备案
451 * @author: renchao
452 */
444 handleFilings () { 453 handleFilings () {
445 this.ruleForm.qymc = this.ruleForm.sqrmc 454 this.ruleForm.qymc = this.ruleForm.sqrmc
446 this.ruleForm.dwdz = this.ruleForm.txdz 455 this.ruleForm.dwdz = this.ruleForm.txdz
...@@ -474,6 +483,8 @@ ...@@ -474,6 +483,8 @@
474 }, 483 },
475 /** 484 /**
476 * @description:企业查询 485 * @description:企业查询
486 * @param {*} val
487 * @param {*} code
477 * @author: renchao 488 * @author: renchao
478 */ 489 */
479 dicStatus (val, code) { 490 dicStatus (val, code) {
...@@ -488,6 +499,10 @@ ...@@ -488,6 +499,10 @@
488 return name 499 return name
489 } 500 }
490 }, 501 },
502 /**
503 * @description: handleSearchQY
504 * @author: renchao
505 */
491 handleSearchQY () { 506 handleSearchQY () {
492 let data = { ...this.queryFormQY, ...this.pageData } 507 let data = { ...this.queryFormQY, ...this.pageData }
493 this.tableDataQy.data = [] 508 this.tableDataQy.data = []
...@@ -504,15 +519,29 @@ ...@@ -504,15 +519,29 @@
504 } 519 }
505 }) 520 })
506 }, 521 },
522 /**
523 * @description: handleQYCurrentChange
524 * @param {*} val
525 * @author: renchao
526 */
507 handleQYCurrentChange (val) { 527 handleQYCurrentChange (val) {
508 this.pageData.currentPage = val 528 this.pageData.currentPage = val
509 this.handleSearchQY() 529 this.handleSearchQY()
510 }, 530 },
531 /**
532 * @description: handlesQYSelect
533 * @param {*} val
534 * @author: renchao
535 */
511 handlesQYSelect (val) { 536 handlesQYSelect (val) {
512 this.$emit("updateDetail", _.cloneDeep(val)); 537 this.$emit("updateDetail", _.cloneDeep(val));
513 this.$emit("input", false); 538 this.$emit("input", false);
514 }, 539 },
515 // 银行 540 // 银行
541 /**
542 * @description: 银行
543 * @author: renchao
544 */
516 handleSearchYH () { 545 handleSearchYH () {
517 let data = { ...this.queryFormYH, ...this.pageData } 546 let data = { ...this.queryFormYH, ...this.pageData }
518 this.tableDataYh.data = [] 547 this.tableDataYh.data = []
...@@ -529,10 +558,20 @@ ...@@ -529,10 +558,20 @@
529 } 558 }
530 }) 559 })
531 }, 560 },
561 /**
562 * @description: handleYHCurrentChange
563 * @param {*} val
564 * @author: renchao
565 */
532 handleYHCurrentChange (val) { 566 handleYHCurrentChange (val) {
533 this.pageData.currentPage = val 567 this.pageData.currentPage = val
534 this.handleSearchQY() 568 this.handleSearchQY()
535 }, 569 },
570 /**
571 * @description: handlesYHSelect
572 * @param {*} val
573 * @author: renchao
574 */
536 handlesYHSelect (val) { 575 handlesYHSelect (val) {
537 this.$emit("updateDetail", _.cloneDeep(val)); 576 this.$emit("updateDetail", _.cloneDeep(val));
538 this.$emit("input", false); 577 this.$emit("input", false);
......