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,404 +1,404 @@
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_apply_num"
54
- v-on:keyup.enter="search"
55
- condition="f_apply_num = '{}'">
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_contract_money"
60
- v-on:keyup.enter="$parent.$parent.search()"
61
- condition="f_contract_money 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_phone"
66
- v-on:keyup.enter="search"
67
- condition="f_phone 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_contract_number"
72
- v-on:keyup.enter="search"
73
- condition="f_contract_number = '{}'">
74
- </div>
75
- <div class="form-group col-sm-3">
76
- <label class="font_normal_body">报建类型:</label>
77
- <v-select
78
- v-model="model.f_apply_type"
79
- placeholder='报建类型'
80
- condition="f_apply_type = '{}'"
81
- :value.sync="model.f_apply_type"
82
- :options='$parent.$parent.applytype'
83
- class="select select_list"
84
- :value-single="true"
85
- @change="$parent.$parent.applyTypeChange()"
86
- close-on-select ></v-select>
87
- </div>
88
- <div class="form-group col-sm-3">
89
- <label class="font_normal_body">办理环节:</label>
90
- <v-select
91
- v-model="model.defname"
92
- placeholder='办理环节'
93
- condition="defname = '{}'"
94
- :value.sync="model.defname"
95
- :options='$parent.$parent.defnames'
96
- class="select select_list"
97
- :value-single="true"
98
- close-on-select ></v-select>
99
- </div>
100
- <div class="form-group col-sm-3">
101
- <label class="font_normal_body">报建性质:</label>
102
- <v-select
103
- v-model="model.f_apply_nature"
104
- placeholder='报建性质'
105
- condition="f_apply_nature = '{}'"
106
- :value.sync="model.f_apply_nature"
107
- :options='$parent.$parent.applyNatures'
108
- class="select select_list"
109
- :value-single="true"
110
- close-on-select ></v-select>
111
- </div>
112
- <div class="form-group col-sm-3">
113
- <label class="font_normal_body">流程状态:</label>
114
- <v-select
115
- v-model="model.f_sub_state"
116
- placeholder='流程状态'
117
- condition="f_sub_state = '{}'"
118
- :value.sync="model.f_sub_state"
119
- :options='$parent.$parent.subStates'
120
- class="select select_list"
121
- :value-single="true"
122
- close-on-select ></v-select>
123
- </div>
124
- <div class="form-group col-sm-3">
125
- <label class="font_normal_body">用户地址:</label>
126
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
127
- v-on:keyup.enter="search"
128
- condition="f_address like '%{}%'">
129
- </div>
130
- <div class="form-group col-sm-3">
131
- <label for="startDate" class="font_normal_body">开始时间:</label>
132
- <datepicker id="startDate" placeholder="开始日期"
133
- style="width: 60%!important;"
134
- v-model="model.startDate"
135
- :value.sync="model.startDate"
136
- :format="'yyyy-MM-dd 00:00:00'"
137
- :show-reset-button="true"
138
- condition="f_apply_date >= '{}'">
139
- </datepicker>
140
- </div>
141
- <div class="form-group col-sm-3">
142
- <label for="endDate" class="font_normal_body">结束时间:</label>
143
- <datepicker id="endDate" placeholder="结束日期"
144
- style="width: 60%!important;"
145
- v-model="model.endDate"
146
- :value.sync="model.endDate"
147
- :format="'yyyy-MM-dd 23:59:59'"
148
- :show-reset-button="true"
149
- condition="f_apply_date <= '{}'">
150
- </datepicker>
151
- </div>
152
- <div class="form-group col-sm-3">
153
- <label class="font_normal_body">施工单位:</label>
154
- <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
155
- v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
156
- </div>
157
- <div class="form-group col-sm-3">
158
- <label class="font_normal_body">表&emsp;&emsp;号:</label>
159
- <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
160
- v-on:keyup.enter="$parent.$parent.search()"
161
- condition="meternumber like '%{}%'">
162
- </div>
163
- <div class="form-group col-sm-3">
164
- <label class="font_normal_body">领用人:</label>
165
- <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
166
- v-on:keyup.enter="$parent.$parent.search()"
167
- condition="lyr 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.fyr"
172
- v-on:keyup.enter="$parent.$parent.search()"
173
- condition="fyr 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.f_operator"
178
- v-on:keyup.enter="$parent.$parent.search()"
179
- condition="f_operator like '%{}%'">
180
- </div>
181
- <div class="form-group col-sm-3">
182
- <label class="font_normal_body">领用状态:</label>
183
- <v-select
184
- v-model="model.frstate"
185
- placeholder='流程状态'
186
- condition="frstate = '{}'"
187
- :value.sync="model.frstate"
188
- :options='$parent.$parent.lyStates'
189
- class="select select_list"
190
- :value-single="true"
191
- close-on-select ></v-select>
192
- </div>
193
- </div>
194
- </div>
195
- </criteria>
196
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
197
- <template partial='head'>
198
- <tr>
199
- <th style="white-space: nowrap;">序号</th>
200
- <th style="white-space: nowrap;">工程编号</th>
201
- <th style="white-space: nowrap;">客户名称</th>
202
- <th style="white-space: nowrap;">合同编号</th>
203
- <th style="white-space: nowrap;">电话</th>
204
- <th style="white-space: nowrap;">地址</th>
205
- <th style="white-space: nowrap;">来源</th>
206
- <th style="white-space: nowrap;">报建类型</th>
207
- <th style="white-space: nowrap;">办理环节</th>
208
- <th style="white-space: nowrap;">流程状态</th>
209
- <th style="white-space: nowrap;">报建日期</th>
210
- <th style="white-space: nowrap;">派单时间</th>
211
- <th style="white-space: nowrap;">安装项目</th>
212
- <th style="white-space: nowrap;">施工单位</th>
213
- <th style="white-space: nowrap;">施工时间</th>
214
- <th style="white-space: nowrap;">缴费金额</th>
215
- <th style="white-space: nowrap;">领用人</th>
216
- <th style="white-space: nowrap;">发货人</th>
217
- <th style="white-space: nowrap;">发起人</th>
218
- </tr>
219
- </template>
220
- <template partial='body'>
221
- <tr>
222
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
223
- <nobr>{{$index+1}}</nobr>
224
- </td>
225
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
226
- <nobr>{{row.f_apply_num}}</nobr>
227
- </td>
228
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
229
- <nobr>{{row.f_user_name}}</nobr>
230
- </td>
231
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
232
- <nobr>{{row.f_contract_number}}</nobr>
233
- </td>
234
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
235
- <nobr>{{row.f_phone}}</nobr>
236
- </td>
237
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
238
- <nobr>{{row.f_address}}</nobr>
239
- </td>
240
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
241
- <nobr>{{row.f_apply_source}}</nobr>
242
- </td>
243
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
244
- <nobr>{{row.f_apply_type}}</nobr>
245
- </td>
246
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
247
- <nobr>{{row.defname}}</nobr>
248
- </td>
249
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
250
- <nobr>{{row.f_sub_state}}</nobr>
251
- </td>
252
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
253
- <nobr>{{row.f_apply_date}}</nobr>
254
- </td>
255
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
256
- <nobr>{{row.ftime}}</nobr>
257
- </td>
258
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
259
- <nobr>{{row.f_install_project}}</nobr>
260
- </td>
261
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
262
- <nobr>{{row.f_construction_unit}}</nobr>
263
- </td>
264
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
265
- <nobr>{{row.f_construction_date}}</nobr>
266
- </td>
267
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
268
- <nobr>{{row.f_cumulative_payment_money}}</nobr>
269
- </td>
270
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
271
- <nobr>{{row.lyr}}</nobr>
272
- </td>
273
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
274
- <nobr>{{row.fyr}}</nobr>
275
- </td>
276
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
277
- <nobr>{{row.f_operator}}</nobr>
278
- </td>
279
- </tr>
280
- </template>
281
- </data-grid>
282
- </criteria-paged>
283
- </div>
284
- </template>
285
- <script>
286
- import {PagedList} from 'vue-client'
287
- import {isEmpty} from '../../Util'
288
- export default {
289
- title: '勘探详情',
290
- props: ['showData'],
291
- data () {
292
- return {
293
- model: new PagedList('rs/sql/supervisory', 20, {
294
- data: {
295
- orgid: this.$login.f.orgid
296
- }
297
- }),
298
- orgid:'',
299
- curorgid: [this.$login.f.orgid],
300
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
301
- defnames: [{label: '全部', value: ''}], // 流程节点
302
- applyNatures: [{label: '全部', value: ''}], // 报建性质
303
- criteriaShow: false,
304
- subStates: [
305
- {label: '全部', value: ''},
306
- {label: '新增', value: '新增'},
307
- {label: '暂停', value: '暂停'},
308
- {label: '终止', value: '终止'},
309
- {label: '完工', value: '完工'},
310
- {label: '正在进行', value: '正在进行'}
311
- ], // 流程状态
312
- lyStates: [
313
- {label: '全部', value: ''},
314
- {label: '已领', value: '已领'},
315
- {label: '未领', value: '未领'}
316
-
317
- ], // 流程状态
318
- getfield: {
319
- 'f_apply_num': '工程编号',
320
- 'f_user_name': '客户名称',
321
- 'f_contract_number': '合同编号',
322
- 'f_phone': '电话',
323
- 'f_address': '地址',
324
- 'f_apply_type': '报建类型',
325
- 'f_apply_nature': '报建性质',
326
- 'f_cumulative_payment_money': '收费金额',
327
- 'defname': '办理环节',
328
- 'f_sub_state': '流程状态',
329
- 'f_apply_date': '报建日期',
330
- 'ftime': '派单时间',
331
- 'f_apply_remarks': '备注',
332
- 'f_payment_remarks': '缴费备注',
333
- 'f_install_project': '安装项目',
334
- 'f_construction_unit': '施工单位',
335
- 'f_construction_date': '施工时间',
336
- 'f_operator': '发起人',
337
- 'f_depname':'发起人部门',
338
- 'lyr': '领用人',
339
- 'fdnyr':'领用人部门',
340
- 'fyr': '发货人',
341
- 'fdnfr':'发货人部门',
342
- 'meternumber':'表号'
343
- }
344
- }
345
- },
346
- ready () {
347
- // 调用查询
348
- this.search()
349
- },
350
- events: {
351
- },
352
- methods: {
353
- loadPage () {
354
- this.$dispatch('loadPage')
355
- },
356
- // 查询
357
- search () {
358
- this.$dispatch('search')
359
- },
360
- check (val) {
361
- this.$dispatch('apply', val)
362
- },
363
- async applyTypeChange () {
364
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
365
- let res = await this.$resetpost('rs/logic/getDefnameByType',
366
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
367
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
368
- )
369
-
370
- this.defnames = [{label: '全部', value: ''}, ...res.data]
371
-
372
- 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}性质`)]
373
- } else {
374
- this.defnames = [{label: '全部', value: ''}]
375
- this.applyNatures = [{label: '全部', value: ''}]
376
- }
377
- },
378
- clear () {
379
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
380
- this.$refs.cp.$refs.cri.model[key] = null
381
- })
382
- },
383
- getorg (val) {
384
- if (val.length <= 0) {
385
- return
386
- }
387
- this.model.params.data.orgid = val[0]
388
- this.orgid= val[0]
389
- }
390
- },
391
- computed: {
392
- getCondition () {
393
- return {
394
- condition: this.model.condition,
395
- data: {
396
- orgid: this.orgid
397
- }
398
- }
399
- }
400
- }
401
- }
402
- </script>
403
- <style scoped>
404
- </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_apply_num"
54
+ v-on:keyup.enter="search"
55
+ condition="f_apply_num = '{}'">
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_contract_money"
60
+ v-on:keyup.enter="$parent.$parent.search()"
61
+ condition="f_contract_money 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_phone"
66
+ v-on:keyup.enter="search"
67
+ condition="f_phone 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_contract_number"
72
+ v-on:keyup.enter="search"
73
+ condition="f_contract_number = '{}'">
74
+ </div>
75
+ <div class="form-group col-sm-3">
76
+ <label class="font_normal_body">报建类型:</label>
77
+ <v-select
78
+ v-model="model.f_apply_type"
79
+ placeholder='报建类型'
80
+ condition="f_apply_type = '{}'"
81
+ :value.sync="model.f_apply_type"
82
+ :options='$parent.$parent.applytype'
83
+ class="select select_list"
84
+ :value-single="true"
85
+ @change="$parent.$parent.applyTypeChange()"
86
+ close-on-select ></v-select>
87
+ </div>
88
+ <div class="form-group col-sm-3">
89
+ <label class="font_normal_body">办理环节:</label>
90
+ <v-select
91
+ v-model="model.defname"
92
+ placeholder='办理环节'
93
+ condition="defname = '{}'"
94
+ :value.sync="model.defname"
95
+ :options='$parent.$parent.defnames'
96
+ class="select select_list"
97
+ :value-single="true"
98
+ close-on-select ></v-select>
99
+ </div>
100
+ <div class="form-group col-sm-3">
101
+ <label class="font_normal_body">报建性质:</label>
102
+ <v-select
103
+ v-model="model.f_apply_nature"
104
+ placeholder='报建性质'
105
+ condition="f_apply_nature = '{}'"
106
+ :value.sync="model.f_apply_nature"
107
+ :options='$parent.$parent.applyNatures'
108
+ class="select select_list"
109
+ :value-single="true"
110
+ close-on-select ></v-select>
111
+ </div>
112
+ <div class="form-group col-sm-3">
113
+ <label class="font_normal_body">流程状态:</label>
114
+ <v-select
115
+ v-model="model.f_sub_state"
116
+ placeholder='流程状态'
117
+ condition="f_sub_state = '{}'"
118
+ :value.sync="model.f_sub_state"
119
+ :options='$parent.$parent.subStates'
120
+ class="select select_list"
121
+ :value-single="true"
122
+ close-on-select ></v-select>
123
+ </div>
124
+ <div class="form-group col-sm-3">
125
+ <label class="font_normal_body">用户地址:</label>
126
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
127
+ v-on:keyup.enter="search"
128
+ condition="f_address like '%{}%'">
129
+ </div>
130
+ <div class="form-group col-sm-3">
131
+ <label for="startDate" class="font_normal_body">开始时间:</label>
132
+ <datepicker id="startDate" placeholder="开始日期"
133
+ style="width: 60%!important;"
134
+ v-model="model.startDate"
135
+ :value.sync="model.startDate"
136
+ :format="'yyyy-MM-dd 00:00:00'"
137
+ :show-reset-button="true"
138
+ condition="f_apply_date >= '{}'">
139
+ </datepicker>
140
+ </div>
141
+ <div class="form-group col-sm-3">
142
+ <label for="endDate" class="font_normal_body">结束时间:</label>
143
+ <datepicker id="endDate" placeholder="结束日期"
144
+ style="width: 60%!important;"
145
+ v-model="model.endDate"
146
+ :value.sync="model.endDate"
147
+ :format="'yyyy-MM-dd 23:59:59'"
148
+ :show-reset-button="true"
149
+ condition="f_apply_date <= '{}'">
150
+ </datepicker>
151
+ </div>
152
+ <div class="form-group col-sm-3">
153
+ <label class="font_normal_body">施工单位:</label>
154
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
155
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
156
+ </div>
157
+ <div class="form-group col-sm-3">
158
+ <label class="font_normal_body">表&emsp;&emsp;号:</label>
159
+ <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
160
+ v-on:keyup.enter="$parent.$parent.search()"
161
+ condition="meternumber like '%{}%'">
162
+ </div>
163
+ <div class="form-group col-sm-3">
164
+ <label class="font_normal_body">领用人:</label>
165
+ <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
166
+ v-on:keyup.enter="$parent.$parent.search()"
167
+ condition="lyr 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.fyr"
172
+ v-on:keyup.enter="$parent.$parent.search()"
173
+ condition="fyr 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.f_operator"
178
+ v-on:keyup.enter="$parent.$parent.search()"
179
+ condition="f_operator like '%{}%'">
180
+ </div>
181
+ <div class="form-group col-sm-3">
182
+ <label class="font_normal_body">领用状态:</label>
183
+ <v-select
184
+ v-model="model.frstate"
185
+ placeholder='流程状态'
186
+ condition="frstate = '{}'"
187
+ :value.sync="model.frstate"
188
+ :options='$parent.$parent.lyStates'
189
+ class="select select_list"
190
+ :value-single="true"
191
+ close-on-select ></v-select>
192
+ </div>
193
+ </div>
194
+ </div>
195
+ </criteria>
196
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
197
+ <template partial='head'>
198
+ <tr>
199
+ <th style="white-space: nowrap;">序号</th>
200
+ <th style="white-space: nowrap;">工程编号</th>
201
+ <th style="white-space: nowrap;">客户名称</th>
202
+ <th style="white-space: nowrap;">合同编号</th>
203
+ <th style="white-space: nowrap;">电话</th>
204
+ <th style="white-space: nowrap;">地址</th>
205
+ <th style="white-space: nowrap;">来源</th>
206
+ <th style="white-space: nowrap;">报建类型</th>
207
+ <th style="white-space: nowrap;">办理环节</th>
208
+ <th style="white-space: nowrap;">流程状态</th>
209
+ <th style="white-space: nowrap;">报建日期</th>
210
+ <th style="white-space: nowrap;">派单时间</th>
211
+ <th style="white-space: nowrap;">安装项目</th>
212
+ <th style="white-space: nowrap;">施工单位</th>
213
+ <th style="white-space: nowrap;">施工时间</th>
214
+ <th style="white-space: nowrap;">缴费金额</th>
215
+ <th style="white-space: nowrap;">领用人</th>
216
+ <th style="white-space: nowrap;">发货人</th>
217
+ <th style="white-space: nowrap;">发起人</th>
218
+ </tr>
219
+ </template>
220
+ <template partial='body'>
221
+ <tr>
222
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
223
+ <nobr>{{$index+1}}</nobr>
224
+ </td>
225
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
226
+ <nobr>{{row.f_apply_num}}</nobr>
227
+ </td>
228
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
229
+ <nobr>{{row.f_user_name}}</nobr>
230
+ </td>
231
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
232
+ <nobr>{{row.f_contract_number}}</nobr>
233
+ </td>
234
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
235
+ <nobr>{{row.f_phone}}</nobr>
236
+ </td>
237
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
238
+ <nobr>{{row.f_address}}</nobr>
239
+ </td>
240
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
241
+ <nobr>{{row.f_apply_source}}</nobr>
242
+ </td>
243
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
244
+ <nobr>{{row.f_apply_type}}</nobr>
245
+ </td>
246
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
247
+ <nobr>{{row.defname}}</nobr>
248
+ </td>
249
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
250
+ <nobr>{{row.f_sub_state}}</nobr>
251
+ </td>
252
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
253
+ <nobr>{{row.f_apply_date}}</nobr>
254
+ </td>
255
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
256
+ <nobr>{{row.ftime}}</nobr>
257
+ </td>
258
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
259
+ <nobr>{{row.f_install_project}}</nobr>
260
+ </td>
261
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
262
+ <nobr>{{row.f_construction_unit}}</nobr>
263
+ </td>
264
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
265
+ <nobr>{{row.f_construction_date}}</nobr>
266
+ </td>
267
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
268
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
269
+ </td>
270
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
271
+ <nobr>{{row.lyr}}</nobr>
272
+ </td>
273
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
274
+ <nobr>{{row.fyr}}</nobr>
275
+ </td>
276
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
277
+ <nobr>{{row.f_operator}}</nobr>
278
+ </td>
279
+ </tr>
280
+ </template>
281
+ </data-grid>
282
+ </criteria-paged>
283
+ </div>
284
+ </template>
285
+ <script>
286
+ import {PagedList} from 'vue-client'
287
+ import {isEmpty} from '../../Util'
288
+ export default {
289
+ title: '勘探详情',
290
+ props: ['showData'],
291
+ data () {
292
+ return {
293
+ model: new PagedList('rs/sql/supervisory', 20, {
294
+ data: {
295
+ orgid: this.$login.f.orgid
296
+ }
297
+ }),
298
+ orgid:'',
299
+ curorgid: [this.$login.f.orgid],
300
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
301
+ defnames: [{label: '全部', value: ''}], // 流程节点
302
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
303
+ criteriaShow: false,
304
+ subStates: [
305
+ {label: '全部', value: ''},
306
+ {label: '新增', value: '新增'},
307
+ {label: '暂停', value: '暂停'},
308
+ {label: '终止', value: '终止'},
309
+ {label: '完工', value: '完工'},
310
+ {label: '正在进行', value: '正在进行'}
311
+ ], // 流程状态
312
+ lyStates: [
313
+ {label: '全部', value: ''},
314
+ {label: '已领', value: '已领'},
315
+ {label: '未领', value: '未领'}
316
+
317
+ ], // 流程状态
318
+ getfield: {
319
+ 'f_apply_num': '工程编号',
320
+ 'f_user_name': '客户名称',
321
+ 'f_contract_number': '合同编号',
322
+ 'f_phone': '电话',
323
+ 'f_address': '地址',
324
+ 'f_apply_type': '报建类型',
325
+ 'f_apply_nature': '报建性质',
326
+ 'f_cumulative_payment_money': '收费金额',
327
+ 'defname': '办理环节',
328
+ 'f_sub_state': '流程状态',
329
+ 'f_apply_date': '报建日期',
330
+ 'ftime': '派单时间',
331
+ 'f_apply_remarks': '备注',
332
+ 'f_payment_remarks': '缴费备注',
333
+ 'f_install_project': '安装项目',
334
+ 'f_construction_unit': '施工单位',
335
+ 'f_construction_date': '施工时间',
336
+ 'f_operator': '发起人',
337
+ 'f_depname':'发起人部门',
338
+ 'lyr': '领用人',
339
+ 'fdnyr':'领用人部门',
340
+ 'fyr': '发货人',
341
+ 'fdnfr':'发货人部门',
342
+ 'meternumber':'表号'
343
+ }
344
+ }
345
+ },
346
+ ready () {
347
+ // 调用查询
348
+ this.search()
349
+ },
350
+ events: {
351
+ },
352
+ methods: {
353
+ loadPage () {
354
+ this.$dispatch('loadPage')
355
+ },
356
+ // 查询
357
+ search () {
358
+ this.$dispatch('search')
359
+ },
360
+ check (val) {
361
+ this.$dispatch('apply', val)
362
+ },
363
+ async applyTypeChange () {
364
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
365
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
366
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
367
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
368
+ )
369
+
370
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
371
+
372
+ 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}性质`)]
373
+ } else {
374
+ this.defnames = [{label: '全部', value: ''}]
375
+ this.applyNatures = [{label: '全部', value: ''}]
376
+ }
377
+ },
378
+ clear () {
379
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
380
+ this.$refs.cp.$refs.cri.model[key] = null
381
+ })
382
+ },
383
+ getorg (val) {
384
+ if (val.length <= 0) {
385
+ return
386
+ }
387
+ this.model.params.data.orgid = val[0]
388
+ this.orgid= val[0]
389
+ }
390
+ },
391
+ computed: {
392
+ getCondition () {
393
+ return {
394
+ condition: this.model.condition,
395
+ data: {
396
+ orgid: this.orgid
397
+ }
398
+ }
399
+ }
400
+ }
401
+ }
402
+ </script>
403
+ <style scoped>
404
+ </style>