apply-clients 3.4.39 → 3.4.51

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 (58) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/android.js +21 -21
  4. package/src/apply.js +113 -113
  5. package/src/applyAndroid.js +53 -53
  6. package/src/components/android/AppServiceView.vue +745 -745
  7. package/src/components/android/AppSign.vue +154 -154
  8. package/src/components/android/Process/AppExplorationUser.vue +507 -507
  9. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  10. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  11. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  12. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -482
  13. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  14. package/src/components/product/Business/BusinessApply.vue +269 -269
  15. package/src/components/product/Business/CivilApply.vue +269 -269
  16. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -253
  17. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -53
  18. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -376
  19. package/src/components/product/Material/MaterialDetailed.vue +262 -262
  20. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -360
  21. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -157
  22. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
  23. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
  24. package/src/components/product/Process/ExplorationSelect.vue +495 -495
  25. package/src/components/product/Process/ExplorationUser.vue +189 -189
  26. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -610
  27. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -166
  28. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  29. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  30. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  31. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  32. package/src/components/product/Process/Service/ServiceControl.vue +1918 -1920
  33. package/src/components/product/ServiceView.vue +981 -981
  34. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  35. package/src/components/product/Supervisory/SupervisoryList.vue +404 -404
  36. package/src/components/product/VueUtils/ApplyUpload.vue +275 -280
  37. package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -483
  38. package/src/filiale/gehua/pc/ServiceControl.vue +1929 -1929
  39. package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -137
  40. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  41. package/src/filiale/gehua/pc/buildOrderList.vue +339 -0
  42. package/src/filiale/gehua/pc/printBuildOrder.vue +243 -0
  43. package/src/filiale/gehua/pc.js +3 -2
  44. package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -503
  45. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +470 -470
  46. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  47. package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -482
  48. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  49. package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -766
  50. package/src/filiale/guangxi/android.js +9 -9
  51. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  52. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +702 -702
  53. package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +538 -538
  54. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  55. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  56. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +482 -482
  57. package/src/filiale/guangxi/pc.js +15 -15
  58. package/src/main.js +1 -4
@@ -1,360 +1,360 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div novalidate 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
- <res-select
11
- restype='organization'
12
- :initresid='$parent.$parent.curorgid'
13
- @res-select="$parent.$parent.getorg"
14
- is-mul="false"
15
- ></res-select>
16
- </div>
17
- <div class="form-group col-sm-3">
18
- <label class="font_normal_body">工程编号:</label>
19
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
- v-on:keyup.enter="$parent.$parent.search()"
21
- condition="f_apply_num like '%{}%'">
22
- </div>
23
- <div class="form-group col-sm-3">
24
- <label class="font_normal_body">客户名称:</label>
25
- <input type="text" style="width:60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
26
- v-on:keyup.enter="$parent.$parent.search()"
27
- condition="f_user_name like '%{}%'">
28
- </div>
29
- <div class="form-group col-sm-3 button-range">
30
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
- <export-excel :data="$parent.$parent.getCondition"
33
- :field="$parent.$parent.getfield"
34
- sqlurl="rs/logic/applyExportfile"
35
- sql-name="getOldApply"
36
- template-name='旧报装信息导出'
37
- :choose-col="true"></export-excel>
38
- <div
39
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
41
- class="button_spacing"
42
- style="float: right">
43
- </div>
44
- </div>
45
- </div>
46
- <div class="row" v-show="$parent.$parent.criteriaShow">
47
- <div class="form-group col-sm-3">
48
- <label class="font_normal_body">客户编号:</label>
49
- <input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
50
- v-on:keyup.enter="$parent.$parent.search()"
51
- condition="f_userinfo_code = '{}'">
52
- </div>
53
- <div class="form-group col-sm-3">
54
- <label class="font_normal_body">联系电话:</label>
55
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
56
- v-on:keyup.enter="$parent.$parent.search()"
57
- condition="f_phone like '%{}%'">
58
- </div>
59
- <div class="form-group col-sm-3">
60
- <label class="font_normal_body">地&emsp;&emsp;址:</label>
61
- <input type="text" style="width:60%" class="input_search" placeholder='地址' v-model="model.f_address"
62
- v-on:keyup.enter="$parent.$parent.search()"
63
- condition="f_address like '%{}%'">
64
- </div>
65
- <div class="form-group col-sm-3">
66
- <label class="font_normal_body">表&emsp;&emsp;号:</label>
67
- <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
68
- v-on:keyup.enter="$parent.$parent.search()"
69
- condition="f_meternumber like '%{}%'">
70
- </div>
71
- <div class="form-group col-sm-3">
72
- <label class="font_normal_body">报建类型:</label>
73
- <v-select
74
- v-model="model.f_apply_type"
75
- placeholder='报建类型'
76
- condition="f_apply_type like '%{}%'"
77
- :value.sync="model.f_apply_type"
78
- :options='$parent.$parent.applyTypes'
79
- class="select select_list"
80
- :value-single="true"
81
- close-on-select ></v-select>
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label class="font_normal_body">流程状态:</label>
85
- <v-select
86
- v-model="model.f_sub_state"
87
- placeholder='流程状态'
88
- condition="f_sub_state = '{}'"
89
- :value.sync="model.f_sub_state"
90
- :options='$parent.$parent.subStates'
91
- class="select select_list"
92
- :value-single="true"
93
- close-on-select ></v-select>
94
- </div>
95
- <div class="form-group col-sm-3">
96
- <label class="font_normal_body">真实流程状态:</label>
97
- <v-select
98
- v-model="model.f_reality_sub_state"
99
- placeholder='流程状态'
100
- condition="f_reality_sub_state = '{}'"
101
- :value.sync="model.f_reality_sub_state"
102
- :options='$parent.$parent.showrevise'
103
- class="select select_list"
104
- :value-single="true"
105
- close-on-select ></v-select>
106
- </div>
107
- <div class="form-group col-sm-3">
108
- <label class="font_normal_body">用气性质:</label>
109
- <v-select
110
- v-model="model.f_gas_nature"
111
- placeholder='用气性质'
112
- condition="f_gas_nature = '{}'"
113
- :value.sync="model.f_gas_nature"
114
- :options='$parent.$parent.gasNatures'
115
- class="select select_list"
116
- :value-single="true"
117
- close-on-select ></v-select>
118
- </div>
119
- <div class="form-group col-sm-3">
120
- <label class="font_normal_body">终止原因:</label>
121
- <v-select
122
- v-model="model.f_stop_reason"
123
- placeholder='终止原因'
124
- condition="f_stop_reason = '{}'"
125
- :value.sync="model.f_stop_reason"
126
- :options='$parent.$parent.stopReasons'
127
- class="select select_list"
128
- :value-single="true"
129
- close-on-select ></v-select>
130
- </div>
131
- <div class="form-group col-sm-3">
132
- <label for="startDate" class="font_normal_body">开始时间:</label>
133
- <datepicker id="startDate" placeholder="开始日期"
134
- style="width: 60%!important;"
135
- v-model="model.startDate"
136
- :value.sync="model.startDate"
137
- :format="'yyyy-MM-dd 00:00:00'"
138
- :show-reset-button="true"
139
- condition="f_apply_date >= '{}'">
140
- </datepicker>
141
- </div>
142
- <div class="form-group col-sm-3">
143
- <label for="endDate" class="font_normal_body">结束时间:</label>
144
- <datepicker id="endDate" placeholder="结束日期"
145
- style="width: 60%!important;"
146
- v-model="model.endDate"
147
- :value.sync="model.endDate"
148
- :format="'yyyy-MM-dd 23:59:59'"
149
- :show-reset-button="true"
150
- condition="f_apply_date <= '{}'">
151
- </datepicker>
152
- </div>
153
- </div>
154
- </div>
155
- </criteria>
156
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
157
- <template partial='head'>
158
- <tr>
159
- <th style="white-space: nowrap;">序号</th>
160
- <th style="white-space: nowrap;">工程编号</th>
161
- <th style="white-space: nowrap;">客户名称</th>
162
- <th style="white-space: nowrap;">电话</th>
163
- <th style="white-space: nowrap;">地址</th>
164
- <th style="white-space: nowrap;">报建类型</th>
165
- <th style="white-space: nowrap;">用气性质</th>
166
- <th style="white-space: nowrap;">流程状态</th>
167
- <th style="white-space: nowrap;">真实流程状态</th>
168
- <th style="white-space: nowrap;">收费项目</th>
169
- <th style="white-space: nowrap;">合同金额</th>
170
- <th style="white-space: nowrap;">表号</th>
171
- <th style="white-space: nowrap;">防盗卡号</th>
172
- <th style="white-space: nowrap;">报建日期</th>
173
- <th style="white-space: nowrap;">客户编号</th>
174
-
175
- <th style="white-space: nowrap;">修改日期</th>
176
- <th style="white-space: nowrap;">修改人</th>
177
- </tr>
178
- </template>
179
- <template partial='body'>
180
- <tr>
181
- <td @click.stop="$parent.$parent.$parent.click(row)" style="text-align: center;">
182
- <nobr><font>{{$index+1}}</font></nobr>
183
- </td>
184
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
185
- <nobr><font>{{row.f_apply_num}}</font></nobr>
186
- </td>
187
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
188
- <nobr><font>{{row.f_user_name}}</font></nobr>
189
- </td>
190
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
191
- <nobr><font>{{row.f_phone}}</font></nobr>
192
- </td>
193
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
194
- <nobr><font>{{row.f_address}}</font></nobr>
195
- </td>
196
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
197
- <nobr><font>{{row.f_apply_type}}</font></nobr>
198
- </td>
199
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
200
- <nobr><font>{{row.f_gas_nature}}</font></nobr>
201
- </td>
202
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
203
- <nobr><font>{{row.f_sub_state}}</font></nobr>
204
- </td>
205
- <td style="text-align: center;">
206
- <nobr><font>{{row.f_reality_sub_state}}</font></nobr>
207
- </td>
208
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
209
- <nobr><font>{{row.f_payment_term}}</font></nobr>
210
- </td>
211
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
212
- <nobr><font>{{row.f_contract_money}}</font></nobr>
213
- </td>
214
- <td style="text-align: center;">
215
- <nobr><font>{{row.f_meternumber}}</font></nobr>
216
- </td>
217
- <td style="text-align: center;">
218
- <nobr><font>{{row.f_card_number}}</font></nobr>
219
- </td>
220
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
221
- <nobr><font>{{row.f_apply_date}}</font></nobr>
222
- </td>
223
- <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
224
- <nobr><font>{{row.f_userinfo_code}}</font></nobr>
225
- </td>
226
-
227
-
228
- <td style="text-align: center;">
229
- <nobr><font>{{row.f_reality_sub_date}}</font></nobr>
230
- </td>
231
- <td style="text-align: center;">
232
- <nobr><font>{{row.f_reality_sub_user}}</font></nobr>
233
- </td>
234
- </tr>
235
- </template>
236
- </data-grid>
237
- </criteria-paged>
238
- </div>
239
- </div>
240
- </template>
241
-
242
- <script>
243
- import {PagedList} from 'vue-client'
244
-
245
- export default {
246
- title: '数据查看',
247
- data () {
248
- return {
249
- model: new PagedList('rs/sql/getOldApply', 20, null),
250
- criteriaShow: false,
251
- curorgid: [this.$login.f.orgid],
252
- applyTypes: [
253
- {label: '全部', value: ''},
254
- {label: '学校报装', value: '学校报装'},
255
- {label: '散户报装', value: '散户报装'},
256
- {label: '工商业报装', value: '工商业报装'},
257
- {label: 'CNG车辆', value: 'CNG车辆'},
258
- {label: '团购报装', value: '团购报装'},
259
- {label: '乡镇', value: '乡镇'}
260
- ],
261
- subStates: [
262
- {label: '全部', value: ''},
263
- {label: '待受理', value: '待受理'},
264
- {label: '待安装', value: '待安装'},
265
- {label: '待点火', value: '待点火'},
266
- {label: '完工', value: '完工'},
267
- {label: '终止', value: '终止'}
268
- ],
269
- gasNatures: [
270
- {label: '全部', value: ''},
271
- {label: '民用', value: '民用'},
272
- {label: '商业', value: '商业'},
273
- {label: '工业', value: '工业'}
274
- ],
275
- showrevise: [{label: '全部', value: ''}, ...this.$appdata.getParam('真实流程状态')],
276
- stopReasons: [{label: '全部', value: ''}, ...this.$appdata.getParam('终止原因')],
277
- getfield: {
278
- 'f_userinfo_code': '用户编号',
279
- 'f_apply_num': '工程编号',
280
- 'f_apply_type': '报建类型',
281
- 'f_sub_state': '流程状态',
282
- 'f_user_name': '单位名称',
283
- 'f_contact': '联系人',
284
- 'f_phone': '电话',
285
- 'f_idnumber': '身份证号',
286
- 'f_gas_nature': '用气性质',
287
- 'f_apply_date': '报建接收时间',
288
- 'f_apply_check_date': '报建审核日期',
289
- 'f_contract_money': '合同价格',
290
- 'f_payment_term': '收费项目',
291
- 'f_unit_name': '集收单位',
292
- 'f_address': '地址',
293
- 'f_apply_remarks': '报建备注',
294
- 'f_construction_unit': '施工项目部',
295
- 'f_construction_worker': '施工负责人',
296
- 'f_completion_time': '施工完成时间',
297
- 'f_meternumber': '表号',
298
- 'f_card_number': '防盗卡号',
299
- 'f_construction_check_time': '施工审核时间',
300
- 'f_plan_date': '计划通气时间',
301
- 'f_gas_price_name': '计划气价名称',
302
- 'f_remark_stask': '计划通气备注',
303
- 'f_ventilate_date': '通气日期',
304
- 'f_gas_remarks': '通气备注',
305
- 'f_acceptor': '验收人',
306
- 'f_acceptor_date': '验收日期',
307
- 'f_acceptance_is_qualified': '验收结果',
308
- 'f_price_name': '气价名称',
309
- 'f_stop_reason': '终止原因',
310
- 'f_stop_user': '终止人员',
311
- 'f_stop_date': '终止时间',
312
- 'f_stop_remarks': '终止备注',
313
- 'f_reality_sub_state': '真实流程状态',
314
- 'f_reality_sub_user': '修改人员',
315
- 'f_reality_sub_date': '修改时间'
316
- }
317
- }
318
- },
319
- ready () {
320
- this.search()
321
- },
322
- methods: {
323
- click (row) {
324
- this.$dispatch('openApply', row, 'monitor')
325
- },
326
- searchCondition (args) {
327
- args.condition = args.condition + ` and f_orgid = '${this.curorgid[0]}'`
328
- this.model.search(args.condition, args.model)
329
- },
330
- search () {
331
- this.$refs.cp.$refs.cri.search()
332
- },
333
- loadPage () {
334
- this.$refs.cp.loadPage(this.model.pageIndex)
335
- },
336
- clear () {
337
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
338
- this.$refs.cp.$refs.cri.model[key] = null
339
- })
340
- },
341
- getorg (val) {
342
- if (val.length <= 0) {
343
- return
344
- }
345
- this.curorgid = val
346
- }
347
- },
348
- computed: {
349
- getCondition () {
350
- return {
351
- condition: this.model.condition
352
- }
353
- }
354
- }
355
- }
356
- </script>
357
-
358
- <style scoped>
359
-
360
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div novalidate 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
+ <res-select
11
+ restype='organization'
12
+ :initresid='$parent.$parent.curorgid'
13
+ @res-select="$parent.$parent.getorg"
14
+ is-mul="false"
15
+ ></res-select>
16
+ </div>
17
+ <div class="form-group col-sm-3">
18
+ <label class="font_normal_body">工程编号:</label>
19
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
+ v-on:keyup.enter="$parent.$parent.search()"
21
+ condition="f_apply_num like '%{}%'">
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label class="font_normal_body">客户名称:</label>
25
+ <input type="text" style="width:60%" class="input_search" placeholder='客户名称' v-model="model.f_user_name"
26
+ v-on:keyup.enter="$parent.$parent.search()"
27
+ condition="f_user_name like '%{}%'">
28
+ </div>
29
+ <div class="form-group col-sm-3 button-range">
30
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
+ <export-excel :data="$parent.$parent.getCondition"
33
+ :field="$parent.$parent.getfield"
34
+ sqlurl="rs/logic/applyExportfile"
35
+ sql-name="getOldApply"
36
+ template-name='旧报装信息导出'
37
+ :choose-col="true"></export-excel>
38
+ <div
39
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
41
+ class="button_spacing"
42
+ style="float: right">
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow">
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">客户编号:</label>
49
+ <input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="f_userinfo_code = '{}'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">联系电话:</label>
55
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="f_phone like '%{}%'">
58
+ </div>
59
+ <div class="form-group col-sm-3">
60
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
61
+ <input type="text" style="width:60%" class="input_search" placeholder='地址' v-model="model.f_address"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="f_address like '%{}%'">
64
+ </div>
65
+ <div class="form-group col-sm-3">
66
+ <label class="font_normal_body">表&emsp;&emsp;号:</label>
67
+ <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
68
+ v-on:keyup.enter="$parent.$parent.search()"
69
+ condition="f_meternumber like '%{}%'">
70
+ </div>
71
+ <div class="form-group col-sm-3">
72
+ <label class="font_normal_body">报建类型:</label>
73
+ <v-select
74
+ v-model="model.f_apply_type"
75
+ placeholder='报建类型'
76
+ condition="f_apply_type like '%{}%'"
77
+ :value.sync="model.f_apply_type"
78
+ :options='$parent.$parent.applyTypes'
79
+ class="select select_list"
80
+ :value-single="true"
81
+ close-on-select ></v-select>
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label class="font_normal_body">流程状态:</label>
85
+ <v-select
86
+ v-model="model.f_sub_state"
87
+ placeholder='流程状态'
88
+ condition="f_sub_state = '{}'"
89
+ :value.sync="model.f_sub_state"
90
+ :options='$parent.$parent.subStates'
91
+ class="select select_list"
92
+ :value-single="true"
93
+ close-on-select ></v-select>
94
+ </div>
95
+ <div class="form-group col-sm-3">
96
+ <label class="font_normal_body">真实流程状态:</label>
97
+ <v-select
98
+ v-model="model.f_reality_sub_state"
99
+ placeholder='流程状态'
100
+ condition="f_reality_sub_state = '{}'"
101
+ :value.sync="model.f_reality_sub_state"
102
+ :options='$parent.$parent.showrevise'
103
+ class="select select_list"
104
+ :value-single="true"
105
+ close-on-select ></v-select>
106
+ </div>
107
+ <div class="form-group col-sm-3">
108
+ <label class="font_normal_body">用气性质:</label>
109
+ <v-select
110
+ v-model="model.f_gas_nature"
111
+ placeholder='用气性质'
112
+ condition="f_gas_nature = '{}'"
113
+ :value.sync="model.f_gas_nature"
114
+ :options='$parent.$parent.gasNatures'
115
+ class="select select_list"
116
+ :value-single="true"
117
+ close-on-select ></v-select>
118
+ </div>
119
+ <div class="form-group col-sm-3">
120
+ <label class="font_normal_body">终止原因:</label>
121
+ <v-select
122
+ v-model="model.f_stop_reason"
123
+ placeholder='终止原因'
124
+ condition="f_stop_reason = '{}'"
125
+ :value.sync="model.f_stop_reason"
126
+ :options='$parent.$parent.stopReasons'
127
+ class="select select_list"
128
+ :value-single="true"
129
+ close-on-select ></v-select>
130
+ </div>
131
+ <div class="form-group col-sm-3">
132
+ <label for="startDate" class="font_normal_body">开始时间:</label>
133
+ <datepicker id="startDate" placeholder="开始日期"
134
+ style="width: 60%!important;"
135
+ v-model="model.startDate"
136
+ :value.sync="model.startDate"
137
+ :format="'yyyy-MM-dd 00:00:00'"
138
+ :show-reset-button="true"
139
+ condition="f_apply_date >= '{}'">
140
+ </datepicker>
141
+ </div>
142
+ <div class="form-group col-sm-3">
143
+ <label for="endDate" class="font_normal_body">结束时间:</label>
144
+ <datepicker id="endDate" placeholder="结束日期"
145
+ style="width: 60%!important;"
146
+ v-model="model.endDate"
147
+ :value.sync="model.endDate"
148
+ :format="'yyyy-MM-dd 23:59:59'"
149
+ :show-reset-button="true"
150
+ condition="f_apply_date <= '{}'">
151
+ </datepicker>
152
+ </div>
153
+ </div>
154
+ </div>
155
+ </criteria>
156
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
157
+ <template partial='head'>
158
+ <tr>
159
+ <th style="white-space: nowrap;">序号</th>
160
+ <th style="white-space: nowrap;">工程编号</th>
161
+ <th style="white-space: nowrap;">客户名称</th>
162
+ <th style="white-space: nowrap;">电话</th>
163
+ <th style="white-space: nowrap;">地址</th>
164
+ <th style="white-space: nowrap;">报建类型</th>
165
+ <th style="white-space: nowrap;">用气性质</th>
166
+ <th style="white-space: nowrap;">流程状态</th>
167
+ <th style="white-space: nowrap;">真实流程状态</th>
168
+ <th style="white-space: nowrap;">收费项目</th>
169
+ <th style="white-space: nowrap;">合同金额</th>
170
+ <th style="white-space: nowrap;">表号</th>
171
+ <th style="white-space: nowrap;">防盗卡号</th>
172
+ <th style="white-space: nowrap;">报建日期</th>
173
+ <th style="white-space: nowrap;">客户编号</th>
174
+
175
+ <th style="white-space: nowrap;">修改日期</th>
176
+ <th style="white-space: nowrap;">修改人</th>
177
+ </tr>
178
+ </template>
179
+ <template partial='body'>
180
+ <tr>
181
+ <td @click.stop="$parent.$parent.$parent.click(row)" style="text-align: center;">
182
+ <nobr><font>{{$index+1}}</font></nobr>
183
+ </td>
184
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
185
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
186
+ </td>
187
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
188
+ <nobr><font>{{row.f_user_name}}</font></nobr>
189
+ </td>
190
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
191
+ <nobr><font>{{row.f_phone}}</font></nobr>
192
+ </td>
193
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
194
+ <nobr><font>{{row.f_address}}</font></nobr>
195
+ </td>
196
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
197
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
198
+ </td>
199
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
200
+ <nobr><font>{{row.f_gas_nature}}</font></nobr>
201
+ </td>
202
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
203
+ <nobr><font>{{row.f_sub_state}}</font></nobr>
204
+ </td>
205
+ <td style="text-align: center;">
206
+ <nobr><font>{{row.f_reality_sub_state}}</font></nobr>
207
+ </td>
208
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
209
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
210
+ </td>
211
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
212
+ <nobr><font>{{row.f_contract_money}}</font></nobr>
213
+ </td>
214
+ <td style="text-align: center;">
215
+ <nobr><font>{{row.f_meternumber}}</font></nobr>
216
+ </td>
217
+ <td style="text-align: center;">
218
+ <nobr><font>{{row.f_card_number}}</font></nobr>
219
+ </td>
220
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
221
+ <nobr><font>{{row.f_apply_date}}</font></nobr>
222
+ </td>
223
+ <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
224
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
225
+ </td>
226
+
227
+
228
+ <td style="text-align: center;">
229
+ <nobr><font>{{row.f_reality_sub_date}}</font></nobr>
230
+ </td>
231
+ <td style="text-align: center;">
232
+ <nobr><font>{{row.f_reality_sub_user}}</font></nobr>
233
+ </td>
234
+ </tr>
235
+ </template>
236
+ </data-grid>
237
+ </criteria-paged>
238
+ </div>
239
+ </div>
240
+ </template>
241
+
242
+ <script>
243
+ import {PagedList} from 'vue-client'
244
+
245
+ export default {
246
+ title: '数据查看',
247
+ data () {
248
+ return {
249
+ model: new PagedList('rs/sql/getOldApply', 20, null),
250
+ criteriaShow: false,
251
+ curorgid: [this.$login.f.orgid],
252
+ applyTypes: [
253
+ {label: '全部', value: ''},
254
+ {label: '学校报装', value: '学校报装'},
255
+ {label: '散户报装', value: '散户报装'},
256
+ {label: '工商业报装', value: '工商业报装'},
257
+ {label: 'CNG车辆', value: 'CNG车辆'},
258
+ {label: '团购报装', value: '团购报装'},
259
+ {label: '乡镇', value: '乡镇'}
260
+ ],
261
+ subStates: [
262
+ {label: '全部', value: ''},
263
+ {label: '待受理', value: '待受理'},
264
+ {label: '待安装', value: '待安装'},
265
+ {label: '待点火', value: '待点火'},
266
+ {label: '完工', value: '完工'},
267
+ {label: '终止', value: '终止'}
268
+ ],
269
+ gasNatures: [
270
+ {label: '全部', value: ''},
271
+ {label: '民用', value: '民用'},
272
+ {label: '商业', value: '商业'},
273
+ {label: '工业', value: '工业'}
274
+ ],
275
+ showrevise: [{label: '全部', value: ''}, ...this.$appdata.getParam('真实流程状态')],
276
+ stopReasons: [{label: '全部', value: ''}, ...this.$appdata.getParam('终止原因')],
277
+ getfield: {
278
+ 'f_userinfo_code': '用户编号',
279
+ 'f_apply_num': '工程编号',
280
+ 'f_apply_type': '报建类型',
281
+ 'f_sub_state': '流程状态',
282
+ 'f_user_name': '单位名称',
283
+ 'f_contact': '联系人',
284
+ 'f_phone': '电话',
285
+ 'f_idnumber': '身份证号',
286
+ 'f_gas_nature': '用气性质',
287
+ 'f_apply_date': '报建接收时间',
288
+ 'f_apply_check_date': '报建审核日期',
289
+ 'f_contract_money': '合同价格',
290
+ 'f_payment_term': '收费项目',
291
+ 'f_unit_name': '集收单位',
292
+ 'f_address': '地址',
293
+ 'f_apply_remarks': '报建备注',
294
+ 'f_construction_unit': '施工项目部',
295
+ 'f_construction_worker': '施工负责人',
296
+ 'f_completion_time': '施工完成时间',
297
+ 'f_meternumber': '表号',
298
+ 'f_card_number': '防盗卡号',
299
+ 'f_construction_check_time': '施工审核时间',
300
+ 'f_plan_date': '计划通气时间',
301
+ 'f_gas_price_name': '计划气价名称',
302
+ 'f_remark_stask': '计划通气备注',
303
+ 'f_ventilate_date': '通气日期',
304
+ 'f_gas_remarks': '通气备注',
305
+ 'f_acceptor': '验收人',
306
+ 'f_acceptor_date': '验收日期',
307
+ 'f_acceptance_is_qualified': '验收结果',
308
+ 'f_price_name': '气价名称',
309
+ 'f_stop_reason': '终止原因',
310
+ 'f_stop_user': '终止人员',
311
+ 'f_stop_date': '终止时间',
312
+ 'f_stop_remarks': '终止备注',
313
+ 'f_reality_sub_state': '真实流程状态',
314
+ 'f_reality_sub_user': '修改人员',
315
+ 'f_reality_sub_date': '修改时间'
316
+ }
317
+ }
318
+ },
319
+ ready () {
320
+ this.search()
321
+ },
322
+ methods: {
323
+ click (row) {
324
+ this.$dispatch('openApply', row, 'monitor')
325
+ },
326
+ searchCondition (args) {
327
+ args.condition = args.condition + ` and f_orgid = '${this.curorgid[0]}'`
328
+ this.model.search(args.condition, args.model)
329
+ },
330
+ search () {
331
+ this.$refs.cp.$refs.cri.search()
332
+ },
333
+ loadPage () {
334
+ this.$refs.cp.loadPage(this.model.pageIndex)
335
+ },
336
+ clear () {
337
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
338
+ this.$refs.cp.$refs.cri.model[key] = null
339
+ })
340
+ },
341
+ getorg (val) {
342
+ if (val.length <= 0) {
343
+ return
344
+ }
345
+ this.curorgid = val
346
+ }
347
+ },
348
+ computed: {
349
+ getCondition () {
350
+ return {
351
+ condition: this.model.condition
352
+ }
353
+ }
354
+ }
355
+ }
356
+ </script>
357
+
358
+ <style scoped>
359
+
360
+ </style>