apply-clients 7.1.36-yuchuan-2 → 7.1.36-yuchuan-3
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 +7 -3
- package/package.json +3 -3
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +12 -1
- package/src/applyAndroid.js +87 -83
- package/src/components/android/AppUpload.vue +15 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +1410 -1397
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
- package/src/components/android/Task/Build/BuildTsak.vue +7 -4
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -432
- package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
- package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
- package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -98
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
- package/src/components/product/Function/InstallInfoSelect.vue +371 -370
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
- package/src/components/product/Ignition/IgnitionList.vue +236 -236
- package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
- package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
- package/src/components/product/List/ShowAllActivity.vue +455 -0
- package/src/components/product/List/ShowDevices.vue +279 -279
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
- package/src/components/product/Process/ExplorationSelect.vue +591 -581
- package/src/components/product/Process/ExplorationUser.vue +158 -158
- package/src/components/product/Process/New1ExplorationUser.vue +201 -0
- package/src/components/product/Process/New2ExplorationUser.vue +163 -0
- package/src/components/product/Process/NewExplorationSelect.vue +586 -0
- package/src/components/product/Process/NewExplorationUser.vue +219 -184
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
- package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
- package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
- package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
- package/src/components/product/Process/Service/ServiceControl.vue +2166 -2162
- package/src/components/product/Report/ReportItems.vue +85 -79
- package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
- package/src/components/product/Report/gongchengbu.vue +199 -0
- package/src/components/product/ServiceView.vue +644 -644
- package/src/components/product/Stop/StopApplyList.vue +8 -8
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -594
- package/src/components/product/Supervisory/SupervisoryList.vue +539 -537
- package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
- package/src/main.js +27 -27
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/rebel.xml +0 -16
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
- package/yarn-error.log +0 -9976
|
@@ -1,155 +1,274 @@
|
|
|
1
1
|
<template>
|
|
2
|
+
<!-- 点火派单 -->
|
|
2
3
|
<div class="flex-row">
|
|
3
4
|
<div class="basic-main">
|
|
4
5
|
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
-
<criteria
|
|
6
|
-
|
|
6
|
+
<criteria
|
|
7
|
+
partial="criteria"
|
|
8
|
+
@condition-changed="$parent.searchCondition"
|
|
9
|
+
v-ref:cri
|
|
10
|
+
>
|
|
11
|
+
<div
|
|
12
|
+
class="form-horizontal select-overspread container-fluid auto"
|
|
13
|
+
partial
|
|
14
|
+
>
|
|
7
15
|
<div class="row">
|
|
8
16
|
<div class="form-group col-sm-2">
|
|
9
|
-
<label class="font_normal_body"
|
|
17
|
+
<label class="font_normal_body"
|
|
18
|
+
><strong>片  区:</strong></label
|
|
19
|
+
>
|
|
10
20
|
<v-select
|
|
11
21
|
v-model="model.f_slice_area"
|
|
12
|
-
placeholder=
|
|
22
|
+
placeholder="片区"
|
|
13
23
|
condition="ui.f_slice_area = '{}'"
|
|
14
24
|
:value.sync="model.f_slice_area"
|
|
15
|
-
:options=
|
|
25
|
+
:options="$parent.$parent.sliceareas"
|
|
16
26
|
class="select select_list"
|
|
17
27
|
:value-single="true"
|
|
18
|
-
close-on-select
|
|
28
|
+
close-on-select
|
|
29
|
+
>
|
|
19
30
|
</v-select>
|
|
20
31
|
</div>
|
|
21
32
|
<div class="form-group col-sm-2">
|
|
22
|
-
<label class="font_normal_body"
|
|
33
|
+
<label class="font_normal_body"
|
|
34
|
+
><strong>发卡状态:</strong></label
|
|
35
|
+
>
|
|
23
36
|
<v-select
|
|
24
37
|
v-model="model.f_whether_hairpin"
|
|
25
|
-
placeholder=
|
|
38
|
+
placeholder="发卡状态"
|
|
26
39
|
condition="uf.f_whether_hairpin = '{}'"
|
|
27
40
|
:value.sync="model.f_whether_hairpin"
|
|
28
|
-
:options=
|
|
41
|
+
:options="$parent.$parent.whether_hairpin"
|
|
29
42
|
class="select select_list"
|
|
30
43
|
:value-single="true"
|
|
31
|
-
close-on-select
|
|
44
|
+
close-on-select
|
|
45
|
+
>
|
|
32
46
|
</v-select>
|
|
33
47
|
</div>
|
|
34
48
|
<div class="form-group col-sm-2">
|
|
35
|
-
<label
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
49
|
+
<label for="startDate" class="font_normal_body"
|
|
50
|
+
><strong>发卡时间:</strong></label
|
|
51
|
+
>
|
|
52
|
+
<datepicker
|
|
53
|
+
id="startDate"
|
|
54
|
+
placeholder="开始日期"
|
|
55
|
+
style="width: 60% !important"
|
|
56
|
+
v-model="model.startDate"
|
|
57
|
+
:value.sync="model.startDate"
|
|
58
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
59
|
+
:show-reset-button="true"
|
|
60
|
+
condition="uf.f_open_date >= '{}'"
|
|
61
|
+
>
|
|
43
62
|
</datepicker>
|
|
44
63
|
</div>
|
|
45
64
|
<div class="form-group col-sm-2">
|
|
46
|
-
<label for="endDate" class="font_normal_body"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
65
|
+
<label for="endDate" class="font_normal_body"
|
|
66
|
+
><strong>发卡时间:</strong></label
|
|
67
|
+
>
|
|
68
|
+
<datepicker
|
|
69
|
+
id="endDate"
|
|
70
|
+
placeholder="结束日期"
|
|
71
|
+
style="width: 60% !important"
|
|
72
|
+
v-model="model.endDate"
|
|
73
|
+
:value.sync="model.endDate"
|
|
74
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
75
|
+
:show-reset-button="true"
|
|
76
|
+
condition="uf.f_open_date <= '{}'"
|
|
77
|
+
>
|
|
54
78
|
</datepicker>
|
|
55
79
|
</div>
|
|
56
80
|
<div class="form-group col-sm-3 button-range">
|
|
57
|
-
<button
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
81
|
+
<button
|
|
82
|
+
class="button_export button_spacing"
|
|
83
|
+
@click="$parent.$parent.openOperatorModal()"
|
|
84
|
+
>
|
|
85
|
+
批量派单
|
|
86
|
+
</button>
|
|
87
|
+
<button
|
|
88
|
+
class="button_search button_spacing"
|
|
89
|
+
@click="$parent.$parent.search()"
|
|
90
|
+
v-el:cx
|
|
91
|
+
>
|
|
92
|
+
查询
|
|
93
|
+
</button>
|
|
94
|
+
<button
|
|
95
|
+
class="button_search button_spacing"
|
|
96
|
+
@click="$parent.$parent.loadPage()"
|
|
97
|
+
>
|
|
98
|
+
返回
|
|
99
|
+
</button>
|
|
100
|
+
<button
|
|
101
|
+
class="button_clear button_spacing"
|
|
102
|
+
@click="$parent.$parent.clear()"
|
|
103
|
+
>
|
|
104
|
+
清空
|
|
105
|
+
</button>
|
|
61
106
|
<div
|
|
62
|
-
:class="{
|
|
63
|
-
|
|
107
|
+
:class="{
|
|
108
|
+
button_shrink_top: $parent.$parent.criteriaShow,
|
|
109
|
+
button_shrink_bottom: !$parent.$parent.criteriaShow,
|
|
110
|
+
}"
|
|
111
|
+
@click="
|
|
112
|
+
$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow
|
|
113
|
+
"
|
|
64
114
|
class="button_spacing"
|
|
65
|
-
style="float: right"
|
|
66
|
-
|
|
115
|
+
style="float: right"
|
|
116
|
+
></div>
|
|
67
117
|
</div>
|
|
68
118
|
</div>
|
|
69
119
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
70
120
|
<div class="form-group col-sm-2">
|
|
71
|
-
<label class="font_normal_body"
|
|
72
|
-
|
|
73
|
-
|
|
121
|
+
<label class="font_normal_body"
|
|
122
|
+
><strong>工程编号:</strong></label
|
|
123
|
+
>
|
|
124
|
+
<input
|
|
125
|
+
type="text"
|
|
126
|
+
class="input_search"
|
|
127
|
+
style="width: 60%"
|
|
128
|
+
v-model="model.f_applycode"
|
|
129
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
130
|
+
condition="ui.f_applycode = '{}'"
|
|
131
|
+
placeholder="工程编号"
|
|
132
|
+
/>
|
|
74
133
|
</div>
|
|
75
134
|
<div class="form-group col-sm-2">
|
|
76
|
-
<label class="font_normal_body"
|
|
135
|
+
<label class="font_normal_body"
|
|
136
|
+
><strong>用户类型:</strong></label
|
|
137
|
+
>
|
|
77
138
|
<v-select
|
|
78
139
|
v-model="model.f_user_type"
|
|
79
|
-
placeholder=
|
|
140
|
+
placeholder="用户类型"
|
|
80
141
|
condition="uf.f_user_type = '{}'"
|
|
81
142
|
:value.sync="model.f_user_type"
|
|
82
|
-
:options=
|
|
143
|
+
:options="$parent.$parent.usertype"
|
|
83
144
|
class="select select_list"
|
|
84
145
|
:value-single="true"
|
|
85
|
-
close-on-select
|
|
146
|
+
close-on-select
|
|
147
|
+
>
|
|
86
148
|
</v-select>
|
|
87
149
|
</div>
|
|
88
150
|
<div class="form-group col-sm-2">
|
|
89
|
-
<label class="font_normal_body"
|
|
90
|
-
|
|
91
|
-
|
|
151
|
+
<label class="font_normal_body"
|
|
152
|
+
><strong>用户编号:</strong></label
|
|
153
|
+
>
|
|
154
|
+
<input
|
|
155
|
+
type="text"
|
|
156
|
+
class="input_search"
|
|
157
|
+
style="width: 60%"
|
|
158
|
+
v-model="model.f_userinfo_id"
|
|
159
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
160
|
+
condition="ui.f_userinfo_id = '{}'"
|
|
161
|
+
placeholder="用户编号"
|
|
162
|
+
/>
|
|
92
163
|
</div>
|
|
93
164
|
<div class="form-group col-sm-2">
|
|
94
|
-
<label class="font_normal_body"
|
|
95
|
-
|
|
96
|
-
|
|
165
|
+
<label class="font_normal_body"
|
|
166
|
+
><strong>用 户 名:</strong></label
|
|
167
|
+
>
|
|
168
|
+
<input
|
|
169
|
+
type="text"
|
|
170
|
+
class="input_search"
|
|
171
|
+
style="width: 60%"
|
|
172
|
+
v-model="model.f_user_name"
|
|
173
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
174
|
+
condition="ui.f_user_name = '{}'"
|
|
175
|
+
placeholder="用户名"
|
|
176
|
+
/>
|
|
97
177
|
</div>
|
|
98
178
|
<div class="form-group col-sm-2">
|
|
99
|
-
<label class="font_normal_body"
|
|
100
|
-
|
|
101
|
-
|
|
179
|
+
<label class="font_normal_body"
|
|
180
|
+
><strong>电  话:</strong></label
|
|
181
|
+
>
|
|
182
|
+
<input
|
|
183
|
+
type="text"
|
|
184
|
+
class="input_search"
|
|
185
|
+
style="width: 60%"
|
|
186
|
+
v-model="model.f_user_phone"
|
|
187
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
188
|
+
condition="ui.f_user_phone = '{}'"
|
|
189
|
+
placeholder="电话"
|
|
190
|
+
/>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="form-group col-sm-2">
|
|
193
|
+
<label class="font_normal_body">小  区:</label>
|
|
194
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_residential_area"
|
|
195
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_residential_area = '{}'" placeholder='小区'>
|
|
102
196
|
</div>
|
|
103
197
|
</div>
|
|
104
198
|
</div>
|
|
105
199
|
</criteria>
|
|
106
|
-
<data-grid
|
|
107
|
-
|
|
200
|
+
<data-grid
|
|
201
|
+
:model="model"
|
|
202
|
+
optional
|
|
203
|
+
partial="list"
|
|
204
|
+
v-ref:grid
|
|
205
|
+
style="overflow: auto"
|
|
206
|
+
class="list_area table_sy"
|
|
207
|
+
>
|
|
208
|
+
<template partial="head">
|
|
108
209
|
<tr>
|
|
109
|
-
<th style="white-space: nowrap
|
|
110
|
-
<th style="white-space: nowrap
|
|
111
|
-
<th style="white-space: nowrap
|
|
112
|
-
<th style="white-space: nowrap
|
|
113
|
-
<th style="white-space: nowrap
|
|
114
|
-
<th style="white-space: nowrap
|
|
115
|
-
<th style="white-space: nowrap
|
|
116
|
-
<th style="white-space: nowrap
|
|
210
|
+
<th style="white-space: nowrap">序号</th>
|
|
211
|
+
<th style="white-space: nowrap">报建编号</th>
|
|
212
|
+
<th style="white-space: nowrap">用户编号</th>
|
|
213
|
+
<th style="white-space: nowrap">用户姓名</th>
|
|
214
|
+
<th style="white-space: nowrap">联系电话</th>
|
|
215
|
+
<th style="white-space: nowrap">用户类型</th>
|
|
216
|
+
<th style="white-space: nowrap">地址</th>
|
|
217
|
+
<th style="white-space: nowrap">片区</th>
|
|
117
218
|
<!-- <th>定位地址</th>-->
|
|
118
|
-
<th style="white-space: nowrap
|
|
119
|
-
<th style="white-space: nowrap
|
|
120
|
-
<th style="white-space: nowrap
|
|
121
|
-
<th style="white-space: nowrap
|
|
122
|
-
<th style="white-space: nowrap
|
|
123
|
-
<th style="white-space: nowrap
|
|
124
|
-
<th style="white-space: nowrap
|
|
125
|
-
<th style="white-space: nowrap
|
|
219
|
+
<th style="white-space: nowrap">气表分类</th>
|
|
220
|
+
<th style="white-space: nowrap">表号</th>
|
|
221
|
+
<th style="white-space: nowrap">气表品牌</th>
|
|
222
|
+
<th style="white-space: nowrap">气表型号</th>
|
|
223
|
+
<th style="white-space: nowrap">发卡状态</th>
|
|
224
|
+
<th style="white-space: nowrap">发卡时间</th>
|
|
225
|
+
<th style="white-space: nowrap">报建人</th>
|
|
226
|
+
<th style="white-space: nowrap">报建联系电话</th>
|
|
126
227
|
</tr>
|
|
127
228
|
</template>
|
|
128
|
-
<template partial=
|
|
129
|
-
<tr
|
|
130
|
-
<td style="text-align: center
|
|
131
|
-
<nobr
|
|
229
|
+
<template partial="body">
|
|
230
|
+
<tr>
|
|
231
|
+
<td style="text-align: center">
|
|
232
|
+
<nobr
|
|
233
|
+
><font>{{ $index + 1 }}</font></nobr
|
|
234
|
+
>
|
|
132
235
|
</td>
|
|
133
|
-
<td style="text-align: center
|
|
134
|
-
<nobr
|
|
236
|
+
<td style="text-align: center">
|
|
237
|
+
<nobr
|
|
238
|
+
><font>{{ row.f_apply_num }}</font></nobr
|
|
239
|
+
>
|
|
135
240
|
</td>
|
|
136
|
-
<td style="text-align: center
|
|
137
|
-
<nobr
|
|
241
|
+
<td style="text-align: center">
|
|
242
|
+
<nobr
|
|
243
|
+
><font>{{ row.f_userinfo_id }}</font></nobr
|
|
244
|
+
>
|
|
138
245
|
</td>
|
|
139
|
-
<td style="text-align: center
|
|
140
|
-
<nobr
|
|
246
|
+
<td style="text-align: center">
|
|
247
|
+
<nobr
|
|
248
|
+
><font>{{ row.f_user_name }}</font></nobr
|
|
249
|
+
>
|
|
141
250
|
</td>
|
|
142
|
-
<td style="text-align: center
|
|
143
|
-
<nobr
|
|
251
|
+
<td style="text-align: center">
|
|
252
|
+
<nobr
|
|
253
|
+
><font>{{ row.f_user_phone }}</font></nobr
|
|
254
|
+
>
|
|
144
255
|
</td>
|
|
145
|
-
<td style="text-align: center
|
|
146
|
-
<nobr
|
|
256
|
+
<td style="text-align: center">
|
|
257
|
+
<nobr
|
|
258
|
+
><font>{{ row.f_user_type }}</font></nobr
|
|
259
|
+
>
|
|
147
260
|
</td>
|
|
148
|
-
<td style="text-align: center
|
|
149
|
-
<nobr
|
|
261
|
+
<td style="text-align: center">
|
|
262
|
+
<nobr
|
|
263
|
+
><font
|
|
264
|
+
>{{ row.f_address }}{{ row.f_address_detail }}</font
|
|
265
|
+
></nobr
|
|
266
|
+
>
|
|
150
267
|
</td>
|
|
151
|
-
<td style="text-align: center
|
|
152
|
-
<nobr
|
|
268
|
+
<td style="text-align: center">
|
|
269
|
+
<nobr
|
|
270
|
+
><font>{{ row.f_area }}</font></nobr
|
|
271
|
+
>
|
|
153
272
|
</td>
|
|
154
273
|
<!-- <td style="text-align: center;">-->
|
|
155
274
|
<!-- <nobr><font>-->
|
|
@@ -158,29 +277,45 @@
|
|
|
158
277
|
<!-- </a>-->
|
|
159
278
|
<!-- </font></nobr>-->
|
|
160
279
|
<!-- </td>-->
|
|
161
|
-
<td style="text-align: center
|
|
162
|
-
<nobr
|
|
280
|
+
<td style="text-align: center">
|
|
281
|
+
<nobr
|
|
282
|
+
><font>{{ row.f_meter_classify }}</font></nobr
|
|
283
|
+
>
|
|
163
284
|
</td>
|
|
164
|
-
<td style="text-align: center
|
|
165
|
-
<nobr
|
|
285
|
+
<td style="text-align: center">
|
|
286
|
+
<nobr
|
|
287
|
+
><font>{{ row.f_meternumber }}</font></nobr
|
|
288
|
+
>
|
|
166
289
|
</td>
|
|
167
|
-
<td style="text-align: center
|
|
168
|
-
<nobr
|
|
290
|
+
<td style="text-align: center">
|
|
291
|
+
<nobr
|
|
292
|
+
><font>{{ row.f_meter_brand }}</font></nobr
|
|
293
|
+
>
|
|
169
294
|
</td>
|
|
170
|
-
<td style="text-align: center
|
|
171
|
-
<nobr
|
|
295
|
+
<td style="text-align: center">
|
|
296
|
+
<nobr
|
|
297
|
+
><font>{{ row.f_meter_style }}</font></nobr
|
|
298
|
+
>
|
|
172
299
|
</td>
|
|
173
|
-
<td style="text-align: center
|
|
174
|
-
<nobr
|
|
300
|
+
<td style="text-align: center">
|
|
301
|
+
<nobr
|
|
302
|
+
><font>{{ row.f_whether_hairpin }}</font></nobr
|
|
303
|
+
>
|
|
175
304
|
</td>
|
|
176
|
-
<td style="text-align: center
|
|
177
|
-
<nobr
|
|
305
|
+
<td style="text-align: center">
|
|
306
|
+
<nobr
|
|
307
|
+
><font>{{ row.f_faka_date }}</font></nobr
|
|
308
|
+
>
|
|
178
309
|
</td>
|
|
179
|
-
<td style="text-align: center
|
|
180
|
-
<nobr
|
|
310
|
+
<td style="text-align: center">
|
|
311
|
+
<nobr
|
|
312
|
+
><font>{{ row.f_contact }}</font></nobr
|
|
313
|
+
>
|
|
181
314
|
</td>
|
|
182
|
-
<td style="text-align: center
|
|
183
|
-
<nobr
|
|
315
|
+
<td style="text-align: center">
|
|
316
|
+
<nobr
|
|
317
|
+
><font>{{ row.f_phone }}</font></nobr
|
|
318
|
+
>
|
|
184
319
|
</td>
|
|
185
320
|
</tr>
|
|
186
321
|
</template>
|
|
@@ -189,12 +324,25 @@
|
|
|
189
324
|
</div>
|
|
190
325
|
</div>
|
|
191
326
|
|
|
192
|
-
<modal
|
|
327
|
+
<modal
|
|
328
|
+
v-if="showAmap"
|
|
329
|
+
:show.sync="showAmap"
|
|
330
|
+
v-ref:amap
|
|
331
|
+
:large="true"
|
|
332
|
+
:backdrop="false"
|
|
333
|
+
title="定位信息"
|
|
334
|
+
>
|
|
193
335
|
<header slot="modal-header" class="modal-header">
|
|
194
|
-
<button type="button" class="close" @click="closeModal"
|
|
336
|
+
<button type="button" class="close" @click="closeModal">
|
|
337
|
+
<span>×</span>
|
|
338
|
+
</button>
|
|
195
339
|
<h4 class="modal-title">定位信息</h4>
|
|
196
340
|
</header>
|
|
197
|
-
<article
|
|
341
|
+
<article
|
|
342
|
+
slot="modal-body"
|
|
343
|
+
class="modal-body clearfix"
|
|
344
|
+
style="height: 500px"
|
|
345
|
+
>
|
|
198
346
|
<amap-location
|
|
199
347
|
:isshowsearch="false"
|
|
200
348
|
:mylocationinfo="false"
|
|
@@ -204,27 +352,45 @@
|
|
|
204
352
|
:labelmarksarray="labelmarksarray"
|
|
205
353
|
></amap-location>
|
|
206
354
|
</article>
|
|
207
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
208
|
-
</footer>
|
|
355
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
209
356
|
</modal>
|
|
210
357
|
|
|
211
358
|
<validator name="v">
|
|
212
|
-
<modal
|
|
359
|
+
<modal
|
|
360
|
+
v-if="showOperator"
|
|
361
|
+
:show.sync="showOperator"
|
|
362
|
+
v-ref:operator
|
|
363
|
+
:large="true"
|
|
364
|
+
:backdrop="false"
|
|
365
|
+
title="批量派单"
|
|
366
|
+
>、
|
|
213
367
|
<header slot="modal-header" class="modal-header">
|
|
214
|
-
<button type="button" class="close" @click="closeModal('details')"
|
|
368
|
+
<button type="button" class="close" @click="closeModal('details')">
|
|
369
|
+
<span>×</span>
|
|
370
|
+
</button>
|
|
215
371
|
<h4 class="modal-title">批量派单</h4>
|
|
216
372
|
</header>
|
|
217
373
|
<article slot="modal-body" class="modal-body clearfix">
|
|
218
374
|
<!-- 基本信息 -->
|
|
219
|
-
<div
|
|
375
|
+
<div
|
|
376
|
+
class="form-group col-sm-12"
|
|
377
|
+
:class="[$v.operator.required ? 'has-error' : '']"
|
|
378
|
+
>
|
|
220
379
|
<label class="col-sm-2 control-label">操作人:</label>
|
|
221
380
|
<div class="col-sm-10">
|
|
222
|
-
<input
|
|
381
|
+
<input
|
|
382
|
+
type="text"
|
|
383
|
+
v-show="false"
|
|
384
|
+
v-model="operator.id"
|
|
385
|
+
:value.sync="operator.id"
|
|
386
|
+
v-validate:operator="['required']"
|
|
387
|
+
/>
|
|
223
388
|
<input-select
|
|
224
389
|
class="select select_list"
|
|
225
390
|
:value.sync="operator"
|
|
226
391
|
v-model="operator"
|
|
227
|
-
:options="operatorList"
|
|
392
|
+
:options="operatorList"
|
|
393
|
+
></input-select>
|
|
228
394
|
</div>
|
|
229
395
|
</div>
|
|
230
396
|
<div class="form-group col-sm-12">
|
|
@@ -234,74 +400,101 @@
|
|
|
234
400
|
class="select select_list"
|
|
235
401
|
:value.sync="f_shared_dispatch"
|
|
236
402
|
v-model="f_shared_dispatch"
|
|
237
|
-
:options="sharedOptions"
|
|
403
|
+
:options="sharedOptions"
|
|
404
|
+
></input-select>
|
|
238
405
|
</div>
|
|
239
406
|
</div>
|
|
240
407
|
</article>
|
|
241
408
|
<footer slot="modal-footer" class="modal-footer">
|
|
242
|
-
<button
|
|
409
|
+
<button
|
|
410
|
+
type="button"
|
|
411
|
+
class="btn btn-primary"
|
|
412
|
+
@click="batchDispatch()"
|
|
413
|
+
:disabled="!$v.valid"
|
|
414
|
+
>
|
|
415
|
+
确定
|
|
416
|
+
</button>
|
|
243
417
|
</footer>
|
|
244
418
|
</modal>
|
|
245
419
|
</validator>
|
|
246
|
-
|
|
247
420
|
</template>
|
|
248
421
|
|
|
249
422
|
<script>
|
|
250
|
-
import {PagedList} from
|
|
423
|
+
import { PagedList } from "vue-client";
|
|
251
424
|
|
|
252
425
|
export default {
|
|
253
|
-
title:
|
|
254
|
-
props: [
|
|
255
|
-
data
|
|
426
|
+
title: "点火派单",
|
|
427
|
+
props: ["showData"],
|
|
428
|
+
data() {
|
|
256
429
|
return {
|
|
257
|
-
model: new PagedList(
|
|
430
|
+
model: new PagedList("rs/sql/getWaitIgnitionTask", 20, null),
|
|
258
431
|
criteriaShow: false,
|
|
259
|
-
source:
|
|
432
|
+
source:
|
|
433
|
+
"this.getParentByType($organization$).getChildByName($通气组报装$).getChildren()",
|
|
260
434
|
operatorList: [],
|
|
261
435
|
showOperator: false,
|
|
262
436
|
operator: null,
|
|
263
|
-
f_shared_dispatch:
|
|
264
|
-
sharedOptions:[
|
|
437
|
+
f_shared_dispatch: "否",
|
|
438
|
+
sharedOptions: [
|
|
439
|
+
{ label: "是", value: "是" },
|
|
440
|
+
{ label: "否", value: "否" },
|
|
441
|
+
],
|
|
265
442
|
showAmap: false,
|
|
266
443
|
labelmarksarray: [],
|
|
267
444
|
sliceareas: [], // 片区
|
|
268
|
-
whether_hairpin: [
|
|
269
|
-
|
|
270
|
-
|
|
445
|
+
whether_hairpin: [
|
|
446
|
+
{ label: "全部", value: "" },
|
|
447
|
+
{ label: "已发卡", value: "已发" },
|
|
448
|
+
{ label: "未发卡", value: "未发" },
|
|
449
|
+
], //发卡状态
|
|
450
|
+
usertype: [
|
|
451
|
+
{ label: "全部", value: "" },
|
|
452
|
+
{ label: "民用", value: "民用" },
|
|
453
|
+
{ label: "非民用", value: "非民用" },
|
|
454
|
+
], //用户类型
|
|
455
|
+
};
|
|
271
456
|
},
|
|
272
|
-
ready
|
|
273
|
-
this.search()
|
|
274
|
-
this.getOperator()
|
|
275
|
-
setTimeout
|
|
457
|
+
ready() {
|
|
458
|
+
this.search();
|
|
459
|
+
this.getOperator();
|
|
460
|
+
setTimeout(this.getsliceareas, 500);
|
|
276
461
|
},
|
|
277
462
|
methods: {
|
|
278
|
-
loadPage
|
|
279
|
-
this.$dispatch(
|
|
463
|
+
loadPage() {
|
|
464
|
+
this.$dispatch("loadPage");
|
|
280
465
|
},
|
|
281
|
-
openAmap
|
|
282
|
-
this.labelmarksarray = [
|
|
283
|
-
|
|
284
|
-
data:
|
|
285
|
-
|
|
466
|
+
openAmap(row) {
|
|
467
|
+
this.labelmarksarray = [
|
|
468
|
+
{
|
|
469
|
+
data: {
|
|
470
|
+
data: this.selectdata,
|
|
471
|
+
label: `<div style="background: #fff;border-radius: 5px;height: 100px;padding: 5px">
|
|
286
472
|
<h5>${row.f_user_name}</h5>
|
|
287
473
|
<h5>${row.f_user_phone}</h5>
|
|
288
474
|
<h5>${row.f_location_address}</h5>
|
|
289
|
-
</div
|
|
475
|
+
</div>`,
|
|
476
|
+
},
|
|
477
|
+
position: [row.f_lng, row.f_lat],
|
|
478
|
+
isclearmarker: false,
|
|
290
479
|
},
|
|
291
|
-
|
|
292
|
-
isclearmarker: false
|
|
293
|
-
}]
|
|
480
|
+
];
|
|
294
481
|
|
|
295
|
-
this.showAmap = true
|
|
482
|
+
this.showAmap = true;
|
|
296
483
|
},
|
|
297
|
-
async batchDispatch
|
|
298
|
-
let selectdata = this.$refs.cp.$refs.grid.getRowData()
|
|
484
|
+
async batchDispatch() {
|
|
485
|
+
let selectdata = this.$refs.cp.$refs.grid.getRowData();
|
|
299
486
|
if (selectdata.length > 0) {
|
|
300
|
-
for (let i = 0; i < selectdata.length; i++){
|
|
301
|
-
if
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
487
|
+
for (let i = 0; i < selectdata.length; i++) {
|
|
488
|
+
if (
|
|
489
|
+
selectdata[i].f_whether_hairpin === "未发" &&
|
|
490
|
+
(!selectdata[i].f_user_name.includes("原处") ||
|
|
491
|
+
!selectdata[i].f_contact.includes("原处"))
|
|
492
|
+
) {
|
|
493
|
+
let res = await this.$showMessage(
|
|
494
|
+
`第${selectdata.length}条数据未开户,无法派单!`
|
|
495
|
+
);
|
|
496
|
+
if (res == "confirm") {
|
|
497
|
+
return;
|
|
305
498
|
}
|
|
306
499
|
}
|
|
307
500
|
// if(selectdata[i].f_surplus_money > 0 ){
|
|
@@ -313,91 +506,97 @@ export default {
|
|
|
313
506
|
}
|
|
314
507
|
let data = {
|
|
315
508
|
operator: this.$login.f,
|
|
316
|
-
f_userinfo_ids: selectdata.map(item =>
|
|
509
|
+
f_userinfo_ids: selectdata.map((item) => {
|
|
510
|
+
return {
|
|
511
|
+
f_apply_num: item.f_apply_num,
|
|
512
|
+
f_userinfo_id: item.f_userinfo_id,
|
|
513
|
+
};
|
|
514
|
+
}),
|
|
317
515
|
ignitionOperator: this.operator,
|
|
318
|
-
f_shared_dispatch:this.f_shared_dispatch
|
|
319
|
-
}
|
|
516
|
+
f_shared_dispatch: this.f_shared_dispatch,
|
|
517
|
+
};
|
|
320
518
|
|
|
321
519
|
let res = await this.$resetpost(
|
|
322
|
-
|
|
323
|
-
{data: data},
|
|
324
|
-
{resolveMsg: null, rejectMsg:
|
|
325
|
-
)
|
|
520
|
+
"rs/logic/batchDispatchGas",
|
|
521
|
+
{ data: data },
|
|
522
|
+
{ resolveMsg: null, rejectMsg: "批量派单失败!!!" }
|
|
523
|
+
);
|
|
326
524
|
|
|
327
|
-
this.closeModal(
|
|
328
|
-
this.search()
|
|
525
|
+
this.closeModal("details");
|
|
526
|
+
this.search();
|
|
329
527
|
} else {
|
|
330
|
-
this.$showAlert(
|
|
528
|
+
this.$showAlert("至少选择1个工单", "warning", 3000);
|
|
331
529
|
}
|
|
332
530
|
},
|
|
333
|
-
async getsliceareas
|
|
334
|
-
|
|
531
|
+
async getsliceareas() {
|
|
335
532
|
let res = await this.$resetpost(
|
|
336
|
-
|
|
337
|
-
{
|
|
338
|
-
|
|
339
|
-
|
|
533
|
+
"rs/logic/getsliceareas",
|
|
534
|
+
{ data: null },
|
|
535
|
+
{ resolveMsg: null, rejectMsg: "获取片区失败!!!" }
|
|
536
|
+
);
|
|
537
|
+
this.sliceareas = [{ label: "全部", value: "" }, ...res.data];
|
|
340
538
|
},
|
|
341
|
-
async openOperatorModal
|
|
342
|
-
let selectdata = this.$refs.cp.$refs.grid.getRowData()
|
|
539
|
+
async openOperatorModal() {
|
|
540
|
+
let selectdata = this.$refs.cp.$refs.grid.getRowData();
|
|
343
541
|
if (selectdata.length > 0) {
|
|
344
|
-
let res = await this.$showMessage(
|
|
345
|
-
|
|
346
|
-
|
|
542
|
+
let res = await this.$showMessage(
|
|
543
|
+
`当前数据条数: ${selectdata.length}, 条数过大时派单时间可能会过长, 是否确认派单?`
|
|
544
|
+
);
|
|
545
|
+
if (res == "confirm") {
|
|
546
|
+
this.showOperator = true;
|
|
347
547
|
}
|
|
348
548
|
} else {
|
|
349
|
-
this.$showAlert(
|
|
549
|
+
this.$showAlert("至少选择1个工单", "warning", 3000);
|
|
350
550
|
}
|
|
351
551
|
},
|
|
352
|
-
async getOperator
|
|
552
|
+
async getOperator() {
|
|
353
553
|
let data = {
|
|
354
554
|
source: this.source,
|
|
355
|
-
userid: this.$login.f.id
|
|
356
|
-
}
|
|
555
|
+
userid: this.$login.f.id,
|
|
556
|
+
};
|
|
357
557
|
|
|
358
558
|
let res = await this.$resetpost(
|
|
359
|
-
|
|
360
|
-
{data: data},
|
|
361
|
-
{resolveMsg: null, rejectMsg:
|
|
362
|
-
)
|
|
559
|
+
"rs/search",
|
|
560
|
+
{ data: data },
|
|
561
|
+
{ resolveMsg: null, rejectMsg: "点火人员查询失败!!!" }
|
|
562
|
+
);
|
|
363
563
|
|
|
364
|
-
this.operatorList = res.data.map(item => {
|
|
564
|
+
this.operatorList = res.data.map((item) => {
|
|
365
565
|
return {
|
|
366
566
|
label: item.name,
|
|
367
|
-
value: item
|
|
368
|
-
}
|
|
369
|
-
})
|
|
567
|
+
value: item,
|
|
568
|
+
};
|
|
569
|
+
});
|
|
370
570
|
},
|
|
371
|
-
searchCondition
|
|
372
|
-
args.condition = args.condition + ` and ir.id is null
|
|
373
|
-
console.log("this.showDatade",this.showData)
|
|
571
|
+
searchCondition(args) {
|
|
572
|
+
args.condition = args.condition + ` and ir.id is null`;
|
|
573
|
+
console.log("this.showDatade", this.showData);
|
|
374
574
|
// args.condition = args.condition + ` and ui.f_process_id = '${this.showData.f_process_id}'`
|
|
375
|
-
args.condition = args.condition + ` and ui.f_process_id is not null
|
|
376
|
-
this.model.search(args.condition, args.model)
|
|
575
|
+
args.condition = args.condition + ` and ui.f_process_id is not null`;
|
|
576
|
+
this.model.search(args.condition, args.model);
|
|
377
577
|
},
|
|
378
578
|
// 查询
|
|
379
|
-
search
|
|
380
|
-
this.$refs.cp.$refs.cri.search()
|
|
579
|
+
search() {
|
|
580
|
+
this.$refs.cp.$refs.cri.search();
|
|
381
581
|
},
|
|
382
|
-
clear
|
|
582
|
+
clear() {
|
|
383
583
|
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
384
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
385
|
-
})
|
|
584
|
+
this.$refs.cp.$refs.cri.model[key] = null;
|
|
585
|
+
});
|
|
386
586
|
},
|
|
387
|
-
closeModal
|
|
388
|
-
this.showAmap = false
|
|
389
|
-
this.showOperator = false
|
|
587
|
+
closeModal(type) {
|
|
588
|
+
this.showAmap = false;
|
|
589
|
+
this.showOperator = false;
|
|
390
590
|
|
|
391
|
-
this.labelmarksarray = []
|
|
392
|
-
this.operator = null
|
|
591
|
+
this.labelmarksarray = [];
|
|
592
|
+
this.operator = null;
|
|
393
593
|
|
|
394
|
-
if (type ===
|
|
395
|
-
this.$refs.cp.$refs.grid.selectInit()
|
|
594
|
+
if (type === "details") {
|
|
595
|
+
this.$refs.cp.$refs.grid.selectInit();
|
|
396
596
|
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
597
|
+
},
|
|
598
|
+
},
|
|
599
|
+
};
|
|
400
600
|
</script>
|
|
401
601
|
|
|
402
|
-
<style scoped>
|
|
403
|
-
</style>
|
|
602
|
+
<style scoped></style>
|