apply-clients 3.5.6-13 → 3.5.6-14

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.
Files changed (52) hide show
  1. package/build/dev-server.js +3 -3
  2. package/package.json +1 -1
  3. package/src/components/android/Process/AppServiceControl.vue +1760 -1760
  4. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  5. package/src/components/product/Install/ContractCharge.vue +210 -210
  6. package/src/filiale/dingcheng/android/AppInstallationDetails.vue +477 -477
  7. package/src/filiale/dingcheng/pc/InstallationDetails.vue +607 -607
  8. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  9. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -512
  10. package/src/filiale/fugou/android/AppDevicesManagement.vue +516 -516
  11. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  12. package/src/filiale/fugou/android/AppZhihuanManagement.vue +242 -242
  13. package/src/filiale/fugou/pc/AddReplacement.vue +511 -511
  14. package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -554
  15. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -754
  16. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  17. package/src/filiale/fugou/pc/ServiceControl.vue +1741 -1741
  18. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  19. package/src/filiale/fugou/pc.js +19 -19
  20. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -187
  21. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  22. package/src/filiale/gongyi/pc.js +25 -25
  23. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  24. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -635
  25. package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -1842
  26. package/src/filiale/jinhuang/android.js +7 -7
  27. package/src/filiale/jinhuang/pc/ContractList.vue +222 -222
  28. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -511
  29. package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
  30. package/src/filiale/jinhuang/pc/SupervisoryList.vue +478 -478
  31. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -638
  32. package/src/filiale/jinhuang/pc.js +12 -12
  33. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -786
  34. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1387
  35. package/src/filiale/ruihua/pc/ServiceControl.vue +1973 -1973
  36. package/src/filiale/shexian/android/AppServiceControl.vue +1786 -1786
  37. package/src/filiale/shexian/android/AppSign.vue +152 -152
  38. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  39. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +222 -222
  40. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1144 -1144
  41. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1879
  42. package/src/filiale/yangchunboneng/android.js +21 -21
  43. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  44. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +10 -0
  45. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +400 -365
  46. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -141
  47. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +644 -617
  48. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -421
  49. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1060 -1060
  50. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
  51. package/src/filiale/yangchunboneng/pc.js +29 -29
  52. package/src/main.js +2 -2
@@ -1,478 +1,478 @@
1
- <template>
2
- <div class="col-sm-12">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-3">
8
- <label class="font_normal_body">客户名称:</label>
9
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
10
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
11
- </div>
12
- <div class="form-group col-sm-3">
13
- <label class="font_normal_body">组织机构:</label>
14
- <res-select
15
- restype='organization'
16
- :initresid='$parent.$parent.curorgid'·
17
- @res-select="$parent.$parent.getorg"
18
- is-mul="false"
19
- ></res-select>
20
- </div>
21
- <!-- <div class="form-group col-sm-3">-->
22
- <!-- <label class="font_normal_body">工程编号:</label>-->
23
- <!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
24
- <!-- v-on:keyup.enter="search"-->
25
- <!-- condition="f_apply_num = '{}'">-->
26
- <!-- </div>-->
27
- <div class="form-group col-sm-2 button-range">
28
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
- <export-excel :data="$parent.$parent.getCondition"
32
- :field="$parent.$parent.getfield"
33
- sqlurl="rs/logic/applyExportfile"
34
- sql-name="supervisory"
35
- template-name='报装信息导出'
36
- :choose-col="true"></export-excel>
37
- <div
38
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
40
- class="button_spacing"
41
- style="float: right">
42
- </div>
43
- </div>
44
- </div>
45
- <div class="row" v-show="$parent.$parent.criteriaShow">
46
- <!-- <div class="form-group col-sm-3">-->
47
- <!-- <label class="font_normal_body">客户名称:</label>-->
48
- <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
49
- <!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
50
- <!-- </div>-->
51
- <div class="form-group col-sm-3">
52
- <label class="font_normal_body">用户编号:</label>
53
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
54
- v-on:keyup.enter="$parent.$parent.search()"
55
- condition="f_userinfo_code like '%{}%'">
56
- </div>
57
- <div class="form-group col-sm-3">
58
- <label class="font_normal_body">工程编号:</label>
59
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
60
- v-on:keyup.enter="search"
61
- condition="f_apply_num like '%{}%'">
62
- </div>
63
- <div class="form-group col-sm-3">
64
- <label class="font_normal_body">合同金额:</label>
65
- <input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
66
- v-on:keyup.enter="$parent.$parent.search()"
67
- condition="f_contract_money like '%{}%'">
68
- </div>
69
- <div class="form-group col-sm-3">
70
- <label class="font_normal_body">联系电话:</label>
71
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
72
- v-on:keyup.enter="search"
73
- condition="f_phone like '%{}%'">
74
- </div>
75
- <div class="form-group col-sm-3">
76
- <label class="font_normal_body">合同编号:</label>
77
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
78
- v-on:keyup.enter="search"
79
- condition="f_contract_number = '{}'">
80
- </div>
81
- <div class="form-group col-sm-3">
82
- <label class="font_normal_body">报建类型:</label>
83
- <v-select
84
- v-model="model.f_apply_type"
85
- placeholder='报建类型'
86
- condition="f_apply_type = '{}'"
87
- :value.sync="model.f_apply_type"
88
- :options='$parent.$parent.applytype'
89
- class="select select_list"
90
- :value-single="true"
91
- @change="$parent.$parent.applyTypeChange()"
92
- close-on-select ></v-select>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label class="font_normal_body">办理环节:</label>
96
- <v-select
97
- v-model="model.defname"
98
- placeholder='办理环节'
99
- condition="defname = '{}'"
100
- :value.sync="model.defname"
101
- :options='$parent.$parent.defnames'
102
- class="select select_list"
103
- :value-single="true"
104
- close-on-select ></v-select>
105
- </div>
106
- <div class="form-group col-sm-3">
107
- <label class="font_normal_body">报建性质:</label>
108
- <v-select
109
- v-model="model.f_apply_nature"
110
- placeholder='报建性质'
111
- condition="f_apply_nature = '{}'"
112
- :value.sync="model.f_apply_nature"
113
- :options='$parent.$parent.applyNatures'
114
- class="select select_list"
115
- :value-single="true"
116
- close-on-select ></v-select>
117
- </div>
118
- <div class="form-group col-sm-3">
119
- <label class="font_normal_body">流程状态:</label>
120
- <v-select
121
- v-model="model.f_sub_state"
122
- placeholder='流程状态'
123
- condition="f_sub_state = '{}'"
124
- :value.sync="model.f_sub_state"
125
- :options='$parent.$parent.subStates'
126
- class="select select_list"
127
- :value-single="true"
128
- close-on-select ></v-select>
129
- </div>
130
- <div class="form-group col-sm-3">
131
- <label class="font_normal_body">用户地址:</label>
132
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
133
- v-on:keyup.enter="search"
134
- condition="f_address like '%{}%'">
135
- </div>
136
- <div class="form-group col-sm-3">
137
- <label for="startDate" class="font_normal_body">开始时间:</label>
138
- <datepicker id="startDate" placeholder="开始日期"
139
- style="width: 60%!important;"
140
- v-model="model.startDate"
141
- :value.sync="model.startDate"
142
- :format="'yyyy-MM-dd 00:00:00'"
143
- :show-reset-button="true"
144
- condition="f_apply_date >= '{}'">
145
- </datepicker>
146
- </div>
147
- <div class="form-group col-sm-3">
148
- <label for="endDate" class="font_normal_body">结束时间:</label>
149
- <datepicker id="endDate" placeholder="结束日期"
150
- style="width: 60%!important;"
151
- v-model="model.endDate"
152
- :value.sync="model.endDate"
153
- :format="'yyyy-MM-dd 23:59:59'"
154
- :show-reset-button="true"
155
- condition="f_apply_date <= '{}'">
156
- </datepicker>
157
- </div>
158
- <div class="form-group col-sm-3">
159
- <label class="font_normal_body">施工单位:</label>
160
- <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
161
- v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
162
- </div>
163
- <div class="form-group col-sm-3">
164
- <label class="font_normal_body">表&emsp;&emsp;号:</label>
165
- <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
166
- v-on:keyup.enter="$parent.$parent.search()"
167
- condition="meternumber like '%{}%'">
168
- </div>
169
- <div class="form-group col-sm-3">
170
- <label class="font_normal_body">领用人:</label>
171
- <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
172
- v-on:keyup.enter="$parent.$parent.search()"
173
- condition="lyr like '%{}%'">
174
- </div>
175
- <div class="form-group col-sm-3">
176
- <label class="font_normal_body">发货人:</label>
177
- <input type="text" style="width:60%" class="input_search" placeholder='发货人' v-model="model.fyr"
178
- v-on:keyup.enter="$parent.$parent.search()"
179
- condition="fyr like '%{}%'">
180
- </div>
181
- <div class="form-group col-sm-3">
182
- <label class="font_normal_body">发起人:</label>
183
- <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
184
- v-on:keyup.enter="$parent.$parent.search()"
185
- condition="f_operator like '%{}%'">
186
- </div>
187
- <div class="form-group col-sm-3">
188
- <label class="font_normal_body">领用状态:</label>
189
- <v-select
190
- v-model="model.frstate"
191
- placeholder='流程状态'
192
- condition="frstate = '{}'"
193
- :value.sync="model.frstate"
194
- :options='$parent.$parent.lyStates'
195
- class="select select_list"
196
- :value-single="true"
197
- close-on-select ></v-select>
198
- </div>
199
- <div class="form-group col-sm-3">
200
- <label for="startDate" class="font_normal_body">完工时间:</label>
201
- <datepicker id="startDate" placeholder="开始日期"
202
- style="width: 60%!important;"
203
- v-model="model.startDate1"
204
- :value.sync="model.startDate1"
205
- :format="'yyyy-MM-dd 00:00:00'"
206
- :show-reset-button="true"
207
- condition=" f_finish_date >= '{}'">
208
- </datepicker>
209
- </div>
210
- <div class="form-group col-sm-3">
211
- <label for="endDate" class="font_normal_body">完工时间:</label>
212
- <datepicker id="endDate" placeholder="结束日期"
213
- style="width: 60%!important;"
214
- v-model="model.endDate1"
215
- :value.sync="model.endDate1"
216
- :format="'yyyy-MM-dd 23:59:59'"
217
- :show-reset-button="true"
218
- condition=" f_finish_date <= '{}'">
219
- </datepicker>
220
- </div>
221
- <div class="form-group col-sm-3">
222
- <label for="bookstart" class="font_normal_body">开始时间:</label>
223
- <datepicker id="bookstart" placeholder="预约开始日期"
224
- style="width: 60%!important;"
225
- v-model="model.bookstart"
226
- :value.sync="model.bookstart"
227
- :format="'yyyy-MM-dd 00:00:00'"
228
- :show-reset-button="true"
229
- condition="f_order_date >= '{}'">
230
- </datepicker>
231
- </div>
232
- <div class="form-group col-sm-3">
233
- <label for="bookend" class="font_normal_body">结束时间:</label>
234
- <datepicker id="bookend" placeholder="预约结束日期"
235
- style="width: 60%!important;"
236
- v-model="model.bookend"
237
- :value.sync="model.bookend"
238
- :format="'yyyy-MM-dd 23:59:59'"
239
- :show-reset-button="true"
240
- condition="f_order_date <= '{}'">
241
- </datepicker>
242
- </div>
243
- <div class="form-group col-sm-3">
244
- <label class="font_normal_body">是否老居民首次开发:</label>
245
- <v-select
246
- v-model="model.f_first_user"
247
- placeholder='是否老居民首次开发'
248
- condition="f_first_user = '{}'"
249
- :value.sync="model.f_first_user"
250
- :options='$parent.$parent.isfist'
251
- class="select select_list"
252
- :value-single="true"
253
- close-on-select ></v-select>
254
- </div>
255
- </div>
256
- </div>
257
- </criteria>
258
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
259
- <template partial='head'>
260
- <tr>
261
- <th style="white-space: nowrap;">序号</th>
262
- <th style="white-space: nowrap;">工程编号</th>
263
- <th style="white-space: nowrap;">客户名称</th>
264
- <th style="white-space: nowrap;">合同编号</th>
265
- <th style="white-space: nowrap;">电话</th>
266
- <th style="white-space: nowrap;">地址</th>
267
- <th style="white-space: nowrap;">来源</th>
268
- <th style="white-space: nowrap;">报建类型</th>
269
- <th style="white-space: nowrap;">办理环节</th>
270
- <th style="white-space: nowrap;">流程状态</th>
271
- <th style="white-space: nowrap;">报建日期</th>
272
- <th style="white-space: nowrap;">完工日期</th>
273
- <th style="white-space: nowrap;">派单时间</th>
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
- </tr>
283
- </template>
284
- <template partial='body'>
285
- <tr>
286
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
287
- <nobr>{{$index+1}}</nobr>
288
- </td>
289
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
290
- <nobr>{{row.f_apply_num}}</nobr>
291
- </td>
292
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
293
- <nobr>{{row.f_user_name}}</nobr>
294
- </td>
295
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
296
- <nobr>{{row.f_contract_number}}</nobr>
297
- </td>
298
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
299
- <nobr>{{row.f_phone}}</nobr>
300
- </td>
301
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
302
- <nobr>{{row.f_address}}</nobr>
303
- </td>
304
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
305
- <nobr>{{row.f_apply_source}}</nobr>
306
- </td>
307
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
308
- <nobr>{{row.f_apply_type}}</nobr>
309
- </td>
310
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
311
- <nobr>{{row.defname}}</nobr>
312
- </td>
313
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
314
- <nobr>{{row.f_sub_state}}</nobr>
315
- </td>
316
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
317
- <nobr>{{row.f_apply_date}}</nobr>
318
- </td>
319
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
320
- <nobr>{{row.f_finish_date}}</nobr>
321
- </td>
322
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
323
- <nobr>{{row.ftime}}</nobr>
324
- </td>
325
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
326
- <nobr>{{row.f_install_project}}</nobr>
327
- </td>
328
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
329
- <nobr>{{row.f_construction_unit}}</nobr>
330
- </td>
331
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
332
- <nobr>{{row.f_construction_date}}</nobr>
333
- </td>
334
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
335
- <nobr>{{row.f_cumulative_payment_money}}</nobr>
336
- </td>
337
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
338
- <nobr>{{row.f_first_user}}</nobr>
339
- </td>
340
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
341
- <nobr>{{row.f_igniter_pipe}}</nobr>
342
- </td>
343
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
344
- <nobr>{{row.f_igniter_account}}</nobr>
345
- </td>
346
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
347
- <nobr>{{row.f_operator}}</nobr>
348
- </td>
349
- </tr>
350
- </template>
351
- </data-grid>
352
- </criteria-paged>
353
- </div>
354
- </template>
355
- <script>
356
- import {PagedList} from 'vue-client'
357
- import {isEmpty} from "../../../components/Util";
358
- export default {
359
- title: '勘探详情',
360
- props: ['showData'],
361
- data () {
362
- return {
363
- model: new PagedList('rs/sql/supervisory', 20, {
364
- data: {
365
- orgid: this.$login.f.orgid
366
- }
367
- }),
368
- orgid:'',
369
- curorgid: [this.$login.f.orgid],
370
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
371
- defnames: [{label: '全部', value: ''}], // 流程节点
372
- applyNatures: [{label: '全部', value: ''}], // 报建性质
373
- criteriaShow: false,
374
- subStates: [
375
- {label: '全部', value: ''},
376
- {label: '新增', value: '新增'},
377
- {label: '暂停', value: '暂停'},
378
- {label: '终止', value: '终止'},
379
- {label: '完工', value: '完工'},
380
- {label: '正在进行', value: '正在进行'}
381
- ], // 流程状态
382
- lyStates: [
383
- {label: '全部', value: ''},
384
- {label: '已领', value: '已领'},
385
- {label: '未领', value: '未领'}
386
-
387
- ],
388
- // 是否老居民首次开发
389
- isfist: [
390
- {label: '全部', value: ''},
391
- {label: '是', value: '是'},
392
- {label: '否', value: '否'}
393
-
394
- ],
395
- // 流程状态
396
- getfield: {
397
- 'f_apply_num': '工程编号',
398
- 'f_user_name': '客户名称',
399
- 'f_contract_number': '合同编号',
400
- 'f_phone': '电话',
401
- 'f_address': '地址',
402
- 'f_apply_type': '报建类型',
403
- 'f_apply_nature': '报建性质',
404
- 'f_cumulative_payment_money': '收费金额',
405
- 'defname': '办理环节',
406
- 'f_sub_state': '流程状态',
407
- 'f_apply_date': '报建日期',
408
- 'f_finish_date': '完工日期',
409
- 'f_apply_remarks': '备注',
410
- 'f_payment_remarks': '缴费备注',
411
- 'f_install_project': '安装项目',
412
- 'f_construction_unit': '施工单位',
413
- 'f_construction_date': '施工时间',
414
- 'f_first_user': '是否老居民首次开发',
415
- 'f_igniter_account': '开户比例',
416
- 'f_igniter_pipe': '是否立管'
417
- }
418
- }
419
- },
420
- ready () {
421
- // 调用查询
422
- this.search()
423
- },
424
- events: {
425
- },
426
- methods: {
427
- loadPage () {
428
- this.$dispatch('loadPage')
429
- },
430
- // 查询
431
- search () {
432
- this.$dispatch('search')
433
- },
434
- check (val) {
435
- this.$dispatch('apply', val)
436
- },
437
- async applyTypeChange () {
438
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
439
- let res = await this.$resetpost('rs/logic/getDefnameByType',
440
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
441
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
442
- )
443
-
444
- this.defnames = [{label: '全部', value: ''}, ...res.data]
445
-
446
- 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}性质`)]
447
- } else {
448
- this.defnames = [{label: '全部', value: ''}]
449
- this.applyNatures = [{label: '全部', value: ''}]
450
- }
451
- },
452
- clear () {
453
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
454
- this.$refs.cp.$refs.cri.model[key] = null
455
- })
456
- },
457
- getorg (val) {
458
- if (val.length <= 0) {
459
- return
460
- }
461
- this.model.params.data.orgid = val[0]
462
- this.orgid= val[0]
463
- }
464
- },
465
- computed: {
466
- getCondition () {
467
- return {
468
- condition: this.model.condition,
469
- data: {
470
- orgid: this.orgid
471
- }
472
- }
473
- }
474
- }
475
- }
476
- </script>
477
- <style scoped>
478
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">客户名称:</label>
9
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
10
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">组织机构:</label>
14
+ <res-select
15
+ restype='organization'
16
+ :initresid='$parent.$parent.curorgid'·
17
+ @res-select="$parent.$parent.getorg"
18
+ is-mul="false"
19
+ ></res-select>
20
+ </div>
21
+ <!-- <div class="form-group col-sm-3">-->
22
+ <!-- <label class="font_normal_body">工程编号:</label>-->
23
+ <!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
24
+ <!-- v-on:keyup.enter="search"-->
25
+ <!-- condition="f_apply_num = '{}'">-->
26
+ <!-- </div>-->
27
+ <div class="form-group col-sm-2 button-range">
28
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
+ <export-excel :data="$parent.$parent.getCondition"
32
+ :field="$parent.$parent.getfield"
33
+ sqlurl="rs/logic/applyExportfile"
34
+ sql-name="supervisory"
35
+ template-name='报装信息导出'
36
+ :choose-col="true"></export-excel>
37
+ <div
38
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
40
+ class="button_spacing"
41
+ style="float: right">
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="row" v-show="$parent.$parent.criteriaShow">
46
+ <!-- <div class="form-group col-sm-3">-->
47
+ <!-- <label class="font_normal_body">客户名称:</label>-->
48
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"-->
49
+ <!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
50
+ <!-- </div>-->
51
+ <div class="form-group col-sm-3">
52
+ <label class="font_normal_body">用户编号:</label>
53
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
54
+ v-on:keyup.enter="$parent.$parent.search()"
55
+ condition="f_userinfo_code like '%{}%'">
56
+ </div>
57
+ <div class="form-group col-sm-3">
58
+ <label class="font_normal_body">工程编号:</label>
59
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
60
+ v-on:keyup.enter="search"
61
+ condition="f_apply_num like '%{}%'">
62
+ </div>
63
+ <div class="form-group col-sm-3">
64
+ <label class="font_normal_body">合同金额:</label>
65
+ <input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
66
+ v-on:keyup.enter="$parent.$parent.search()"
67
+ condition="f_contract_money like '%{}%'">
68
+ </div>
69
+ <div class="form-group col-sm-3">
70
+ <label class="font_normal_body">联系电话:</label>
71
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
72
+ v-on:keyup.enter="search"
73
+ condition="f_phone like '%{}%'">
74
+ </div>
75
+ <div class="form-group col-sm-3">
76
+ <label class="font_normal_body">合同编号:</label>
77
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
78
+ v-on:keyup.enter="search"
79
+ condition="f_contract_number = '{}'">
80
+ </div>
81
+ <div class="form-group col-sm-3">
82
+ <label class="font_normal_body">报建类型:</label>
83
+ <v-select
84
+ v-model="model.f_apply_type"
85
+ placeholder='报建类型'
86
+ condition="f_apply_type = '{}'"
87
+ :value.sync="model.f_apply_type"
88
+ :options='$parent.$parent.applytype'
89
+ class="select select_list"
90
+ :value-single="true"
91
+ @change="$parent.$parent.applyTypeChange()"
92
+ close-on-select ></v-select>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label class="font_normal_body">办理环节:</label>
96
+ <v-select
97
+ v-model="model.defname"
98
+ placeholder='办理环节'
99
+ condition="defname = '{}'"
100
+ :value.sync="model.defname"
101
+ :options='$parent.$parent.defnames'
102
+ class="select select_list"
103
+ :value-single="true"
104
+ close-on-select ></v-select>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label class="font_normal_body">报建性质:</label>
108
+ <v-select
109
+ v-model="model.f_apply_nature"
110
+ placeholder='报建性质'
111
+ condition="f_apply_nature = '{}'"
112
+ :value.sync="model.f_apply_nature"
113
+ :options='$parent.$parent.applyNatures'
114
+ class="select select_list"
115
+ :value-single="true"
116
+ close-on-select ></v-select>
117
+ </div>
118
+ <div class="form-group col-sm-3">
119
+ <label class="font_normal_body">流程状态:</label>
120
+ <v-select
121
+ v-model="model.f_sub_state"
122
+ placeholder='流程状态'
123
+ condition="f_sub_state = '{}'"
124
+ :value.sync="model.f_sub_state"
125
+ :options='$parent.$parent.subStates'
126
+ class="select select_list"
127
+ :value-single="true"
128
+ close-on-select ></v-select>
129
+ </div>
130
+ <div class="form-group col-sm-3">
131
+ <label class="font_normal_body">用户地址:</label>
132
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
133
+ v-on:keyup.enter="search"
134
+ condition="f_address like '%{}%'">
135
+ </div>
136
+ <div class="form-group col-sm-3">
137
+ <label for="startDate" class="font_normal_body">开始时间:</label>
138
+ <datepicker id="startDate" placeholder="开始日期"
139
+ style="width: 60%!important;"
140
+ v-model="model.startDate"
141
+ :value.sync="model.startDate"
142
+ :format="'yyyy-MM-dd 00:00:00'"
143
+ :show-reset-button="true"
144
+ condition="f_apply_date >= '{}'">
145
+ </datepicker>
146
+ </div>
147
+ <div class="form-group col-sm-3">
148
+ <label for="endDate" class="font_normal_body">结束时间:</label>
149
+ <datepicker id="endDate" placeholder="结束日期"
150
+ style="width: 60%!important;"
151
+ v-model="model.endDate"
152
+ :value.sync="model.endDate"
153
+ :format="'yyyy-MM-dd 23:59:59'"
154
+ :show-reset-button="true"
155
+ condition="f_apply_date <= '{}'">
156
+ </datepicker>
157
+ </div>
158
+ <div class="form-group col-sm-3">
159
+ <label class="font_normal_body">施工单位:</label>
160
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
161
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
162
+ </div>
163
+ <div class="form-group col-sm-3">
164
+ <label class="font_normal_body">表&emsp;&emsp;号:</label>
165
+ <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
166
+ v-on:keyup.enter="$parent.$parent.search()"
167
+ condition="meternumber like '%{}%'">
168
+ </div>
169
+ <div class="form-group col-sm-3">
170
+ <label class="font_normal_body">领用人:</label>
171
+ <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
172
+ v-on:keyup.enter="$parent.$parent.search()"
173
+ condition="lyr like '%{}%'">
174
+ </div>
175
+ <div class="form-group col-sm-3">
176
+ <label class="font_normal_body">发货人:</label>
177
+ <input type="text" style="width:60%" class="input_search" placeholder='发货人' v-model="model.fyr"
178
+ v-on:keyup.enter="$parent.$parent.search()"
179
+ condition="fyr like '%{}%'">
180
+ </div>
181
+ <div class="form-group col-sm-3">
182
+ <label class="font_normal_body">发起人:</label>
183
+ <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
184
+ v-on:keyup.enter="$parent.$parent.search()"
185
+ condition="f_operator like '%{}%'">
186
+ </div>
187
+ <div class="form-group col-sm-3">
188
+ <label class="font_normal_body">领用状态:</label>
189
+ <v-select
190
+ v-model="model.frstate"
191
+ placeholder='流程状态'
192
+ condition="frstate = '{}'"
193
+ :value.sync="model.frstate"
194
+ :options='$parent.$parent.lyStates'
195
+ class="select select_list"
196
+ :value-single="true"
197
+ close-on-select ></v-select>
198
+ </div>
199
+ <div class="form-group col-sm-3">
200
+ <label for="startDate" class="font_normal_body">完工时间:</label>
201
+ <datepicker id="startDate" placeholder="开始日期"
202
+ style="width: 60%!important;"
203
+ v-model="model.startDate1"
204
+ :value.sync="model.startDate1"
205
+ :format="'yyyy-MM-dd 00:00:00'"
206
+ :show-reset-button="true"
207
+ condition=" f_finish_date >= '{}'">
208
+ </datepicker>
209
+ </div>
210
+ <div class="form-group col-sm-3">
211
+ <label for="endDate" class="font_normal_body">完工时间:</label>
212
+ <datepicker id="endDate" placeholder="结束日期"
213
+ style="width: 60%!important;"
214
+ v-model="model.endDate1"
215
+ :value.sync="model.endDate1"
216
+ :format="'yyyy-MM-dd 23:59:59'"
217
+ :show-reset-button="true"
218
+ condition=" f_finish_date <= '{}'">
219
+ </datepicker>
220
+ </div>
221
+ <div class="form-group col-sm-3">
222
+ <label for="bookstart" class="font_normal_body">开始时间:</label>
223
+ <datepicker id="bookstart" placeholder="预约开始日期"
224
+ style="width: 60%!important;"
225
+ v-model="model.bookstart"
226
+ :value.sync="model.bookstart"
227
+ :format="'yyyy-MM-dd 00:00:00'"
228
+ :show-reset-button="true"
229
+ condition="f_order_date >= '{}'">
230
+ </datepicker>
231
+ </div>
232
+ <div class="form-group col-sm-3">
233
+ <label for="bookend" class="font_normal_body">结束时间:</label>
234
+ <datepicker id="bookend" placeholder="预约结束日期"
235
+ style="width: 60%!important;"
236
+ v-model="model.bookend"
237
+ :value.sync="model.bookend"
238
+ :format="'yyyy-MM-dd 23:59:59'"
239
+ :show-reset-button="true"
240
+ condition="f_order_date <= '{}'">
241
+ </datepicker>
242
+ </div>
243
+ <div class="form-group col-sm-3">
244
+ <label class="font_normal_body">是否老居民首次开发:</label>
245
+ <v-select
246
+ v-model="model.f_first_user"
247
+ placeholder='是否老居民首次开发'
248
+ condition="f_first_user = '{}'"
249
+ :value.sync="model.f_first_user"
250
+ :options='$parent.$parent.isfist'
251
+ class="select select_list"
252
+ :value-single="true"
253
+ close-on-select ></v-select>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </criteria>
258
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
259
+ <template partial='head'>
260
+ <tr>
261
+ <th style="white-space: nowrap;">序号</th>
262
+ <th style="white-space: nowrap;">工程编号</th>
263
+ <th style="white-space: nowrap;">客户名称</th>
264
+ <th style="white-space: nowrap;">合同编号</th>
265
+ <th style="white-space: nowrap;">电话</th>
266
+ <th style="white-space: nowrap;">地址</th>
267
+ <th style="white-space: nowrap;">来源</th>
268
+ <th style="white-space: nowrap;">报建类型</th>
269
+ <th style="white-space: nowrap;">办理环节</th>
270
+ <th style="white-space: nowrap;">流程状态</th>
271
+ <th style="white-space: nowrap;">报建日期</th>
272
+ <th style="white-space: nowrap;">完工日期</th>
273
+ <th style="white-space: nowrap;">派单时间</th>
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
+ </tr>
283
+ </template>
284
+ <template partial='body'>
285
+ <tr>
286
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
287
+ <nobr>{{$index+1}}</nobr>
288
+ </td>
289
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
290
+ <nobr>{{row.f_apply_num}}</nobr>
291
+ </td>
292
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
293
+ <nobr>{{row.f_user_name}}</nobr>
294
+ </td>
295
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
296
+ <nobr>{{row.f_contract_number}}</nobr>
297
+ </td>
298
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
299
+ <nobr>{{row.f_phone}}</nobr>
300
+ </td>
301
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
302
+ <nobr>{{row.f_address}}</nobr>
303
+ </td>
304
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
305
+ <nobr>{{row.f_apply_source}}</nobr>
306
+ </td>
307
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
308
+ <nobr>{{row.f_apply_type}}</nobr>
309
+ </td>
310
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
311
+ <nobr>{{row.defname}}</nobr>
312
+ </td>
313
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
314
+ <nobr>{{row.f_sub_state}}</nobr>
315
+ </td>
316
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
317
+ <nobr>{{row.f_apply_date}}</nobr>
318
+ </td>
319
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
320
+ <nobr>{{row.f_finish_date}}</nobr>
321
+ </td>
322
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
323
+ <nobr>{{row.ftime}}</nobr>
324
+ </td>
325
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
326
+ <nobr>{{row.f_install_project}}</nobr>
327
+ </td>
328
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
329
+ <nobr>{{row.f_construction_unit}}</nobr>
330
+ </td>
331
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
332
+ <nobr>{{row.f_construction_date}}</nobr>
333
+ </td>
334
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
335
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
336
+ </td>
337
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
338
+ <nobr>{{row.f_first_user}}</nobr>
339
+ </td>
340
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
341
+ <nobr>{{row.f_igniter_pipe}}</nobr>
342
+ </td>
343
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
344
+ <nobr>{{row.f_igniter_account}}</nobr>
345
+ </td>
346
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
347
+ <nobr>{{row.f_operator}}</nobr>
348
+ </td>
349
+ </tr>
350
+ </template>
351
+ </data-grid>
352
+ </criteria-paged>
353
+ </div>
354
+ </template>
355
+ <script>
356
+ import {PagedList} from 'vue-client'
357
+ import {isEmpty} from "../../../components/Util";
358
+ export default {
359
+ title: '勘探详情',
360
+ props: ['showData'],
361
+ data () {
362
+ return {
363
+ model: new PagedList('rs/sql/supervisory', 20, {
364
+ data: {
365
+ orgid: this.$login.f.orgid
366
+ }
367
+ }),
368
+ orgid:'',
369
+ curorgid: [this.$login.f.orgid],
370
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
371
+ defnames: [{label: '全部', value: ''}], // 流程节点
372
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
373
+ criteriaShow: false,
374
+ subStates: [
375
+ {label: '全部', value: ''},
376
+ {label: '新增', value: '新增'},
377
+ {label: '暂停', value: '暂停'},
378
+ {label: '终止', value: '终止'},
379
+ {label: '完工', value: '完工'},
380
+ {label: '正在进行', value: '正在进行'}
381
+ ], // 流程状态
382
+ lyStates: [
383
+ {label: '全部', value: ''},
384
+ {label: '已领', value: '已领'},
385
+ {label: '未领', value: '未领'}
386
+
387
+ ],
388
+ // 是否老居民首次开发
389
+ isfist: [
390
+ {label: '全部', value: ''},
391
+ {label: '是', value: '是'},
392
+ {label: '否', value: '否'}
393
+
394
+ ],
395
+ // 流程状态
396
+ getfield: {
397
+ 'f_apply_num': '工程编号',
398
+ 'f_user_name': '客户名称',
399
+ 'f_contract_number': '合同编号',
400
+ 'f_phone': '电话',
401
+ 'f_address': '地址',
402
+ 'f_apply_type': '报建类型',
403
+ 'f_apply_nature': '报建性质',
404
+ 'f_cumulative_payment_money': '收费金额',
405
+ 'defname': '办理环节',
406
+ 'f_sub_state': '流程状态',
407
+ 'f_apply_date': '报建日期',
408
+ 'f_finish_date': '完工日期',
409
+ 'f_apply_remarks': '备注',
410
+ 'f_payment_remarks': '缴费备注',
411
+ 'f_install_project': '安装项目',
412
+ 'f_construction_unit': '施工单位',
413
+ 'f_construction_date': '施工时间',
414
+ 'f_first_user': '是否老居民首次开发',
415
+ 'f_igniter_account': '开户比例',
416
+ 'f_igniter_pipe': '是否立管'
417
+ }
418
+ }
419
+ },
420
+ ready () {
421
+ // 调用查询
422
+ this.search()
423
+ },
424
+ events: {
425
+ },
426
+ methods: {
427
+ loadPage () {
428
+ this.$dispatch('loadPage')
429
+ },
430
+ // 查询
431
+ search () {
432
+ this.$dispatch('search')
433
+ },
434
+ check (val) {
435
+ this.$dispatch('apply', val)
436
+ },
437
+ async applyTypeChange () {
438
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
439
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
440
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
441
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
442
+ )
443
+
444
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
445
+
446
+ 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}性质`)]
447
+ } else {
448
+ this.defnames = [{label: '全部', value: ''}]
449
+ this.applyNatures = [{label: '全部', value: ''}]
450
+ }
451
+ },
452
+ clear () {
453
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
454
+ this.$refs.cp.$refs.cri.model[key] = null
455
+ })
456
+ },
457
+ getorg (val) {
458
+ if (val.length <= 0) {
459
+ return
460
+ }
461
+ this.model.params.data.orgid = val[0]
462
+ this.orgid= val[0]
463
+ }
464
+ },
465
+ computed: {
466
+ getCondition () {
467
+ return {
468
+ condition: this.model.condition,
469
+ data: {
470
+ orgid: this.orgid
471
+ }
472
+ }
473
+ }
474
+ }
475
+ }
476
+ </script>
477
+ <style scoped>
478
+ </style>