apply-clients 3.5.4-80 → 3.5.4-81

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 (47) hide show
  1. package/app/src/main/java/com/example/phonechatbot/MainActivity.java +50 -0
  2. package/build/dev-server.js +9 -5
  3. package/package.json +1 -1
  4. package/src/App.vue +5 -5
  5. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  6. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  7. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  8. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  9. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  10. package/src/components/product/ServiceView.vue +1026 -1026
  11. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +824 -823
  12. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  13. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  14. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  15. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  16. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  17. package/src/filiale/fugou/pc.js +13 -13
  18. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  19. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  20. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  21. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  22. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  23. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  24. package/src/filiale/gongyi/android.js +18 -18
  25. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  26. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  27. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  28. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  29. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  30. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  31. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  32. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  33. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  34. package/src/filiale/gongyi/pc.js +24 -24
  35. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  36. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  37. package/src/filiale/qianneng/android.js +15 -15
  38. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  39. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  40. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -527
  41. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -639
  42. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1681
  43. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -548
  44. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -2075
  45. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -1059
  46. package/src/main.js +3 -3
  47. package/~/chatbot/main.py +57 -0
@@ -1,378 +1,378 @@
1
- <template>
2
- <div class="flex-row">
3
- <div style="height: 95%" class="basic-main" >
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body">报建类型:</label>
10
- <v-select
11
- v-model="model.f_apply_type"
12
- placeholder='报建类型'
13
- condition="f_apply_type = '{}'"
14
- :value.sync="model.f_apply_type"
15
- :options='$parent.$parent.applytype'
16
- class="select select_list"
17
- :value-single="true"
18
- close-on-select ></v-select>
19
- </div>
20
- <div class="form-group col-sm-3">
21
- <label class="font_normal_body">办理环节:</label>
22
- <v-select
23
- v-model="model.defname"
24
- placeholder='办理环节'
25
- condition="act.defname = '{}'"
26
- :value.sync="model.defname"
27
- :options='$parent.$parent.defnames'
28
- class="select select_list"
29
- :value-single="true"
30
- close-on-select ></v-select>
31
- </div>
32
- <div class="form-group col-sm-3">
33
- <label class="font_normal_body">办理人:</label>
34
- <input type="text" style="width:60%"
35
- class="input_search"
36
- placeholder='办理人'
37
- v-model="model.person"
38
- condition="person = '{}'">
39
- </div>
40
- <div class="form-group col-sm-3 button-range">
41
- <button class="button_search button_spacing" @click="search" v-el:cx>查询</button>
42
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
- <export-excel :data="$parent.$parent.getCondition"
44
- :field="$parent.$parent.getfield"
45
- sqlurl="rs/logic/applyExportfile"
46
- sql-name="getapplydetail"
47
- template-name='报装明细导出'
48
- :choose-col="true"></export-excel>
49
- <div style="float: right;" class="button_spacing button_search"
50
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
51
- @click="$parent.$parent.hidden()"></div>
52
- </div>
53
- </div>
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <div class="form-group col-sm-3">
56
- <label class="font_normal_body">组织机构:</label>
57
- <res-select
58
- restype='organization'
59
- :initresid='$parent.$parent.curorgid'
60
- @res-select="$parent.$parent.getorg"
61
- is-mul="false"
62
- ></res-select>
63
- </div>
64
- <div class="form-group col-sm-3">
65
- <label class="font_normal_body">用户编号:</label>
66
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
67
- v-on:keyup.enter="$parent.$parent.search()"
68
- condition="a.f_userinfo_code like '%{}%'">
69
- </div>
70
- <div class="form-group col-sm-3">
71
- <label class="font_normal_body">客户电话:</label>
72
- <input type="text" style="width:60%" class="input_search" placeholder='客户电话' v-model="model.f_phone"
73
- v-on:keyup.enter="$parent.$parent.search()"
74
- condition="a.f_phone like '%{}%'">
75
- </div>
76
- <div class="form-group col-sm-3">
77
- <label class="font_normal_body">入户证号:</label>
78
- <input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
79
- v-on:keyup.enter="$parent.$parent.search()"
80
- condition="a.f_entry_number like '%{}%'">
81
- </div>
82
- <div class="form-group col-sm-3">
83
- <label class="font_normal_body">用户地址:</label>
84
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
85
- v-on:keyup.enter="$parent.$parent.search()"
86
- condition="f_address like '%{}%'">
87
- </div>
88
- <div class="form-group col-sm-3">
89
- <label for="startDate" class="font_normal_body">开始时间:</label>
90
- <datepicker id="startDate" placeholder="开始日期"
91
- style="width: 60%!important;"
92
- v-model="model.startDate"
93
- :value.sync="model.startDate"
94
- :format="'yyyy-MM-dd 00:00:00'"
95
- :show-reset-button="true"
96
- >
97
- </datepicker>
98
- </div>
99
- <div class="form-group col-sm-3">
100
- <label for="endDate" class="font_normal_body">结束时间:</label>
101
- <datepicker id="endDate" placeholder="结束日期"
102
- style="width: 60%!important;"
103
- v-model="model.endDate"
104
- :value.sync="model.endDate"
105
- :format="'yyyy-MM-dd 23:59:59'"
106
- :show-reset-button="true"
107
- >
108
- </datepicker>
109
- </div>
110
- <div class="form-group col-sm-3">
111
- <label class="font_normal_body">工程编号:</label>
112
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
113
- v-on:keyup.enter="search"
114
- condition="f_apply_num like '%{}%'">
115
- </div>
116
- <div class="form-group col-sm-3">
117
- <label class="font_normal_body">办理状态:</label>
118
- <v-select
119
- v-model="model.state"
120
- placeholder='办理状态'
121
- condition="state = '{}'"
122
- :value.sync="model.state"
123
- :options='$parent.$parent.States'
124
- class="select select_list"
125
- :value-single="true"
126
- close-on-select ></v-select>
127
- </div>
128
- <div class="form-group col-sm-3">
129
- <label class="font_normal_body">验收人:</label>
130
- <input type="text" style="width:60%"
131
- class="input_search"
132
- placeholder='验收人'
133
- v-model="model.f_igniter_people"
134
- condition="f_igniter_people = '{}'">
135
- </div>
136
- <div class="form-group col-sm-3">
137
- <label for="constructionStartDate" class="font_normal_body">开始时间:</label>
138
- <datepicker id="constructionStartDate" placeholder="工程施工开始日期"
139
- style="width: 60%!important;"
140
- v-model="model.constructionStartDate"
141
- :value.sync="model.constructionStartDate"
142
- :format="'yyyy-MM-dd 00:00:00'"
143
- :show-reset-button="true"
144
- condition="f_construction_date >= '{}'">
145
- </datepicker>
146
- </div>
147
- <div class="form-group col-sm-3">
148
- <label for="constructionEndDate" class="font_normal_body">结束时间:</label>
149
- <datepicker id="constructionEndDate" placeholder="工程施工结束日期"
150
- style="width: 60%!important;"
151
- v-model="model.constructionEndDate"
152
- :value.sync="model.constructionEndDate"
153
- :format="'yyyy-MM-dd 23:59:59'"
154
- :show-reset-button="true"
155
- condition="f_construction_date <= '{}'">
156
- </datepicker>
157
- </div>
158
- <div class="form-group col-sm-3">
159
- <label for="ventilateStartDate" class="font_normal_body">开始时间:</label>
160
- <datepicker id="ventilateStartDate" placeholder="通气验收开始日期"
161
- style="width: 60%!important;"
162
- v-model="model.ventilateStartDate"
163
- :value.sync="model.ventilateStartDate"
164
- :format="'yyyy-MM-dd 00:00:00'"
165
- :show-reset-button="true"
166
- condition="f_ventilate_date >= '{}'">
167
- </datepicker>
168
- </div>
169
- <div class="form-group col-sm-3">
170
- <label for="ventilateEndDate" class="font_normal_body">结束时间:</label>
171
- <datepicker id="ventilateEndDate" placeholder="通气验收结束日期"
172
- style="width: 60%!important;"
173
- v-model="model.ventilateEndDate"
174
- :value.sync="model.ventilateEndDate"
175
- :format="'yyyy-MM-dd 23:59:59'"
176
- :show-reset-button="true"
177
- condition="f_ventilate_date <= '{}'">
178
- </datepicker>
179
- </div>
180
- <div class="form-group col-sm-3">
181
- <label class="font_normal_body">安装人:</label>
182
- <input type="text" style="width:60%"
183
- class="input_search"
184
- placeholder='安装人'
185
- v-model="model.f_install_person"
186
- condition="f_install_person = '{}'">
187
- </div>
188
- <div class="form-group col-sm-3">
189
- <label class="font_normal_body">流程状态:</label>
190
- <v-select
191
- v-model="model.f_sub_state"
192
- placeholder='流程状态'
193
- condition="f_sub_state = '{}'"
194
- :value.sync="model.f_sub_state"
195
- :options='$parent.$parent.subStates'
196
- class="select select_list"
197
- :value-single="true"
198
- close-on-select ></v-select>
199
- </div>
200
- <div class="form-group col-sm-3">
201
- <label class="font_normal_body">报建性质:</label>
202
- <v-select
203
- v-model="model.f_apply_nature"
204
- placeholder='报建性质'
205
- condition="f_apply_nature = '{}'"
206
- :value.sync="model.f_apply_nature"
207
- :options='$parent.$parent.applyNatures'
208
- class="select select_list"
209
- :value-single="true"
210
- close-on-select ></v-select>
211
- </div>
212
- </div>
213
- </div>
214
- </criteria>
215
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
216
- <template partial='head'>
217
- <tr>
218
- <th style="white-space: nowrap;">序号</th>
219
- <th style="white-space: nowrap;">工程编号</th>
220
- <th style="white-space: nowrap;">客户编号</th>
221
- <th style="white-space: nowrap;">入户证号</th>
222
- <th style="white-space: nowrap;">客户名称</th>
223
- <th style="white-space: nowrap;">电话</th>
224
- <th style="white-space: nowrap;">地址</th>
225
- <th style="white-space: nowrap;">报建类型</th>
226
- <th style="white-space: nowrap;">报建性质</th>
227
- <th style="white-space: nowrap;">报建日期</th>
228
- <th style="white-space: nowrap;">办理环节</th>
229
- <th style="white-space: nowrap;">办理状态</th>
230
- <th style="white-space: nowrap;">办理人</th>
231
- <th style="white-space: nowrap;">办理时间</th>
232
- </tr>
233
- </template>
234
- <template partial='body'>
235
- <tr>
236
- <td style="text-align: center;">
237
- <nobr>{{$index+1}}</nobr>
238
- </td>
239
- <td style="text-align: center;">
240
- <nobr>{{row.f_apply_num}}</nobr>
241
- </td>
242
- <td style="text-align: center;">
243
- <nobr>{{row.f_userinfo_code}}</nobr>
244
- </td>
245
- <td style="text-align: center;">
246
- <nobr>{{row.f_entry_number}}</nobr>
247
- </td>
248
- <td style="text-align: center;">
249
- <nobr>{{row.f_user_name}}</nobr>
250
- </td>
251
- <td style="text-align: center;">
252
- <nobr>{{row.f_phone}}</nobr>
253
- </td>
254
- <td style="text-align: center;">
255
- <nobr>{{row.f_address}}</nobr>
256
- </td>
257
- <td style="text-align: center;">
258
- <nobr>{{row.f_apply_type}}</nobr>
259
- </td>
260
- <td style="text-align: center;">
261
- <nobr>{{row.f_apply_nature}}</nobr>
262
- </td>
263
- <td style="text-align: center;">
264
- <nobr>{{row.f_apply_date}}</nobr>
265
- </td>
266
- <td style="text-align: center;">
267
- <nobr>{{row.defname}}</nobr>
268
- </td>
269
- <td style="text-align: center;">
270
- <nobr>{{row.state}}</nobr>
271
- </td>
272
- <td style="text-align: center;">
273
- <nobr>{{row.f_person}}</nobr>
274
- </td>
275
- <td style="text-align: center;">
276
- <nobr>{{row.f_finishtime}}</nobr>
277
- </td>
278
- </tr>
279
- </template>
280
- </data-grid>
281
- </criteria-paged>
282
- </div>
283
- </div>
284
- </template>
285
-
286
- <script>
287
- import {HttpResetClass, PagedList} from 'vue-client'
288
- import {isEmpty, toStandardDateString} from '../../../components/Util'
289
- export default {
290
- title: '报建明细',
291
- data () {
292
- return {
293
- model: new PagedList('rs/sql/getapplydetail', 30, {
294
- data: {
295
- orgid: this.$login.f.orgid
296
- }
297
- }),
298
- criteriaShow: false,
299
- curorgid: [this.$login.f.orgid],
300
- defnames: [
301
- {label: '全部', value: ''},
302
- ...this.$appdata.getParam('报建明细-办理环节')
303
- ],
304
- States: [
305
- {label: '全部', value: ''},
306
- {label: '开始活动', value: '开始活动'},
307
- {label: '暂停', value: '暂停'},
308
- {label: '终止', value: '终止'},
309
- {label: '结束', value: '结束'}
310
- ],
311
- subStates: [
312
- {label: '全部', value: ''},
313
- {label: '新增', value: '新增'},
314
- {label: '暂停', value: '暂停'},
315
- {label: '终止', value: '终止'},
316
- {label: '完工', value: '完工'},
317
- {label: '正在进行', value: '正在进行'}
318
- ], // 流程状态
319
- applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
320
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
321
- getfield: {
322
- 'f_apply_num': '工程编号',
323
- 'f_user_name': '客户名称',
324
- 'f_phone': '电话',
325
- 'f_address': '地址',
326
- 'f_apply_type': '报建类型',
327
- 'f_apply_date': '报建日期',
328
- 'defname': '办理环节',
329
- 'state': '办理状态',
330
- 'f_person': '办理人',
331
- 'f_finishtime': '办理时间'
332
- }
333
- }
334
- },
335
- ready () {
336
- },
337
- methods: {
338
- clear () {
339
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
340
- this.$refs.cp.$refs.cri.model[key] = ''
341
- })
342
- },
343
- searchCondition (args) {
344
-
345
- if (args.model.startDate) {
346
- args.condition += ` and (finishtime >= '${args.model.startDate}' or f_stop_date>= '${args.model.startDate}')`
347
- }
348
- if (args.model.endDate) {
349
- args.condition += ` and (finishtime <= '${args.model.endDate}' or f_stop_date <= '${args.model.endDate}')`
350
- }
351
- this.model.search(args.condition, args.model)
352
- },
353
- hidden () {
354
- this.criteriaShow = !this.criteriaShow
355
- },
356
- getorg (val) {
357
- if (val.length <= 0) {
358
- return
359
- }
360
- this.$refs.cp.$refs.cri.model.orgid = val[0]
361
- this.curorgid[0] = val[0]
362
- }
363
- },
364
- computed: {
365
- getCondition () {
366
- return {
367
- condition: this.model.condition,
368
- data: {
369
- orgid: this.curorgid[0]
370
- }
371
- }
372
- }
373
- }
374
- }
375
- </script>
376
-
377
- <style scoped>
378
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div style="height: 95%" class="basic-main" >
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">报建类型:</label>
10
+ <v-select
11
+ v-model="model.f_apply_type"
12
+ placeholder='报建类型'
13
+ condition="f_apply_type = '{}'"
14
+ :value.sync="model.f_apply_type"
15
+ :options='$parent.$parent.applytype'
16
+ class="select select_list"
17
+ :value-single="true"
18
+ close-on-select ></v-select>
19
+ </div>
20
+ <div class="form-group col-sm-3">
21
+ <label class="font_normal_body">办理环节:</label>
22
+ <v-select
23
+ v-model="model.defname"
24
+ placeholder='办理环节'
25
+ condition="act.defname = '{}'"
26
+ :value.sync="model.defname"
27
+ :options='$parent.$parent.defnames'
28
+ class="select select_list"
29
+ :value-single="true"
30
+ close-on-select ></v-select>
31
+ </div>
32
+ <div class="form-group col-sm-3">
33
+ <label class="font_normal_body">办理人:</label>
34
+ <input type="text" style="width:60%"
35
+ class="input_search"
36
+ placeholder='办理人'
37
+ v-model="model.person"
38
+ condition="person = '{}'">
39
+ </div>
40
+ <div class="form-group col-sm-3 button-range">
41
+ <button class="button_search button_spacing" @click="search" v-el:cx>查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+ <export-excel :data="$parent.$parent.getCondition"
44
+ :field="$parent.$parent.getfield"
45
+ sqlurl="rs/logic/applyExportfile"
46
+ sql-name="getapplydetail"
47
+ template-name='报装明细导出'
48
+ :choose-col="true"></export-excel>
49
+ <div style="float: right;" class="button_spacing button_search"
50
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
51
+ @click="$parent.$parent.hidden()"></div>
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="form-group col-sm-3">
56
+ <label class="font_normal_body">组织机构:</label>
57
+ <res-select
58
+ restype='organization'
59
+ :initresid='$parent.$parent.curorgid'
60
+ @res-select="$parent.$parent.getorg"
61
+ is-mul="false"
62
+ ></res-select>
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">用户编号:</label>
66
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
67
+ v-on:keyup.enter="$parent.$parent.search()"
68
+ condition="a.f_userinfo_code like '%{}%'">
69
+ </div>
70
+ <div class="form-group col-sm-3">
71
+ <label class="font_normal_body">客户电话:</label>
72
+ <input type="text" style="width:60%" class="input_search" placeholder='客户电话' v-model="model.f_phone"
73
+ v-on:keyup.enter="$parent.$parent.search()"
74
+ condition="a.f_phone like '%{}%'">
75
+ </div>
76
+ <div class="form-group col-sm-3">
77
+ <label class="font_normal_body">入户证号:</label>
78
+ <input type="text" style="width:60%" class="input_search" placeholder='入户证号' v-model="model.f_entry_number"
79
+ v-on:keyup.enter="$parent.$parent.search()"
80
+ condition="a.f_entry_number like '%{}%'">
81
+ </div>
82
+ <div class="form-group col-sm-3">
83
+ <label class="font_normal_body">用户地址:</label>
84
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
85
+ v-on:keyup.enter="$parent.$parent.search()"
86
+ condition="f_address like '%{}%'">
87
+ </div>
88
+ <div class="form-group col-sm-3">
89
+ <label for="startDate" class="font_normal_body">开始时间:</label>
90
+ <datepicker id="startDate" placeholder="开始日期"
91
+ style="width: 60%!important;"
92
+ v-model="model.startDate"
93
+ :value.sync="model.startDate"
94
+ :format="'yyyy-MM-dd 00:00:00'"
95
+ :show-reset-button="true"
96
+ >
97
+ </datepicker>
98
+ </div>
99
+ <div class="form-group col-sm-3">
100
+ <label for="endDate" class="font_normal_body">结束时间:</label>
101
+ <datepicker id="endDate" placeholder="结束日期"
102
+ style="width: 60%!important;"
103
+ v-model="model.endDate"
104
+ :value.sync="model.endDate"
105
+ :format="'yyyy-MM-dd 23:59:59'"
106
+ :show-reset-button="true"
107
+ >
108
+ </datepicker>
109
+ </div>
110
+ <div class="form-group col-sm-3">
111
+ <label class="font_normal_body">工程编号:</label>
112
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
113
+ v-on:keyup.enter="search"
114
+ condition="f_apply_num like '%{}%'">
115
+ </div>
116
+ <div class="form-group col-sm-3">
117
+ <label class="font_normal_body">办理状态:</label>
118
+ <v-select
119
+ v-model="model.state"
120
+ placeholder='办理状态'
121
+ condition="state = '{}'"
122
+ :value.sync="model.state"
123
+ :options='$parent.$parent.States'
124
+ class="select select_list"
125
+ :value-single="true"
126
+ close-on-select ></v-select>
127
+ </div>
128
+ <div class="form-group col-sm-3">
129
+ <label class="font_normal_body">验收人:</label>
130
+ <input type="text" style="width:60%"
131
+ class="input_search"
132
+ placeholder='验收人'
133
+ v-model="model.f_igniter_people"
134
+ condition="f_igniter_people = '{}'">
135
+ </div>
136
+ <div class="form-group col-sm-3">
137
+ <label for="constructionStartDate" class="font_normal_body">开始时间:</label>
138
+ <datepicker id="constructionStartDate" placeholder="工程施工开始日期"
139
+ style="width: 60%!important;"
140
+ v-model="model.constructionStartDate"
141
+ :value.sync="model.constructionStartDate"
142
+ :format="'yyyy-MM-dd 00:00:00'"
143
+ :show-reset-button="true"
144
+ condition="f_construction_date >= '{}'">
145
+ </datepicker>
146
+ </div>
147
+ <div class="form-group col-sm-3">
148
+ <label for="constructionEndDate" class="font_normal_body">结束时间:</label>
149
+ <datepicker id="constructionEndDate" placeholder="工程施工结束日期"
150
+ style="width: 60%!important;"
151
+ v-model="model.constructionEndDate"
152
+ :value.sync="model.constructionEndDate"
153
+ :format="'yyyy-MM-dd 23:59:59'"
154
+ :show-reset-button="true"
155
+ condition="f_construction_date <= '{}'">
156
+ </datepicker>
157
+ </div>
158
+ <div class="form-group col-sm-3">
159
+ <label for="ventilateStartDate" class="font_normal_body">开始时间:</label>
160
+ <datepicker id="ventilateStartDate" placeholder="通气验收开始日期"
161
+ style="width: 60%!important;"
162
+ v-model="model.ventilateStartDate"
163
+ :value.sync="model.ventilateStartDate"
164
+ :format="'yyyy-MM-dd 00:00:00'"
165
+ :show-reset-button="true"
166
+ condition="f_ventilate_date >= '{}'">
167
+ </datepicker>
168
+ </div>
169
+ <div class="form-group col-sm-3">
170
+ <label for="ventilateEndDate" class="font_normal_body">结束时间:</label>
171
+ <datepicker id="ventilateEndDate" placeholder="通气验收结束日期"
172
+ style="width: 60%!important;"
173
+ v-model="model.ventilateEndDate"
174
+ :value.sync="model.ventilateEndDate"
175
+ :format="'yyyy-MM-dd 23:59:59'"
176
+ :show-reset-button="true"
177
+ condition="f_ventilate_date <= '{}'">
178
+ </datepicker>
179
+ </div>
180
+ <div class="form-group col-sm-3">
181
+ <label class="font_normal_body">安装人:</label>
182
+ <input type="text" style="width:60%"
183
+ class="input_search"
184
+ placeholder='安装人'
185
+ v-model="model.f_install_person"
186
+ condition="f_install_person = '{}'">
187
+ </div>
188
+ <div class="form-group col-sm-3">
189
+ <label class="font_normal_body">流程状态:</label>
190
+ <v-select
191
+ v-model="model.f_sub_state"
192
+ placeholder='流程状态'
193
+ condition="f_sub_state = '{}'"
194
+ :value.sync="model.f_sub_state"
195
+ :options='$parent.$parent.subStates'
196
+ class="select select_list"
197
+ :value-single="true"
198
+ close-on-select ></v-select>
199
+ </div>
200
+ <div class="form-group col-sm-3">
201
+ <label class="font_normal_body">报建性质:</label>
202
+ <v-select
203
+ v-model="model.f_apply_nature"
204
+ placeholder='报建性质'
205
+ condition="f_apply_nature = '{}'"
206
+ :value.sync="model.f_apply_nature"
207
+ :options='$parent.$parent.applyNatures'
208
+ class="select select_list"
209
+ :value-single="true"
210
+ close-on-select ></v-select>
211
+ </div>
212
+ </div>
213
+ </div>
214
+ </criteria>
215
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
216
+ <template partial='head'>
217
+ <tr>
218
+ <th style="white-space: nowrap;">序号</th>
219
+ <th style="white-space: nowrap;">工程编号</th>
220
+ <th style="white-space: nowrap;">客户编号</th>
221
+ <th style="white-space: nowrap;">入户证号</th>
222
+ <th style="white-space: nowrap;">客户名称</th>
223
+ <th style="white-space: nowrap;">电话</th>
224
+ <th style="white-space: nowrap;">地址</th>
225
+ <th style="white-space: nowrap;">报建类型</th>
226
+ <th style="white-space: nowrap;">报建性质</th>
227
+ <th style="white-space: nowrap;">报建日期</th>
228
+ <th style="white-space: nowrap;">办理环节</th>
229
+ <th style="white-space: nowrap;">办理状态</th>
230
+ <th style="white-space: nowrap;">办理人</th>
231
+ <th style="white-space: nowrap;">办理时间</th>
232
+ </tr>
233
+ </template>
234
+ <template partial='body'>
235
+ <tr>
236
+ <td style="text-align: center;">
237
+ <nobr>{{$index+1}}</nobr>
238
+ </td>
239
+ <td style="text-align: center;">
240
+ <nobr>{{row.f_apply_num}}</nobr>
241
+ </td>
242
+ <td style="text-align: center;">
243
+ <nobr>{{row.f_userinfo_code}}</nobr>
244
+ </td>
245
+ <td style="text-align: center;">
246
+ <nobr>{{row.f_entry_number}}</nobr>
247
+ </td>
248
+ <td style="text-align: center;">
249
+ <nobr>{{row.f_user_name}}</nobr>
250
+ </td>
251
+ <td style="text-align: center;">
252
+ <nobr>{{row.f_phone}}</nobr>
253
+ </td>
254
+ <td style="text-align: center;">
255
+ <nobr>{{row.f_address}}</nobr>
256
+ </td>
257
+ <td style="text-align: center;">
258
+ <nobr>{{row.f_apply_type}}</nobr>
259
+ </td>
260
+ <td style="text-align: center;">
261
+ <nobr>{{row.f_apply_nature}}</nobr>
262
+ </td>
263
+ <td style="text-align: center;">
264
+ <nobr>{{row.f_apply_date}}</nobr>
265
+ </td>
266
+ <td style="text-align: center;">
267
+ <nobr>{{row.defname}}</nobr>
268
+ </td>
269
+ <td style="text-align: center;">
270
+ <nobr>{{row.state}}</nobr>
271
+ </td>
272
+ <td style="text-align: center;">
273
+ <nobr>{{row.f_person}}</nobr>
274
+ </td>
275
+ <td style="text-align: center;">
276
+ <nobr>{{row.f_finishtime}}</nobr>
277
+ </td>
278
+ </tr>
279
+ </template>
280
+ </data-grid>
281
+ </criteria-paged>
282
+ </div>
283
+ </div>
284
+ </template>
285
+
286
+ <script>
287
+ import {HttpResetClass, PagedList} from 'vue-client'
288
+ import {isEmpty, toStandardDateString} from '../../../components/Util'
289
+ export default {
290
+ title: '报建明细',
291
+ data () {
292
+ return {
293
+ model: new PagedList('rs/sql/getapplydetail', 30, {
294
+ data: {
295
+ orgid: this.$login.f.orgid
296
+ }
297
+ }),
298
+ criteriaShow: false,
299
+ curorgid: [this.$login.f.orgid],
300
+ defnames: [
301
+ {label: '全部', value: ''},
302
+ ...this.$appdata.getParam('报建明细-办理环节')
303
+ ],
304
+ States: [
305
+ {label: '全部', value: ''},
306
+ {label: '开始活动', value: '开始活动'},
307
+ {label: '暂停', value: '暂停'},
308
+ {label: '终止', value: '终止'},
309
+ {label: '结束', value: '结束'}
310
+ ],
311
+ subStates: [
312
+ {label: '全部', value: ''},
313
+ {label: '新增', value: '新增'},
314
+ {label: '暂停', value: '暂停'},
315
+ {label: '终止', value: '终止'},
316
+ {label: '完工', value: '完工'},
317
+ {label: '正在进行', value: '正在进行'}
318
+ ], // 流程状态
319
+ applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
320
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
321
+ getfield: {
322
+ 'f_apply_num': '工程编号',
323
+ 'f_user_name': '客户名称',
324
+ 'f_phone': '电话',
325
+ 'f_address': '地址',
326
+ 'f_apply_type': '报建类型',
327
+ 'f_apply_date': '报建日期',
328
+ 'defname': '办理环节',
329
+ 'state': '办理状态',
330
+ 'f_person': '办理人',
331
+ 'f_finishtime': '办理时间'
332
+ }
333
+ }
334
+ },
335
+ ready () {
336
+ },
337
+ methods: {
338
+ clear () {
339
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
340
+ this.$refs.cp.$refs.cri.model[key] = ''
341
+ })
342
+ },
343
+ searchCondition (args) {
344
+
345
+ if (args.model.startDate) {
346
+ args.condition += ` and (finishtime >= '${args.model.startDate}' or f_stop_date>= '${args.model.startDate}')`
347
+ }
348
+ if (args.model.endDate) {
349
+ args.condition += ` and (finishtime <= '${args.model.endDate}' or f_stop_date <= '${args.model.endDate}')`
350
+ }
351
+ this.model.search(args.condition, args.model)
352
+ },
353
+ hidden () {
354
+ this.criteriaShow = !this.criteriaShow
355
+ },
356
+ getorg (val) {
357
+ if (val.length <= 0) {
358
+ return
359
+ }
360
+ this.$refs.cp.$refs.cri.model.orgid = val[0]
361
+ this.curorgid[0] = val[0]
362
+ }
363
+ },
364
+ computed: {
365
+ getCondition () {
366
+ return {
367
+ condition: this.model.condition,
368
+ data: {
369
+ orgid: this.curorgid[0]
370
+ }
371
+ }
372
+ }
373
+ }
374
+ }
375
+ </script>
376
+
377
+ <style scoped>
378
+ </style>