apply-clients 3.3.108 → 3.3.109
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 +1 -1
- package/src/components/android/AppOnetomany.vue +1 -1
- package/src/components/android/AppServiceView.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +4 -1
- package/src/components/android/Process/AppServiceControl.vue +72 -34
- package/src/components/android/Process/Processes/AppChargeManagement.vue +469 -469
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +475 -475
- package/src/components/product/Onetomany.vue +1 -1
- package/src/components/product/Process/ExplorationSelect.vue +3 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +600 -600
- package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +1513 -1467
- package/src/components/product/ServiceView.vue +3 -3
package/package.json
CHANGED
|
@@ -165,7 +165,7 @@ export default {
|
|
|
165
165
|
methods: {
|
|
166
166
|
async confirmModal () {
|
|
167
167
|
//报警器设备型号校验
|
|
168
|
-
if (this.selectdata.f_apply_type === '报警器报建') {
|
|
168
|
+
if (this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
169
169
|
let data = {
|
|
170
170
|
f_material_name: "",
|
|
171
171
|
f_bjq_sid: "",
|
|
@@ -439,7 +439,7 @@ export default {
|
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
//区域下拉框必选 流程模式为报警器报建
|
|
442
|
-
if (this.data.f_apply_type === '报警器报建' && this.data.defname === '工程施工' && this.data.title === '工程施工' && this.data.f_sub_state !='完工'){
|
|
442
|
+
if ((this.data.f_apply_type === '报警器报建' || this.data.f_apply_type === '工商业报警器报建') && this.data.defname === '工程施工' && this.data.title === '工程施工' && this.data.f_sub_state !='完工'){
|
|
443
443
|
if (!flag){
|
|
444
444
|
if (this.areaData.sjvalue ==null || this.areaData.sjvalue.length ==0 || this.areaData.sqvalue == null || this.areaData.sqvalue.length ==0
|
|
445
445
|
|| this.areaData.xianvalue == null || this.areaData.xianvalue == 0){
|
|
@@ -269,7 +269,7 @@ export default {
|
|
|
269
269
|
showModal: false,
|
|
270
270
|
applyType: '', // 报建类型
|
|
271
271
|
applyTypes:this.$appdata.getParam("手机报建类型"),
|
|
272
|
-
// applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'},{label:'报警器报建',value:'报警器报建'}],
|
|
272
|
+
// applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'},{label:'团购报建',value:'团购报建'},{label:'改管报建',value:'改管报建'},{label:'增容报建',value:'增容报建'},{label:'退款报建',value:'退款报建'},{label:'团购转散户',value:'团购转散户'},{label:'报警器报建',value:'报警器报建'},{label:'工商业报警器报建',value:'工商业报警器报建'}],
|
|
273
273
|
criteriaShow: false,
|
|
274
274
|
// applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')], // 所有报建类型
|
|
275
275
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型') || [] ], // 所有报建类型
|
|
@@ -388,6 +388,9 @@ export default {
|
|
|
388
388
|
}else if (this.applyType === '报警器报建') {
|
|
389
389
|
data.processname = '报警器报建流程'
|
|
390
390
|
data.defname = '报装申请'
|
|
391
|
+
}else if (this.applyType === '工商业报警器报建') {
|
|
392
|
+
data.processname = '工商业报警器报建流程'
|
|
393
|
+
data.defname = '报装申请'
|
|
391
394
|
} else {
|
|
392
395
|
this.$showMessage('暂无此类报装')
|
|
393
396
|
return
|
|
@@ -553,7 +553,7 @@ export default {
|
|
|
553
553
|
},
|
|
554
554
|
async addressTips () {
|
|
555
555
|
let res = ''
|
|
556
|
-
if (this.show_data.f_apply_type === '报警器报建') {
|
|
556
|
+
if (this.show_data.f_apply_type === '报警器报建' || this.show_data.f_apply_type === '工商业报警器报建') {
|
|
557
557
|
res = await this.$showMessage('报警器报建下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
|
|
558
558
|
}else{
|
|
559
559
|
res = await this.$showMessage('增容改管下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
|
|
@@ -962,7 +962,7 @@ export default {
|
|
|
962
962
|
this.show_data.xmlfilename = this.json_datas.workflow_xmlfilename
|
|
963
963
|
|
|
964
964
|
|
|
965
|
-
if (this.show_data.f_apply_type === '报警器报建' && this.show_data.defname === '工程施工' && this.show_data.f_sub_state !='完工' && this.show_data.button.button_name === '完工'){
|
|
965
|
+
if ((this.show_data.f_apply_type === '报警器报建' || this.show_data.f_apply_type === '工商业报警器报建') && this.show_data.defname === '工程施工' && this.show_data.f_sub_state !='完工' && this.show_data.button.button_name === '完工'){
|
|
966
966
|
//判断是否添加报警器材料
|
|
967
967
|
let bjqlag = false
|
|
968
968
|
let datatemp = {
|
|
@@ -972,10 +972,21 @@ export default {
|
|
|
972
972
|
'f_bjq_sid':"",
|
|
973
973
|
'f_material_code':""
|
|
974
974
|
}
|
|
975
|
+
let bjqststedata = {
|
|
976
|
+
"sid":"",
|
|
977
|
+
"bjqtype":"",
|
|
978
|
+
"f_process_id":"",
|
|
979
|
+
"bjqstate":""
|
|
980
|
+
}
|
|
975
981
|
let numOne = [];
|
|
976
982
|
this.show_data.onetomany.forEach(item=>{
|
|
977
983
|
item.rows.forEach(i=>{
|
|
978
984
|
if (i.f_material_name.substr(0,3) === '报警器'){
|
|
985
|
+
var bjname = i.f_material_name.split("-")
|
|
986
|
+
bjqststedata.sid = i.f_bjq_sid
|
|
987
|
+
bjqststedata.f_process_id = i.f_process_id
|
|
988
|
+
bjqststedata.bjqtype = bjname[1]
|
|
989
|
+
//====================================
|
|
979
990
|
bjqlag = true
|
|
980
991
|
datatemp.bjqid = i.id
|
|
981
992
|
datatemp.fprocessid = i.f_process_id
|
|
@@ -1000,42 +1011,69 @@ export default {
|
|
|
1000
1011
|
return
|
|
1001
1012
|
}
|
|
1002
1013
|
datatemp.sqvalue = this.show_data.areaData.sqvalue
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1014
|
+
|
|
1015
|
+
//判断是否推送 及推送的状态
|
|
1016
|
+
//查询是否存在, 以型号及厂家判断
|
|
1017
|
+
let bjqres = await this.$resetpost(
|
|
1018
|
+
`rs/logic/getbjqsyncinfo`,
|
|
1019
|
+
bjqststedata
|
|
1009
1020
|
)
|
|
1021
|
+
if (bjqres.data.bjqstate != "成功"){
|
|
1022
|
+
//区域地址存入材料记录表
|
|
1023
|
+
let areares = await this.$resetpost(
|
|
1024
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/saveArea`,
|
|
1025
|
+
// `rs/logic/saveArea`,
|
|
1026
|
+
{data: datatemp},
|
|
1027
|
+
{resolveMsg: null, rejectMsg: '区域地址保存失败'}
|
|
1028
|
+
)
|
|
1010
1029
|
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1030
|
+
// 完工之后推送数据到汉威
|
|
1031
|
+
let adddata = {
|
|
1032
|
+
f_bjq_sid : datatemp.f_bjq_sid,
|
|
1033
|
+
f_material_code : datatemp.f_material_code,
|
|
1034
|
+
f_bjq_lng : datatemp.f_bjq_lng,
|
|
1035
|
+
f_bjq_lat : datatemp.f_bjq_lat,
|
|
1036
|
+
f_orgid : this.show_data.f_orgid,
|
|
1037
|
+
f_bjq_address: this.show_data.areaData.sqvalue,
|
|
1038
|
+
f_user_name: this.show_data.f_user_name,
|
|
1039
|
+
f_address: this.show_data.f_address,
|
|
1040
|
+
f_user_phone: this.show_data.f_phone,
|
|
1041
|
+
f_userinfo_code: this.show_data.f_userinfo_code,
|
|
1042
|
+
installtime: this.show_data.f_construction_date,
|
|
1043
|
+
}
|
|
1044
|
+
let res = await this.$resetpost(
|
|
1045
|
+
`${this.$androidUtil.getProxyUrl()}/ncc/rs/logic/bjqadduser`,
|
|
1046
|
+
// `ncc/rs/logic/bjqadduser`,
|
|
1047
|
+
// `/rs/logic/bjqadduser`,
|
|
1048
|
+
adddata
|
|
1049
|
+
)
|
|
1050
|
+
if (res.data.code != 200){
|
|
1051
|
+
if (bjqres.data.bjqstate.length == 0){
|
|
1052
|
+
bjqststedata.bjqstate = "失败"
|
|
1053
|
+
let bjqres3 = await this.$resetpost(
|
|
1054
|
+
`rs/logic/addbjqsyncinfo`,
|
|
1055
|
+
bjqststedata
|
|
1056
|
+
)
|
|
1057
|
+
}
|
|
1058
|
+
this.$showMessage(res.data.msg)
|
|
1059
|
+
return
|
|
1060
|
+
}
|
|
1027
1061
|
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1062
|
+
//更改记录表状态
|
|
1063
|
+
if (bjqres.data.bjqstate === "失败"){
|
|
1064
|
+
bjqststedata.bjqstate = "成功"
|
|
1065
|
+
let bjqres1 = await this.$resetpost(
|
|
1066
|
+
`rs/logic/updatebjqsyncinfo`,
|
|
1067
|
+
bjqststedata
|
|
1068
|
+
)
|
|
1069
|
+
}else{
|
|
1070
|
+
bjqststedata.bjqstate = "成功"
|
|
1071
|
+
let bjqres2 = await this.$resetpost(
|
|
1072
|
+
`rs/logic/addbjqsyncinfo`,
|
|
1073
|
+
bjqststedata
|
|
1074
|
+
)
|
|
1075
|
+
}
|
|
1037
1076
|
}
|
|
1038
|
-
|
|
1039
1077
|
}
|
|
1040
1078
|
let res = await this.$resetpost(
|
|
1041
1079
|
// `rs/logic/ApplyProductService`,
|