apply-clients 3.5.5-10 → 3.5.5-101
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 +5 -9
- package/package.json +6 -4
- package/src/App.vue +25 -25
- package/src/components/QXClient.js +333 -0
- package/src/components/SignTools.js +65 -0
- package/src/components/android/AppTakePic.vue +182 -182
- package/src/components/android/Process/AppChargeList.vue +8 -0
- package/src/components/android/Process/AppExplorationUser.vue +1 -2
- package/src/components/android/Process/AppServiceControl.vue +1760 -1755
- package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
- package/src/components/product/Install/ContractCharge.vue +3 -3
- package/src/components/product/Material/MaterialDetailed.vue +268 -268
- package/src/components/product/Process/Processes/contractModel.vue +49 -37
- package/src/components/product/ServiceView.vue +1028 -1028
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
- package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
- package/src/filiale/fugou/android/AppDevicesManagement.vue +521 -519
- package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
- package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -541
- package/src/filiale/fugou/android/AppServiceControl.vue +1894 -1836
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
- package/src/filiale/fugou/android/printCharge.vue +162 -162
- package/src/filiale/fugou/android.js +16 -16
- package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
- package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -480
- package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
- package/src/filiale/fugou/pc/ExplorationSelect.vue +524 -525
- package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
- package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
- package/src/filiale/fugou/pc/ServiceView.vue +941 -941
- package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
- package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -881
- package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
- package/src/filiale/fugou/pc/chargeReport.vue +87 -15
- package/src/filiale/fugou/pc/devicesManagement.vue +484 -483
- package/src/filiale/fugou/pc/printChargepc.vue +148 -148
- package/src/filiale/fugou/pc.js +3 -1
- package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
- package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
- package/src/filiale/gongyi/pc.js +2 -1
- package/src/filiale/hongda/pc/addMaterialScience.vue +2 -2
- package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
- package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -0
- package/src/filiale/jinhuang/android.js +7 -0
- package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
- package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -0
- package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -1925
- package/src/filiale/jinhuang/pc/SupervisoryList.vue +459 -0
- package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
- package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
- package/src/filiale/jinhuang/pc.js +12 -8
- package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
- package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
- package/src/filiale/qianneng/android.js +15 -15
- package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +20 -3
- package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
- package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
- package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
- package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
- package/src/filiale/qianneng/pc.js +29 -29
- package/src/filiale/ruihua/pc/ServiceControl.vue +7 -1
- package/src/filiale/shexian/android/AppServiceControl.vue +1763 -1763
- package/src/filiale/shexian/android/AppSign.vue +152 -152
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
- package/src/filiale/yangchunboneng/android/AppContractCharge.vue +3 -3
- package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +37 -4
- package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1703
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
- package/src/filiale/yangchunboneng/android.js +2 -1
- package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +3 -3
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2114 -2112
- package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
- package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -605
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +687 -683
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
- package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1057 -1053
- package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
- package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
- package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
- package/src/filiale/yangchunboneng/pc.js +6 -1
- package/src/main.js +3 -3
|
@@ -559,6 +559,7 @@ export default {
|
|
|
559
559
|
userinfo:{},
|
|
560
560
|
userfiles:{},
|
|
561
561
|
userfor:{},
|
|
562
|
+
f_gas_appliances:'',
|
|
562
563
|
getfield: {
|
|
563
564
|
'f_apply_num': '工程编号',
|
|
564
565
|
'f_userinfo_code': '客户编号',
|
|
@@ -716,6 +717,12 @@ export default {
|
|
|
716
717
|
this.userinfo = {}
|
|
717
718
|
this.userfiles = {}
|
|
718
719
|
this.userinfo = {}
|
|
720
|
+
this.userinfo = row
|
|
721
|
+
if (this.userinfo.f_apply_type == '居民用户报建' || this.userinfo.f_apply_type == '居民团体单户报建'){
|
|
722
|
+
this.f_gas_appliances = this.jsontostring(this.userinfo.f_gas_appliances)
|
|
723
|
+
}else {
|
|
724
|
+
this.f_gas_appliances = this.userinfo.f_gas_appliances
|
|
725
|
+
}
|
|
719
726
|
let http = new HttpResetClass()
|
|
720
727
|
let condition1 = ''
|
|
721
728
|
if (row.f_sub_state === '完工') {
|
|
@@ -729,13 +736,13 @@ export default {
|
|
|
729
736
|
await http.load('POST', 'rs/sql/getUserFilesAndDevicesAmount', {data: data}, {
|
|
730
737
|
resolveMsg: null,
|
|
731
738
|
rejectMsg: null
|
|
732
|
-
}).then(res => {
|
|
739
|
+
}).then(async res => {
|
|
733
740
|
this.userfiles = res.data[0]
|
|
734
741
|
data = {
|
|
735
742
|
tablename: 'activityins',
|
|
736
743
|
condition: `id = (select max(id) from activityins where processid = '${row.f_process_id}' and defname = '合同签订') `
|
|
737
744
|
}
|
|
738
|
-
http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
745
|
+
await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
739
746
|
resolveMsg: null,
|
|
740
747
|
rejectMsg: null
|
|
741
748
|
}).then(res1 => {
|
|
@@ -743,8 +750,18 @@ export default {
|
|
|
743
750
|
this.userfor.finishtime = res1.data[0].finishtime.substring(0, 10)
|
|
744
751
|
})
|
|
745
752
|
})
|
|
746
|
-
this.userinfo = row
|
|
747
753
|
},
|
|
754
|
+
jsontostring (row) {
|
|
755
|
+
if (!isEmpty(row)) {
|
|
756
|
+
if (typeof row === 'string') {
|
|
757
|
+
return JSON.parse(row).join()
|
|
758
|
+
}
|
|
759
|
+
if (Array.isArray(row)) {
|
|
760
|
+
return row.join()
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
return ''
|
|
764
|
+
}
|
|
748
765
|
},
|
|
749
766
|
computed: {
|
|
750
767
|
getCondition () {
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
</datepicker>
|
|
168
168
|
</div>
|
|
169
169
|
<div class="form-group col-sm-3">
|
|
170
|
-
|
|
170
|
+
<label for="ventilateEndDate" class="font_normal_body">结束时间:</label>
|
|
171
171
|
<datepicker id="ventilateEndDate" placeholder="通气验收结束日期"
|
|
172
172
|
style="width: 60%!important;"
|
|
173
173
|
v-model="model.ventilateEndDate"
|
|
@@ -564,14 +564,21 @@
|
|
|
564
564
|
// 搜索楼号
|
|
565
565
|
async 'searchbuilding' (index) {
|
|
566
566
|
this.setLabelValue('楼号/组', null)
|
|
567
|
+
this.selectdata.f_residential_area = this.getLableValue('小区')
|
|
568
|
+
this.selectdata.f_street = this.getLableValue('街道/乡镇')
|
|
569
|
+
if (isEmpty(this.selectdata.f_residential_area)){
|
|
570
|
+
return
|
|
571
|
+
}
|
|
567
572
|
let data = {
|
|
568
|
-
|
|
569
|
-
|
|
573
|
+
items:'b.f_building',
|
|
574
|
+
orderitem: 'b.id',
|
|
575
|
+
tablename: 't_building b left join t_area a on b.f_residential_area_id = a.id',
|
|
576
|
+
condition: `b.f_filialeid = '${this.$login.f.orgid}' and b.f_residential_area like '%${this.selectdata.f_residential_area}' and a.f_street = '${this.selectdata.f_street}'`
|
|
570
577
|
}
|
|
571
578
|
let http = new HttpResetClass()
|
|
572
579
|
let res = await http.load(
|
|
573
580
|
'POST',
|
|
574
|
-
`rs/sql/
|
|
581
|
+
`rs/sql/tel_singleTable_OrderBy`,
|
|
575
582
|
{data: data},
|
|
576
583
|
{resolveMsg: null, rejectMsg: '楼号查询失败!!!'}
|
|
577
584
|
)
|
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
-
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.title'>
|
|
10
|
-
<function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
|
|
11
|
-
</tab>
|
|
12
|
-
<tab header='附件'>
|
|
13
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
-
:isupload = "true"
|
|
15
|
-
:isdelete="true"
|
|
16
|
-
:isusetype="true"
|
|
17
|
-
:isremark = "true"
|
|
18
|
-
:takeimg="true"
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="selectdata.defname"
|
|
21
|
-
>
|
|
22
|
-
</apply-upload>
|
|
23
|
-
</tab>
|
|
24
|
-
</tabset>
|
|
25
|
-
</div>
|
|
26
|
-
<div>
|
|
27
|
-
<div v-if="showSuper" style="height: 89%">
|
|
28
|
-
<div class="col-sm-2" style="margin-top: 20px">
|
|
29
|
-
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-10" style="margin-top: 20px">
|
|
32
|
-
<tabset v-ref:tabs :close="false">
|
|
33
|
-
<tab :header='selectdata.defname'>
|
|
34
|
-
<supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
|
|
35
|
-
</tab>
|
|
36
|
-
<tab header='附件'>
|
|
37
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
38
|
-
:isupload = "false"
|
|
39
|
-
:isdelete="false"
|
|
40
|
-
:isusetype="true"
|
|
41
|
-
:isremark = "true"
|
|
42
|
-
:takeimg="false"
|
|
43
|
-
:issearch="true"
|
|
44
|
-
:defname="selectdata.defname">
|
|
45
|
-
</apply-upload>
|
|
46
|
-
</tab>
|
|
47
|
-
</tabset>
|
|
48
|
-
</div>
|
|
49
|
-
<div style="height: 1%">
|
|
50
|
-
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
</template>
|
|
59
|
-
<script>
|
|
60
|
-
import Vue from 'vue'
|
|
61
|
-
import {HttpResetClass} from 'vue-client'
|
|
62
|
-
export default {
|
|
63
|
-
title: '报建管理',
|
|
64
|
-
data () {
|
|
65
|
-
return {
|
|
66
|
-
selectdata: null,
|
|
67
|
-
showtotal: false, // 控制详情显示
|
|
68
|
-
showData: true, // 控制列表数据
|
|
69
|
-
showSuper: false,
|
|
70
|
-
|
|
71
|
-
showDataList: true
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
created () {
|
|
75
|
-
this.getConfig()
|
|
76
|
-
},
|
|
77
|
-
methods: {
|
|
78
|
-
// 获取页面配置json文件
|
|
79
|
-
async loadName () {
|
|
80
|
-
let data = {
|
|
81
|
-
workname: this.selectdata.processname
|
|
82
|
-
}
|
|
83
|
-
let res = await this.$resetpost(
|
|
84
|
-
'rs/logic/ApplyGetConfigs',
|
|
85
|
-
{data: data},
|
|
86
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
87
|
-
)
|
|
88
|
-
|
|
89
|
-
Vue.prototype.$workflow_vue = res.data
|
|
90
|
-
},
|
|
91
|
-
// 获取功能配置
|
|
92
|
-
async getConfig () {
|
|
93
|
-
let res = await this.$resetpost(
|
|
94
|
-
'rs/logic/ApplyGetFunction',
|
|
95
|
-
null,
|
|
96
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
97
|
-
)
|
|
98
|
-
Vue.prototype.$function_vue = res.data
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
events: {
|
|
102
|
-
async 'apply' (val) {
|
|
103
|
-
this.selectdata = null
|
|
104
|
-
this.selectdata = val
|
|
105
|
-
this.showSuper= false
|
|
106
|
-
// 获取配置文件
|
|
107
|
-
await this.loadName()
|
|
108
|
-
this.$refs.query.$refs.cp.pager = false
|
|
109
|
-
this.showData = false
|
|
110
|
-
this.showtotal=false
|
|
111
|
-
this.showSuper = true
|
|
112
|
-
},
|
|
113
|
-
// 刷新控制层
|
|
114
|
-
async 'breakControl' (servicedata) {
|
|
115
|
-
let http = new HttpResetClass()
|
|
116
|
-
let data = {
|
|
117
|
-
condition: `u.id = ${servicedata.id}`,
|
|
118
|
-
data: {
|
|
119
|
-
id: this.$login.f.id,
|
|
120
|
-
orgid: this.$login.f.orgid
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
125
|
-
resolveMsg: null,
|
|
126
|
-
rejectMsg: '数据更新失败!!!'
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
this.showtotal = false
|
|
130
|
-
|
|
131
|
-
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
132
|
-
|
|
133
|
-
this.$nextTick(() => {
|
|
134
|
-
this.showtotal = true
|
|
135
|
-
})
|
|
136
|
-
},
|
|
137
|
-
// 查询
|
|
138
|
-
'search' () {
|
|
139
|
-
// 关闭详细
|
|
140
|
-
this.showtotal = false
|
|
141
|
-
// 显示列表数据
|
|
142
|
-
this.showData = true
|
|
143
|
-
// 显示分页
|
|
144
|
-
this.$refs.query.$refs.cp.pager = true
|
|
145
|
-
// 调用查询
|
|
146
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
147
|
-
},
|
|
148
|
-
'loadPage' () {
|
|
149
|
-
// 关闭详细
|
|
150
|
-
this.showtotal = false
|
|
151
|
-
// 显示列表数据
|
|
152
|
-
this.showData = true
|
|
153
|
-
// 显示分页
|
|
154
|
-
this.$refs.query.$refs.cp.pager = true
|
|
155
|
-
// 调用查询
|
|
156
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
157
|
-
},
|
|
158
|
-
// 点击功能操作
|
|
159
|
-
'func' (funcdata, row) {
|
|
160
|
-
this.selectdata = Object.assign({}, funcdata, row)
|
|
161
|
-
|
|
162
|
-
// 关闭分页
|
|
163
|
-
this.$refs.query.$refs.cp.pager = false
|
|
164
|
-
// 关闭列表数据
|
|
165
|
-
this.showData = false
|
|
166
|
-
|
|
167
|
-
this.$nextTick(() => {
|
|
168
|
-
this.showtotal = true
|
|
169
|
-
})
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
</script>
|
|
174
|
-
<style scoped>
|
|
175
|
-
/*清除浮动*/
|
|
176
|
-
.clearfix:after,.clearfix:before{
|
|
177
|
-
display: table;
|
|
178
|
-
}
|
|
179
|
-
.clearfix:after{
|
|
180
|
-
clear: both;
|
|
181
|
-
}
|
|
182
|
-
.head{
|
|
183
|
-
height: auto;
|
|
184
|
-
font-weight: bold;
|
|
185
|
-
color: #000000;
|
|
186
|
-
font-family: 微软雅黑;
|
|
187
|
-
}
|
|
188
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
+
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
<tab :header='selectdata.title'>
|
|
10
|
+
<function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
|
|
11
|
+
</tab>
|
|
12
|
+
<tab header='附件'>
|
|
13
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
+
:isupload = "true"
|
|
15
|
+
:isdelete="true"
|
|
16
|
+
:isusetype="true"
|
|
17
|
+
:isremark = "true"
|
|
18
|
+
:takeimg="true"
|
|
19
|
+
:issearch="true"
|
|
20
|
+
:defname="selectdata.defname"
|
|
21
|
+
>
|
|
22
|
+
</apply-upload>
|
|
23
|
+
</tab>
|
|
24
|
+
</tabset>
|
|
25
|
+
</div>
|
|
26
|
+
<div>
|
|
27
|
+
<div v-if="showSuper" style="height: 89%">
|
|
28
|
+
<div class="col-sm-2" style="margin-top: 20px">
|
|
29
|
+
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-10" style="margin-top: 20px">
|
|
32
|
+
<tabset v-ref:tabs :close="false">
|
|
33
|
+
<tab :header='selectdata.defname'>
|
|
34
|
+
<supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
|
|
35
|
+
</tab>
|
|
36
|
+
<tab header='附件'>
|
|
37
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
38
|
+
:isupload = "false"
|
|
39
|
+
:isdelete="false"
|
|
40
|
+
:isusetype="true"
|
|
41
|
+
:isremark = "true"
|
|
42
|
+
:takeimg="false"
|
|
43
|
+
:issearch="true"
|
|
44
|
+
:defname="selectdata.defname">
|
|
45
|
+
</apply-upload>
|
|
46
|
+
</tab>
|
|
47
|
+
</tabset>
|
|
48
|
+
</div>
|
|
49
|
+
<div style="height: 1%">
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
</template>
|
|
59
|
+
<script>
|
|
60
|
+
import Vue from 'vue'
|
|
61
|
+
import {HttpResetClass} from 'vue-client'
|
|
62
|
+
export default {
|
|
63
|
+
title: '报建管理',
|
|
64
|
+
data () {
|
|
65
|
+
return {
|
|
66
|
+
selectdata: null,
|
|
67
|
+
showtotal: false, // 控制详情显示
|
|
68
|
+
showData: true, // 控制列表数据
|
|
69
|
+
showSuper: false,
|
|
70
|
+
|
|
71
|
+
showDataList: true
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
created () {
|
|
75
|
+
this.getConfig()
|
|
76
|
+
},
|
|
77
|
+
methods: {
|
|
78
|
+
// 获取页面配置json文件
|
|
79
|
+
async loadName () {
|
|
80
|
+
let data = {
|
|
81
|
+
workname: this.selectdata.processname
|
|
82
|
+
}
|
|
83
|
+
let res = await this.$resetpost(
|
|
84
|
+
'rs/logic/ApplyGetConfigs',
|
|
85
|
+
{data: data},
|
|
86
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
Vue.prototype.$workflow_vue = res.data
|
|
90
|
+
},
|
|
91
|
+
// 获取功能配置
|
|
92
|
+
async getConfig () {
|
|
93
|
+
let res = await this.$resetpost(
|
|
94
|
+
'rs/logic/ApplyGetFunction',
|
|
95
|
+
null,
|
|
96
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
97
|
+
)
|
|
98
|
+
Vue.prototype.$function_vue = res.data
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
events: {
|
|
102
|
+
async 'apply' (val) {
|
|
103
|
+
this.selectdata = null
|
|
104
|
+
this.selectdata = val
|
|
105
|
+
this.showSuper= false
|
|
106
|
+
// 获取配置文件
|
|
107
|
+
await this.loadName()
|
|
108
|
+
this.$refs.query.$refs.cp.pager = false
|
|
109
|
+
this.showData = false
|
|
110
|
+
this.showtotal=false
|
|
111
|
+
this.showSuper = true
|
|
112
|
+
},
|
|
113
|
+
// 刷新控制层
|
|
114
|
+
async 'breakControl' (servicedata) {
|
|
115
|
+
let http = new HttpResetClass()
|
|
116
|
+
let data = {
|
|
117
|
+
condition: `u.id = ${servicedata.id}`,
|
|
118
|
+
data: {
|
|
119
|
+
id: this.$login.f.id,
|
|
120
|
+
orgid: this.$login.f.orgid
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
125
|
+
resolveMsg: null,
|
|
126
|
+
rejectMsg: '数据更新失败!!!'
|
|
127
|
+
})
|
|
128
|
+
|
|
129
|
+
this.showtotal = false
|
|
130
|
+
|
|
131
|
+
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
132
|
+
|
|
133
|
+
this.$nextTick(() => {
|
|
134
|
+
this.showtotal = true
|
|
135
|
+
})
|
|
136
|
+
},
|
|
137
|
+
// 查询
|
|
138
|
+
'search' () {
|
|
139
|
+
// 关闭详细
|
|
140
|
+
this.showtotal = false
|
|
141
|
+
// 显示列表数据
|
|
142
|
+
this.showData = true
|
|
143
|
+
// 显示分页
|
|
144
|
+
this.$refs.query.$refs.cp.pager = true
|
|
145
|
+
// 调用查询
|
|
146
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
147
|
+
},
|
|
148
|
+
'loadPage' () {
|
|
149
|
+
// 关闭详细
|
|
150
|
+
this.showtotal = false
|
|
151
|
+
// 显示列表数据
|
|
152
|
+
this.showData = true
|
|
153
|
+
// 显示分页
|
|
154
|
+
this.$refs.query.$refs.cp.pager = true
|
|
155
|
+
// 调用查询
|
|
156
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
157
|
+
},
|
|
158
|
+
// 点击功能操作
|
|
159
|
+
'func' (funcdata, row) {
|
|
160
|
+
this.selectdata = Object.assign({}, funcdata, row)
|
|
161
|
+
|
|
162
|
+
// 关闭分页
|
|
163
|
+
this.$refs.query.$refs.cp.pager = false
|
|
164
|
+
// 关闭列表数据
|
|
165
|
+
this.showData = false
|
|
166
|
+
|
|
167
|
+
this.$nextTick(() => {
|
|
168
|
+
this.showtotal = true
|
|
169
|
+
})
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
</script>
|
|
174
|
+
<style scoped>
|
|
175
|
+
/*清除浮动*/
|
|
176
|
+
.clearfix:after,.clearfix:before{
|
|
177
|
+
display: table;
|
|
178
|
+
}
|
|
179
|
+
.clearfix:after{
|
|
180
|
+
clear: both;
|
|
181
|
+
}
|
|
182
|
+
.head{
|
|
183
|
+
height: auto;
|
|
184
|
+
font-weight: bold;
|
|
185
|
+
color: #000000;
|
|
186
|
+
font-family: 微软雅黑;
|
|
187
|
+
}
|
|
188
|
+
</style>
|
|
@@ -1123,14 +1123,19 @@
|
|
|
1123
1123
|
// 搜索楼号
|
|
1124
1124
|
async 'searchbuilding' (index) {
|
|
1125
1125
|
this.setLabelValue('楼号/组', null)
|
|
1126
|
+
if (isEmpty(this.show_data.f_residential_area)){
|
|
1127
|
+
return
|
|
1128
|
+
}
|
|
1126
1129
|
let data = {
|
|
1127
|
-
|
|
1128
|
-
|
|
1130
|
+
items:'b.f_building',
|
|
1131
|
+
orderitem: 'b.id',
|
|
1132
|
+
tablename: 't_building b left join t_area a on b.f_residential_area_id = a.id',
|
|
1133
|
+
condition: `b.f_filialeid = '${this.$login.f.orgid}' and b.f_residential_area like '%${this.show_data.f_residential_area}%' and a.f_street = '${this.show_data.f_street}'`
|
|
1129
1134
|
}
|
|
1130
1135
|
let http = new HttpResetClass()
|
|
1131
1136
|
let res = await http.load(
|
|
1132
1137
|
'POST',
|
|
1133
|
-
`rs/sql/
|
|
1138
|
+
`rs/sql/tel_singleTable_OrderBy`,
|
|
1134
1139
|
{data: data},
|
|
1135
1140
|
{resolveMsg: null, rejectMsg: '楼号查询失败!!!'}
|
|
1136
1141
|
)
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
|
|
3
|
-
let specialComp = {
|
|
4
|
-
'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
|
|
5
|
-
'service-view': (resolve) => { require(['./pc/ServiceView'], resolve) },
|
|
6
|
-
'supervisory-list': (resolve) => { require(['./pc/SupervisoryList'], resolve) },
|
|
7
|
-
'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
|
|
8
|
-
'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
|
|
9
|
-
'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
|
|
10
|
-
'apply-charge-management': (resolve) => { require(['./pc/chargeManagement'], resolve) },
|
|
11
|
-
'apply-print-activatecard': (resolve) => { require(['./pc/printactivatecard'], resolve) },
|
|
12
|
-
'function-service-control': (resolve) => { require(['./pc/FunctionServiceControl'], resolve) },
|
|
13
|
-
'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
|
|
14
|
-
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
|
|
15
|
-
'apply-batch-dispatch': (resolve) => { require(['./pc/Applybatchdispatch'], resolve) },
|
|
16
|
-
'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect'], resolve) },
|
|
17
|
-
'exploration-user': (resolve) => { require(['./pc/ExplorationUser'], resolve) },
|
|
18
|
-
'install-function': (resolve) => { require(['./pc/InstallFunction'], resolve) },
|
|
19
|
-
'apply-upload': (resolve) => { require(['./pc/ApplyUpload'], resolve) },
|
|
20
|
-
'apply-detail': (resolve) => { require(['./pc/Applydetail'], resolve) },
|
|
21
|
-
'supervisory-chart': (resolve) => { require(['./pc/SupervisoryhCart'], resolve) },
|
|
22
|
-
'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
|
|
23
|
-
'supplemental-agreement': (resolve) => { require(['./pc/supplementalAgreement'], resolve) },
|
|
24
|
-
'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
|
|
25
|
-
'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) },
|
|
26
|
-
'stop-apply-list': (resolve) => { require(['./pc/StopApplyList'], resolve) },
|
|
27
|
-
'apply-material-detailed': (resolve) => { require(['./pc/ApplyMaterialDetailed.vue'], resolve) },
|
|
28
|
-
}
|
|
29
|
-
exports.specialComp = specialComp
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
|
|
3
|
+
let specialComp = {
|
|
4
|
+
'service-control': (resolve) => { require(['./pc/ServiceControl'], resolve) },
|
|
5
|
+
'service-view': (resolve) => { require(['./pc/ServiceView'], resolve) },
|
|
6
|
+
'supervisory-list': (resolve) => { require(['./pc/SupervisoryList'], resolve) },
|
|
7
|
+
'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
|
|
8
|
+
'installation-details': (resolve) => { require(['./pc/InstallationDetails'], resolve) },
|
|
9
|
+
'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
|
|
10
|
+
'apply-charge-management': (resolve) => { require(['./pc/chargeManagement'], resolve) },
|
|
11
|
+
'apply-print-activatecard': (resolve) => { require(['./pc/printactivatecard'], resolve) },
|
|
12
|
+
'function-service-control': (resolve) => { require(['./pc/FunctionServiceControl'], resolve) },
|
|
13
|
+
'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
|
|
14
|
+
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
|
|
15
|
+
'apply-batch-dispatch': (resolve) => { require(['./pc/Applybatchdispatch'], resolve) },
|
|
16
|
+
'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect'], resolve) },
|
|
17
|
+
'exploration-user': (resolve) => { require(['./pc/ExplorationUser'], resolve) },
|
|
18
|
+
'install-function': (resolve) => { require(['./pc/InstallFunction'], resolve) },
|
|
19
|
+
'apply-upload': (resolve) => { require(['./pc/ApplyUpload'], resolve) },
|
|
20
|
+
'apply-detail': (resolve) => { require(['./pc/Applydetail'], resolve) },
|
|
21
|
+
'supervisory-chart': (resolve) => { require(['./pc/SupervisoryhCart'], resolve) },
|
|
22
|
+
'apply-devices-management': (resolve) => { require(['./pc/devicesManagement'], resolve) },
|
|
23
|
+
'supplemental-agreement': (resolve) => { require(['./pc/supplementalAgreement'], resolve) },
|
|
24
|
+
'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
|
|
25
|
+
'apply-print-chargepc': (resolve) => { require(['./pc/printChargepc'], resolve) },
|
|
26
|
+
'stop-apply-list': (resolve) => { require(['./pc/StopApplyList'], resolve) },
|
|
27
|
+
'apply-material-detailed': (resolve) => { require(['./pc/ApplyMaterialDetailed.vue'], resolve) },
|
|
28
|
+
}
|
|
29
|
+
exports.specialComp = specialComp
|
|
@@ -1510,7 +1510,13 @@ events: {
|
|
|
1510
1510
|
// ===========================================
|
|
1511
1511
|
async 'button'() {
|
|
1512
1512
|
if (this.show_data.button.before) {
|
|
1513
|
-
|
|
1513
|
+
if (Array.isArray(this.show_data.button.before)) {
|
|
1514
|
+
for (let i = 0; i < this.show_data.button.before.length; i++) {
|
|
1515
|
+
await this[this.show_data.button.before[i]]()
|
|
1516
|
+
}
|
|
1517
|
+
} else {
|
|
1518
|
+
await this[this.show_data.button.before]();
|
|
1519
|
+
}
|
|
1514
1520
|
}
|
|
1515
1521
|
// 点击重置按钮就重置数据
|
|
1516
1522
|
if (this.show_data.button.button_name === '重置') {
|