apply-clients 3.3.110-214 → 3.3.110-215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.110-214",
3
+ "version": "3.3.110-215",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1486,6 +1486,23 @@ export default {
1486
1486
  && (this.show_data.defname === '报装申请')){
1487
1487
  await this.contract_number()
1488
1488
  }
1489
+ if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
1490
+ let dataz = {
1491
+ condition: `u.id = ${this.show_data.id}`,
1492
+ data: {
1493
+ id: this.$login.f.id,
1494
+ orgid: this.$login.f.orgid
1495
+ }
1496
+ }
1497
+ let http = new HttpResetClass()
1498
+ let restpz = await http.load(
1499
+ 'POST',
1500
+ `rs/sql/checkuser`,
1501
+ {data: dataz},
1502
+ {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1503
+ )
1504
+ this.show_data.actid=restpz.data[0].actid
1505
+ }
1489
1506
  let res = await this.$resetpost(
1490
1507
  `rs/logic/ApplyProductService`,
1491
1508
  {data: this.show_data},
@@ -1496,6 +1513,52 @@ export default {
1496
1513
  if (this.show_data.button.after) {
1497
1514
  this[this.show_data.button.after]()
1498
1515
  }
1516
+ //改管报建 增容报建 优化
1517
+ if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
1518
+ let datagg = {
1519
+ tablename: 't_apply',
1520
+ condition: `f_process_id='${this.show_data.f_process_id}'`
1521
+ }
1522
+ let http = new HttpResetClass()
1523
+ let restgg = await http.load(
1524
+ 'POST',
1525
+ `rs/sql/singleTable`,
1526
+ {data: datagg},
1527
+ {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1528
+ )
1529
+ debugger
1530
+ if(this.show_data.f_apply_type === '改管报建'){
1531
+ restgg.data[0].processname = '改管报建流程'
1532
+ restgg.data[0].defname = '报装缴费'
1533
+ }else{
1534
+ restgg.data[0].processname = '增容报建'
1535
+ restgg.data[0].defname = '报装缴费'
1536
+ }
1537
+
1538
+ this.$dispatch('apply',restgg.data[0])
1539
+
1540
+ }
1541
+
1542
+ // 退款报建 优化
1543
+ if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
1544
+ let datatk = {
1545
+ tablename: 't_apply',
1546
+ condition: `f_process_id='${this.show_data.f_process_id}'`
1547
+ }
1548
+ let http = new HttpResetClass()
1549
+ let resttk = await http.load(
1550
+ 'POST',
1551
+ `rs/sql/singleTable`,
1552
+ {data: datatk},
1553
+ {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
1554
+ )
1555
+ debugger
1556
+ resttk.data[0].processname = '退款报建流程'
1557
+ resttk.data[0].defname = '退款'
1558
+ this.$dispatch('apply',resttk.data[0])
1559
+
1560
+ }
1561
+
1499
1562
 
1500
1563
  if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
1501
1564
  let data = {