apply-clients 7.1.36-1 → 7.1.36-yuchuan-1
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 +8 -2
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/package.json +1 -1
- package/src/apply.js +31 -4
- package/src/applyAndroid.js +5 -0
- package/src/components/android/AppSign.vue +13 -10
- package/src/components/android/Process/AppExplorationUser.vue +454 -454
- package/src/components/android/Process/AppServiceControl.vue +3 -3
- package/src/components/android/Process/Processes/AppChaiChuInfo.vue +546 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +69 -20
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +2 -1
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +5 -5
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -298
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -0
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +27 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
- package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
- package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
- package/src/components/product/Function/InstallInfoSelect.vue +3 -4
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -232
- package/src/components/product/Ignition/IgnitionListManage.vue +69 -28
- package/src/components/product/Ignition/IgnitionRecord.vue +56 -17
- package/src/components/product/List/ShowDevices.vue +279 -277
- package/src/components/product/Print/OrderPrint/printChaiChuOrder.vue +260 -0
- package/src/components/product/Process/ExplorationSelect.vue +580 -566
- package/src/components/product/Process/ExplorationUser.vue +158 -155
- package/src/components/product/Process/NewExplorationUser.vue +184 -0
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +86 -33
- package/src/components/product/Process/Processes/Print/printCharge.vue +5 -1
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -221
- package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +24 -6
- package/src/components/product/Process/Processes/devicesManagement.vue +2 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +3 -3
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -0
- package/src/components/product/Process/Service/ServiceControl.vue +169 -14
- package/src/components/product/Report/ReportItems.vue +79 -0
- package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
- package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
- package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
- package/src/components/product/Report/apply-stair-wtongqi.vue +138 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +37 -8
- package/src/components/product/Supervisory/SupervisoryList.vue +77 -26
- package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
|
@@ -246,7 +246,7 @@ export default {
|
|
|
246
246
|
|
|
247
247
|
// 初始化 buttons_fields
|
|
248
248
|
for (const item of this.selectdata.buttons) {
|
|
249
|
-
if (item.button_name === '下发') {
|
|
249
|
+
if (item.button_name === '下发' || item.button_name === '转派') {
|
|
250
250
|
let data = {
|
|
251
251
|
source: item.source,
|
|
252
252
|
userid: Vue.user.id
|
|
@@ -519,7 +519,7 @@ export default {
|
|
|
519
519
|
return res.data.map(item => {
|
|
520
520
|
return {
|
|
521
521
|
label: item.name,
|
|
522
|
-
value: item.
|
|
522
|
+
value: item.id
|
|
523
523
|
}
|
|
524
524
|
})
|
|
525
525
|
},
|
|
@@ -904,7 +904,7 @@ export default {
|
|
|
904
904
|
{resolveMsg: null, rejectMsg: '终止报建失败!!!'}
|
|
905
905
|
)
|
|
906
906
|
|
|
907
|
-
this.$dispatch('
|
|
907
|
+
this.$dispatch('confirm')
|
|
908
908
|
|
|
909
909
|
throw '终止报建!!!'
|
|
910
910
|
},
|
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<work-busy :is-busy="showWork" v-show="showWork"></work-busy>
|
|
3
|
+
|
|
4
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
5
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
</div>
|
|
9
|
+
</criteria>
|
|
10
|
+
<data-grid :model="model" v-ref:grid partial='list' class="list_area table_sy" style="padding: 0px">
|
|
11
|
+
<template partial='head'>
|
|
12
|
+
<tr>
|
|
13
|
+
<th class="textNoLineBreak">序号</th>
|
|
14
|
+
<th class="textNoLineBreak">客户编号</th>
|
|
15
|
+
<th class="textNoLineBreak">用户姓名</th>
|
|
16
|
+
<th class="textNoLineBreak">电话</th>
|
|
17
|
+
<th class="textNoLineBreak">证件类型</th>
|
|
18
|
+
<th class="textNoLineBreak">证件号码</th>
|
|
19
|
+
<th class="textNoLineBreak">表号</th>
|
|
20
|
+
<th class="textNoLineBreak">地址</th>
|
|
21
|
+
<th class="textNoLineBreak">
|
|
22
|
+
</th>
|
|
23
|
+
</tr>
|
|
24
|
+
</template>
|
|
25
|
+
<template partial='body'>
|
|
26
|
+
<tr>
|
|
27
|
+
<td style="text-align: center;">
|
|
28
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
29
|
+
</td>
|
|
30
|
+
<td style="text-align: center;">
|
|
31
|
+
<nobr>{{ row.f_userinfo_id }}</nobr>
|
|
32
|
+
</td>
|
|
33
|
+
<td style="text-align: center;">
|
|
34
|
+
<nobr>{{ row.f_user_name }}</nobr>
|
|
35
|
+
</td>
|
|
36
|
+
<td style="text-align: center;">
|
|
37
|
+
<nobr>{{ row.f_user_phone }}</nobr>
|
|
38
|
+
</td>
|
|
39
|
+
<td style="text-align: center;">
|
|
40
|
+
<nobr>{{ row.f_credentials }}</nobr>
|
|
41
|
+
</td>
|
|
42
|
+
<td style="text-align: center;">
|
|
43
|
+
<nobr>{{ row.f_idnumber }}</nobr>
|
|
44
|
+
</td>
|
|
45
|
+
<td style="text-align: center;">
|
|
46
|
+
<nobr>{{ row.f_meternumber }}</nobr>
|
|
47
|
+
</td>
|
|
48
|
+
<td>
|
|
49
|
+
<nobr>{{ row.f_address }}</nobr>
|
|
50
|
+
</td>
|
|
51
|
+
<td>
|
|
52
|
+
<nobr>
|
|
53
|
+
<button
|
|
54
|
+
type="button" name="button" class="btn btn-link"
|
|
55
|
+
@click="$parent.$parent.$parent.openModel(row)"
|
|
56
|
+
v-if="!$parent.$parent.$parent.showDeleteUserInfo"
|
|
57
|
+
>
|
|
58
|
+
查看
|
|
59
|
+
</button>
|
|
60
|
+
<button
|
|
61
|
+
type="button" name="button" class="btn btn-link"
|
|
62
|
+
@click="$parent.$parent.$parent.deleteUserinfo(row)"
|
|
63
|
+
v-if="$parent.$parent.$parent.showDeleteUserInfo"
|
|
64
|
+
>
|
|
65
|
+
销户
|
|
66
|
+
</button>
|
|
67
|
+
<button
|
|
68
|
+
type="button" name="button" class="btn btn-link"
|
|
69
|
+
@click="$parent.$parent.$parent.deleteChaiChuInfo(row.id)"
|
|
70
|
+
v-if="$parent.$parent.$parent.showDeleteButton"
|
|
71
|
+
>
|
|
72
|
+
删除
|
|
73
|
+
</button>
|
|
74
|
+
</nobr>
|
|
75
|
+
</td>
|
|
76
|
+
</tr>
|
|
77
|
+
</template>
|
|
78
|
+
</data-grid>
|
|
79
|
+
</criteria-paged>
|
|
80
|
+
</div>
|
|
81
|
+
<modal v-if="showModel" :show.sync="showModel" v-ref:modal :large="true" :backdrop="false">
|
|
82
|
+
<header slot="modal-header" class="modal-header">
|
|
83
|
+
<button type="button" class="close" @click="closeModel"><span>×</span></button>
|
|
84
|
+
<h4 class="modal-title">安装明细</h4>
|
|
85
|
+
</header>
|
|
86
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
87
|
+
<!-- 基本信息 -->
|
|
88
|
+
<div class="form-group col-sm-12 panel panel-info">
|
|
89
|
+
<div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
90
|
+
<div class="col-sm-6 text-left">用户信息</div>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="form-group col-sm-6">
|
|
94
|
+
<label class="col-sm-4 control-label">客户编号:</label>
|
|
95
|
+
<div class="col-sm-8">
|
|
96
|
+
<input class="form-control input_view" style=""
|
|
97
|
+
v-model="userinfo.f_userinfo_id"
|
|
98
|
+
:value.sync="userinfo.f_userinfo_id"
|
|
99
|
+
:readonly="true"
|
|
100
|
+
placeholder="客户名称"/>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="form-group col-sm-6">
|
|
104
|
+
<label class="col-sm-4 control-label">用户名称:</label>
|
|
105
|
+
<div class="col-sm-8">
|
|
106
|
+
<input class="form-control input_view" style=""
|
|
107
|
+
v-model="userinfo.f_user_name"
|
|
108
|
+
:value.sync="userinfo.f_user_name"
|
|
109
|
+
:readonly="true"
|
|
110
|
+
placeholder="客户名称"/>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="form-group col-sm-6">
|
|
114
|
+
<label class="col-sm-4 control-label">客户电话:</label>
|
|
115
|
+
<div class="col-sm-8">
|
|
116
|
+
<input class="form-control input_view" style=""
|
|
117
|
+
v-model="userinfo.f_user_phone"
|
|
118
|
+
:value.sync="userinfo.f_user_phone"
|
|
119
|
+
:readonly="true"
|
|
120
|
+
placeholder="客户电话"/>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="form-group col-sm-6">
|
|
124
|
+
<label class="col-sm-4 control-label">证件类型:</label>
|
|
125
|
+
<div class="col-sm-8">
|
|
126
|
+
<input class="form-control input_view" style=""
|
|
127
|
+
v-model="userinfo.f_credentials"
|
|
128
|
+
:value.sync="userinfo.f_credentials"
|
|
129
|
+
:readonly="true"
|
|
130
|
+
placeholder="证件类型"/>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
<div class="form-group col-sm-6">
|
|
134
|
+
<label class="col-sm-4 control-label">证件号码:</label>
|
|
135
|
+
<div class="col-sm-8">
|
|
136
|
+
<input class="form-control input_view" style=""
|
|
137
|
+
placeholder="证件号码"
|
|
138
|
+
v-model="userinfo.f_idnumber"
|
|
139
|
+
:value="userinfo.f_idnumber"
|
|
140
|
+
:readonly="true"/>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<!-- 地址信息 -->
|
|
144
|
+
<div class="form-group col-sm-12">
|
|
145
|
+
<label class="col-sm-2 control-label">地  址:</label>
|
|
146
|
+
<div class="col-sm-10">
|
|
147
|
+
<input class="form-control input_view"
|
|
148
|
+
placeholder="地址"
|
|
149
|
+
v-model="userinfo.f_address"
|
|
150
|
+
:value.sync="userinfo.f_address"
|
|
151
|
+
:readonly="true"/>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
<!-- 表具信息 -->
|
|
155
|
+
<div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
156
|
+
<div class="col-sm-6 text-left">表具信息</div>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="form-group col-sm-6">
|
|
159
|
+
<label class="col-sm-4 control-label">气表品牌:</label>
|
|
160
|
+
<div class="col-sm-8">
|
|
161
|
+
<input class="form-control input_view"
|
|
162
|
+
placeholder="气表品牌"
|
|
163
|
+
v-model="userinfo.f_gasbrand"
|
|
164
|
+
:value.sync="userinfo.f_gasbrand"
|
|
165
|
+
:readonly="true"/>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="form-group col-sm-6">
|
|
169
|
+
<label class="col-sm-4 control-label">气表型号:</label>
|
|
170
|
+
<div class="col-sm-8">
|
|
171
|
+
<input class="form-control input_view"
|
|
172
|
+
placeholder="气表型号"
|
|
173
|
+
v-model="userinfo.f_gasmodel"
|
|
174
|
+
:value.sync="userinfo.f_gasmodel"
|
|
175
|
+
:readonly="true"/>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
<div class="form-group col-sm-6">
|
|
179
|
+
<label class="col-sm-4 control-label">表  号:</label>
|
|
180
|
+
<div class="col-sm-8">
|
|
181
|
+
<input class="form-control input_view" style=""
|
|
182
|
+
placeholder="表号"
|
|
183
|
+
v-model="userinfo.f_meternumber"
|
|
184
|
+
:value.sync="userinfo.f_meternumber"
|
|
185
|
+
:readonly="true"/>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
<div class="form-group col-sm-6">
|
|
189
|
+
<label class="col-sm-4 control-label">表 封 号:</label>
|
|
190
|
+
<div class="col-sm-8">
|
|
191
|
+
<input class="form-control input_view" style=""
|
|
192
|
+
placeholder="表封号"
|
|
193
|
+
v-model="userinfo.f_metertitles"
|
|
194
|
+
:value="userinfo.f_metertitles"
|
|
195
|
+
:readonly="true"/>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
<div class="form-group col-sm-6">
|
|
199
|
+
<label class="col-sm-4 control-label">表 读 数:</label>
|
|
200
|
+
<div class="col-sm-8">
|
|
201
|
+
<input class="form-control input_view" style=""
|
|
202
|
+
type="number"
|
|
203
|
+
placeholder="表读数"
|
|
204
|
+
v-model="userinfo.f_meter_base"
|
|
205
|
+
:value="userinfo.f_meter_base"
|
|
206
|
+
:readonly="true"/>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
<div class="form-group col-sm-6">
|
|
210
|
+
<label class="col-sm-4 control-label">最后购气时间:</label>
|
|
211
|
+
<div class="col-sm-8">
|
|
212
|
+
<input class="form-control input_view" style=""
|
|
213
|
+
type="number"
|
|
214
|
+
v-model="userinfo.f_delivery_date"
|
|
215
|
+
:value="userinfo.f_delivery_date"
|
|
216
|
+
:readonly="true"/>
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
|
+
<div class="form-group col-sm-6" v-if="selectdata.defname === '核对气量'">
|
|
220
|
+
<label class="col-sm-4 control-label">累购气量:</label>
|
|
221
|
+
<div class="col-sm-8">
|
|
222
|
+
<input class="form-control input_view" style=""
|
|
223
|
+
type="number"
|
|
224
|
+
v-model="inputNumber.f_gas_total"
|
|
225
|
+
:value="inputNumber.f_gas_total"
|
|
226
|
+
:readonly="false"/>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
<div class="form-group col-sm-6" v-if="selectdata.defname === '核对气量'">
|
|
230
|
+
<label class="col-sm-4 control-label">累购金额:</label>
|
|
231
|
+
<div class="col-sm-8">
|
|
232
|
+
<input class="form-control input_view" style=""
|
|
233
|
+
type="number"
|
|
234
|
+
v-model="inputNumber.f_money_total"
|
|
235
|
+
:value="inputNumber.f_money_total"
|
|
236
|
+
:readonly="false"/>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
<div v-for="(i, item) in devicesInfo" class="form-group col-sm-12 panel panel-info">
|
|
240
|
+
<div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
241
|
+
<div class="col-sm-12 text-left">设备{{ $index + 1 }}信息</div>
|
|
242
|
+
</div>
|
|
243
|
+
<div class="form-group col-sm-3">
|
|
244
|
+
<label class="col-sm-4 control-label">设备:</label>
|
|
245
|
+
<div class="col-sm-8">
|
|
246
|
+
<input class="form-control input_view" style=""
|
|
247
|
+
placeholder="设备类型"
|
|
248
|
+
v-model="item.f_devices_type"
|
|
249
|
+
:value="item.f_devices_type"
|
|
250
|
+
readonly/>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
<div class="form-group col-sm-3">
|
|
254
|
+
<label class="col-sm-4 control-label">编号:</label>
|
|
255
|
+
<div class="col-sm-8">
|
|
256
|
+
<input class="form-control input_view" style=""
|
|
257
|
+
placeholder="设备编号"
|
|
258
|
+
v-model="item.f_devices_no"
|
|
259
|
+
:value="item.f_devices_no"
|
|
260
|
+
readonly/>
|
|
261
|
+
</div>
|
|
262
|
+
</div>
|
|
263
|
+
<div class="form-group col-sm-3">
|
|
264
|
+
<label class="col-sm-4 control-label">品牌:</label>
|
|
265
|
+
<div class="col-sm-8">
|
|
266
|
+
<input class="form-control input_view" style=""
|
|
267
|
+
placeholder="设备品牌"
|
|
268
|
+
v-model="item.f_brand"
|
|
269
|
+
:value="item.f_brand"
|
|
270
|
+
readonly/>
|
|
271
|
+
</div>
|
|
272
|
+
</div>
|
|
273
|
+
<div class="form-group col-sm-3">
|
|
274
|
+
<label class="col-sm-4 control-label">型号:</label>
|
|
275
|
+
<div class="col-sm-8">
|
|
276
|
+
<input class="form-control input_view" style=""
|
|
277
|
+
placeholder="设备型号"
|
|
278
|
+
v-model="item.f_devices_model"
|
|
279
|
+
:value="item.f_devices_model"
|
|
280
|
+
readonly/>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
<div class="form-group col-sm-3">
|
|
284
|
+
<label class="col-sm-4 control-label">数量:</label>
|
|
285
|
+
<div class="col-sm-8">
|
|
286
|
+
<input class="form-control input_view" style="" type="number"
|
|
287
|
+
placeholder="设备数量"
|
|
288
|
+
v-model="item.f_devices_num"
|
|
289
|
+
:value="item.f_devices_num"
|
|
290
|
+
readonly/>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
<div class="form-group col-sm-3">
|
|
294
|
+
<label class="col-sm-4 control-label">功率:</label>
|
|
295
|
+
<div class="col-sm-8">
|
|
296
|
+
<input class="form-control input_view" style=""
|
|
297
|
+
placeholder="设备功率"
|
|
298
|
+
type="number"
|
|
299
|
+
v-model="item.f_devices_tonnage"
|
|
300
|
+
:value="item.f_devices_tonnage"
|
|
301
|
+
readonly/>
|
|
302
|
+
</div>
|
|
303
|
+
</div>
|
|
304
|
+
<div class="form-group col-sm-3">
|
|
305
|
+
<label class="col-sm-4 control-label">日期:</label>
|
|
306
|
+
<div class="col-sm-8">
|
|
307
|
+
<input class="form-control input_view" style=""
|
|
308
|
+
placeholder="安装日期"
|
|
309
|
+
v-model="item.f_install_date"
|
|
310
|
+
:value="item.f_install_date"
|
|
311
|
+
readonly/>
|
|
312
|
+
</div>
|
|
313
|
+
</div>
|
|
314
|
+
<div class="form-group col-sm-3">
|
|
315
|
+
<label class="col-sm-4 control-label">单位:</label>
|
|
316
|
+
<div class="col-sm-8">
|
|
317
|
+
<input class="form-control input_view" style=""
|
|
318
|
+
placeholder="功率单位"
|
|
319
|
+
v-model="item.f_devices_tonnage_unit"
|
|
320
|
+
:value="item.f_devices_tonnage_unit"
|
|
321
|
+
readonly/>
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
</article>
|
|
326
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
327
|
+
<template v-if="selectdata.defname === '核对气量'">
|
|
328
|
+
</template>
|
|
329
|
+
</footer>
|
|
330
|
+
</modal>
|
|
331
|
+
<modal v-if="Sign" :show.sync="Sign" v-ref:modal :large="true" :backdrop="false">
|
|
332
|
+
<header slot="modal-header" class="modal-header">
|
|
333
|
+
<button type="button" class="close" @click="closeModel"><span>×</span></button>
|
|
334
|
+
<h4 class="modal-title">用户签字</h4>
|
|
335
|
+
</header>
|
|
336
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
337
|
+
<div class="left col-sm-6 col-xs-6">
|
|
338
|
+
<img-self :src="fileUrl" width="100%" height="100%"></img-self>
|
|
339
|
+
</div>
|
|
340
|
+
</article>
|
|
341
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
342
|
+
<template v-if="mark !== 1 && userinfo.f_user_state !== '正常'">
|
|
343
|
+
</template>
|
|
344
|
+
</footer>
|
|
345
|
+
</modal>
|
|
346
|
+
<validator name="x">
|
|
347
|
+
<modal v-if="showDeleteModel" :show.sync="showDeleteModel" v-ref:modal :large="true" :backdrop="false">
|
|
348
|
+
<header slot="modal-header" class="modal-header">
|
|
349
|
+
<button type="button" class="close" @click="closeModel"><span>×</span></button>
|
|
350
|
+
<h4 class="modal-title">销户原因</h4>
|
|
351
|
+
</header>
|
|
352
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
353
|
+
<div class="left col-sm-12 col-xs-12" :class="[$x.f_cancel_cause.required ? 'has-error' : '']">
|
|
354
|
+
<div class="form-group col-sm-12">
|
|
355
|
+
<label class="col-sm-2 control-label">销户原因:</label>
|
|
356
|
+
<div class="col-sm-10">
|
|
357
|
+
<input class="form-control input_view" style=""
|
|
358
|
+
v-validate:f_cancel_cause="['required']"
|
|
359
|
+
v-model="userinfo.f_cancel_cause"
|
|
360
|
+
:value.sync="userinfo.f_cancel_cause"
|
|
361
|
+
placeholder="销户原因"/>
|
|
362
|
+
</div>
|
|
363
|
+
</div>
|
|
364
|
+
</div>
|
|
365
|
+
</article>
|
|
366
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
367
|
+
<button type="button" class="btn btn-primary" @click="deleteUser" :disabled="!$x.valid">确认</button>
|
|
368
|
+
</footer>
|
|
369
|
+
</modal>
|
|
370
|
+
</validator>
|
|
371
|
+
</template>
|
|
372
|
+
<script>
|
|
373
|
+
import {PagedList} from 'vue-client'
|
|
374
|
+
import {HttpResetClass} from 'vue-client'
|
|
375
|
+
import Vue from "vue";
|
|
376
|
+
|
|
377
|
+
export default {
|
|
378
|
+
title: '拆除用户信息',
|
|
379
|
+
props: {
|
|
380
|
+
selectdata: {
|
|
381
|
+
type: Object
|
|
382
|
+
},
|
|
383
|
+
mark: {
|
|
384
|
+
type: Number,
|
|
385
|
+
default: 0 // 0:正常 1:禁用
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
data() {
|
|
389
|
+
return {
|
|
390
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/getChaiChuUserinfo`, 20, {
|
|
391
|
+
data: {
|
|
392
|
+
f_process_id: this.selectdata.f_process_id
|
|
393
|
+
}
|
|
394
|
+
}),
|
|
395
|
+
showWork: false,
|
|
396
|
+
userinfo: {},
|
|
397
|
+
showDeleteModel: false,
|
|
398
|
+
Sign: false,
|
|
399
|
+
fileUrl: null,
|
|
400
|
+
showModel: false,
|
|
401
|
+
devicesInfo: {},
|
|
402
|
+
inputNumber: {
|
|
403
|
+
f_gas_total: null,
|
|
404
|
+
f_money_total: null
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
ready() {
|
|
409
|
+
this.search()
|
|
410
|
+
},
|
|
411
|
+
methods: {
|
|
412
|
+
async openModel (row) {
|
|
413
|
+
this.getDeviceList(row)
|
|
414
|
+
let data = {
|
|
415
|
+
f_userinfo_id: row.f_userinfo_id
|
|
416
|
+
}
|
|
417
|
+
let http = new HttpResetClass()
|
|
418
|
+
let res = await http.load(
|
|
419
|
+
'POST',
|
|
420
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/getUserAllInfo`,
|
|
421
|
+
{data: data},
|
|
422
|
+
{resolveMsg: null, rejectMsg: '用户信息查询失败!!!'}
|
|
423
|
+
)
|
|
424
|
+
if (res.data.length > 0){
|
|
425
|
+
this.userinfo = res.data[0]
|
|
426
|
+
}
|
|
427
|
+
for (let i = 0; i < this.model.length; i++){
|
|
428
|
+
if (this.model[i].f_userinfo_id === row.f_userinfo_id){
|
|
429
|
+
this.inputNumber.f_gas_total = this.model[i].f_gas_total,
|
|
430
|
+
this.inputNumber.f_money_total = this.model[i].f_money_total
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
this.showModel = !this.showModel
|
|
434
|
+
},
|
|
435
|
+
async getDeviceList(row){
|
|
436
|
+
let data = {
|
|
437
|
+
tablename: 't_devices',
|
|
438
|
+
condition: `f_userinfo_id = '${row.f_userinfo_id}'`
|
|
439
|
+
}
|
|
440
|
+
let http = new HttpResetClass()
|
|
441
|
+
let res = await http.load(
|
|
442
|
+
'POST',
|
|
443
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`,
|
|
444
|
+
{data: data},
|
|
445
|
+
{resolveMsg: null, rejectMsg: '设备查询失败!!!'}
|
|
446
|
+
)
|
|
447
|
+
this.devicesInfo = res.data
|
|
448
|
+
},
|
|
449
|
+
async deleteUserinfo(row) {
|
|
450
|
+
this.userinfo = row
|
|
451
|
+
this.showDeleteModel = !this.showDeleteModel
|
|
452
|
+
},
|
|
453
|
+
async deleteUser () {
|
|
454
|
+
let res = await this.$showMessage('此操作不可撤回,您确定要删除这条记录吗?')
|
|
455
|
+
if (res === 'cancel') {
|
|
456
|
+
return
|
|
457
|
+
}
|
|
458
|
+
let data = {
|
|
459
|
+
login: Vue.user,
|
|
460
|
+
userinfo: this.userinfo,
|
|
461
|
+
selectdata: this.selectdata
|
|
462
|
+
}
|
|
463
|
+
res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/applyDeleteUserinfo`, {data:data}, {
|
|
464
|
+
resolveMsg: null,
|
|
465
|
+
rejectMsg: '删除失败!!!'
|
|
466
|
+
})
|
|
467
|
+
|
|
468
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
469
|
+
},
|
|
470
|
+
deleteChaiChuInfo(index) {
|
|
471
|
+
this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_apply_chai`, {id: index}, {
|
|
472
|
+
resolveMsg: '删除成功',
|
|
473
|
+
rejectMsg: '删除失败'
|
|
474
|
+
}).then((res) => {
|
|
475
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
476
|
+
})
|
|
477
|
+
},
|
|
478
|
+
openSign() {
|
|
479
|
+
this.getFiles()
|
|
480
|
+
this.Sign = true
|
|
481
|
+
},
|
|
482
|
+
async getFiles() {
|
|
483
|
+
let http = new HttpResetClass()
|
|
484
|
+
console.log('=========pc签字查看===============')
|
|
485
|
+
let data = {
|
|
486
|
+
tablename: 't_files',
|
|
487
|
+
condition: `f_blobid = '${this.selectdata.f_process_id}' and defname = '工程施工' and fremarks = '报装手机签字文件'`
|
|
488
|
+
}
|
|
489
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
|
|
490
|
+
warnMsg: null,
|
|
491
|
+
resolveMsg: null
|
|
492
|
+
})
|
|
493
|
+
if (res.data.length > 0) {
|
|
494
|
+
console.log('=========签字地址===============', res.data[0])
|
|
495
|
+
let URL = res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)
|
|
496
|
+
res.data[0].f_downloadURL = "http://" + location.host + "/" + URL
|
|
497
|
+
console.log("=====查看文件地址=====", res.data[0].f_downloadURL)
|
|
498
|
+
this.fileUrl = res.data[0].f_downloadURL
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
async search() {
|
|
502
|
+
this.$refs.cp.$refs.cri.search()
|
|
503
|
+
},
|
|
504
|
+
// 关闭文件上传对话框
|
|
505
|
+
closeModel() {
|
|
506
|
+
this.showWork = false
|
|
507
|
+
this.showModel = false
|
|
508
|
+
this.showDeleteModel = false
|
|
509
|
+
this.userinfo = {}
|
|
510
|
+
this.devicesInfo = {}
|
|
511
|
+
this.Sign = false
|
|
512
|
+
// 将选的文件清空
|
|
513
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
514
|
+
this.search()
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
events: {
|
|
518
|
+
'beforeFileUpload'(file) {
|
|
519
|
+
this.showWork = true
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
computed: {
|
|
523
|
+
showDeleteUserInfo() {
|
|
524
|
+
return this.selectdata.f_apply_type === '设备拆除' && this.selectdata.defname === '核对气量'
|
|
525
|
+
},
|
|
526
|
+
showDeleteButton() {
|
|
527
|
+
return this.selectdata.f_apply_type === '设备拆除' && this.selectdata.defname === '报建受理'
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
watch: {}
|
|
531
|
+
}
|
|
532
|
+
</script>
|
|
533
|
+
<style scoped>
|
|
534
|
+
.textNoLineBreak {
|
|
535
|
+
white-space: nowrap;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.head-but {
|
|
539
|
+
margin-left: 5px;
|
|
540
|
+
height: 34px;
|
|
541
|
+
/*background-color: #6aa6e2;*/
|
|
542
|
+
border-radius: 4px;
|
|
543
|
+
font-family: PingFang;
|
|
544
|
+
color: #ffffff;
|
|
545
|
+
}
|
|
546
|
+
</style>
|
|
@@ -200,6 +200,7 @@ export default {
|
|
|
200
200
|
return
|
|
201
201
|
}
|
|
202
202
|
let data = {
|
|
203
|
+
login: Vue.user,
|
|
203
204
|
userinfo: row,
|
|
204
205
|
selectdata: this.selectdata
|
|
205
206
|
}
|
|
@@ -305,7 +306,7 @@ export default {
|
|
|
305
306
|
installperson() {
|
|
306
307
|
return function (f_input_person) {
|
|
307
308
|
if (isEmpty(f_input_person)) {
|
|
308
|
-
return
|
|
309
|
+
return Vue.user.name
|
|
309
310
|
}
|
|
310
311
|
return f_input_person
|
|
311
312
|
}
|