apply-clients 3.5.5-6 → 3.5.5-7

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 (63) hide show
  1. package/build/dev-server.js +9 -5
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  9. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  10. package/src/components/product/Process/Processes/contractModel.vue +454 -458
  11. package/src/components/product/ServiceView.vue +1028 -1028
  12. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  13. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  14. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  15. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  16. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  17. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1836
  18. package/src/filiale/fugou/android/printCharge.vue +162 -162
  19. package/src/filiale/fugou/android.js +16 -16
  20. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  21. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  22. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  23. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  24. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  25. package/src/filiale/fugou/pc.js +16 -17
  26. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  27. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  28. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  29. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  30. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  31. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  32. package/src/filiale/gongyi/android.js +18 -18
  33. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  34. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  35. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  36. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  37. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  38. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  39. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  40. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  41. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  42. package/src/filiale/gongyi/pc.js +24 -24
  43. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  44. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  45. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  46. package/src/filiale/qianneng/android.js +15 -15
  47. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  48. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  49. package/src/filiale/qianneng/pc.js +29 -29
  50. package/src/filiale/ruihua/pc/ServiceControl.vue +1966 -1966
  51. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  52. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  53. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1703
  54. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  55. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  56. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  57. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  58. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  59. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1053
  60. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  61. package/src/main.js +3 -3
  62. package/~/chatbot/main.py +57 -0
  63. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +0 -881
@@ -1,452 +1,452 @@
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
- </tr>
270
- </template>
271
- <template partial='body'>
272
- <tr>
273
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
274
- <nobr>{{$index+1}}</nobr>
275
- </td>
276
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
277
- <nobr>{{row.f_apply_num}}</nobr>
278
- </td>
279
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
280
- <nobr>{{row.f_user_name}}</nobr>
281
- </td>
282
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
283
- <nobr>{{row.f_contract_number}}</nobr>
284
- </td>
285
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
286
- <nobr>{{row.f_phone}}</nobr>
287
- </td>
288
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
289
- <nobr>{{row.f_address}}</nobr>
290
- </td>
291
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
292
- <nobr>{{row.f_apply_source}}</nobr>
293
- </td>
294
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
295
- <nobr>{{row.f_apply_type}}</nobr>
296
- </td>
297
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
298
- <nobr>{{row.defname}}</nobr>
299
- </td>
300
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
301
- <nobr>{{row.f_sub_state}}</nobr>
302
- </td>
303
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
304
- <nobr>{{row.f_apply_date}}</nobr>
305
- </td>
306
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
307
- <nobr>{{row.f_finish_date}}</nobr>
308
- </td>
309
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
310
- <nobr>{{row.ftime}}</nobr>
311
- </td>
312
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
313
- <nobr>{{row.f_install_project}}</nobr>
314
- </td>
315
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
316
- <nobr>{{row.f_construction_unit}}</nobr>
317
- </td>
318
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
319
- <nobr>{{row.f_construction_date}}</nobr>
320
- </td>
321
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
322
- <nobr>{{row.f_cumulative_payment_money}}</nobr>
323
- </td>
324
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
325
- <nobr>{{row.lyr}}</nobr>
326
- </td>
327
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
328
- <nobr>{{row.fyr}}</nobr>
329
- </td>
330
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
331
- <nobr>{{row.f_operator}}</nobr>
332
- </td>
333
- </tr>
334
- </template>
335
- </data-grid>
336
- </criteria-paged>
337
- </div>
338
- </template>
339
- <script>
340
- import {PagedList} from 'vue-client'
341
- import {isEmpty} from '../../Util'
342
- export default {
343
- title: '勘探详情',
344
- props: ['showData'],
345
- data () {
346
- return {
347
- model: new PagedList('rs/sql/supervisory', 20, {
348
- data: {
349
- orgid: this.$login.f.orgid
350
- }
351
- }),
352
- orgid:'',
353
- curorgid: [this.$login.f.orgid],
354
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
355
- defnames: [{label: '全部', value: ''}], // 流程节点
356
- applyNatures: [{label: '全部', value: ''}], // 报建性质
357
- criteriaShow: false,
358
- subStates: [
359
- {label: '全部', value: ''},
360
- {label: '新增', value: '新增'},
361
- {label: '暂停', value: '暂停'},
362
- {label: '终止', value: '终止'},
363
- {label: '完工', value: '完工'},
364
- {label: '正在进行', value: '正在进行'}
365
- ], // 流程状态
366
- lyStates: [
367
- {label: '全部', value: ''},
368
- {label: '已领', value: '已领'},
369
- {label: '未领', value: '未领'}
370
-
371
- ],
372
- // 流程状态
373
- getfield: {
374
- 'f_apply_num': '工程编号',
375
- 'f_user_name': '客户名称',
376
- 'f_contract_number': '合同编号',
377
- 'f_phone': '电话',
378
- 'f_address': '地址',
379
- 'f_apply_type': '报建类型',
380
- 'f_apply_nature': '报建性质',
381
- 'f_cumulative_payment_money': '收费金额',
382
- 'defname': '办理环节',
383
- 'f_sub_state': '流程状态',
384
- 'f_apply_date': '报建日期',
385
- 'f_finish_date': '完工日期',
386
- 'f_apply_remarks': '备注',
387
- 'f_payment_remarks': '缴费备注',
388
- 'f_install_project': '安装项目',
389
- 'f_construction_unit': '施工单位',
390
- 'f_construction_date': '施工时间'
391
- }
392
- }
393
- },
394
- ready () {
395
- // 调用查询
396
- this.search()
397
- },
398
- events: {
399
- },
400
- methods: {
401
- loadPage () {
402
- this.$dispatch('loadPage')
403
- },
404
- // 查询
405
- search () {
406
- this.$dispatch('search')
407
- },
408
- check (val) {
409
- this.$dispatch('apply', val)
410
- },
411
- async applyTypeChange () {
412
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
413
- let res = await this.$resetpost('rs/logic/getDefnameByType',
414
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
415
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
416
- )
417
-
418
- this.defnames = [{label: '全部', value: ''}, ...res.data]
419
-
420
- 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}性质`)]
421
- } else {
422
- this.defnames = [{label: '全部', value: ''}]
423
- this.applyNatures = [{label: '全部', value: ''}]
424
- }
425
- },
426
- clear () {
427
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
428
- this.$refs.cp.$refs.cri.model[key] = null
429
- })
430
- },
431
- getorg (val) {
432
- if (val.length <= 0) {
433
- return
434
- }
435
- this.model.params.data.orgid = val[0]
436
- this.orgid= val[0]
437
- }
438
- },
439
- computed: {
440
- getCondition () {
441
- return {
442
- condition: this.model.condition,
443
- data: {
444
- orgid: this.orgid
445
- }
446
- }
447
- }
448
- }
449
- }
450
- </script>
451
- <style scoped>
452
- </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
+ </tr>
270
+ </template>
271
+ <template partial='body'>
272
+ <tr>
273
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
274
+ <nobr>{{$index+1}}</nobr>
275
+ </td>
276
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
277
+ <nobr>{{row.f_apply_num}}</nobr>
278
+ </td>
279
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
280
+ <nobr>{{row.f_user_name}}</nobr>
281
+ </td>
282
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
283
+ <nobr>{{row.f_contract_number}}</nobr>
284
+ </td>
285
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
286
+ <nobr>{{row.f_phone}}</nobr>
287
+ </td>
288
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
289
+ <nobr>{{row.f_address}}</nobr>
290
+ </td>
291
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
292
+ <nobr>{{row.f_apply_source}}</nobr>
293
+ </td>
294
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
295
+ <nobr>{{row.f_apply_type}}</nobr>
296
+ </td>
297
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
298
+ <nobr>{{row.defname}}</nobr>
299
+ </td>
300
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
301
+ <nobr>{{row.f_sub_state}}</nobr>
302
+ </td>
303
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
304
+ <nobr>{{row.f_apply_date}}</nobr>
305
+ </td>
306
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
307
+ <nobr>{{row.f_finish_date}}</nobr>
308
+ </td>
309
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
310
+ <nobr>{{row.ftime}}</nobr>
311
+ </td>
312
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
313
+ <nobr>{{row.f_install_project}}</nobr>
314
+ </td>
315
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
316
+ <nobr>{{row.f_construction_unit}}</nobr>
317
+ </td>
318
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
319
+ <nobr>{{row.f_construction_date}}</nobr>
320
+ </td>
321
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
322
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
323
+ </td>
324
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
325
+ <nobr>{{row.lyr}}</nobr>
326
+ </td>
327
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
328
+ <nobr>{{row.fyr}}</nobr>
329
+ </td>
330
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
331
+ <nobr>{{row.f_operator}}</nobr>
332
+ </td>
333
+ </tr>
334
+ </template>
335
+ </data-grid>
336
+ </criteria-paged>
337
+ </div>
338
+ </template>
339
+ <script>
340
+ import {PagedList} from 'vue-client'
341
+ import {isEmpty} from '../../Util'
342
+ export default {
343
+ title: '勘探详情',
344
+ props: ['showData'],
345
+ data () {
346
+ return {
347
+ model: new PagedList('rs/sql/supervisory', 20, {
348
+ data: {
349
+ orgid: this.$login.f.orgid
350
+ }
351
+ }),
352
+ orgid:'',
353
+ curorgid: [this.$login.f.orgid],
354
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
355
+ defnames: [{label: '全部', value: ''}], // 流程节点
356
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
357
+ criteriaShow: false,
358
+ subStates: [
359
+ {label: '全部', value: ''},
360
+ {label: '新增', value: '新增'},
361
+ {label: '暂停', value: '暂停'},
362
+ {label: '终止', value: '终止'},
363
+ {label: '完工', value: '完工'},
364
+ {label: '正在进行', value: '正在进行'}
365
+ ], // 流程状态
366
+ lyStates: [
367
+ {label: '全部', value: ''},
368
+ {label: '已领', value: '已领'},
369
+ {label: '未领', value: '未领'}
370
+
371
+ ],
372
+ // 流程状态
373
+ getfield: {
374
+ 'f_apply_num': '工程编号',
375
+ 'f_user_name': '客户名称',
376
+ 'f_contract_number': '合同编号',
377
+ 'f_phone': '电话',
378
+ 'f_address': '地址',
379
+ 'f_apply_type': '报建类型',
380
+ 'f_apply_nature': '报建性质',
381
+ 'f_cumulative_payment_money': '收费金额',
382
+ 'defname': '办理环节',
383
+ 'f_sub_state': '流程状态',
384
+ 'f_apply_date': '报建日期',
385
+ 'f_finish_date': '完工日期',
386
+ 'f_apply_remarks': '备注',
387
+ 'f_payment_remarks': '缴费备注',
388
+ 'f_install_project': '安装项目',
389
+ 'f_construction_unit': '施工单位',
390
+ 'f_construction_date': '施工时间'
391
+ }
392
+ }
393
+ },
394
+ ready () {
395
+ // 调用查询
396
+ this.search()
397
+ },
398
+ events: {
399
+ },
400
+ methods: {
401
+ loadPage () {
402
+ this.$dispatch('loadPage')
403
+ },
404
+ // 查询
405
+ search () {
406
+ this.$dispatch('search')
407
+ },
408
+ check (val) {
409
+ this.$dispatch('apply', val)
410
+ },
411
+ async applyTypeChange () {
412
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
413
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
414
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
415
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
416
+ )
417
+
418
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
419
+
420
+ 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}性质`)]
421
+ } else {
422
+ this.defnames = [{label: '全部', value: ''}]
423
+ this.applyNatures = [{label: '全部', value: ''}]
424
+ }
425
+ },
426
+ clear () {
427
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
428
+ this.$refs.cp.$refs.cri.model[key] = null
429
+ })
430
+ },
431
+ getorg (val) {
432
+ if (val.length <= 0) {
433
+ return
434
+ }
435
+ this.model.params.data.orgid = val[0]
436
+ this.orgid= val[0]
437
+ }
438
+ },
439
+ computed: {
440
+ getCondition () {
441
+ return {
442
+ condition: this.model.condition,
443
+ data: {
444
+ orgid: this.orgid
445
+ }
446
+ }
447
+ }
448
+ }
449
+ }
450
+ </script>
451
+ <style scoped>
452
+ </style>