apply-clients 3.5.4-95 → 3.5.4-97

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 (39) hide show
  1. package/build/dev-server.js +9 -7
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +139 -139
  5. package/src/components/android/AppCheckTakePic.vue +168 -168
  6. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  7. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  8. package/src/components/product/PcZhihuanManagement.vue +160 -160
  9. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  10. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  11. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  12. package/src/filiale/ancheng/android/AppSign.vue +149 -149
  13. package/src/filiale/ancheng/android/AppTakePic.vue +143 -143
  14. package/src/filiale/ancheng/android.js +7 -7
  15. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  16. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  17. package/src/filiale/fugou/android/AppZhihuanManagement.vue +230 -230
  18. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  19. package/src/filiale/fugou/pc/ApplyChargeList.vue +480 -480
  20. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  21. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  22. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  23. package/src/filiale/fugou/pc.js +16 -16
  24. package/src/filiale/hongda/pc/ApplyDetailsList.vue +329 -329
  25. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  26. package/src/filiale/qianneng/pc/ApplyChargeList.vue +639 -625
  27. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +769 -704
  28. package/src/filiale/qianneng/pc/Applydetail.vue +417 -378
  29. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +434 -391
  30. package/src/filiale/qianneng/pc/ServiceControl.vue +1382 -1384
  31. package/src/filiale/qianneng/pc/StopApplyList.vue +334 -290
  32. package/src/filiale/qianneng/pc/SupervisoryList.vue +396 -382
  33. package/src/filiale/qianneng/pc/chargeManagement.vue +813 -810
  34. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +2 -2
  35. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1 -1
  36. package/src/main.js +23 -22
  37. package/src/test/SessionTestServlet.java +0 -69
  38. package/webapp/WEB-INF/web.xml +0 -52
  39. package/webapp/session-test.jsp +0 -59
@@ -1,378 +1,417 @@
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="ventilateEndDat' and f_back_reason is not null\'''abel>
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 class="form-group col-sm-3">
213
+ <label class="font_normal_body">备注:</label>
214
+ <input type="text"
215
+ style="width:60%"
216
+ class="input_search"
217
+ v-model="model.f_apply_remarks"
218
+ v-on:keyup.enter="$parent.$parent.search()"
219
+ condition="f_apply_remarks like '%{}%'" placeholder='备注'>
220
+ </div>
221
+ <div class="form-group col-sm-3">
222
+ <label class="font_normal_body">是否退回:</label>
223
+ <v-select
224
+ v-model="model.f_back_reason"
225
+ placeholder='是否退回'
226
+ :value.sync="model.f_back_reason"
227
+ :options='$parent.$parent.yerOrNo'
228
+ class="select select_list"
229
+ :value-single="true"
230
+ close-on-select ></v-select>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </criteria>
235
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
236
+ <template partial='head'>
237
+ <tr>
238
+ <th style="white-space: nowrap;">序号</th>
239
+ <th style="white-space: nowrap;">工程编号</th>
240
+ <th style="white-space: nowrap;">客户编号</th>
241
+ <th style="white-space: nowrap;">入户证号</th>
242
+ <th style="white-space: nowrap;">客户名称</th>
243
+ <th style="white-space: nowrap;">电话</th>
244
+ <th style="white-space: nowrap;">地址</th>
245
+ <th style="white-space: nowrap;">报建类型</th>
246
+ <th style="white-space: nowrap;">报建性质</th>
247
+ <th style="white-space: nowrap;">报建日期</th>
248
+ <th style="white-space: nowrap;">办理环节</th>
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
+ </tr>
254
+ </template>
255
+ <template partial='body'>
256
+ <tr>
257
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
258
+ <nobr>{{$index+1}}</nobr>
259
+ </td>
260
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
261
+ <nobr>{{row.f_apply_num}}</nobr>
262
+ </td>
263
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
264
+ <nobr>{{row.f_userinfo_code}}</nobr>
265
+ </td>
266
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
267
+ <nobr>{{row.f_entry_number}}</nobr>
268
+ </td>
269
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
270
+ <nobr>{{row.f_user_name}}</nobr>
271
+ </td>
272
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
273
+ <nobr>{{row.f_phone}}</nobr>
274
+ </td>
275
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
276
+ <nobr>{{row.f_address}}</nobr>
277
+ </td>
278
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
279
+ <nobr>{{row.f_apply_type}}</nobr>
280
+ </td>
281
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
282
+ <nobr>{{row.f_apply_nature}}</nobr>
283
+ </td>
284
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
285
+ <nobr>{{row.f_apply_date}}</nobr>
286
+ </td>
287
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
288
+ <nobr>{{row.defname}}</nobr>
289
+ </td>
290
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
291
+ <nobr>{{row.state}}</nobr>
292
+ </td>
293
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
294
+ <nobr>{{row.f_person}}</nobr>
295
+ </td>
296
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
297
+ <nobr>{{row.f_finishtime}}</nobr>
298
+ </td>
299
+ <td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
300
+ <nobr>{{row.f_apply_remarks}}</nobr>
301
+ </td>
302
+ </tr>
303
+ </template>
304
+ </data-grid>
305
+ </criteria-paged>
306
+ </div>
307
+ </div>
308
+ </template>
309
+
310
+ <script>
311
+ import {HttpResetClass, PagedList} from 'vue-client'
312
+ import {isEmpty, toStandardDateString} from '../../../components/Util'
313
+ export default {
314
+ title: '报建明细',
315
+ data () {
316
+ return {
317
+ model: new PagedList('rs/sql/getapplydetail', 30, {
318
+ data: {
319
+ orgid: this.$login.f.orgid
320
+ }
321
+ }),
322
+ criteriaShow: false,
323
+ curorgid: [this.$login.f.orgid],
324
+ defnames: [
325
+ {label: '全部', value: ''},
326
+ ...this.$appdata.getParam('报建明细-办理环节')
327
+ ],
328
+ States: [
329
+ {label: '全部', value: ''},
330
+ {label: '开始活动', value: '开始活动'},
331
+ {label: '暂停', value: '暂停'},
332
+ {label: '终止', value: '终止'},
333
+ {label: '结束', value: '结束'}
334
+ ],
335
+ yerOrNo: [
336
+ {label: '全部', value: ''},
337
+ {label: '是', value: '是'},
338
+ {label: '否', value: '否'}
339
+ ],
340
+ subStates: [
341
+ {label: '全部', value: ''},
342
+ {label: '新增', value: '新增'},
343
+ {label: '暂停', value: '暂停'},
344
+ {label: '终止', value: '终止'},
345
+ {label: '完工', value: '完工'},
346
+ {label: '正在进行', value: '正在进行'}
347
+ ], // 流程状态
348
+ applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('报建性质')], // 报建性质
349
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
350
+ getfield: {
351
+ 'f_apply_num': '工程编号',
352
+ 'f_user_name': '客户名称',
353
+ 'f_phone': '电话',
354
+ 'f_address': '地址',
355
+ 'f_apply_type': '报建类型',
356
+ 'f_apply_date': '报建日期',
357
+ 'defname': '办理环节',
358
+ 'state': '办理状态',
359
+ 'f_person': '办理人',
360
+ 'f_finishtime': '办理时间',
361
+ 'f_apply_remarks': '备注'
362
+ }
363
+ }
364
+ },
365
+ ready () {
366
+ },
367
+ methods: {
368
+ clear () {
369
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
370
+ this.$refs.cp.$refs.cri.model[key] = ''
371
+ })
372
+ },
373
+ searchCondition (args) {
374
+
375
+ if (args.model.startDate) {
376
+ args.condition += ` and (finishtime >= '${args.model.startDate}' or f_stop_date>= '${args.model.startDate}')`
377
+ }
378
+ if (args.model.endDate) {
379
+ args.condition += ` and (finishtime <= '${args.model.endDate}' or f_stop_date <= '${args.model.endDate}')`
380
+ }
381
+ if (args.model.f_back_reason==='是') {
382
+ args.condition += ` and f_back_reason is not null`
383
+ }
384
+ if (args.model.f_back_reason==='否') {
385
+ args.condition += ` and f_back_reason is null`
386
+ }
387
+ this.model.search(args.condition, args.model)
388
+ },
389
+ hidden () {
390
+ this.criteriaShow = !this.criteriaShow
391
+ },
392
+ getorg (val) {
393
+ if (val.length <= 0) {
394
+ return
395
+ }
396
+ this.$refs.cp.$refs.cri.model.orgid = val[0]
397
+ this.curorgid[0] = val[0]
398
+ }
399
+ },
400
+ computed: {
401
+ getCondition () {
402
+ return {
403
+ condition: this.model.condition,
404
+ data: {
405
+ orgid: this.curorgid[0]
406
+ }
407
+ }
408
+ }
409
+ }
410
+ }
411
+ </script>
412
+
413
+ <style scoped>
414
+ .back-style{
415
+ background-color: #ffa726;
416
+ }
417
+ </style>