apply-clients 7.1.36-yuchuan-9 → 7.1.36-yuchuan-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/product/Function/InstallInfoSelect.vue +371 -371
- package/src/components/product/List/OldShowDevices.vue +271 -271
- package/src/components/product/List/ShowAllActivity.vue +540 -540
- package/src/components/product/List/ShowDevices.vue +279 -279
- package/src/components/product/Process/ExplorationSelect.vue +597 -597
- package/src/components/product/Supervisory/SupervisoryList.vue +557 -557
|
@@ -1,557 +1,557 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12">
|
|
3
|
-
<!-- 流程查看 -->
|
|
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-2">
|
|
9
|
-
<label class="font_normal_body" ><strong>工程编号:</strong></label>
|
|
10
|
-
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
11
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
12
|
-
condition="f_apply_num like '%{}%'">
|
|
13
|
-
</div>
|
|
14
|
-
<div class="form-group col-sm-2">
|
|
15
|
-
<label class="font_normal_body"><strong>客户名称:</strong></label>
|
|
16
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="form-group col-sm-2">
|
|
20
|
-
<label class="font_normal_body"><strong>联系电话:</strong></label>
|
|
21
|
-
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
22
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
23
|
-
condition="f_phone like '%{}%'">
|
|
24
|
-
</div>
|
|
25
|
-
<div class="form-group col-sm-2">
|
|
26
|
-
<label class="font_normal_body"><strong>联 系 人:</strong></label>
|
|
27
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
|
|
28
|
-
v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="form-group col-sm-2 button-range">
|
|
31
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
32
|
-
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
33
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
34
|
-
<bj-export-excel :data="$parent.$parent.getCondition"
|
|
35
|
-
:field="$parent.$parent.getfield"
|
|
36
|
-
:civil="$parent.$parent.civil"
|
|
37
|
-
:uncivil="$parent.$parent.uncivil"
|
|
38
|
-
sqlurl="rs/logic/applyExportfile"
|
|
39
|
-
sql-name="supervisoryExcel"
|
|
40
|
-
template-name='报建记录信息导出'
|
|
41
|
-
:choose-col="true"></bj-export-excel>
|
|
42
|
-
<div
|
|
43
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
44
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
45
|
-
class="button_spacing"
|
|
46
|
-
style="float: right">
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
51
|
-
<div class="form-group col-sm-2">
|
|
52
|
-
<label class="font_normal_body"><strong>设计人员:</strong></label>
|
|
53
|
-
<v-select class="select select_list"
|
|
54
|
-
placeholder='设计人员'
|
|
55
|
-
v-model="model.f_designer_people"
|
|
56
|
-
:value.sync="model.f_designer_people"
|
|
57
|
-
:options='$parent.$parent.designerPeoples'
|
|
58
|
-
:value-single="true"
|
|
59
|
-
close-on-select
|
|
60
|
-
condition="f_designer_people = '{}'">
|
|
61
|
-
</v-select>
|
|
62
|
-
</div>
|
|
63
|
-
<div class="form-group col-sm-2">
|
|
64
|
-
<label class="font_normal_body"><strong>合同编号:</strong></label>
|
|
65
|
-
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
66
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
67
|
-
condition="f_contract_number like '%{}%'">
|
|
68
|
-
</div>
|
|
69
|
-
<div class="form-group col-sm-2">
|
|
70
|
-
<label class="font_normal_body"><strong>报建类型:</strong></label>
|
|
71
|
-
<v-select
|
|
72
|
-
v-model="model.f_apply_type"
|
|
73
|
-
placeholder='报建类型'
|
|
74
|
-
condition="u.f_apply_type in {}"
|
|
75
|
-
:value.sync="model.f_apply_type"
|
|
76
|
-
:options='$parent.$parent.applytype'
|
|
77
|
-
class="select select_list"
|
|
78
|
-
multiple
|
|
79
|
-
@change="$parent.$parent.applyTypeChange()"></v-select>
|
|
80
|
-
</div>
|
|
81
|
-
<div class="form-group col-sm-2">
|
|
82
|
-
<label class="font_normal_body"><strong>办理环节:</strong></label>
|
|
83
|
-
<v-select
|
|
84
|
-
v-model="model.defname"
|
|
85
|
-
placeholder='办理环节'
|
|
86
|
-
condition="act.defname = '{}'"
|
|
87
|
-
:value.sync="model.defname"
|
|
88
|
-
:options='$parent.$parent.defnames'
|
|
89
|
-
class="select select_list"
|
|
90
|
-
:value-single="true"
|
|
91
|
-
close-on-select ></v-select>
|
|
92
|
-
</div>
|
|
93
|
-
<div class="form-group col-sm-2" v-if="model.defname">
|
|
94
|
-
<label for="defstartDate" class="font_normal_body"><strong>环节开始时间:</strong></label>
|
|
95
|
-
<datepicker id="defstartDate" placeholder="环节开始时间"
|
|
96
|
-
style="width: 60%!important;"
|
|
97
|
-
v-model="model.defstartDate"
|
|
98
|
-
:value.sync="model.defstartDate"
|
|
99
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
100
|
-
:show-reset-button="true"
|
|
101
|
-
condition="sendtime >= '{}'">
|
|
102
|
-
</datepicker>
|
|
103
|
-
</div>
|
|
104
|
-
<div class="form-group col-sm-2">
|
|
105
|
-
<label class="font_normal_body"><strong>报建性质:</strong></label>
|
|
106
|
-
<v-select
|
|
107
|
-
v-model="model.f_apply_nature"
|
|
108
|
-
placeholder='报建性质'
|
|
109
|
-
condition="f_apply_nature = '{}'"
|
|
110
|
-
:value.sync="model.f_apply_nature"
|
|
111
|
-
:options='$parent.$parent.applyNatures'
|
|
112
|
-
class="select select_list"
|
|
113
|
-
:value-single="true"
|
|
114
|
-
close-on-select ></v-select>
|
|
115
|
-
</div>
|
|
116
|
-
<div class="form-group col-sm-2">
|
|
117
|
-
<label class="font_normal_body"><strong>用户分类:</strong></label>
|
|
118
|
-
<v-select
|
|
119
|
-
v-model="model.f_user_classification"
|
|
120
|
-
placeholder='用户分类'
|
|
121
|
-
condition="f_user_classification = '{}'"
|
|
122
|
-
:value.sync="model.f_user_classification"
|
|
123
|
-
:options='$parent.$parent.UserList'
|
|
124
|
-
class="select select_list"
|
|
125
|
-
:value-single="true"
|
|
126
|
-
close-on-select ></v-select>
|
|
127
|
-
</div>
|
|
128
|
-
<div class="form-group col-sm-2">
|
|
129
|
-
<label class="font_normal_body"><strong>用户类型:</strong></label>
|
|
130
|
-
<v-select
|
|
131
|
-
v-model="model.f_user_type"
|
|
132
|
-
placeholder='普通/煤改'
|
|
133
|
-
condition="f_user_type = '{}'"
|
|
134
|
-
:value.sync="model.f_user_type"
|
|
135
|
-
:options='$parent.$parent.UserType'
|
|
136
|
-
class="select select_list"
|
|
137
|
-
:value-single="true"
|
|
138
|
-
close-on-select ></v-select>
|
|
139
|
-
</div>
|
|
140
|
-
<div class="form-group col-sm-2">
|
|
141
|
-
<label class="font_normal_body"><strong>用户地址:</strong></label>
|
|
142
|
-
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
143
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
144
|
-
condition="f_address like '%{}%'">
|
|
145
|
-
</div>
|
|
146
|
-
<div class="form-group col-sm-2">
|
|
147
|
-
<label class="font_normal_body"><strong>图纸情况:</strong></label>
|
|
148
|
-
<v-select
|
|
149
|
-
v-model="model.f_filetype"
|
|
150
|
-
placeholder='图纸情况'
|
|
151
|
-
condition="f_filetype {}"
|
|
152
|
-
:value.sync="model.f_filetype"
|
|
153
|
-
:options='$parent.$parent.filetype'
|
|
154
|
-
class="select select_list"
|
|
155
|
-
:value-single="true"
|
|
156
|
-
close-on-select ></v-select>
|
|
157
|
-
</div>
|
|
158
|
-
<div class="form-group col-sm-2">
|
|
159
|
-
<label for="startDate" class="font_normal_body"><strong>开始时间:</strong></label>
|
|
160
|
-
<datepicker id="startDate" placeholder="报建开始日期"
|
|
161
|
-
style="width: 60%!important;"
|
|
162
|
-
v-model="model.startDate"
|
|
163
|
-
:value.sync="model.startDate"
|
|
164
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
165
|
-
:show-reset-button="true"
|
|
166
|
-
condition="f_apply_date >= '{}'">
|
|
167
|
-
</datepicker>
|
|
168
|
-
</div>
|
|
169
|
-
<div class="form-group col-sm-2">
|
|
170
|
-
<label for="endDate" class="font_normal_body"><strong>截止时间:</strong></label>
|
|
171
|
-
<datepicker id="endDate" placeholder="报建截止日期"
|
|
172
|
-
style="width: 60%!important;"
|
|
173
|
-
v-model="model.endDate"
|
|
174
|
-
:value.sync="model.endDate"
|
|
175
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
176
|
-
:show-reset-button="true"
|
|
177
|
-
condition="f_apply_date <= '{}'">
|
|
178
|
-
</datepicker>
|
|
179
|
-
</div>
|
|
180
|
-
<div class="form-group col-sm-2">
|
|
181
|
-
<label for="startDate" class="font_normal_body"><strong>派工时间:</strong></label>
|
|
182
|
-
<datepicker id="startDate1" placeholder="派工开始日期"
|
|
183
|
-
style="width: 60%!important;"
|
|
184
|
-
v-model="model.startDate1"
|
|
185
|
-
:value.sync="model.startDate1"
|
|
186
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
187
|
-
:show-reset-button="true"
|
|
188
|
-
condition="u.f_release_date >= '{}'">
|
|
189
|
-
</datepicker>
|
|
190
|
-
</div>
|
|
191
|
-
<div class="form-group col-sm-2">
|
|
192
|
-
<label for="endDate" class="font_normal_body"><strong>派工时间:</strong></label>
|
|
193
|
-
<datepicker id="endDate1" placeholder="派工截止日期"
|
|
194
|
-
style="width: 60%!important;"
|
|
195
|
-
v-model="model.endDate1"
|
|
196
|
-
:value.sync="model.endDate1"
|
|
197
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
198
|
-
:show-reset-button="true"
|
|
199
|
-
condition="u.f_release_date <= '{}'">
|
|
200
|
-
</datepicker>
|
|
201
|
-
</div>
|
|
202
|
-
<div class="form-group col-sm-2">
|
|
203
|
-
<label for="startDate" class="font_normal_body"><strong>回单日期:</strong></label>
|
|
204
|
-
<datepicker id="startDate1" placeholder="回单开始日期"
|
|
205
|
-
style="width: 60%!important;"
|
|
206
|
-
v-model="model.startDate2"
|
|
207
|
-
:value.sync="model.startDate2"
|
|
208
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
209
|
-
:show-reset-button="true"
|
|
210
|
-
condition="u.f_outdoors_receipt_time >= '{}'">
|
|
211
|
-
</datepicker>
|
|
212
|
-
</div>
|
|
213
|
-
<div class="form-group col-sm-2">
|
|
214
|
-
<label for="endDate" class="font_normal_body"><strong>回单日期:</strong></label>
|
|
215
|
-
<datepicker id="endDate1" placeholder="回单截止日期"
|
|
216
|
-
style="width: 60%!important;"
|
|
217
|
-
v-model="model.endDate2"
|
|
218
|
-
:value.sync="model.endDate2"
|
|
219
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
220
|
-
:show-reset-button="true"
|
|
221
|
-
condition="u.f_outdoors_receipt_time <= '{}'">
|
|
222
|
-
</datepicker>
|
|
223
|
-
</div>
|
|
224
|
-
<div class="form-group col-sm-2">
|
|
225
|
-
<label class="font_normal_body"><strong>派工类型:</strong></label>
|
|
226
|
-
<v-select
|
|
227
|
-
v-model="model.f_dispatching_type"
|
|
228
|
-
placeholder='工队/维修'
|
|
229
|
-
condition="u.f_dispatching_type = '{}'"
|
|
230
|
-
:value.sync="model.f_dispatching_type"
|
|
231
|
-
:options='$parent.$parent.dispatching'
|
|
232
|
-
class="select select_list"
|
|
233
|
-
:value-single="true"
|
|
234
|
-
close-on-select ></v-select>
|
|
235
|
-
</div>
|
|
236
|
-
<div class="form-group col-sm-2">
|
|
237
|
-
<label class="font_normal_body"><strong>新旧报建:</strong></label>
|
|
238
|
-
<v-select
|
|
239
|
-
v-model="model.f_house_type"
|
|
240
|
-
placeholder='新旧报建'
|
|
241
|
-
condition="u.f_house_type {}"
|
|
242
|
-
:value.sync="model.f_house_type"
|
|
243
|
-
:options='$parent.$parent.houseType'
|
|
244
|
-
class="select select_list"
|
|
245
|
-
:value-single="true"
|
|
246
|
-
close-on-select >
|
|
247
|
-
</v-select>
|
|
248
|
-
</div>
|
|
249
|
-
<div class="form-group col-sm-2">
|
|
250
|
-
<label class="font_normal_body"><strong>来  源:</strong></label>
|
|
251
|
-
<v-select
|
|
252
|
-
v-model="model.f_apply_source"
|
|
253
|
-
placeholder='来源'
|
|
254
|
-
condition="u.f_apply_source = '{}'"
|
|
255
|
-
:value.sync="model.f_apply_source"
|
|
256
|
-
:options='$parent.$parent.sources'
|
|
257
|
-
class="select select_list"
|
|
258
|
-
:value-single="true"
|
|
259
|
-
close-on-select >
|
|
260
|
-
</v-select>
|
|
261
|
-
</div>
|
|
262
|
-
<div class="form-group col-sm-2">
|
|
263
|
-
<label class="font_normal_body"><strong>安装单位:</strong></label>
|
|
264
|
-
<input type="text" style="width:60%" class="input_search" placeholder='安装单位' v-model="model.f_construction_name"
|
|
265
|
-
v-on:keyup.enter="$parent.$parent.search()"
|
|
266
|
-
condition="u.f_construction_name like '%{}%'">
|
|
267
|
-
</div>
|
|
268
|
-
</div>
|
|
269
|
-
</div>
|
|
270
|
-
</criteria>
|
|
271
|
-
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
272
|
-
<template partial='head'>
|
|
273
|
-
<tr>
|
|
274
|
-
<th style="white-space: nowrap;">序号</th>
|
|
275
|
-
<th style="white-space: nowrap;">工程编号</th>
|
|
276
|
-
<th style="white-space: nowrap;">客户名称</th>
|
|
277
|
-
<th style="white-space: nowrap;">联系人</th>
|
|
278
|
-
<th style="white-space: nowrap;">合同编号</th>
|
|
279
|
-
<th style="white-space: nowrap;">电话</th>
|
|
280
|
-
<th style="white-space: nowrap;">设计人员</th>
|
|
281
|
-
<th style="white-space: nowrap;">报建类型</th>
|
|
282
|
-
<th style="white-space: nowrap;">报建性质</th>
|
|
283
|
-
<th style="white-space: nowrap;">用户类型</th>
|
|
284
|
-
<th style="white-space: nowrap;">办理环节</th>
|
|
285
|
-
<th style="white-space: nowrap;">用户分类</th>
|
|
286
|
-
<th style="white-space: nowrap;">地址</th>
|
|
287
|
-
<th style="white-space: nowrap;">来源</th>
|
|
288
|
-
<th style="white-space: nowrap;">流程状态</th>
|
|
289
|
-
<th style="white-space: nowrap;">报建日期</th>
|
|
290
|
-
</tr>
|
|
291
|
-
</template>
|
|
292
|
-
<template partial='body'>
|
|
293
|
-
<tr>
|
|
294
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
295
|
-
<nobr>{{$index+1}}</nobr>
|
|
296
|
-
</td>
|
|
297
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
298
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
299
|
-
</td>
|
|
300
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
301
|
-
<nobr>{{row.f_user_name}}</nobr>
|
|
302
|
-
</td>
|
|
303
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
304
|
-
<nobr>{{row.f_contact}}</nobr>
|
|
305
|
-
</td>
|
|
306
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
307
|
-
<nobr>{{row.f_contract_number}}</nobr>
|
|
308
|
-
</td>
|
|
309
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
310
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
311
|
-
</td>
|
|
312
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
313
|
-
<nobr><font>{{row.f_designer_people}}</font></nobr>
|
|
314
|
-
</td>
|
|
315
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
316
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
317
|
-
</td>
|
|
318
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
319
|
-
<nobr>{{row.f_apply_nature}}</nobr>
|
|
320
|
-
</td>
|
|
321
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
322
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
323
|
-
</td>
|
|
324
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
325
|
-
<nobr>{{row.defname}}</nobr>
|
|
326
|
-
</td>
|
|
327
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
328
|
-
<nobr>{{row.f_user_classification}}</nobr>
|
|
329
|
-
</td>
|
|
330
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
331
|
-
<nobr>{{row.f_address}}</nobr>
|
|
332
|
-
</td>
|
|
333
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
334
|
-
<nobr>{{row.f_apply_source}}</nobr>
|
|
335
|
-
</td>
|
|
336
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
337
|
-
<nobr>{{row.f_sub_state}}</nobr>
|
|
338
|
-
</td>
|
|
339
|
-
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
340
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
341
|
-
</td>
|
|
342
|
-
</tr>
|
|
343
|
-
</template>
|
|
344
|
-
</data-grid>
|
|
345
|
-
</criteria-paged>
|
|
346
|
-
</div>
|
|
347
|
-
</template>
|
|
348
|
-
<script>
|
|
349
|
-
import {PagedList} from 'vue-client'
|
|
350
|
-
import {isEmpty} from '../../Util'
|
|
351
|
-
export default {
|
|
352
|
-
title: '勘探详情',
|
|
353
|
-
props: ['showData'],
|
|
354
|
-
data () {
|
|
355
|
-
return {
|
|
356
|
-
model: new PagedList('rs/sql/supervisory', 20, {
|
|
357
|
-
data: {
|
|
358
|
-
f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:''
|
|
359
|
-
},
|
|
360
|
-
}),
|
|
361
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
362
|
-
defnames: isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
|
|
363
|
-
applyNatures: [{label: '全部', value: ''},{label: '工业', value: '工业'},{label: '商业', value: '商业'},{label: '散户', value: '散户'},{label: '小区', value: '小区'},{label: '分户挂表', value: '分户挂表'}], // 报建性质
|
|
364
|
-
criteriaShow: false,
|
|
365
|
-
sources:[{label: '微信公众号', value: '微信公众号'},{label: '线下发起', value: '线下发起'}],
|
|
366
|
-
filetype:[{label: '已上传图纸', value: 'is not null'}, {label: '未上传图纸', value: 'is null'}],
|
|
367
|
-
UserList:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户分类')?this.$appdata.getParam('用户分类'):[]],
|
|
368
|
-
UserType:[{label: '全部', value: ''}, {label: '普通用户', value: '普通用户'}, {label: '煤改用户', value: '煤改用户'}],
|
|
369
|
-
designerPeoples: this.getDesigner(),
|
|
370
|
-
dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
|
|
371
|
-
houseType:[{label: '全部', value: ''}, {label: '旧报建', value: ` = '旧报导入'`}, {label: '新报建', value: ' is null' }],
|
|
372
|
-
getfield: {
|
|
373
|
-
'f_apply_num': ' 工 程 编 号 ',
|
|
374
|
-
'f_charge_date': ' 收 费 日 期 ',
|
|
375
|
-
'f_user_name': ' 用 户 单 位 ',
|
|
376
|
-
'f_user_classification': ' 用户分类 ',
|
|
377
|
-
'f_user_type': ' 用户类型 ',
|
|
378
|
-
'f_address': ' 地 址 ',
|
|
379
|
-
'f_install_count': ' 安装户数 ',
|
|
380
|
-
'huoyan': ' 火眼 ',
|
|
381
|
-
'xiaohuoyan': ' 小火眼 ',
|
|
382
|
-
'bigualu': ' 壁挂炉 ',
|
|
383
|
-
'jiayongzao': ' 家用灶 ',
|
|
384
|
-
'reshuiqi': ' 热水器 ',
|
|
385
|
-
'cainuanlu': ' 采暖炉 ',
|
|
386
|
-
'chashuilu': ' 茶水炉 ',
|
|
387
|
-
'zhengche': ' 蒸车 ',
|
|
388
|
-
'zhengqifashengqi': ' 蒸汽发生器 ',
|
|
389
|
-
'zaoju': ' 灶具 ',
|
|
390
|
-
'yasuoji': ' 压缩机 ',
|
|
391
|
-
'mokuailu': ' 模块炉 ',
|
|
392
|
-
'danweikw': ' 锅炉单位(KW) ',
|
|
393
|
-
'danweimw': ' 锅炉单位(MW) ',
|
|
394
|
-
'dunwei': ' 锅炉吨位(T) ',
|
|
395
|
-
'baojingqi': ' 报警器 ',
|
|
396
|
-
"zibifa": ' 安全自闭阀 ',
|
|
397
|
-
'f_meter_types': ' 表 具 明 细 ',
|
|
398
|
-
'f_construct_operator': ' 现 场 项 目 负 责 人 ',
|
|
399
|
-
'f_contact': ' 联 系 人 ',
|
|
400
|
-
'f_phone': ' 电 话 ',
|
|
401
|
-
'f_outdoors_time': ' 户内出单日期 ',
|
|
402
|
-
'f_outdoors_receipt_time': ' 户内回单日期 ',
|
|
403
|
-
'f_courtyard_time': ' 庭院出单日期 ',
|
|
404
|
-
'f_courtyard_receipt_time': ' 庭院回单日期 ',
|
|
405
|
-
'f_construction_unit':' 施 工 单 位 ',
|
|
406
|
-
'f_contract_number': ' 合 同 编 号 ',
|
|
407
|
-
'f_apply_nature': ' 报 建 性 质 ',
|
|
408
|
-
'defname': ' 办 理 环 节 ',
|
|
409
|
-
'f_designer_people':' 设计人员 ',
|
|
410
|
-
'f_apply_source': ' 来源 ',
|
|
411
|
-
'f_apply_type': ' 报 建 类 型 ',
|
|
412
|
-
'f_sub_state': ' 流 程 状 态 ',
|
|
413
|
-
'f_apply_date': ' 报 建 日 期 ',
|
|
414
|
-
'f_house_type': ' 新 旧 报 建 ',
|
|
415
|
-
'f_check_operator': '检测单位',
|
|
416
|
-
'f_engineering_operator': '土建单位',
|
|
417
|
-
},
|
|
418
|
-
civil: {
|
|
419
|
-
'f_apply_num': '工程编号',
|
|
420
|
-
'f_charge_date': '收费日期',
|
|
421
|
-
'f_user_name': '用户单位',
|
|
422
|
-
'f_user_type': ' 用户类型 ',
|
|
423
|
-
'f_address': '地址',
|
|
424
|
-
'f_install_count': '安装户数',
|
|
425
|
-
'baojingqi': ' 报警器 ',
|
|
426
|
-
"zibifa": ' 安全自闭阀 ',
|
|
427
|
-
'f_meter_types': '表具明细',
|
|
428
|
-
'f_construct_operator': '现场项目负责人',
|
|
429
|
-
'f_contact': '联系人',
|
|
430
|
-
'f_phone': '电话',
|
|
431
|
-
'f_construction_unit':'施工单位',
|
|
432
|
-
'f_house_type': ' 新 旧 报 建 '
|
|
433
|
-
},
|
|
434
|
-
uncivil: {
|
|
435
|
-
'f_apply_num': '工程编号',
|
|
436
|
-
'f_charge_date': '收费日期',
|
|
437
|
-
'f_user_name': '用户单位',
|
|
438
|
-
'f_user_type': ' 用户类型 ',
|
|
439
|
-
'f_address': '地址',
|
|
440
|
-
'f_install_count': '安装户数',
|
|
441
|
-
'huoyan': '火眼',
|
|
442
|
-
'xiaohuoyan': '小火眼',
|
|
443
|
-
'bigualu': '壁挂炉',
|
|
444
|
-
'jiayongzao': '家用灶',
|
|
445
|
-
'reshuiqi': '热水器',
|
|
446
|
-
'cainuanlu': '采暖炉',
|
|
447
|
-
'chashuilu': '茶水炉',
|
|
448
|
-
'zhengche': '蒸车',
|
|
449
|
-
'zhengqifashengqi': '蒸汽发生器',
|
|
450
|
-
'zaoju': '灶具',
|
|
451
|
-
'yasuoji': '压缩机',
|
|
452
|
-
'mokuailu': '模块炉',
|
|
453
|
-
'danweikw': '锅炉单位(KW)',
|
|
454
|
-
'danweimw': '锅炉单位(MW)',
|
|
455
|
-
'dunwei': '锅炉吨位(T)',
|
|
456
|
-
'f_meter_types': '表具明细',
|
|
457
|
-
'f_construct_operator': '现场项目负责人',
|
|
458
|
-
'f_contact': '联系人',
|
|
459
|
-
'f_phone': '电话',
|
|
460
|
-
'f_outdoors_time': ' 户内出单日期 ',
|
|
461
|
-
'f_outdoors_receipt_time': ' 户内回单日期 ',
|
|
462
|
-
'f_courtyard_time': ' 庭院出单日期 ',
|
|
463
|
-
'f_courtyard_receipt_time': ' 庭院回单日期 ',
|
|
464
|
-
'f_construction_unit':'施工单位',
|
|
465
|
-
'f_house_type': ' 新 旧 报 建 '
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
ready () {
|
|
470
|
-
// 调用查询
|
|
471
|
-
// this.search()
|
|
472
|
-
},
|
|
473
|
-
events: {
|
|
474
|
-
},
|
|
475
|
-
methods: {
|
|
476
|
-
loadPage () {
|
|
477
|
-
this.$dispatch('loadPage')
|
|
478
|
-
},
|
|
479
|
-
searchCondition (args) {
|
|
480
|
-
args.condition = args.condition
|
|
481
|
-
if (args.condition.includes('民用报建')) {
|
|
482
|
-
args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')');
|
|
483
|
-
}
|
|
484
|
-
console.log("args.condition",args.condition)
|
|
485
|
-
this.model.search(args.condition, args.model)
|
|
486
|
-
},
|
|
487
|
-
// 查询
|
|
488
|
-
search () {
|
|
489
|
-
this.$dispatch('search')
|
|
490
|
-
},
|
|
491
|
-
check (val) {
|
|
492
|
-
this.$dispatch('apply', val)
|
|
493
|
-
},
|
|
494
|
-
async applyTypeChange () {
|
|
495
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
496
|
-
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
497
|
-
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
498
|
-
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
499
|
-
)
|
|
500
|
-
|
|
501
|
-
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
502
|
-
|
|
503
|
-
// this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
504
|
-
} else {
|
|
505
|
-
this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
|
|
506
|
-
// this.applyNatures = isEmpty(this.$appdata.getParam('报建性质')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('报建性质')] // 报建性质
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
async getDesigner() {
|
|
510
|
-
let data = {
|
|
511
|
-
source: 'this.getParentByType($organization$).getChildByName($设计人员$).getChildren()',
|
|
512
|
-
userid: this.$login.f.id
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
let res = await this.$resetpost(
|
|
516
|
-
'rs/search',
|
|
517
|
-
{data: data},
|
|
518
|
-
{resolveMsg: null, rejectMsg: '设计人员人员查询失败!!!'}
|
|
519
|
-
)
|
|
520
|
-
console.log("ces",res.data.map(item => {
|
|
521
|
-
return {
|
|
522
|
-
label: item.name,
|
|
523
|
-
value: item.name
|
|
524
|
-
}
|
|
525
|
-
}))
|
|
526
|
-
this.designerPeoples = res.data.map(item => {
|
|
527
|
-
return {
|
|
528
|
-
label: item.name,
|
|
529
|
-
value: item.name
|
|
530
|
-
}
|
|
531
|
-
})
|
|
532
|
-
},
|
|
533
|
-
clear () {
|
|
534
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
535
|
-
this.$refs.cp.$refs.cri.model[key] = null
|
|
536
|
-
this.$refs.cp.$refs.cri.model.f_apply_type = []
|
|
537
|
-
})
|
|
538
|
-
}
|
|
539
|
-
},
|
|
540
|
-
computed: {
|
|
541
|
-
getCondition () {
|
|
542
|
-
return {
|
|
543
|
-
condition: this.$refs.cp.$refs.cri.condition,
|
|
544
|
-
data: {
|
|
545
|
-
// orgid: this.$login.f.orgid
|
|
546
|
-
f_filiale: this.$login.f.f_fengongsi
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
getLoginDepartment(){
|
|
551
|
-
return this.$login.f.rolesnames.includes('市场部报装')
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
</script>
|
|
556
|
-
<style scoped>
|
|
557
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12">
|
|
3
|
+
<!-- 流程查看 -->
|
|
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-2">
|
|
9
|
+
<label class="font_normal_body" ><strong>工程编号:</strong></label>
|
|
10
|
+
<input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
11
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
12
|
+
condition="f_apply_num like '%{}%'">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-2">
|
|
15
|
+
<label class="font_normal_body"><strong>客户名称:</strong></label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-sm-2">
|
|
20
|
+
<label class="font_normal_body"><strong>联系电话:</strong></label>
|
|
21
|
+
<input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
22
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
23
|
+
condition="f_phone like '%{}%'">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="form-group col-sm-2">
|
|
26
|
+
<label class="font_normal_body"><strong>联 系 人:</strong></label>
|
|
27
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
|
|
28
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="form-group col-sm-2 button-range">
|
|
31
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
32
|
+
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
33
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
34
|
+
<bj-export-excel :data="$parent.$parent.getCondition"
|
|
35
|
+
:field="$parent.$parent.getfield"
|
|
36
|
+
:civil="$parent.$parent.civil"
|
|
37
|
+
:uncivil="$parent.$parent.uncivil"
|
|
38
|
+
sqlurl="rs/logic/applyExportfile"
|
|
39
|
+
sql-name="supervisoryExcel"
|
|
40
|
+
template-name='报建记录信息导出'
|
|
41
|
+
:choose-col="true"></bj-export-excel>
|
|
42
|
+
<div
|
|
43
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
44
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
45
|
+
class="button_spacing"
|
|
46
|
+
style="float: right">
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
51
|
+
<div class="form-group col-sm-2">
|
|
52
|
+
<label class="font_normal_body"><strong>设计人员:</strong></label>
|
|
53
|
+
<v-select class="select select_list"
|
|
54
|
+
placeholder='设计人员'
|
|
55
|
+
v-model="model.f_designer_people"
|
|
56
|
+
:value.sync="model.f_designer_people"
|
|
57
|
+
:options='$parent.$parent.designerPeoples'
|
|
58
|
+
:value-single="true"
|
|
59
|
+
close-on-select
|
|
60
|
+
condition="f_designer_people = '{}'">
|
|
61
|
+
</v-select>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="form-group col-sm-2">
|
|
64
|
+
<label class="font_normal_body"><strong>合同编号:</strong></label>
|
|
65
|
+
<input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
66
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
67
|
+
condition="f_contract_number like '%{}%'">
|
|
68
|
+
</div>
|
|
69
|
+
<div class="form-group col-sm-2">
|
|
70
|
+
<label class="font_normal_body"><strong>报建类型:</strong></label>
|
|
71
|
+
<v-select
|
|
72
|
+
v-model="model.f_apply_type"
|
|
73
|
+
placeholder='报建类型'
|
|
74
|
+
condition="u.f_apply_type in {}"
|
|
75
|
+
:value.sync="model.f_apply_type"
|
|
76
|
+
:options='$parent.$parent.applytype'
|
|
77
|
+
class="select select_list"
|
|
78
|
+
multiple
|
|
79
|
+
@change="$parent.$parent.applyTypeChange()"></v-select>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="form-group col-sm-2">
|
|
82
|
+
<label class="font_normal_body"><strong>办理环节:</strong></label>
|
|
83
|
+
<v-select
|
|
84
|
+
v-model="model.defname"
|
|
85
|
+
placeholder='办理环节'
|
|
86
|
+
condition="act.defname = '{}'"
|
|
87
|
+
:value.sync="model.defname"
|
|
88
|
+
:options='$parent.$parent.defnames'
|
|
89
|
+
class="select select_list"
|
|
90
|
+
:value-single="true"
|
|
91
|
+
close-on-select ></v-select>
|
|
92
|
+
</div>
|
|
93
|
+
<div class="form-group col-sm-2" v-if="model.defname">
|
|
94
|
+
<label for="defstartDate" class="font_normal_body"><strong>环节开始时间:</strong></label>
|
|
95
|
+
<datepicker id="defstartDate" placeholder="环节开始时间"
|
|
96
|
+
style="width: 60%!important;"
|
|
97
|
+
v-model="model.defstartDate"
|
|
98
|
+
:value.sync="model.defstartDate"
|
|
99
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
100
|
+
:show-reset-button="true"
|
|
101
|
+
condition="sendtime >= '{}'">
|
|
102
|
+
</datepicker>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="form-group col-sm-2">
|
|
105
|
+
<label class="font_normal_body"><strong>报建性质:</strong></label>
|
|
106
|
+
<v-select
|
|
107
|
+
v-model="model.f_apply_nature"
|
|
108
|
+
placeholder='报建性质'
|
|
109
|
+
condition="f_apply_nature = '{}'"
|
|
110
|
+
:value.sync="model.f_apply_nature"
|
|
111
|
+
:options='$parent.$parent.applyNatures'
|
|
112
|
+
class="select select_list"
|
|
113
|
+
:value-single="true"
|
|
114
|
+
close-on-select ></v-select>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="form-group col-sm-2">
|
|
117
|
+
<label class="font_normal_body"><strong>用户分类:</strong></label>
|
|
118
|
+
<v-select
|
|
119
|
+
v-model="model.f_user_classification"
|
|
120
|
+
placeholder='用户分类'
|
|
121
|
+
condition="f_user_classification = '{}'"
|
|
122
|
+
:value.sync="model.f_user_classification"
|
|
123
|
+
:options='$parent.$parent.UserList'
|
|
124
|
+
class="select select_list"
|
|
125
|
+
:value-single="true"
|
|
126
|
+
close-on-select ></v-select>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="form-group col-sm-2">
|
|
129
|
+
<label class="font_normal_body"><strong>用户类型:</strong></label>
|
|
130
|
+
<v-select
|
|
131
|
+
v-model="model.f_user_type"
|
|
132
|
+
placeholder='普通/煤改'
|
|
133
|
+
condition="f_user_type = '{}'"
|
|
134
|
+
:value.sync="model.f_user_type"
|
|
135
|
+
:options='$parent.$parent.UserType'
|
|
136
|
+
class="select select_list"
|
|
137
|
+
:value-single="true"
|
|
138
|
+
close-on-select ></v-select>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="form-group col-sm-2">
|
|
141
|
+
<label class="font_normal_body"><strong>用户地址:</strong></label>
|
|
142
|
+
<input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
143
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
144
|
+
condition="f_address like '%{}%'">
|
|
145
|
+
</div>
|
|
146
|
+
<div class="form-group col-sm-2">
|
|
147
|
+
<label class="font_normal_body"><strong>图纸情况:</strong></label>
|
|
148
|
+
<v-select
|
|
149
|
+
v-model="model.f_filetype"
|
|
150
|
+
placeholder='图纸情况'
|
|
151
|
+
condition="f_filetype {}"
|
|
152
|
+
:value.sync="model.f_filetype"
|
|
153
|
+
:options='$parent.$parent.filetype'
|
|
154
|
+
class="select select_list"
|
|
155
|
+
:value-single="true"
|
|
156
|
+
close-on-select ></v-select>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="form-group col-sm-2">
|
|
159
|
+
<label for="startDate" class="font_normal_body"><strong>开始时间:</strong></label>
|
|
160
|
+
<datepicker id="startDate" placeholder="报建开始日期"
|
|
161
|
+
style="width: 60%!important;"
|
|
162
|
+
v-model="model.startDate"
|
|
163
|
+
:value.sync="model.startDate"
|
|
164
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
165
|
+
:show-reset-button="true"
|
|
166
|
+
condition="f_apply_date >= '{}'">
|
|
167
|
+
</datepicker>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="form-group col-sm-2">
|
|
170
|
+
<label for="endDate" class="font_normal_body"><strong>截止时间:</strong></label>
|
|
171
|
+
<datepicker id="endDate" placeholder="报建截止日期"
|
|
172
|
+
style="width: 60%!important;"
|
|
173
|
+
v-model="model.endDate"
|
|
174
|
+
:value.sync="model.endDate"
|
|
175
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
176
|
+
:show-reset-button="true"
|
|
177
|
+
condition="f_apply_date <= '{}'">
|
|
178
|
+
</datepicker>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="form-group col-sm-2">
|
|
181
|
+
<label for="startDate" class="font_normal_body"><strong>派工时间:</strong></label>
|
|
182
|
+
<datepicker id="startDate1" placeholder="派工开始日期"
|
|
183
|
+
style="width: 60%!important;"
|
|
184
|
+
v-model="model.startDate1"
|
|
185
|
+
:value.sync="model.startDate1"
|
|
186
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
187
|
+
:show-reset-button="true"
|
|
188
|
+
condition="u.f_release_date >= '{}'">
|
|
189
|
+
</datepicker>
|
|
190
|
+
</div>
|
|
191
|
+
<div class="form-group col-sm-2">
|
|
192
|
+
<label for="endDate" class="font_normal_body"><strong>派工时间:</strong></label>
|
|
193
|
+
<datepicker id="endDate1" placeholder="派工截止日期"
|
|
194
|
+
style="width: 60%!important;"
|
|
195
|
+
v-model="model.endDate1"
|
|
196
|
+
:value.sync="model.endDate1"
|
|
197
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
198
|
+
:show-reset-button="true"
|
|
199
|
+
condition="u.f_release_date <= '{}'">
|
|
200
|
+
</datepicker>
|
|
201
|
+
</div>
|
|
202
|
+
<div class="form-group col-sm-2">
|
|
203
|
+
<label for="startDate" class="font_normal_body"><strong>回单日期:</strong></label>
|
|
204
|
+
<datepicker id="startDate1" placeholder="回单开始日期"
|
|
205
|
+
style="width: 60%!important;"
|
|
206
|
+
v-model="model.startDate2"
|
|
207
|
+
:value.sync="model.startDate2"
|
|
208
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
209
|
+
:show-reset-button="true"
|
|
210
|
+
condition="u.f_outdoors_receipt_time >= '{}'">
|
|
211
|
+
</datepicker>
|
|
212
|
+
</div>
|
|
213
|
+
<div class="form-group col-sm-2">
|
|
214
|
+
<label for="endDate" class="font_normal_body"><strong>回单日期:</strong></label>
|
|
215
|
+
<datepicker id="endDate1" placeholder="回单截止日期"
|
|
216
|
+
style="width: 60%!important;"
|
|
217
|
+
v-model="model.endDate2"
|
|
218
|
+
:value.sync="model.endDate2"
|
|
219
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
220
|
+
:show-reset-button="true"
|
|
221
|
+
condition="u.f_outdoors_receipt_time <= '{}'">
|
|
222
|
+
</datepicker>
|
|
223
|
+
</div>
|
|
224
|
+
<div class="form-group col-sm-2">
|
|
225
|
+
<label class="font_normal_body"><strong>派工类型:</strong></label>
|
|
226
|
+
<v-select
|
|
227
|
+
v-model="model.f_dispatching_type"
|
|
228
|
+
placeholder='工队/维修'
|
|
229
|
+
condition="u.f_dispatching_type = '{}'"
|
|
230
|
+
:value.sync="model.f_dispatching_type"
|
|
231
|
+
:options='$parent.$parent.dispatching'
|
|
232
|
+
class="select select_list"
|
|
233
|
+
:value-single="true"
|
|
234
|
+
close-on-select ></v-select>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="form-group col-sm-2">
|
|
237
|
+
<label class="font_normal_body"><strong>新旧报建:</strong></label>
|
|
238
|
+
<v-select
|
|
239
|
+
v-model="model.f_house_type"
|
|
240
|
+
placeholder='新旧报建'
|
|
241
|
+
condition="u.f_house_type {}"
|
|
242
|
+
:value.sync="model.f_house_type"
|
|
243
|
+
:options='$parent.$parent.houseType'
|
|
244
|
+
class="select select_list"
|
|
245
|
+
:value-single="true"
|
|
246
|
+
close-on-select >
|
|
247
|
+
</v-select>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="form-group col-sm-2">
|
|
250
|
+
<label class="font_normal_body"><strong>来  源:</strong></label>
|
|
251
|
+
<v-select
|
|
252
|
+
v-model="model.f_apply_source"
|
|
253
|
+
placeholder='来源'
|
|
254
|
+
condition="u.f_apply_source = '{}'"
|
|
255
|
+
:value.sync="model.f_apply_source"
|
|
256
|
+
:options='$parent.$parent.sources'
|
|
257
|
+
class="select select_list"
|
|
258
|
+
:value-single="true"
|
|
259
|
+
close-on-select >
|
|
260
|
+
</v-select>
|
|
261
|
+
</div>
|
|
262
|
+
<div class="form-group col-sm-2">
|
|
263
|
+
<label class="font_normal_body"><strong>安装单位:</strong></label>
|
|
264
|
+
<input type="text" style="width:60%" class="input_search" placeholder='安装单位' v-model="model.f_construction_name"
|
|
265
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
266
|
+
condition="u.f_construction_name like '%{}%'">
|
|
267
|
+
</div>
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
270
|
+
</criteria>
|
|
271
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
272
|
+
<template partial='head'>
|
|
273
|
+
<tr>
|
|
274
|
+
<th style="white-space: nowrap;">序号</th>
|
|
275
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
276
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
277
|
+
<th style="white-space: nowrap;">联系人</th>
|
|
278
|
+
<th style="white-space: nowrap;">合同编号</th>
|
|
279
|
+
<th style="white-space: nowrap;">电话</th>
|
|
280
|
+
<th style="white-space: nowrap;">设计人员</th>
|
|
281
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
282
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
283
|
+
<th style="white-space: nowrap;">用户类型</th>
|
|
284
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
285
|
+
<th style="white-space: nowrap;">用户分类</th>
|
|
286
|
+
<th style="white-space: nowrap;">地址</th>
|
|
287
|
+
<th style="white-space: nowrap;">来源</th>
|
|
288
|
+
<th style="white-space: nowrap;">流程状态</th>
|
|
289
|
+
<th style="white-space: nowrap;">报建日期</th>
|
|
290
|
+
</tr>
|
|
291
|
+
</template>
|
|
292
|
+
<template partial='body'>
|
|
293
|
+
<tr>
|
|
294
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
295
|
+
<nobr>{{$index+1}}</nobr>
|
|
296
|
+
</td>
|
|
297
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
298
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
299
|
+
</td>
|
|
300
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
301
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
302
|
+
</td>
|
|
303
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
304
|
+
<nobr>{{row.f_contact}}</nobr>
|
|
305
|
+
</td>
|
|
306
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
307
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
308
|
+
</td>
|
|
309
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
310
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
311
|
+
</td>
|
|
312
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
313
|
+
<nobr><font>{{row.f_designer_people}}</font></nobr>
|
|
314
|
+
</td>
|
|
315
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
316
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
317
|
+
</td>
|
|
318
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
319
|
+
<nobr>{{row.f_apply_nature}}</nobr>
|
|
320
|
+
</td>
|
|
321
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
322
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
323
|
+
</td>
|
|
324
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
325
|
+
<nobr>{{row.defname}}</nobr>
|
|
326
|
+
</td>
|
|
327
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
328
|
+
<nobr>{{row.f_user_classification}}</nobr>
|
|
329
|
+
</td>
|
|
330
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
331
|
+
<nobr>{{row.f_address}}</nobr>
|
|
332
|
+
</td>
|
|
333
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
334
|
+
<nobr>{{row.f_apply_source}}</nobr>
|
|
335
|
+
</td>
|
|
336
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
337
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
338
|
+
</td>
|
|
339
|
+
<td @dblclick="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
340
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
341
|
+
</td>
|
|
342
|
+
</tr>
|
|
343
|
+
</template>
|
|
344
|
+
</data-grid>
|
|
345
|
+
</criteria-paged>
|
|
346
|
+
</div>
|
|
347
|
+
</template>
|
|
348
|
+
<script>
|
|
349
|
+
import {PagedList} from 'vue-client'
|
|
350
|
+
import {isEmpty} from '../../Util'
|
|
351
|
+
export default {
|
|
352
|
+
title: '勘探详情',
|
|
353
|
+
props: ['showData'],
|
|
354
|
+
data () {
|
|
355
|
+
return {
|
|
356
|
+
model: new PagedList('rs/sql/supervisory', 20, {
|
|
357
|
+
data: {
|
|
358
|
+
f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
|
|
359
|
+
},
|
|
360
|
+
}),
|
|
361
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
362
|
+
defnames: isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
|
|
363
|
+
applyNatures: [{label: '全部', value: ''},{label: '工业', value: '工业'},{label: '商业', value: '商业'},{label: '散户', value: '散户'},{label: '小区', value: '小区'},{label: '分户挂表', value: '分户挂表'}], // 报建性质
|
|
364
|
+
criteriaShow: false,
|
|
365
|
+
sources:[{label: '微信公众号', value: '微信公众号'},{label: '线下发起', value: '线下发起'}],
|
|
366
|
+
filetype:[{label: '已上传图纸', value: 'is not null'}, {label: '未上传图纸', value: 'is null'}],
|
|
367
|
+
UserList:[{label: '全部', value: ''}, ...this.$appdata.getParam('用户分类')?this.$appdata.getParam('用户分类'):[]],
|
|
368
|
+
UserType:[{label: '全部', value: ''}, {label: '普通用户', value: '普通用户'}, {label: '煤改用户', value: '煤改用户'}],
|
|
369
|
+
designerPeoples: this.getDesigner(),
|
|
370
|
+
dispatching: [{label: '全部', value: ''}, {label: '施工工队', value: '施工工队'}, {label: '安检维修中心', value: '安检维修中心'}],
|
|
371
|
+
houseType:[{label: '全部', value: ''}, {label: '旧报建', value: ` = '旧报导入'`}, {label: '新报建', value: ' is null' }],
|
|
372
|
+
getfield: {
|
|
373
|
+
'f_apply_num': ' 工 程 编 号 ',
|
|
374
|
+
'f_charge_date': ' 收 费 日 期 ',
|
|
375
|
+
'f_user_name': ' 用 户 单 位 ',
|
|
376
|
+
'f_user_classification': ' 用户分类 ',
|
|
377
|
+
'f_user_type': ' 用户类型 ',
|
|
378
|
+
'f_address': ' 地 址 ',
|
|
379
|
+
'f_install_count': ' 安装户数 ',
|
|
380
|
+
'huoyan': ' 火眼 ',
|
|
381
|
+
'xiaohuoyan': ' 小火眼 ',
|
|
382
|
+
'bigualu': ' 壁挂炉 ',
|
|
383
|
+
'jiayongzao': ' 家用灶 ',
|
|
384
|
+
'reshuiqi': ' 热水器 ',
|
|
385
|
+
'cainuanlu': ' 采暖炉 ',
|
|
386
|
+
'chashuilu': ' 茶水炉 ',
|
|
387
|
+
'zhengche': ' 蒸车 ',
|
|
388
|
+
'zhengqifashengqi': ' 蒸汽发生器 ',
|
|
389
|
+
'zaoju': ' 灶具 ',
|
|
390
|
+
'yasuoji': ' 压缩机 ',
|
|
391
|
+
'mokuailu': ' 模块炉 ',
|
|
392
|
+
'danweikw': ' 锅炉单位(KW) ',
|
|
393
|
+
'danweimw': ' 锅炉单位(MW) ',
|
|
394
|
+
'dunwei': ' 锅炉吨位(T) ',
|
|
395
|
+
'baojingqi': ' 报警器 ',
|
|
396
|
+
"zibifa": ' 安全自闭阀 ',
|
|
397
|
+
'f_meter_types': ' 表 具 明 细 ',
|
|
398
|
+
'f_construct_operator': ' 现 场 项 目 负 责 人 ',
|
|
399
|
+
'f_contact': ' 联 系 人 ',
|
|
400
|
+
'f_phone': ' 电 话 ',
|
|
401
|
+
'f_outdoors_time': ' 户内出单日期 ',
|
|
402
|
+
'f_outdoors_receipt_time': ' 户内回单日期 ',
|
|
403
|
+
'f_courtyard_time': ' 庭院出单日期 ',
|
|
404
|
+
'f_courtyard_receipt_time': ' 庭院回单日期 ',
|
|
405
|
+
'f_construction_unit':' 施 工 单 位 ',
|
|
406
|
+
'f_contract_number': ' 合 同 编 号 ',
|
|
407
|
+
'f_apply_nature': ' 报 建 性 质 ',
|
|
408
|
+
'defname': ' 办 理 环 节 ',
|
|
409
|
+
'f_designer_people':' 设计人员 ',
|
|
410
|
+
'f_apply_source': ' 来源 ',
|
|
411
|
+
'f_apply_type': ' 报 建 类 型 ',
|
|
412
|
+
'f_sub_state': ' 流 程 状 态 ',
|
|
413
|
+
'f_apply_date': ' 报 建 日 期 ',
|
|
414
|
+
'f_house_type': ' 新 旧 报 建 ',
|
|
415
|
+
'f_check_operator': '检测单位',
|
|
416
|
+
'f_engineering_operator': '土建单位',
|
|
417
|
+
},
|
|
418
|
+
civil: {
|
|
419
|
+
'f_apply_num': '工程编号',
|
|
420
|
+
'f_charge_date': '收费日期',
|
|
421
|
+
'f_user_name': '用户单位',
|
|
422
|
+
'f_user_type': ' 用户类型 ',
|
|
423
|
+
'f_address': '地址',
|
|
424
|
+
'f_install_count': '安装户数',
|
|
425
|
+
'baojingqi': ' 报警器 ',
|
|
426
|
+
"zibifa": ' 安全自闭阀 ',
|
|
427
|
+
'f_meter_types': '表具明细',
|
|
428
|
+
'f_construct_operator': '现场项目负责人',
|
|
429
|
+
'f_contact': '联系人',
|
|
430
|
+
'f_phone': '电话',
|
|
431
|
+
'f_construction_unit':'施工单位',
|
|
432
|
+
'f_house_type': ' 新 旧 报 建 '
|
|
433
|
+
},
|
|
434
|
+
uncivil: {
|
|
435
|
+
'f_apply_num': '工程编号',
|
|
436
|
+
'f_charge_date': '收费日期',
|
|
437
|
+
'f_user_name': '用户单位',
|
|
438
|
+
'f_user_type': ' 用户类型 ',
|
|
439
|
+
'f_address': '地址',
|
|
440
|
+
'f_install_count': '安装户数',
|
|
441
|
+
'huoyan': '火眼',
|
|
442
|
+
'xiaohuoyan': '小火眼',
|
|
443
|
+
'bigualu': '壁挂炉',
|
|
444
|
+
'jiayongzao': '家用灶',
|
|
445
|
+
'reshuiqi': '热水器',
|
|
446
|
+
'cainuanlu': '采暖炉',
|
|
447
|
+
'chashuilu': '茶水炉',
|
|
448
|
+
'zhengche': '蒸车',
|
|
449
|
+
'zhengqifashengqi': '蒸汽发生器',
|
|
450
|
+
'zaoju': '灶具',
|
|
451
|
+
'yasuoji': '压缩机',
|
|
452
|
+
'mokuailu': '模块炉',
|
|
453
|
+
'danweikw': '锅炉单位(KW)',
|
|
454
|
+
'danweimw': '锅炉单位(MW)',
|
|
455
|
+
'dunwei': '锅炉吨位(T)',
|
|
456
|
+
'f_meter_types': '表具明细',
|
|
457
|
+
'f_construct_operator': '现场项目负责人',
|
|
458
|
+
'f_contact': '联系人',
|
|
459
|
+
'f_phone': '电话',
|
|
460
|
+
'f_outdoors_time': ' 户内出单日期 ',
|
|
461
|
+
'f_outdoors_receipt_time': ' 户内回单日期 ',
|
|
462
|
+
'f_courtyard_time': ' 庭院出单日期 ',
|
|
463
|
+
'f_courtyard_receipt_time': ' 庭院回单日期 ',
|
|
464
|
+
'f_construction_unit':'施工单位',
|
|
465
|
+
'f_house_type': ' 新 旧 报 建 '
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
ready () {
|
|
470
|
+
// 调用查询
|
|
471
|
+
// this.search()
|
|
472
|
+
},
|
|
473
|
+
events: {
|
|
474
|
+
},
|
|
475
|
+
methods: {
|
|
476
|
+
loadPage () {
|
|
477
|
+
this.$dispatch('loadPage')
|
|
478
|
+
},
|
|
479
|
+
searchCondition (args) {
|
|
480
|
+
args.condition = args.condition
|
|
481
|
+
if (args.condition.includes('民用报建')) {
|
|
482
|
+
args.condition = args.condition.replace('f_apply_type = \'民用报建\'', '(f_apply_type = \'民用报建\' or f_apply_type = \'分户挂表\')');
|
|
483
|
+
}
|
|
484
|
+
console.log("args.condition",args.condition)
|
|
485
|
+
this.model.search(args.condition, args.model)
|
|
486
|
+
},
|
|
487
|
+
// 查询
|
|
488
|
+
search () {
|
|
489
|
+
this.$dispatch('search')
|
|
490
|
+
},
|
|
491
|
+
check (val) {
|
|
492
|
+
this.$dispatch('apply', val)
|
|
493
|
+
},
|
|
494
|
+
async applyTypeChange () {
|
|
495
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
496
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
497
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
498
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
499
|
+
)
|
|
500
|
+
|
|
501
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
502
|
+
|
|
503
|
+
// this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
|
|
504
|
+
} else {
|
|
505
|
+
this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
|
|
506
|
+
// this.applyNatures = isEmpty(this.$appdata.getParam('报建性质')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('报建性质')] // 报建性质
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
async getDesigner() {
|
|
510
|
+
let data = {
|
|
511
|
+
source: 'this.getParentByType($organization$).getChildByName($设计人员$).getChildren()',
|
|
512
|
+
userid: this.$login.f.id
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
let res = await this.$resetpost(
|
|
516
|
+
'rs/search',
|
|
517
|
+
{data: data},
|
|
518
|
+
{resolveMsg: null, rejectMsg: '设计人员人员查询失败!!!'}
|
|
519
|
+
)
|
|
520
|
+
console.log("ces",res.data.map(item => {
|
|
521
|
+
return {
|
|
522
|
+
label: item.name,
|
|
523
|
+
value: item.name
|
|
524
|
+
}
|
|
525
|
+
}))
|
|
526
|
+
this.designerPeoples = res.data.map(item => {
|
|
527
|
+
return {
|
|
528
|
+
label: item.name,
|
|
529
|
+
value: item.name
|
|
530
|
+
}
|
|
531
|
+
})
|
|
532
|
+
},
|
|
533
|
+
clear () {
|
|
534
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
535
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
536
|
+
this.$refs.cp.$refs.cri.model.f_apply_type = []
|
|
537
|
+
})
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
computed: {
|
|
541
|
+
getCondition () {
|
|
542
|
+
return {
|
|
543
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
544
|
+
data: {
|
|
545
|
+
// orgid: this.$login.f.orgid
|
|
546
|
+
f_filiale: this.$login.f.f_fengongsi
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
getLoginDepartment(){
|
|
551
|
+
return this.$login.f.rolesnames.includes('市场部报装')
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
</script>
|
|
556
|
+
<style scoped>
|
|
557
|
+
</style>
|