apply-clients 3.3.110-214 → 3.3.110-217
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
|
@@ -58,7 +58,6 @@
|
|
|
58
58
|
v-model="data.fields[index].value"
|
|
59
59
|
:placeholder="item.placeholder"
|
|
60
60
|
:value="data.fields[index].value"
|
|
61
|
-
onKeypress="return(/[\d\.]/.test(String.fromCharCode(event.keyCode)))"
|
|
62
61
|
:readonly="item.readonly"
|
|
63
62
|
v-validate:f_idnumber2='{identityCardValid: true}'
|
|
64
63
|
@change="onchange(index)"
|
|
@@ -181,6 +181,23 @@ export default {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
+
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && (this.show_data.button.button_name === '提交'||this.show_data.button.button_name === '保存')){
|
|
185
|
+
let dataz = {
|
|
186
|
+
condition: `u.id = ${this.show_data.id}`,
|
|
187
|
+
data: {
|
|
188
|
+
id: Vue.user.id,
|
|
189
|
+
orgid: Vue.user.orgid
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
let http = new HttpResetClass()
|
|
193
|
+
let restpz = await http.load(
|
|
194
|
+
'POST',
|
|
195
|
+
`rs/sql/checkuser`,
|
|
196
|
+
{data: dataz},
|
|
197
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
198
|
+
)
|
|
199
|
+
this.show_data.actid=restpz.data[0].actid
|
|
200
|
+
}
|
|
184
201
|
let res = await this.$resetpost(
|
|
185
202
|
// `rs/logic/ApplyProductService`,
|
|
186
203
|
`${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
|
|
@@ -480,6 +480,27 @@ export default {
|
|
|
480
480
|
}
|
|
481
481
|
})
|
|
482
482
|
},
|
|
483
|
+
// 获取区县
|
|
484
|
+
async getArea () {
|
|
485
|
+
let data = {
|
|
486
|
+
tablename: 't_area',
|
|
487
|
+
condition: `f_filialeid = '${this.$login.f.orgid}'`
|
|
488
|
+
}
|
|
489
|
+
let http = new HttpResetClass()
|
|
490
|
+
let res = await http.load(
|
|
491
|
+
'POST',
|
|
492
|
+
`rs/sql/singleTable`,
|
|
493
|
+
{data: data},
|
|
494
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
495
|
+
)
|
|
496
|
+
|
|
497
|
+
return res.data.map(item => {
|
|
498
|
+
return {
|
|
499
|
+
label: item.f_residential_area,
|
|
500
|
+
value: item.f_residential_area
|
|
501
|
+
}
|
|
502
|
+
})
|
|
503
|
+
},
|
|
483
504
|
// 缴费前置
|
|
484
505
|
chargeBefore () {
|
|
485
506
|
if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
|
|
@@ -779,14 +800,9 @@ export default {
|
|
|
779
800
|
const dir = upperCaseChars(this.$login.f.orgs) //分公司
|
|
780
801
|
|
|
781
802
|
let type = 0 //类型
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
}else {
|
|
786
|
-
entry_type = this.show_data.f_entry_type
|
|
787
|
-
}
|
|
788
|
-
switch (entry_type){
|
|
789
|
-
case '城区':
|
|
803
|
+
|
|
804
|
+
switch (this.show_data.f_entry_type){
|
|
805
|
+
case '城区/县城':
|
|
790
806
|
type = 1 // 当表达式的结果等于 城区 时,则执行该代码
|
|
791
807
|
break;
|
|
792
808
|
case '新农村':
|
|
@@ -797,7 +813,7 @@ export default {
|
|
|
797
813
|
}
|
|
798
814
|
|
|
799
815
|
let nature = 0 // 性质
|
|
800
|
-
switch (this.show_data.
|
|
816
|
+
switch (this.show_data.f_apply_nature){
|
|
801
817
|
case '房产':
|
|
802
818
|
nature = 1 // 当表达式的结果等于 房产 时,则执行该代码
|
|
803
819
|
break;
|
|
@@ -807,6 +823,15 @@ export default {
|
|
|
807
823
|
case '商业':
|
|
808
824
|
nature = 3 // 当表达式的结果等于 商业 时,则执行该代码
|
|
809
825
|
break;
|
|
826
|
+
case '学校':
|
|
827
|
+
nature = 3 // 当表达式的结果等于 学校 时,则执行该代码
|
|
828
|
+
break;
|
|
829
|
+
case '福利机构':
|
|
830
|
+
nature = 3 // 当表达式的结果等于 福利机构 时,则执行该代码
|
|
831
|
+
break;
|
|
832
|
+
case '其他':
|
|
833
|
+
nature = 3 // 当表达式的结果等于 其他 时,则执行该代码
|
|
834
|
+
break;
|
|
810
835
|
case '工业':
|
|
811
836
|
nature = 4 // 当表达式的结果等于 工业 时,则执行该代码
|
|
812
837
|
break;
|
|
@@ -822,10 +847,15 @@ export default {
|
|
|
822
847
|
const newYear = date.year + 1
|
|
823
848
|
const year = date.year.toString().substring(2,4) //年份
|
|
824
849
|
|
|
825
|
-
|
|
850
|
+
let data = {
|
|
851
|
+
dataYm: dataYm,
|
|
852
|
+
newYear: newYear,
|
|
853
|
+
orgid: this.$login.f.orgid,
|
|
854
|
+
condition: `and f_apply_nature = '${this.show_data.f_apply_nature}'`
|
|
855
|
+
}
|
|
826
856
|
|
|
827
857
|
let http = new HttpResetClass()
|
|
828
|
-
let res = await http.load('POST', 'rs/sql/contractCount', {data:
|
|
858
|
+
let res = await http.load('POST', 'rs/sql/contractCount', {data:data}, {
|
|
829
859
|
resolveMsg: null,
|
|
830
860
|
rejectMsg: null
|
|
831
861
|
})
|
|
@@ -1486,6 +1516,23 @@ export default {
|
|
|
1486
1516
|
&& (this.show_data.defname === '报装申请')){
|
|
1487
1517
|
await this.contract_number()
|
|
1488
1518
|
}
|
|
1519
|
+
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && (this.show_data.button.button_name === '保存'||this.show_data.button.button_name === '提交')){
|
|
1520
|
+
let dataz = {
|
|
1521
|
+
condition: `u.id = ${this.show_data.id}`,
|
|
1522
|
+
data: {
|
|
1523
|
+
id: this.$login.f.id,
|
|
1524
|
+
orgid: this.$login.f.orgid
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
let http = new HttpResetClass()
|
|
1528
|
+
let restpz = await http.load(
|
|
1529
|
+
'POST',
|
|
1530
|
+
`rs/sql/checkuser`,
|
|
1531
|
+
{data: dataz},
|
|
1532
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1533
|
+
)
|
|
1534
|
+
this.show_data.actid=restpz.data[0].actid
|
|
1535
|
+
}
|
|
1489
1536
|
let res = await this.$resetpost(
|
|
1490
1537
|
`rs/logic/ApplyProductService`,
|
|
1491
1538
|
{data: this.show_data},
|
|
@@ -1496,6 +1543,52 @@ export default {
|
|
|
1496
1543
|
if (this.show_data.button.after) {
|
|
1497
1544
|
this[this.show_data.button.after]()
|
|
1498
1545
|
}
|
|
1546
|
+
//改管报建 增容报建 优化
|
|
1547
|
+
if((this.show_data.f_apply_type === '改管报建'||this.show_data.f_apply_type === '增容报建') && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '缴费'){
|
|
1548
|
+
let datagg = {
|
|
1549
|
+
tablename: 't_apply',
|
|
1550
|
+
condition: `f_process_id='${this.show_data.f_process_id}'`
|
|
1551
|
+
}
|
|
1552
|
+
let http = new HttpResetClass()
|
|
1553
|
+
let restgg = await http.load(
|
|
1554
|
+
'POST',
|
|
1555
|
+
`rs/sql/singleTable`,
|
|
1556
|
+
{data: datagg},
|
|
1557
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1558
|
+
)
|
|
1559
|
+
debugger
|
|
1560
|
+
if(this.show_data.f_apply_type === '改管报建'){
|
|
1561
|
+
restgg.data[0].processname = '改管报建流程'
|
|
1562
|
+
restgg.data[0].defname = '报装缴费'
|
|
1563
|
+
}else{
|
|
1564
|
+
restgg.data[0].processname = '增容报建'
|
|
1565
|
+
restgg.data[0].defname = '报装缴费'
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
this.$dispatch('apply',restgg.data[0])
|
|
1569
|
+
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
// 退款报建 优化
|
|
1573
|
+
if(this.show_data.f_apply_type === '退款报建' && this.show_data.defname === '终止报建' && this.show_data.button.button_name === '提交'){
|
|
1574
|
+
let datatk = {
|
|
1575
|
+
tablename: 't_apply',
|
|
1576
|
+
condition: `f_process_id='${this.show_data.f_process_id}'`
|
|
1577
|
+
}
|
|
1578
|
+
let http = new HttpResetClass()
|
|
1579
|
+
let resttk = await http.load(
|
|
1580
|
+
'POST',
|
|
1581
|
+
`rs/sql/singleTable`,
|
|
1582
|
+
{data: datatk},
|
|
1583
|
+
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
1584
|
+
)
|
|
1585
|
+
debugger
|
|
1586
|
+
resttk.data[0].processname = '退款报建流程'
|
|
1587
|
+
resttk.data[0].defname = '退款'
|
|
1588
|
+
this.$dispatch('apply',resttk.data[0])
|
|
1589
|
+
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1499
1592
|
|
|
1500
1593
|
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '报装申请' && this.show_data.button.button_name === '合同'){
|
|
1501
1594
|
let data = {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
/>
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
|
-
|
|
50
|
+
<!--身份证验证-->
|
|
51
51
|
<div :style="item.style ? item.style+';height: 40px;margin-bottom: 20px':'height: 40px;margin-bottom: 20px'"
|
|
52
52
|
v-if="(item.label==='身份证') || (data.f_credentials === '身份证' && item.label === '证件号码')"
|
|
53
53
|
:class="[$v.f_idnumber2.identityCardValid ? 'has-error' : '',item.bootstraped ? item.bootstraped + ' form-group':'col-sm-4 form-group']">
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
maxlength="18"
|
|
61
61
|
v-model="data.fields[index].value"
|
|
62
62
|
:placeholder="item.placeholder"
|
|
63
|
-
onKeypress="return(/[\d\.]/.test(String.fromCharCode(event.keyCode)))"
|
|
64
63
|
:value="data.fields[index].value"
|
|
65
64
|
v-validate:f_idnumber2='{identityCardValid: true}'
|
|
66
65
|
:readonly="item.readonly"
|