apply-clients 3.3.40 → 3.3.44
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 +130 -130
- package/package.json +2 -2
- package/src/AndroidApp.vue +35 -30
- package/src/components/android/AppOnetomany.vue +301 -305
- package/src/components/android/AppServiceView.vue +3 -7
- package/src/components/android/Process/AppExplorationUser.vue +306 -306
- package/src/components/android/Process/AppServiceControl.vue +757 -757
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +51 -13
- package/src/components/product/Material/MaterialDetailed.vue +1 -1
- package/src/components/product/OldApply/Handle/HandleApply.vue +306 -300
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +7 -1
- package/src/components/product/Onetomany.vue +377 -381
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +6 -1
- package/src/components/product/ServiceView.vue +2 -8
- package/src/components/product/Supervisory/SupervisoryList.vue +56 -6
|
@@ -1,300 +1,306 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="form-group col-sm-3">
|
|
9
|
-
<label class="font_normal_body">组织机构:</label>
|
|
10
|
-
<res-select
|
|
11
|
-
restype='organization'
|
|
12
|
-
:initresid='$parent.$parent.curorgid'
|
|
13
|
-
@res-select="$parent.$parent.getorg"
|
|
14
|
-
is-mul="false"
|
|
15
|
-
></res-select>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="form-group col-sm-3">
|
|
18
|
-
<label class="font_normal_body">工程编号:</label>
|
|
19
|
-
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
20
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
21
|
-
condition="f_apply_num like '%{}%'">
|
|
22
|
-
</div>
|
|
23
|
-
<div class="form-group col-sm-3">
|
|
24
|
-
<label class="font_normal_body">客户名称:</label>
|
|
25
|
-
<input type="text" style="width:60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
|
|
26
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
27
|
-
condition="f_user_name like '%{}%'">
|
|
28
|
-
</div>
|
|
29
|
-
<div class="form-group col-sm-3 button-range">
|
|
30
|
-
<button class="button_search button_spacing" v-show="false" @click="$parent.$parent.create()" v-el:cx>创建档案</button>
|
|
31
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
32
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
-
<div
|
|
34
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
35
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
36
|
-
class="button_spacing"
|
|
37
|
-
style="float: right">
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
42
|
-
<div class="form-group col-sm-3">
|
|
43
|
-
<label class="font_normal_body">客户编号:</label>
|
|
44
|
-
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
|
|
45
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
46
|
-
condition="f_userinfo_code = '{}'">
|
|
47
|
-
</div>
|
|
48
|
-
<div class="form-group col-sm-3">
|
|
49
|
-
<label class="font_normal_body">联系电话:</label>
|
|
50
|
-
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
51
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
52
|
-
condition="f_phone like '%{}%'">
|
|
53
|
-
</div>
|
|
54
|
-
<div class="form-group col-sm-3">
|
|
55
|
-
<label class="font_normal_body">地  址:</label>
|
|
56
|
-
<input type="text" style="width:60%" class="input_search" placeholder='地址' v-model="model.f_address"
|
|
57
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
58
|
-
condition="f_address like '%{}%'">
|
|
59
|
-
</div>
|
|
60
|
-
<div class="form-group col-sm-3">
|
|
61
|
-
<label class="font_normal_body"
|
|
62
|
-
<v-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
<th style="white-space: nowrap;"
|
|
131
|
-
<th style="white-space: nowrap;"
|
|
132
|
-
<th style="white-space: nowrap;"
|
|
133
|
-
<th style="white-space: nowrap;"
|
|
134
|
-
<th style="white-space: nowrap;"
|
|
135
|
-
<th style="white-space: nowrap;"
|
|
136
|
-
<th style="white-space: nowrap;"
|
|
137
|
-
<th style="white-space: nowrap;"
|
|
138
|
-
<th style="white-space: nowrap;"
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
<
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
<td style="text-align: center;">
|
|
150
|
-
<nobr><font>{{
|
|
151
|
-
</td>
|
|
152
|
-
<td style="text-align: center;">
|
|
153
|
-
<nobr><font>{{row.
|
|
154
|
-
</td>
|
|
155
|
-
<td style="text-align: center;">
|
|
156
|
-
<nobr><font>{{row.
|
|
157
|
-
</td>
|
|
158
|
-
<td style="text-align: center;">
|
|
159
|
-
<nobr><font>{{row.
|
|
160
|
-
</td>
|
|
161
|
-
<td style="text-align: center;">
|
|
162
|
-
<nobr><font>{{row.
|
|
163
|
-
</td>
|
|
164
|
-
<td style="text-align: center;">
|
|
165
|
-
<nobr><font>{{row.
|
|
166
|
-
</td>
|
|
167
|
-
<td style="text-align: center;">
|
|
168
|
-
<nobr><font>{{row.
|
|
169
|
-
</td>
|
|
170
|
-
<td style="text-align: center;">
|
|
171
|
-
<nobr><font>{{row.
|
|
172
|
-
</td>
|
|
173
|
-
<td style="text-align: center;">
|
|
174
|
-
<nobr><font>{{row.
|
|
175
|
-
</td>
|
|
176
|
-
<td style="text-align: center;">
|
|
177
|
-
<nobr><font>{{row.
|
|
178
|
-
</td>
|
|
179
|
-
<td style="text-align: center;">
|
|
180
|
-
<nobr><font>{{row.
|
|
181
|
-
</td>
|
|
182
|
-
<td style="text-align: center;">
|
|
183
|
-
<nobr><font>{{row.
|
|
184
|
-
</td>
|
|
185
|
-
<td style="text-align: center;">
|
|
186
|
-
<
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
</
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
</
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
{label: '
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
{label: '
|
|
227
|
-
{label: '
|
|
228
|
-
{label: '
|
|
229
|
-
{label: '
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
{label: '
|
|
235
|
-
{label: '
|
|
236
|
-
{label: '
|
|
237
|
-
{label: '
|
|
238
|
-
]
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
args.condition = args.condition + ` and (f_sub_state = '待安装' or f_sub_state = '待点火')`
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
this.
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
this
|
|
271
|
-
},
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">组织机构:</label>
|
|
10
|
+
<res-select
|
|
11
|
+
restype='organization'
|
|
12
|
+
:initresid='$parent.$parent.curorgid'
|
|
13
|
+
@res-select="$parent.$parent.getorg"
|
|
14
|
+
is-mul="false"
|
|
15
|
+
></res-select>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="form-group col-sm-3">
|
|
18
|
+
<label class="font_normal_body">工程编号:</label>
|
|
19
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
20
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
21
|
+
condition="f_apply_num like '%{}%'">
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-3">
|
|
24
|
+
<label class="font_normal_body">客户名称:</label>
|
|
25
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
|
|
26
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
27
|
+
condition="f_user_name like '%{}%'">
|
|
28
|
+
</div>
|
|
29
|
+
<div class="form-group col-sm-3 button-range">
|
|
30
|
+
<button class="button_search button_spacing" v-show="false" @click="$parent.$parent.create()" v-el:cx>创建档案</button>
|
|
31
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
32
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
+
<div
|
|
34
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
35
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
36
|
+
class="button_spacing"
|
|
37
|
+
style="float: right">
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
42
|
+
<div class="form-group col-sm-3">
|
|
43
|
+
<label class="font_normal_body">客户编号:</label>
|
|
44
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
|
|
45
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
46
|
+
condition="f_userinfo_code = '{}'">
|
|
47
|
+
</div>
|
|
48
|
+
<div class="form-group col-sm-3">
|
|
49
|
+
<label class="font_normal_body">联系电话:</label>
|
|
50
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
51
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
52
|
+
condition="f_phone like '%{}%'">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-group col-sm-3">
|
|
55
|
+
<label class="font_normal_body">地  址:</label>
|
|
56
|
+
<input type="text" style="width:60%" class="input_search" placeholder='地址' v-model="model.f_address"
|
|
57
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
58
|
+
condition="f_address like '%{}%'">
|
|
59
|
+
</div>
|
|
60
|
+
<div class="form-group col-sm-3">
|
|
61
|
+
<label class="font_normal_body">表  号:</label>
|
|
62
|
+
<input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
|
|
63
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
64
|
+
condition="f_meternumber like '%{}%'">
|
|
65
|
+
</div>
|
|
66
|
+
<div class="form-group col-sm-3">
|
|
67
|
+
<label class="font_normal_body">报建类型:</label>
|
|
68
|
+
<v-select
|
|
69
|
+
v-model="model.f_apply_type"
|
|
70
|
+
placeholder='报建类型'
|
|
71
|
+
condition="f_apply_type like '%{}%'"
|
|
72
|
+
:value.sync="model.f_apply_type"
|
|
73
|
+
:options='$parent.$parent.applyTypes'
|
|
74
|
+
class="select select_list"
|
|
75
|
+
:value-single="true"
|
|
76
|
+
close-on-select ></v-select>
|
|
77
|
+
</div>
|
|
78
|
+
<div class="form-group col-sm-3">
|
|
79
|
+
<label class="font_normal_body">流程状态:</label>
|
|
80
|
+
<v-select
|
|
81
|
+
v-model="model.f_sub_state"
|
|
82
|
+
placeholder='流程状态'
|
|
83
|
+
condition="f_sub_state = '{}'"
|
|
84
|
+
:value.sync="model.f_sub_state"
|
|
85
|
+
:options='$parent.$parent.subStates'
|
|
86
|
+
class="select select_list"
|
|
87
|
+
:value-single="true"
|
|
88
|
+
close-on-select ></v-select>
|
|
89
|
+
</div>
|
|
90
|
+
<div class="form-group col-sm-3">
|
|
91
|
+
<label class="font_normal_body">用气性质:</label>
|
|
92
|
+
<v-select
|
|
93
|
+
v-model="model.f_gas_nature"
|
|
94
|
+
placeholder='用气性质'
|
|
95
|
+
condition="f_gas_nature = '{}'"
|
|
96
|
+
:value.sync="model.f_gas_nature"
|
|
97
|
+
:options='$parent.$parent.gasNatures'
|
|
98
|
+
class="select select_list"
|
|
99
|
+
:value-single="true"
|
|
100
|
+
close-on-select ></v-select>
|
|
101
|
+
</div>
|
|
102
|
+
<div class="form-group col-sm-3">
|
|
103
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
104
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
105
|
+
style="width: 60%!important;"
|
|
106
|
+
v-model="model.startDate"
|
|
107
|
+
:value.sync="model.startDate"
|
|
108
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
109
|
+
:show-reset-button="true"
|
|
110
|
+
condition="f_apply_date >= '{}'">
|
|
111
|
+
</datepicker>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="form-group col-sm-3">
|
|
114
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
115
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
116
|
+
style="width: 60%!important;"
|
|
117
|
+
v-model="model.endDate"
|
|
118
|
+
:value.sync="model.endDate"
|
|
119
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
120
|
+
:show-reset-button="true"
|
|
121
|
+
condition="f_apply_date <= '{}'">
|
|
122
|
+
</datepicker>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</criteria>
|
|
127
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
128
|
+
<template partial='head'>
|
|
129
|
+
<tr>
|
|
130
|
+
<th style="white-space: nowrap;">序号</th>
|
|
131
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
132
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
133
|
+
<th style="white-space: nowrap;">电话</th>
|
|
134
|
+
<th style="white-space: nowrap;">地址</th>
|
|
135
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
136
|
+
<th style="white-space: nowrap;">用气性质</th>
|
|
137
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
138
|
+
<th style="white-space: nowrap;">收费项目</th>
|
|
139
|
+
<th style="white-space: nowrap;">合同金额</th>
|
|
140
|
+
<th style="white-space: nowrap;">表号</th>
|
|
141
|
+
<th style="white-space: nowrap;">防盗卡号</th>
|
|
142
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
143
|
+
<th style="white-space: nowrap;">客户编号</th>
|
|
144
|
+
<th style="white-space: nowrap;">操作</th>
|
|
145
|
+
</tr>
|
|
146
|
+
</template>
|
|
147
|
+
<template partial='body'>
|
|
148
|
+
<tr>
|
|
149
|
+
<td style="text-align: center;">
|
|
150
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
151
|
+
</td>
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
154
|
+
</td>
|
|
155
|
+
<td style="text-align: center;">
|
|
156
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
157
|
+
</td>
|
|
158
|
+
<td style="text-align: center;">
|
|
159
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
160
|
+
</td>
|
|
161
|
+
<td style="text-align: center;">
|
|
162
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
163
|
+
</td>
|
|
164
|
+
<td style="text-align: center;">
|
|
165
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
166
|
+
</td>
|
|
167
|
+
<td style="text-align: center;">
|
|
168
|
+
<nobr><font>{{row.f_gas_nature}}</font></nobr>
|
|
169
|
+
</td>
|
|
170
|
+
<td style="text-align: center;">
|
|
171
|
+
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
172
|
+
</td>
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<nobr><font>{{row.f_payment_term}}</font></nobr>
|
|
175
|
+
</td>
|
|
176
|
+
<td style="text-align: center;">
|
|
177
|
+
<nobr><font>{{row.f_contract_money}}</font></nobr>
|
|
178
|
+
</td>
|
|
179
|
+
<td style="text-align: center;">
|
|
180
|
+
<nobr><font>{{row.f_meternumber}}</font></nobr>
|
|
181
|
+
</td>
|
|
182
|
+
<td style="text-align: center;">
|
|
183
|
+
<nobr><font>{{row.f_card_number}}</font></nobr>
|
|
184
|
+
</td>
|
|
185
|
+
<td style="text-align: center;">
|
|
186
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
187
|
+
</td>
|
|
188
|
+
<td style="text-align: center;">
|
|
189
|
+
<nobr><font>{{row.f_userinfo_code}}</font></nobr>
|
|
190
|
+
</td>
|
|
191
|
+
<td style="text-align: center;">
|
|
192
|
+
<dropdown>
|
|
193
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
194
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
195
|
+
</button>
|
|
196
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
197
|
+
<li>
|
|
198
|
+
<a href="#" v-if="this.$login.f.rolesnames.indexOf('工程部派工') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1 || (this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 && row.f_sub_state === '待点火')" @click="$parent.$parent.$parent.click(row)">{{row.f_sub_state}}</a>
|
|
199
|
+
<a href="#" v-if="this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1" @click="$parent.$parent.$parent.stopApply(row)">异常终止</a>
|
|
200
|
+
</li>
|
|
201
|
+
</ul>
|
|
202
|
+
</dropdown>
|
|
203
|
+
</td>
|
|
204
|
+
</tr>
|
|
205
|
+
</template>
|
|
206
|
+
</data-grid>
|
|
207
|
+
</criteria-paged>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</template>
|
|
211
|
+
|
|
212
|
+
<script>
|
|
213
|
+
import {PagedList} from 'vue-client'
|
|
214
|
+
|
|
215
|
+
export default {
|
|
216
|
+
title: '数据处理',
|
|
217
|
+
data () {
|
|
218
|
+
return {
|
|
219
|
+
model: new PagedList('rs/sql/getOldApply', 20, null),
|
|
220
|
+
criteriaShow: false,
|
|
221
|
+
curorgid: [this.$login.f.orgid],
|
|
222
|
+
applyTypes: [
|
|
223
|
+
{label: '全部',value: ''},
|
|
224
|
+
{label: '学校报装',value: '学校报装'},
|
|
225
|
+
{label: '散户报装',value: '散户报装'},
|
|
226
|
+
{label: '工商业报装',value: '工商业报装'},
|
|
227
|
+
{label: 'CNG车辆',value: 'CNG车辆'},
|
|
228
|
+
{label: '团购报装',value: '团购报装'},
|
|
229
|
+
{label: '乡镇',value: '乡镇'}
|
|
230
|
+
],
|
|
231
|
+
subStates: [
|
|
232
|
+
{label: '全部',value: ''},
|
|
233
|
+
{label: '待受理',value: '待受理'},
|
|
234
|
+
{label: '待安装',value: '待安装'},
|
|
235
|
+
{label: '待点火',value: '待点火'},
|
|
236
|
+
{label: '完工',value: '完工'},
|
|
237
|
+
{label: '终止',value: '终止'}
|
|
238
|
+
],
|
|
239
|
+
gasNatures: [
|
|
240
|
+
{label: '全部',value: ''},
|
|
241
|
+
{label: '民用',value: '民用'},
|
|
242
|
+
{label: '商业',value: '商业'},
|
|
243
|
+
{label: '工业',value: '工业'}
|
|
244
|
+
]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
ready () {
|
|
248
|
+
this.search()
|
|
249
|
+
},
|
|
250
|
+
methods: {
|
|
251
|
+
stopApply (row) {
|
|
252
|
+
this.$dispatch('stopApply', row)
|
|
253
|
+
},
|
|
254
|
+
click (row) {
|
|
255
|
+
this.$dispatch('openApply', row, 'handle')
|
|
256
|
+
},
|
|
257
|
+
searchCondition (args) {
|
|
258
|
+
args.condition = args.condition + ` and f_orgid = '${this.curorgid[0]}'`
|
|
259
|
+
|
|
260
|
+
if (this.$login.f.rolesnames.indexOf('工程部派工') !== -1 && this.$login.f.rolesnames.indexOf('运营部派工') !== -1) {
|
|
261
|
+
args.condition = args.condition + ` and (f_sub_state = '待安装' or f_sub_state = '待点火')`
|
|
262
|
+
} else if (this.$login.f.rolesnames.indexOf('工程部派工') !== -1) {
|
|
263
|
+
args.condition = args.condition + ` and f_sub_state = '待安装'`
|
|
264
|
+
} else if (this.$login.f.rolesnames.indexOf('运营部派工') !== -1) {
|
|
265
|
+
args.condition = args.condition + ` and f_sub_state = '待点火'`
|
|
266
|
+
} else {
|
|
267
|
+
args.condition = args.condition + ` and (f_sub_state = '待安装' or f_sub_state = '待点火')`
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
this.model.search(args.condition, args.model)
|
|
271
|
+
},
|
|
272
|
+
search () {
|
|
273
|
+
this.$refs.cp.$refs.cri.search()
|
|
274
|
+
},
|
|
275
|
+
loadPage () {
|
|
276
|
+
this.$refs.cp.loadPage(this.model.pageIndex)
|
|
277
|
+
},
|
|
278
|
+
clear () {
|
|
279
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
280
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
281
|
+
})
|
|
282
|
+
},
|
|
283
|
+
getorg (val) {
|
|
284
|
+
if (val.length <= 0) {
|
|
285
|
+
return
|
|
286
|
+
}
|
|
287
|
+
this.curorgid = val
|
|
288
|
+
},
|
|
289
|
+
async create () {
|
|
290
|
+
let data = {
|
|
291
|
+
user: this.$login.f
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
let res = await this.$resetpost(
|
|
295
|
+
`rs/logic/createOldApplyUserinfo`,
|
|
296
|
+
data,
|
|
297
|
+
{resolveMsg: null,rejectMsg: '处理失败!!!'}
|
|
298
|
+
)
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
</script>
|
|
303
|
+
|
|
304
|
+
<style scoped>
|
|
305
|
+
|
|
306
|
+
</style>
|