apply-clients 3.4.17 → 3.4.19
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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +149 -113
- package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -0
- package/src/filiale/gehua/pc/ServiceControl.vue +1919 -0
- package/src/filiale/gehua/pc.js +8 -0
- package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1 -1
- package/src/main.js +1 -1
package/build/dev-server.js
CHANGED
|
@@ -8,8 +8,8 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://
|
|
12
|
-
var applyinstall = 'http://
|
|
11
|
+
var ldap = 'http://219.138.226.181:8401'
|
|
12
|
+
var applyinstall = 'http://219.138.226.181:8401'
|
|
13
13
|
|
|
14
14
|
var proxyTable = {
|
|
15
15
|
'/rs/logic/getSaleInitData': {
|
package/package.json
CHANGED
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
ready () {
|
|
43
43
|
this.refurbish()
|
|
44
44
|
this.servicer()
|
|
45
|
+
this.ceshi()
|
|
45
46
|
},
|
|
46
47
|
methods: {
|
|
47
48
|
async servicer(){
|
|
48
|
-
debugger
|
|
49
49
|
let data = {
|
|
50
50
|
tablename: 't_user',
|
|
51
51
|
condition: `1=1`
|
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
{data: data},
|
|
58
58
|
{resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
|
|
59
59
|
)
|
|
60
|
-
debugger
|
|
61
60
|
this.setLabelOptions('服务人', res.data.map(item => {
|
|
62
61
|
return {
|
|
63
62
|
label: item.name,
|
|
@@ -65,6 +64,44 @@
|
|
|
65
64
|
}
|
|
66
65
|
}))
|
|
67
66
|
},
|
|
67
|
+
async ceshi(){
|
|
68
|
+
for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
69
|
+
if (this.show_data.defname==='报装申请' && this.show_data.fields[i].label === '合同编号') {
|
|
70
|
+
debugger
|
|
71
|
+
let http2 = new HttpResetClass()
|
|
72
|
+
let applyNum = await http2.load('POST', 'rs/logic/getProjectNo', {
|
|
73
|
+
data: {
|
|
74
|
+
f_filiale: this.$login.f.orgs,
|
|
75
|
+
f_order_id: this.selectdata.f_order_id
|
|
76
|
+
}
|
|
77
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
78
|
+
debugger
|
|
79
|
+
console.log("生成的合同编号为:" + applyNum.data)
|
|
80
|
+
this.show_data.fields[i].value = applyNum.data
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
// async servicer(){
|
|
85
|
+
// debugger
|
|
86
|
+
// let data = {
|
|
87
|
+
// tablename: 't_user',
|
|
88
|
+
// condition: `1=1`
|
|
89
|
+
// }
|
|
90
|
+
// let http = new HttpResetClass()
|
|
91
|
+
// let res = await http.load(
|
|
92
|
+
// 'POST',
|
|
93
|
+
// `rs/sql/singleTable`,
|
|
94
|
+
// {data: data},
|
|
95
|
+
// {resolveMsg: null, rejectMsg: '服务人查询失败!!!'}
|
|
96
|
+
// )
|
|
97
|
+
// debugger
|
|
98
|
+
// this.setLabelOptions('服务人', res.data.map(item => {
|
|
99
|
+
// return {
|
|
100
|
+
// label: item.name,
|
|
101
|
+
// value: item.name
|
|
102
|
+
// }
|
|
103
|
+
// }))
|
|
104
|
+
// },
|
|
68
105
|
// 组件初始化操作
|
|
69
106
|
async refurbish() {
|
|
70
107
|
this.json_datas = this.$workflow_vue
|
|
@@ -283,7 +320,6 @@
|
|
|
283
320
|
})
|
|
284
321
|
}
|
|
285
322
|
}
|
|
286
|
-
|
|
287
323
|
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
288
324
|
let temp = JSON.parse(JSON.stringify(this.selectdata))
|
|
289
325
|
console.log('打印下temp',temp)
|
|
@@ -291,6 +327,7 @@
|
|
|
291
327
|
this.$nextTick(() => {
|
|
292
328
|
this.showview = true
|
|
293
329
|
})
|
|
330
|
+
this.ceshi()
|
|
294
331
|
},
|
|
295
332
|
// 金额转大写
|
|
296
333
|
smalltoBIG(n) {
|
|
@@ -1200,7 +1237,6 @@
|
|
|
1200
1237
|
},
|
|
1201
1238
|
// 通气点火初始化
|
|
1202
1239
|
async 'gasReadyEvent' () {
|
|
1203
|
-
debugger
|
|
1204
1240
|
// 是否有气价信息
|
|
1205
1241
|
if (!isEmpty(this.show_data.f_price_id)) {
|
|
1206
1242
|
let priceList = await this.getPrice(this.show_data.f_price_id)
|
|
@@ -1628,115 +1664,115 @@
|
|
|
1628
1664
|
if (this.show_data.button.after) {
|
|
1629
1665
|
this[this.show_data.button.after]()
|
|
1630
1666
|
}
|
|
1631
|
-
//
|
|
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
|
-
//
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1667
|
+
// 改管报建 增容报建 优化
|
|
1668
|
+
if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
|
|
1669
|
+
let datagg = {
|
|
1670
|
+
condition: `t.f_process_id='${this.show_data.f_process_id}'`,
|
|
1671
|
+
}
|
|
1672
|
+
let http = new HttpResetClass()
|
|
1673
|
+
let restgg = await http.load(
|
|
1674
|
+
'POST',
|
|
1675
|
+
`rs/sql/checkusertwo`,
|
|
1676
|
+
{data: datagg},
|
|
1677
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1678
|
+
)
|
|
1679
|
+
debugger
|
|
1680
|
+
if(this.show_data.f_apply_type === '改管报建'){
|
|
1681
|
+
restgg.data[0].processname = '改管报建流程'
|
|
1682
|
+
restgg.data[0].defname = '报装缴费'
|
|
1683
|
+
}else{
|
|
1684
|
+
restgg.data[0].processname = '增容报建流程'
|
|
1685
|
+
restgg.data[0].defname = '报装缴费'
|
|
1686
|
+
}
|
|
1687
|
+
restgg.data[0].actid = restgg.data[0].actid + 1
|
|
1688
|
+
this.$dispatch('apply',restgg.data[0])
|
|
1689
|
+
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
// 退款报建 优化
|
|
1693
|
+
if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
|
|
1694
|
+
let datatk = {
|
|
1695
|
+
condition: `t.f_process_id='${this.show_data.f_process_id}'`,
|
|
1696
|
+
}
|
|
1697
|
+
let http = new HttpResetClass()
|
|
1698
|
+
let resttk = await http.load(
|
|
1699
|
+
'POST',
|
|
1700
|
+
`rs/sql/checkusertwo`,
|
|
1701
|
+
{data: datatk},
|
|
1702
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1703
|
+
)
|
|
1704
|
+
debugger
|
|
1705
|
+
resttk.data[0].processname = '退款报建流程'
|
|
1706
|
+
resttk.data[0].defname = '退款'
|
|
1707
|
+
this.$dispatch('apply',resttk.data[0])
|
|
1708
|
+
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
|
|
1713
|
+
let data = {
|
|
1714
|
+
tablename: 't_apply',
|
|
1715
|
+
condition: `f_process_id='${this.show_data.f_process_id}'`
|
|
1716
|
+
}
|
|
1717
|
+
let http = new HttpResetClass()
|
|
1718
|
+
let restp = await http.load(
|
|
1719
|
+
'POST',
|
|
1720
|
+
`rs/sql/singleTable`,
|
|
1721
|
+
{data: data},
|
|
1722
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1723
|
+
)
|
|
1724
|
+
debugger
|
|
1725
|
+
restp.data[0].processname = '散户报建流程'
|
|
1726
|
+
restp.data[0].defname = '合同签订'
|
|
1727
|
+
this.$dispatch('apply',restp.data[0])
|
|
1728
|
+
|
|
1729
|
+
} else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
|
|
1730
|
+
let data2 = {
|
|
1731
|
+
condition: `u.id = ${this.show_data.id}`,
|
|
1732
|
+
data: {
|
|
1733
|
+
id: this.$login.f.id,
|
|
1734
|
+
orgid: this.$login.f.orgid
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
let http = new HttpResetClass()
|
|
1738
|
+
let restp1 = await http.load(
|
|
1739
|
+
'POST',
|
|
1740
|
+
`rs/sql/checkuser`,
|
|
1741
|
+
{data: data2},
|
|
1742
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1743
|
+
)
|
|
1744
|
+
debugger
|
|
1745
|
+
console.log('有没有发请求打印查询的内容restp1',restp1)
|
|
1746
|
+
// restp1.data[0].processname = '散户报建流程'
|
|
1747
|
+
// restp1.data[0].defname = '报装缴费'
|
|
1748
|
+
this.$dispatch('apply',restp1.data[0])
|
|
1749
|
+
}else if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装缴费' && this.show_data.button.button_name === '提交'){
|
|
1750
|
+
let data3 = {
|
|
1751
|
+
condition: `u.id = ${this.show_data.id}`,
|
|
1752
|
+
data: {
|
|
1753
|
+
id: this.$login.f.id,
|
|
1754
|
+
orgid: this.$login.f.orgid
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
let http = new HttpResetClass()
|
|
1758
|
+
let restp2 = await http.load(
|
|
1759
|
+
'POST',
|
|
1760
|
+
`rs/sql/checkuser`,
|
|
1761
|
+
{data: data3},
|
|
1762
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1763
|
+
)
|
|
1764
|
+
debugger
|
|
1765
|
+
console.log('打印查询的内容',restp2)
|
|
1766
|
+
if(restp2.length>0){
|
|
1767
|
+
this.$dispatch('apply',restp2.data[0])
|
|
1768
|
+
}else{
|
|
1769
|
+
debugger
|
|
1770
|
+
this.$dispatch('loadPage')
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
else{
|
|
1774
|
+
this.$dispatch('loadPage')
|
|
1775
|
+
}
|
|
1740
1776
|
|
|
1741
1777
|
},
|
|
1742
1778
|
// 失去焦点出触发事件
|