apply-clients 3.5.6-1 → 3.5.6-2

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 (43) hide show
  1. package/build/dev-server.js +5 -5
  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/fugou/android/AppAddMaterialScience.vue +444 -444
  7. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -512
  8. package/src/filiale/fugou/android/AppZhihuanManagement.vue +242 -242
  9. package/src/filiale/fugou/pc/AddReplacement.vue +511 -511
  10. package/src/filiale/fugou/pc/ApplyChargeList.vue +554 -554
  11. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -754
  12. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -646
  13. package/src/filiale/fugou/pc/ServiceControl.vue +1732 -1732
  14. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  15. package/src/filiale/fugou/pc.js +19 -19
  16. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -187
  17. package/src/filiale/gongyi/pc.js +25 -25
  18. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  19. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -635
  20. package/src/filiale/jinhuang/android/AppServiceControl.vue +1842 -1842
  21. package/src/filiale/jinhuang/android.js +7 -7
  22. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +511 -511
  23. package/src/filiale/jinhuang/pc/ServiceControl.vue +2016 -2016
  24. package/src/filiale/jinhuang/pc/SupervisoryList.vue +459 -459
  25. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -638
  26. package/src/filiale/jinhuang/pc.js +12 -12
  27. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -786
  28. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1387
  29. package/src/filiale/ruihua/pc/ServiceControl.vue +1973 -1973
  30. package/src/filiale/shexian/android/AppServiceControl.vue +1769 -1763
  31. package/src/filiale/shexian/android/AppSign.vue +152 -152
  32. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  33. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +222 -222
  34. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1144 -1144
  35. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1879 -1879
  36. package/src/filiale/yangchunboneng/android.js +21 -21
  37. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  38. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -612
  39. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -141
  40. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +421 -421
  41. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
  42. package/src/filiale/yangchunboneng/pc.js +29 -29
  43. package/src/main.js +3 -3
@@ -1,459 +1,459 @@
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>
244
- </div>
245
- </criteria>
246
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
247
- <template partial='head'>
248
- <tr>
249
- <th style="white-space: nowrap;">序号</th>
250
- <th style="white-space: nowrap;">工程编号</th>
251
- <th style="white-space: nowrap;">客户名称</th>
252
- <th style="white-space: nowrap;">合同编号</th>
253
- <th style="white-space: nowrap;">电话</th>
254
- <th style="white-space: nowrap;">地址</th>
255
- <th style="white-space: nowrap;">来源</th>
256
- <th style="white-space: nowrap;">报建类型</th>
257
- <th style="white-space: nowrap;">办理环节</th>
258
- <th style="white-space: nowrap;">流程状态</th>
259
- <th style="white-space: nowrap;">报建日期</th>
260
- <th style="white-space: nowrap;">完工日期</th>
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
- </tr>
271
- </template>
272
- <template partial='body'>
273
- <tr>
274
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
275
- <nobr>{{$index+1}}</nobr>
276
- </td>
277
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
278
- <nobr>{{row.f_apply_num}}</nobr>
279
- </td>
280
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
281
- <nobr>{{row.f_user_name}}</nobr>
282
- </td>
283
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
284
- <nobr>{{row.f_contract_number}}</nobr>
285
- </td>
286
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
287
- <nobr>{{row.f_phone}}</nobr>
288
- </td>
289
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
290
- <nobr>{{row.f_address}}</nobr>
291
- </td>
292
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
293
- <nobr>{{row.f_apply_source}}</nobr>
294
- </td>
295
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
296
- <nobr>{{row.f_apply_type}}</nobr>
297
- </td>
298
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
299
- <nobr>{{row.defname}}</nobr>
300
- </td>
301
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
302
- <nobr>{{row.f_sub_state}}</nobr>
303
- </td>
304
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
305
- <nobr>{{row.f_apply_date}}</nobr>
306
- </td>
307
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
308
- <nobr>{{row.f_finish_date}}</nobr>
309
- </td>
310
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
311
- <nobr>{{row.ftime}}</nobr>
312
- </td>
313
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
314
- <nobr>{{row.f_install_project}}</nobr>
315
- </td>
316
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
317
- <nobr>{{row.f_construction_unit}}</nobr>
318
- </td>
319
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
320
- <nobr>{{row.f_construction_date}}</nobr>
321
- </td>
322
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
323
- <nobr>{{row.f_cumulative_payment_money}}</nobr>
324
- </td>
325
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
326
- <nobr>{{row.f_first_user}}</nobr>
327
- </td>
328
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
329
- <nobr>{{row.f_igniter_pipe}}</nobr>
330
- </td>
331
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
332
- <nobr>{{row.f_igniter_account}}</nobr>
333
- </td>
334
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
335
- <nobr>{{row.f_operator}}</nobr>
336
- </td>
337
- </tr>
338
- </template>
339
- </data-grid>
340
- </criteria-paged>
341
- </div>
342
- </template>
343
- <script>
344
- import {PagedList} from 'vue-client'
345
- import {isEmpty} from "../../../components/Util";
346
- export default {
347
- title: '勘探详情',
348
- props: ['showData'],
349
- data () {
350
- return {
351
- model: new PagedList('rs/sql/supervisory', 20, {
352
- data: {
353
- orgid: this.$login.f.orgid
354
- }
355
- }),
356
- orgid:'',
357
- curorgid: [this.$login.f.orgid],
358
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
359
- defnames: [{label: '全部', value: ''}], // 流程节点
360
- applyNatures: [{label: '全部', value: ''}], // 报建性质
361
- criteriaShow: false,
362
- subStates: [
363
- {label: '全部', value: ''},
364
- {label: '新增', value: '新增'},
365
- {label: '暂停', value: '暂停'},
366
- {label: '终止', value: '终止'},
367
- {label: '完工', value: '完工'},
368
- {label: '正在进行', value: '正在进行'}
369
- ], // 流程状态
370
- lyStates: [
371
- {label: '全部', value: ''},
372
- {label: '已领', value: '已领'},
373
- {label: '未领', value: '未领'}
374
-
375
- ],
376
- // 流程状态
377
- getfield: {
378
- 'f_apply_num': '工程编号',
379
- 'f_user_name': '客户名称',
380
- 'f_contract_number': '合同编号',
381
- 'f_phone': '电话',
382
- 'f_address': '地址',
383
- 'f_apply_type': '报建类型',
384
- 'f_apply_nature': '报建性质',
385
- 'f_cumulative_payment_money': '收费金额',
386
- 'defname': '办理环节',
387
- 'f_sub_state': '流程状态',
388
- 'f_apply_date': '报建日期',
389
- 'f_finish_date': '完工日期',
390
- 'f_apply_remarks': '备注',
391
- 'f_payment_remarks': '缴费备注',
392
- 'f_install_project': '安装项目',
393
- 'f_construction_unit': '施工单位',
394
- 'f_construction_date': '施工时间',
395
- 'f_first_user': '是否老居民首次开发',
396
- 'f_igniter_account': '开户比例',
397
- 'f_igniter_pipe': '是否立管'
398
- }
399
- }
400
- },
401
- ready () {
402
- // 调用查询
403
- this.search()
404
- },
405
- events: {
406
- },
407
- methods: {
408
- loadPage () {
409
- this.$dispatch('loadPage')
410
- },
411
- // 查询
412
- search () {
413
- this.$dispatch('search')
414
- },
415
- check (val) {
416
- this.$dispatch('apply', val)
417
- },
418
- async applyTypeChange () {
419
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
420
- let res = await this.$resetpost('rs/logic/getDefnameByType',
421
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
422
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
423
- )
424
-
425
- this.defnames = [{label: '全部', value: ''}, ...res.data]
426
-
427
- 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}性质`)]
428
- } else {
429
- this.defnames = [{label: '全部', value: ''}]
430
- this.applyNatures = [{label: '全部', value: ''}]
431
- }
432
- },
433
- clear () {
434
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
435
- this.$refs.cp.$refs.cri.model[key] = null
436
- })
437
- },
438
- getorg (val) {
439
- if (val.length <= 0) {
440
- return
441
- }
442
- this.model.params.data.orgid = val[0]
443
- this.orgid= val[0]
444
- }
445
- },
446
- computed: {
447
- getCondition () {
448
- return {
449
- condition: this.model.condition,
450
- data: {
451
- orgid: this.orgid
452
- }
453
- }
454
- }
455
- }
456
- }
457
- </script>
458
- <style scoped>
459
- </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>
244
+ </div>
245
+ </criteria>
246
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
247
+ <template partial='head'>
248
+ <tr>
249
+ <th style="white-space: nowrap;">序号</th>
250
+ <th style="white-space: nowrap;">工程编号</th>
251
+ <th style="white-space: nowrap;">客户名称</th>
252
+ <th style="white-space: nowrap;">合同编号</th>
253
+ <th style="white-space: nowrap;">电话</th>
254
+ <th style="white-space: nowrap;">地址</th>
255
+ <th style="white-space: nowrap;">来源</th>
256
+ <th style="white-space: nowrap;">报建类型</th>
257
+ <th style="white-space: nowrap;">办理环节</th>
258
+ <th style="white-space: nowrap;">流程状态</th>
259
+ <th style="white-space: nowrap;">报建日期</th>
260
+ <th style="white-space: nowrap;">完工日期</th>
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
+ </tr>
271
+ </template>
272
+ <template partial='body'>
273
+ <tr>
274
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
275
+ <nobr>{{$index+1}}</nobr>
276
+ </td>
277
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
278
+ <nobr>{{row.f_apply_num}}</nobr>
279
+ </td>
280
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
281
+ <nobr>{{row.f_user_name}}</nobr>
282
+ </td>
283
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
284
+ <nobr>{{row.f_contract_number}}</nobr>
285
+ </td>
286
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
287
+ <nobr>{{row.f_phone}}</nobr>
288
+ </td>
289
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
290
+ <nobr>{{row.f_address}}</nobr>
291
+ </td>
292
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
293
+ <nobr>{{row.f_apply_source}}</nobr>
294
+ </td>
295
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
296
+ <nobr>{{row.f_apply_type}}</nobr>
297
+ </td>
298
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
299
+ <nobr>{{row.defname}}</nobr>
300
+ </td>
301
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
302
+ <nobr>{{row.f_sub_state}}</nobr>
303
+ </td>
304
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
305
+ <nobr>{{row.f_apply_date}}</nobr>
306
+ </td>
307
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
308
+ <nobr>{{row.f_finish_date}}</nobr>
309
+ </td>
310
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
311
+ <nobr>{{row.ftime}}</nobr>
312
+ </td>
313
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
314
+ <nobr>{{row.f_install_project}}</nobr>
315
+ </td>
316
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
317
+ <nobr>{{row.f_construction_unit}}</nobr>
318
+ </td>
319
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
320
+ <nobr>{{row.f_construction_date}}</nobr>
321
+ </td>
322
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
323
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
324
+ </td>
325
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
326
+ <nobr>{{row.f_first_user}}</nobr>
327
+ </td>
328
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
329
+ <nobr>{{row.f_igniter_pipe}}</nobr>
330
+ </td>
331
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
332
+ <nobr>{{row.f_igniter_account}}</nobr>
333
+ </td>
334
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
335
+ <nobr>{{row.f_operator}}</nobr>
336
+ </td>
337
+ </tr>
338
+ </template>
339
+ </data-grid>
340
+ </criteria-paged>
341
+ </div>
342
+ </template>
343
+ <script>
344
+ import {PagedList} from 'vue-client'
345
+ import {isEmpty} from "../../../components/Util";
346
+ export default {
347
+ title: '勘探详情',
348
+ props: ['showData'],
349
+ data () {
350
+ return {
351
+ model: new PagedList('rs/sql/supervisory', 20, {
352
+ data: {
353
+ orgid: this.$login.f.orgid
354
+ }
355
+ }),
356
+ orgid:'',
357
+ curorgid: [this.$login.f.orgid],
358
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
359
+ defnames: [{label: '全部', value: ''}], // 流程节点
360
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
361
+ criteriaShow: false,
362
+ subStates: [
363
+ {label: '全部', value: ''},
364
+ {label: '新增', value: '新增'},
365
+ {label: '暂停', value: '暂停'},
366
+ {label: '终止', value: '终止'},
367
+ {label: '完工', value: '完工'},
368
+ {label: '正在进行', value: '正在进行'}
369
+ ], // 流程状态
370
+ lyStates: [
371
+ {label: '全部', value: ''},
372
+ {label: '已领', value: '已领'},
373
+ {label: '未领', value: '未领'}
374
+
375
+ ],
376
+ // 流程状态
377
+ getfield: {
378
+ 'f_apply_num': '工程编号',
379
+ 'f_user_name': '客户名称',
380
+ 'f_contract_number': '合同编号',
381
+ 'f_phone': '电话',
382
+ 'f_address': '地址',
383
+ 'f_apply_type': '报建类型',
384
+ 'f_apply_nature': '报建性质',
385
+ 'f_cumulative_payment_money': '收费金额',
386
+ 'defname': '办理环节',
387
+ 'f_sub_state': '流程状态',
388
+ 'f_apply_date': '报建日期',
389
+ 'f_finish_date': '完工日期',
390
+ 'f_apply_remarks': '备注',
391
+ 'f_payment_remarks': '缴费备注',
392
+ 'f_install_project': '安装项目',
393
+ 'f_construction_unit': '施工单位',
394
+ 'f_construction_date': '施工时间',
395
+ 'f_first_user': '是否老居民首次开发',
396
+ 'f_igniter_account': '开户比例',
397
+ 'f_igniter_pipe': '是否立管'
398
+ }
399
+ }
400
+ },
401
+ ready () {
402
+ // 调用查询
403
+ this.search()
404
+ },
405
+ events: {
406
+ },
407
+ methods: {
408
+ loadPage () {
409
+ this.$dispatch('loadPage')
410
+ },
411
+ // 查询
412
+ search () {
413
+ this.$dispatch('search')
414
+ },
415
+ check (val) {
416
+ this.$dispatch('apply', val)
417
+ },
418
+ async applyTypeChange () {
419
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
420
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
421
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
422
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
423
+ )
424
+
425
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
426
+
427
+ 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}性质`)]
428
+ } else {
429
+ this.defnames = [{label: '全部', value: ''}]
430
+ this.applyNatures = [{label: '全部', value: ''}]
431
+ }
432
+ },
433
+ clear () {
434
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
435
+ this.$refs.cp.$refs.cri.model[key] = null
436
+ })
437
+ },
438
+ getorg (val) {
439
+ if (val.length <= 0) {
440
+ return
441
+ }
442
+ this.model.params.data.orgid = val[0]
443
+ this.orgid= val[0]
444
+ }
445
+ },
446
+ computed: {
447
+ getCondition () {
448
+ return {
449
+ condition: this.model.condition,
450
+ data: {
451
+ orgid: this.orgid
452
+ }
453
+ }
454
+ }
455
+ }
456
+ }
457
+ </script>
458
+ <style scoped>
459
+ </style>