apply-clients 3.4.10 → 3.4.12
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
|
@@ -1627,115 +1627,115 @@
|
|
|
1627
1627
|
if (this.show_data.button.after) {
|
|
1628
1628
|
this[this.show_data.button.after]()
|
|
1629
1629
|
}
|
|
1630
|
-
// 改管报建 增容报建 优化
|
|
1631
|
-
if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
|
-
// 退款报建 优化
|
|
1656
|
-
if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
}
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
} else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
}else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
}
|
|
1736
|
-
else{
|
|
1737
|
-
|
|
1738
|
-
}
|
|
1630
|
+
// // 改管报建 增容报建 优化
|
|
1631
|
+
// if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
|
|
1632
|
+
// let datagg = {
|
|
1633
|
+
// condition: `t.f_process_id='${this.show_data.f_process_id}'`,
|
|
1634
|
+
// }
|
|
1635
|
+
// let http = new HttpResetClass()
|
|
1636
|
+
// let restgg = await http.load(
|
|
1637
|
+
// 'POST',
|
|
1638
|
+
// `rs/sql/checkusertwo`,
|
|
1639
|
+
// {data: datagg},
|
|
1640
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1641
|
+
// )
|
|
1642
|
+
// debugger
|
|
1643
|
+
// if(this.show_data.f_apply_type === '改管报建'){
|
|
1644
|
+
// restgg.data[0].processname = '改管报建流程'
|
|
1645
|
+
// restgg.data[0].defname = '报装缴费'
|
|
1646
|
+
// }else{
|
|
1647
|
+
// restgg.data[0].processname = '增容报建流程'
|
|
1648
|
+
// restgg.data[0].defname = '报装缴费'
|
|
1649
|
+
// }
|
|
1650
|
+
// restgg.data[0].actid = restgg.data[0].actid + 1
|
|
1651
|
+
// this.$dispatch('apply',restgg.data[0])
|
|
1652
|
+
//
|
|
1653
|
+
// }
|
|
1654
|
+
//
|
|
1655
|
+
// // 退款报建 优化
|
|
1656
|
+
// if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
|
|
1657
|
+
// let datatk = {
|
|
1658
|
+
// condition: `t.f_process_id='${this.show_data.f_process_id}'`,
|
|
1659
|
+
// }
|
|
1660
|
+
// let http = new HttpResetClass()
|
|
1661
|
+
// let resttk = await http.load(
|
|
1662
|
+
// 'POST',
|
|
1663
|
+
// `rs/sql/checkusertwo`,
|
|
1664
|
+
// {data: datatk},
|
|
1665
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1666
|
+
// )
|
|
1667
|
+
// debugger
|
|
1668
|
+
// resttk.data[0].processname = '退款报建流程'
|
|
1669
|
+
// resttk.data[0].defname = '退款'
|
|
1670
|
+
// this.$dispatch('apply',resttk.data[0])
|
|
1671
|
+
//
|
|
1672
|
+
// }
|
|
1673
|
+
//
|
|
1674
|
+
//
|
|
1675
|
+
// if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
|
|
1676
|
+
// let data = {
|
|
1677
|
+
// tablename: 't_apply',
|
|
1678
|
+
// condition: `f_process_id='${this.show_data.f_process_id}'`
|
|
1679
|
+
// }
|
|
1680
|
+
// let http = new HttpResetClass()
|
|
1681
|
+
// let restp = await http.load(
|
|
1682
|
+
// 'POST',
|
|
1683
|
+
// `rs/sql/singleTable`,
|
|
1684
|
+
// {data: data},
|
|
1685
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1686
|
+
// )
|
|
1687
|
+
// debugger
|
|
1688
|
+
// restp.data[0].processname = '散户报建流程'
|
|
1689
|
+
// restp.data[0].defname = '合同签订'
|
|
1690
|
+
// this.$dispatch('apply',restp.data[0])
|
|
1691
|
+
//
|
|
1692
|
+
// } else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
|
|
1693
|
+
// let data2 = {
|
|
1694
|
+
// condition: `u.id = ${this.show_data.id}`,
|
|
1695
|
+
// data: {
|
|
1696
|
+
// id: this.$login.f.id,
|
|
1697
|
+
// orgid: this.$login.f.orgid
|
|
1698
|
+
// }
|
|
1699
|
+
// }
|
|
1700
|
+
// let http = new HttpResetClass()
|
|
1701
|
+
// let restp1 = await http.load(
|
|
1702
|
+
// 'POST',
|
|
1703
|
+
// `rs/sql/checkuser`,
|
|
1704
|
+
// {data: data2},
|
|
1705
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1706
|
+
// )
|
|
1707
|
+
// debugger
|
|
1708
|
+
// console.log('有没有发请求打印查询的内容restp1',restp1)
|
|
1709
|
+
// // restp1.data[0].processname = '散户报建流程'
|
|
1710
|
+
// // restp1.data[0].defname = '报装缴费'
|
|
1711
|
+
// this.$dispatch('apply',restp1.data[0])
|
|
1712
|
+
// }else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
|
|
1713
|
+
// let data3 = {
|
|
1714
|
+
// condition: `u.id = ${this.show_data.id}`,
|
|
1715
|
+
// data: {
|
|
1716
|
+
// id: this.$login.f.id,
|
|
1717
|
+
// orgid: this.$login.f.orgid
|
|
1718
|
+
// }
|
|
1719
|
+
// }
|
|
1720
|
+
// let http = new HttpResetClass()
|
|
1721
|
+
// let restp2 = await http.load(
|
|
1722
|
+
// 'POST',
|
|
1723
|
+
// `rs/sql/checkuser`,
|
|
1724
|
+
// {data: data3},
|
|
1725
|
+
// {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1726
|
+
// )
|
|
1727
|
+
// debugger
|
|
1728
|
+
// console.log('打印查询的内容',restp2)
|
|
1729
|
+
// if(restp2.length>0){
|
|
1730
|
+
// this.$dispatch('apply',restp2.data[0])
|
|
1731
|
+
// }else{
|
|
1732
|
+
// debugger
|
|
1733
|
+
// this.$dispatch('loadPage')
|
|
1734
|
+
// }
|
|
1735
|
+
// }
|
|
1736
|
+
// else{
|
|
1737
|
+
// this.$dispatch('loadPage')
|
|
1738
|
+
// }
|
|
1739
1739
|
|
|
1740
1740
|
},
|
|
1741
1741
|
// 失去焦点出触发事件
|