apply-clients 3.3.19 → 3.3.23
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 +2 -2
- package/src/components/android/Process/AppServiceControl.vue +12 -1
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +0 -4
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +1 -4
- package/src/components/product/Function/Service/FunctionServiceControl.vue +9 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +1 -1
- package/src/components/product/Process/Service/ServiceControl.vue +44 -0
- package/src/components/product/ServiceView.vue +7 -2
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +15 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.23",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"system-clients": "3.1.87",
|
|
96
96
|
"system-phone": "1.1.18",
|
|
97
97
|
"url-loader": "^0.5.7",
|
|
98
|
-
"vue-client": "1.24.
|
|
98
|
+
"vue-client": "1.24.31",
|
|
99
99
|
"vue-hot-reload-api": "^1.2.0",
|
|
100
100
|
"vue-html-loader": "^1.0.0",
|
|
101
101
|
"vue-loader": "^8.2.1",
|
|
@@ -660,7 +660,10 @@ export default {
|
|
|
660
660
|
null,
|
|
661
661
|
{resolveMsg: null, rejectMsg: '删除失败!!!'}
|
|
662
662
|
)
|
|
663
|
-
|
|
663
|
+
res = await this.$resetpost(
|
|
664
|
+
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_apply`,
|
|
665
|
+
this.show_data
|
|
666
|
+
)
|
|
664
667
|
this.breakControl()
|
|
665
668
|
},
|
|
666
669
|
async 'onetomanyupdate' (index, rowIndex) {
|
|
@@ -673,6 +676,10 @@ export default {
|
|
|
673
676
|
`${this.$androidUtil.getProxyUrl()}/rs/entity/${this.show_data.onetomany[index].tables[0]}`,
|
|
674
677
|
data
|
|
675
678
|
)
|
|
679
|
+
res = await this.$resetpost(
|
|
680
|
+
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_apply`,
|
|
681
|
+
this.show_data
|
|
682
|
+
)
|
|
676
683
|
this.breakControl()
|
|
677
684
|
},
|
|
678
685
|
async 'onetomanyadd' (index) {
|
|
@@ -691,6 +698,10 @@ export default {
|
|
|
691
698
|
`${this.$androidUtil.getProxyUrl()}/rs/entity/${this.show_data.onetomany[index].tables[0]}`,
|
|
692
699
|
data
|
|
693
700
|
)
|
|
701
|
+
res = await this.$resetpost(
|
|
702
|
+
`${this.$androidUtil.getProxyUrl()}/rs/entity/t_apply`,
|
|
703
|
+
this.show_data
|
|
704
|
+
)
|
|
694
705
|
this.breakControl()
|
|
695
706
|
},
|
|
696
707
|
'onbutchange' (index) {
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
<div style="padding: 10px">
|
|
3
3
|
<div partial class="auto app-text panel" style="margin-bottom: 20px">
|
|
4
4
|
<div class="panel-body panel-self">
|
|
5
|
-
<div class="col-xs-12">
|
|
6
|
-
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
7
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
8
|
-
</div>
|
|
9
5
|
<div class="col-xs-12">
|
|
10
6
|
<p class="col-xs-3 text-left font"><b>客户名称:</b></p>
|
|
11
7
|
<p class="col-xs-9 text-left input-font">{{ selectdata.f_user_name }}</p>
|
|
@@ -231,10 +231,7 @@ export default {
|
|
|
231
231
|
async getChargeAll () {
|
|
232
232
|
let http = new HttpResetClass()
|
|
233
233
|
let data = {
|
|
234
|
-
condition: this.model.condition
|
|
235
|
-
data: {
|
|
236
|
-
orgid: this.$login.f.orgid
|
|
237
|
-
}
|
|
234
|
+
condition: this.model.condition + ` and cr.f_orgid = '${this.curorgid[0]}'`
|
|
238
235
|
}
|
|
239
236
|
let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
240
237
|
|
|
@@ -153,6 +153,15 @@
|
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
events: {
|
|
156
|
+
// 信息修改
|
|
157
|
+
async 'modifyUserInfo' () {
|
|
158
|
+
let res = await this.$resetpost(
|
|
159
|
+
`rs/logic/modifyUserInfo`,
|
|
160
|
+
this.show_data,
|
|
161
|
+
{resolveMsg: null, rejectMsg: '用户信息修改失败!!!'}
|
|
162
|
+
)
|
|
163
|
+
this.$dispatch('search')
|
|
164
|
+
},
|
|
156
165
|
async 'stopApply' () {
|
|
157
166
|
|
|
158
167
|
let data = {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
href="/apply/download/excel/安装明细.xlsx" download>模板下载</a>
|
|
23
23
|
<export-excel :data="$parent.$parent.$parent.getCondition"
|
|
24
24
|
:field="$parent.$parent.$parent.getfield"
|
|
25
|
-
sqlurl="rs/logic/
|
|
25
|
+
sqlurl="rs/logic/applyExportfile"
|
|
26
26
|
sql-name="getInstallableAddress"
|
|
27
27
|
template-name='可安装地址'
|
|
28
28
|
btn-name="导出可安装"
|
|
@@ -555,6 +555,30 @@ export default {
|
|
|
555
555
|
}
|
|
556
556
|
},
|
|
557
557
|
events: {
|
|
558
|
+
async 'searchArea' (area, index) {
|
|
559
|
+
let data = {
|
|
560
|
+
tablename: 't_area',
|
|
561
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}' and f_residential_area like '%${area}%'`
|
|
562
|
+
}
|
|
563
|
+
let http = new HttpResetClass()
|
|
564
|
+
let res = await http.load(
|
|
565
|
+
'POST',
|
|
566
|
+
`rs/sql/singleTable`,
|
|
567
|
+
{data: data},
|
|
568
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
569
|
+
)
|
|
570
|
+
|
|
571
|
+
if (res.data.length === 0) {
|
|
572
|
+
return
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
this.setLabelOptions('集收单位', res.data.map(item => {
|
|
576
|
+
return {
|
|
577
|
+
label: item.f_residential_area,
|
|
578
|
+
value: item.f_residential_area
|
|
579
|
+
}
|
|
580
|
+
}))
|
|
581
|
+
},
|
|
558
582
|
// 选择气价
|
|
559
583
|
'priceChange' (index) {
|
|
560
584
|
if (isEmpty(this.show_data.stairPrice)) {
|
|
@@ -586,6 +610,7 @@ export default {
|
|
|
586
610
|
{resolveMsg: null, rejectMsg: '公司查询失败!!!'}
|
|
587
611
|
)
|
|
588
612
|
this.show_data.f_dev_id = res.data[0].id
|
|
613
|
+
this.show_data.f_dev_code = res.data[0].f_dev_code
|
|
589
614
|
this.setLabelValue('法人名称', res.data[0].f_legal_person)
|
|
590
615
|
this.setLabelValue('身份证', res.data[0].f_idnumber)
|
|
591
616
|
this.setLabelValue('营业执照', res.data[0].f_license_num)
|
|
@@ -937,6 +962,8 @@ export default {
|
|
|
937
962
|
this.addressInitialization()
|
|
938
963
|
this.hideLabels('用户编号')
|
|
939
964
|
this.electiveLabels('用户编号')
|
|
965
|
+
this.showLabels('片区', '地址类型')
|
|
966
|
+
this.requiredLabels('片区', '地址类型')
|
|
940
967
|
}
|
|
941
968
|
if (this.show_data.f_apply_source === '自动发起') {
|
|
942
969
|
this.hideLabels('片区', '地址类型')
|
|
@@ -1003,6 +1030,7 @@ export default {
|
|
|
1003
1030
|
}
|
|
1004
1031
|
}
|
|
1005
1032
|
},
|
|
1033
|
+
selectSearch (val, index) {},
|
|
1006
1034
|
'onblur' (index) {},
|
|
1007
1035
|
'oninput' (index) {},
|
|
1008
1036
|
'initializtionView' () {},
|
|
@@ -1025,6 +1053,11 @@ export default {
|
|
|
1025
1053
|
{resolveMsg: null, rejectMsg: '删除失败!!!'}
|
|
1026
1054
|
)
|
|
1027
1055
|
|
|
1056
|
+
res = await this.$resetpost(
|
|
1057
|
+
'rs/entity/t_apply',
|
|
1058
|
+
this.show_data
|
|
1059
|
+
)
|
|
1060
|
+
|
|
1028
1061
|
this.$dispatch('breakControl', this.show_data)
|
|
1029
1062
|
},
|
|
1030
1063
|
async 'onetomanyupdate' (index, rowIndex) {
|
|
@@ -1038,6 +1071,11 @@ export default {
|
|
|
1038
1071
|
data
|
|
1039
1072
|
)
|
|
1040
1073
|
|
|
1074
|
+
res = await this.$resetpost(
|
|
1075
|
+
'rs/entity/t_apply',
|
|
1076
|
+
this.show_data
|
|
1077
|
+
)
|
|
1078
|
+
|
|
1041
1079
|
this.$dispatch('breakControl', this.show_data)
|
|
1042
1080
|
},
|
|
1043
1081
|
async 'onetomanyadd' (index) {
|
|
@@ -1056,6 +1094,12 @@ export default {
|
|
|
1056
1094
|
`rs/entity/${this.show_data.onetomany[index].tables[0]}`,
|
|
1057
1095
|
data
|
|
1058
1096
|
)
|
|
1097
|
+
|
|
1098
|
+
res = await this.$resetpost(
|
|
1099
|
+
'rs/entity/t_apply',
|
|
1100
|
+
this.show_data
|
|
1101
|
+
)
|
|
1102
|
+
|
|
1059
1103
|
this.$dispatch('breakControl', this.show_data)
|
|
1060
1104
|
},
|
|
1061
1105
|
'onbutchange' (index) {
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
class="select select_list"
|
|
85
85
|
@blur="onblur(index)"
|
|
86
86
|
@change="onchange(index)"
|
|
87
|
+
@select-search="selectSearch($arguments,index)"
|
|
87
88
|
:readonly="item.readonly"
|
|
88
89
|
:disable="item.disabled"
|
|
89
90
|
:value.sync="data.fields[index].value"
|
|
@@ -408,8 +409,6 @@ export default {
|
|
|
408
409
|
this.$dispatch(this.data.fields[index].onchange, index)
|
|
409
410
|
}
|
|
410
411
|
this.$dispatch('onchange', index)
|
|
411
|
-
|
|
412
|
-
|
|
413
412
|
},
|
|
414
413
|
// 失去焦点触发,无论值是否发生变化
|
|
415
414
|
onblur (index) {
|
|
@@ -430,6 +429,12 @@ export default {
|
|
|
430
429
|
}
|
|
431
430
|
this.$dispatch('oninput', index)
|
|
432
431
|
},
|
|
432
|
+
selectSearch(event, index) {
|
|
433
|
+
if (this.data.fields[index].selectSearch) {
|
|
434
|
+
this.$dispatch(this.data.fields[index].selectSearch, event[0], index)
|
|
435
|
+
}
|
|
436
|
+
this.$dispatch('selectSearch', event[0], index)
|
|
437
|
+
},
|
|
433
438
|
// 点击按钮组按钮
|
|
434
439
|
async click_but (button) {
|
|
435
440
|
this.disable_button = true
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
let res = await http.load('POST', 'rs/search', {
|
|
162
162
|
source: 'this.getInfo()',
|
|
163
163
|
userid: this.selectdata.userid
|
|
164
|
-
}, {resolveMsg: null, rejectMsg:
|
|
164
|
+
}, {resolveMsg: null, rejectMsg: '处理人员获取失败!!!'})
|
|
165
165
|
let user = res.data
|
|
166
166
|
this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
|
|
167
167
|
this.data.operator = this.selectdata.person
|
|
@@ -169,6 +169,20 @@
|
|
|
169
169
|
this.data.parentname = user.deps
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
+
// 未结束且是下发查看指定人员
|
|
173
|
+
if (this.selectdata.state !== '结束' && this.selectdata.actorexpression.indexOf('PI') === 0) {
|
|
174
|
+
let http = new HttpResetClass()
|
|
175
|
+
let res = await http.load('POST', 'rs/search', {
|
|
176
|
+
source: 'this',
|
|
177
|
+
userid: this.selectdata.actorexpression.substring(3, this.selectdata.actorexpression.length-1)
|
|
178
|
+
}, {resolveMsg: null, rejectMsg: '处理人员获取失败!!!'})
|
|
179
|
+
let user = res.data
|
|
180
|
+
this.data.operate_date = new Date().Format('yyyy-MM-dd')
|
|
181
|
+
this.data.operator = user.name
|
|
182
|
+
this.data.orgs = user.orgs
|
|
183
|
+
this.data.parentname = user.f_department_name
|
|
184
|
+
}
|
|
185
|
+
|
|
172
186
|
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
173
187
|
let temp = JSON.parse(JSON.stringify(this.data))
|
|
174
188
|
|