apply-clients 3.3.110-233 → 3.3.110-235
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
|
@@ -728,6 +728,27 @@ export default {
|
|
|
728
728
|
}
|
|
729
729
|
}))
|
|
730
730
|
},
|
|
731
|
+
// 获取集收单位
|
|
732
|
+
async getArea () {
|
|
733
|
+
let data = {
|
|
734
|
+
tablename: 't_area',
|
|
735
|
+
condition: `f_filialeid = '${Vue.user.orgid}'`
|
|
736
|
+
}
|
|
737
|
+
let http = new HttpResetClass()
|
|
738
|
+
let res = await http.load(
|
|
739
|
+
'POST',
|
|
740
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
741
|
+
{data: data},
|
|
742
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
743
|
+
)
|
|
744
|
+
|
|
745
|
+
return res.data.map(item => {
|
|
746
|
+
return {
|
|
747
|
+
label: item.f_residential_area,
|
|
748
|
+
value: item.f_residential_area
|
|
749
|
+
}
|
|
750
|
+
})
|
|
751
|
+
},
|
|
731
752
|
async pcdChange () {
|
|
732
753
|
if (isEmpty(this.show_data.f_pcd)) {
|
|
733
754
|
return
|
|
@@ -1516,6 +1537,31 @@ export default {
|
|
|
1516
1537
|
}
|
|
1517
1538
|
}))
|
|
1518
1539
|
},
|
|
1540
|
+
// 搜索小区
|
|
1541
|
+
async 'searchAreaCollective' (area, index) {
|
|
1542
|
+
let data = {
|
|
1543
|
+
tablename: 't_area',
|
|
1544
|
+
condition: `f_filialeid = '${Vue.user.orgid}' and f_residential_area like '%${area}%'`
|
|
1545
|
+
}
|
|
1546
|
+
let http = new HttpResetClass()
|
|
1547
|
+
let res = await http.load(
|
|
1548
|
+
'POST',
|
|
1549
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
1550
|
+
{data: data},
|
|
1551
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
1552
|
+
)
|
|
1553
|
+
|
|
1554
|
+
if (res.data.length === 0) {
|
|
1555
|
+
return
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
this.setLabelOptions('集收单位', res.data.map(item => {
|
|
1559
|
+
return {
|
|
1560
|
+
label: item.f_residential_area,
|
|
1561
|
+
value: item.f_residential_area
|
|
1562
|
+
}
|
|
1563
|
+
}))
|
|
1564
|
+
},
|
|
1519
1565
|
// 团购转散户初始化
|
|
1520
1566
|
'apply2ReadyEvent' () {
|
|
1521
1567
|
if (this.show_data.f_apply_source === '线下发起') {
|
|
@@ -480,7 +480,7 @@ export default {
|
|
|
480
480
|
}
|
|
481
481
|
})
|
|
482
482
|
},
|
|
483
|
-
//
|
|
483
|
+
// 获取集收单位
|
|
484
484
|
async getArea () {
|
|
485
485
|
let data = {
|
|
486
486
|
tablename: 't_area',
|
|
@@ -984,6 +984,31 @@ export default {
|
|
|
984
984
|
}
|
|
985
985
|
}))
|
|
986
986
|
},
|
|
987
|
+
// 搜索小区
|
|
988
|
+
async 'searchAreaCollective' (area, index) {
|
|
989
|
+
let data = {
|
|
990
|
+
tablename: 't_area',
|
|
991
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_residential_area like '%${area}%'`
|
|
992
|
+
}
|
|
993
|
+
let http = new HttpResetClass()
|
|
994
|
+
let res = await http.load(
|
|
995
|
+
'POST',
|
|
996
|
+
`rs/sql/singleTable`,
|
|
997
|
+
{data: data},
|
|
998
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
999
|
+
)
|
|
1000
|
+
|
|
1001
|
+
if (res.data.length === 0) {
|
|
1002
|
+
return
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
this.setLabelOptions('集收单位', res.data.map(item => {
|
|
1006
|
+
return {
|
|
1007
|
+
label: item.f_residential_area,
|
|
1008
|
+
value: item.f_residential_area
|
|
1009
|
+
}
|
|
1010
|
+
}))
|
|
1011
|
+
},
|
|
987
1012
|
// 选择气价
|
|
988
1013
|
'priceChange' (index) {
|
|
989
1014
|
debugger
|