apply-clients 3.5.5-8 → 3.5.5-9

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 (48) hide show
  1. package/build/dev-server.js +6 -15
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/android/AppCheckTakePic.vue +168 -168
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  8. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  9. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  10. package/src/components/product/PcZhihuanManagement.vue +160 -160
  11. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  12. package/src/components/product/Process/Processes/contractModel.vue +424 -424
  13. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  14. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  15. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -440
  18. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  19. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  20. package/src/filiale/fugou/android/AppZhihuanManagement.vue +230 -230
  21. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  22. package/src/filiale/fugou/pc/ApplyChargeList.vue +480 -480
  23. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  24. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  25. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  26. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  27. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  28. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  29. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  30. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  31. package/src/filiale/gongyi/android.js +18 -18
  32. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  33. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  34. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  35. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  36. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  37. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  38. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  39. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  40. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  41. package/src/filiale/gongyi/pc.js +24 -24
  42. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  43. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  44. package/src/main.js +1 -2
  45. package/src/test/SessionTestServlet.java +69 -0
  46. package/webapp/WEB-INF/web.xml +52 -0
  47. package/webapp/session-test.jsp +59 -0
  48. package/~/chatbot/main.py +0 -57
@@ -1,441 +1,441 @@
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-2 button-range">
22
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
23
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
24
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
25
- <export-excel :data="$parent.$parent.getCondition"
26
- :field="$parent.$parent.getfield"
27
- sqlurl="rs/logic/applyExportfile"
28
- sql-name="supervisory"
29
- template-name='报装信息导出'
30
- :choose-col="true"></export-excel>
31
- <div
32
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
33
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
34
- class="button_spacing"
35
- style="float: right">
36
- </div>
37
- </div>
38
- </div>
39
- <div class="row" v-show="$parent.$parent.criteriaShow">
40
- <div class="form-group col-sm-3">
41
- <label class="font_normal_body">用户编号:</label>
42
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
43
- v-on:keyup.enter="$parent.$parent.search()"
44
- condition="f_userinfo_code like '%{}%'">
45
- </div>
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" placeholder='工程编号' v-model="model.f_apply_num"
49
- v-on:keyup.enter="search"
50
- condition="f_apply_num like '%{}%'">
51
- </div>
52
- <div class="form-group col-sm-3">
53
- <label class="font_normal_body">合同金额:</label>
54
- <input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
55
- v-on:keyup.enter="$parent.$parent.search()"
56
- condition="f_contract_money like '%{}%'">
57
- </div>
58
- <div class="form-group col-sm-3">
59
- <label class="font_normal_body">联系电话:</label>
60
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
61
- v-on:keyup.enter="search"
62
- condition="f_phone like '%{}%'">
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_contract_number"
67
- v-on:keyup.enter="search"
68
- condition="f_contract_number = '{}'">
69
- </div>
70
- <div class="form-group col-sm-3">
71
- <label class="font_normal_body">报建类型:</label>
72
- <v-select
73
- v-model="model.f_apply_type"
74
- placeholder='报建类型'
75
- condition="f_apply_type = '{}'"
76
- :value.sync="model.f_apply_type"
77
- :options='$parent.$parent.applytype'
78
- class="select select_list"
79
- :value-single="true"
80
- @change="$parent.$parent.applyTypeChange()"
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.defname"
87
- placeholder='办理环节'
88
- condition="defname = '{}'"
89
- :value.sync="model.defname"
90
- :options='$parent.$parent.defnames'
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_apply_nature"
99
- placeholder='报建性质'
100
- condition="f_apply_nature = '{}'"
101
- :value.sync="model.f_apply_nature"
102
- :options='$parent.$parent.applyNatures'
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_sub_state"
111
- placeholder='流程状态'
112
- condition="f_sub_state = '{}'"
113
- :value.sync="model.f_sub_state"
114
- :options='$parent.$parent.subStates'
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
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
122
- v-on:keyup.enter="search"
123
- condition="f_address like '%{}%'">
124
- </div>
125
- <div class="form-group col-sm-3">
126
- <label for="startDate" class="font_normal_body">开始时间:</label>
127
- <datepicker id="startDate" placeholder="开始日期"
128
- style="width: 60%!important;"
129
- v-model="model.startDate"
130
- :value.sync="model.startDate"
131
- :format="'yyyy-MM-dd 00:00:00'"
132
- :show-reset-button="true"
133
- condition="f_apply_date >= '{}'">
134
- </datepicker>
135
- </div>
136
- <div class="form-group col-sm-3">
137
- <label for="endDate" class="font_normal_body">结束时间:</label>
138
- <datepicker id="endDate" placeholder="结束日期"
139
- style="width: 60%!important;"
140
- v-model="model.endDate"
141
- :value.sync="model.endDate"
142
- :format="'yyyy-MM-dd 23:59:59'"
143
- :show-reset-button="true"
144
- condition="f_apply_date <= '{}'">
145
- </datepicker>
146
- </div>
147
- <div class="form-group col-sm-3">
148
- <label class="font_normal_body">施工单位:</label>
149
- <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
150
- v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
151
- </div>
152
- <div class="form-group col-sm-3">
153
- <label class="font_normal_body">表&emsp;&emsp;号:</label>
154
- <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
155
- v-on:keyup.enter="$parent.$parent.search()"
156
- condition="meternumber like '%{}%'">
157
- </div>
158
- <div class="form-group col-sm-3">
159
- <label class="font_normal_body">领用人:</label>
160
- <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
161
- v-on:keyup.enter="$parent.$parent.search()"
162
- condition="lyr like '%{}%'">
163
- </div>
164
- <div class="form-group col-sm-3">
165
- <label class="font_normal_body">发货人:</label>
166
- <input type="text" style="width:60%" class="input_search" placeholder='发货人' v-model="model.fyr"
167
- v-on:keyup.enter="$parent.$parent.search()"
168
- condition="fyr like '%{}%'">
169
- </div>
170
- <div class="form-group col-sm-3">
171
- <label class="font_normal_body">发起人:</label>
172
- <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
173
- v-on:keyup.enter="$parent.$parent.search()"
174
- condition="f_operator like '%{}%'">
175
- </div>
176
- <div class="form-group col-sm-3">
177
- <label class="font_normal_body">领用状态:</label>
178
- <v-select
179
- v-model="model.frstate"
180
- placeholder='流程状态'
181
- condition="frstate = '{}'"
182
- :value.sync="model.frstate"
183
- :options='$parent.$parent.lyStates'
184
- class="select select_list"
185
- :value-single="true"
186
- close-on-select ></v-select>
187
- </div>
188
- <div class="form-group col-sm-3">
189
- <label for="startDate" class="font_normal_body">完工时间:</label>
190
- <datepicker id="startDate" placeholder="开始日期"
191
- style="width: 60%!important;"
192
- v-model="model.startDate1"
193
- :value.sync="model.startDate1"
194
- :format="'yyyy-MM-dd 00:00:00'"
195
- :show-reset-button="true"
196
- condition=" f_finish_date >= '{}'">
197
- </datepicker>
198
- </div>
199
- <div class="form-group col-sm-3">
200
- <label for="endDate" class="font_normal_body">完工时间:</label>
201
- <datepicker id="endDate" placeholder="结束日期"
202
- style="width: 60%!important;"
203
- v-model="model.endDate1"
204
- :value.sync="model.endDate1"
205
- :format="'yyyy-MM-dd 23:59:59'"
206
- :show-reset-button="true"
207
- condition="f_finish_date <= '{}'">
208
- </datepicker>
209
- </div>
210
- <div class="form-group col-sm-3">
211
- <label for="bookstart" class="font_normal_body">开始时间:</label>
212
- <datepicker id="bookstart" placeholder="预约开始日期"
213
- style="width: 60%!important;"
214
- v-model="model.bookstart"
215
- :value.sync="model.bookstart"
216
- :format="'yyyy-MM-dd 00:00:00'"
217
- :show-reset-button="true"
218
- condition="f_order_date >= '{}'">
219
- </datepicker>
220
- </div>
221
- <div class="form-group col-sm-3">
222
- <label for="bookend" class="font_normal_body">结束时间:</label>
223
- <datepicker id="bookend" placeholder="预约结束日期"
224
- style="width: 60%!important;"
225
- v-model="model.bookend"
226
- :value.sync="model.bookend"
227
- :format="'yyyy-MM-dd 23:59:59'"
228
- :show-reset-button="true"
229
- condition="f_order_date <= '{}'">
230
- </datepicker>
231
- </div>
232
- </div>
233
- </div>
234
- </criteria>
235
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid 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
- <th style="white-space: nowrap;">施工时间</th>
254
- <th style="white-space: nowrap;">缴费金额</th>
255
- <th style="white-space: nowrap;">领用人</th>
256
- <th style="white-space: nowrap;">发货人</th>
257
- <th style="white-space: nowrap;">发起人</th>
258
- </tr>
259
- </template>
260
- <template partial='body'>
261
- <tr>
262
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
263
- <nobr>{{$index+1}}</nobr>
264
- </td>
265
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
266
- <nobr>{{row.f_apply_num}}</nobr>
267
- </td>
268
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
269
- <nobr>{{row.f_user_name}}</nobr>
270
- </td>
271
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
272
- <nobr>{{row.f_contract_number}}</nobr>
273
- </td>
274
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
275
- <nobr>{{row.f_phone}}</nobr>
276
- </td>
277
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
278
- <nobr>{{row.f_address}}</nobr>
279
- </td>
280
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
281
- <nobr>{{row.f_apply_source}}</nobr>
282
- </td>
283
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
284
- <nobr>{{row.f_apply_type}}</nobr>
285
- </td>
286
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
287
- <nobr>{{row.defname}}</nobr>
288
- </td>
289
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
290
- <nobr>{{row.f_sub_state}}</nobr>
291
- </td>
292
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
293
- <nobr>{{row.f_apply_date}}</nobr>
294
- </td>
295
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
296
- <nobr>{{row.f_finish_date}}</nobr>
297
- </td>
298
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
299
- <nobr>{{row.f_igniter_people}}</nobr>
300
- </td>
301
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
302
- <nobr>{{row.f_install_project}}</nobr>
303
- </td>
304
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
305
- <nobr>{{row.f_construction_unit}}</nobr>
306
- </td>
307
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
308
- <nobr>{{row.f_construction_date}}</nobr>
309
- </td>
310
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
311
- <nobr>{{row.f_cumulative_payment_money}}</nobr>
312
- </td>
313
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
314
- <nobr>{{row.lyr}}</nobr>
315
- </td>
316
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
317
- <nobr>{{row.fyr}}</nobr>
318
- </td>
319
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
320
- <nobr>{{row.f_operator}}</nobr>
321
- </td>
322
- </tr>
323
- </template>
324
- </data-grid>
325
- </criteria-paged>
326
- </div>
327
- </template>
328
- <script>
329
- import {PagedList} from 'vue-client'
330
- import {isEmpty} from '../../../components/Util'
331
- export default {
332
- title: '勘探详情',
333
- props: ['showData'],
334
- data () {
335
- return {
336
- model: new PagedList('rs/sql/supervisory', 20, {
337
- data: {
338
- orgid: this.$login.f.orgid
339
- }
340
- }),
341
- orgid:'',
342
- curorgid: [this.$login.f.orgid],
343
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
344
- defnames: [{label: '全部', value: ''}], // 流程节点
345
- applyNatures: [{label: '全部', value: ''}], // 报建性质
346
- criteriaShow: false,
347
- subStates: [
348
- {label: '全部', value: ''},
349
- {label: '新增', value: '新增'},
350
- {label: '暂停', value: '暂停'},
351
- {label: '终止', value: '终止'},
352
- {label: '完工', value: '完工'},
353
- {label: '正在进行', value: '正在进行'}
354
- ], // 流程状态
355
- lyStates: [
356
- {label: '全部', value: ''},
357
- {label: '已领', value: '已领'},
358
- {label: '未领', value: '未领'}
359
-
360
- ],
361
- // 流程状态
362
- getfield: {
363
- 'f_apply_num': '工程编号',
364
- 'f_user_name': '客户名称',
365
- 'f_contract_number': '合同编号',
366
- 'f_phone': '电话',
367
- 'f_address': '地址',
368
- 'f_apply_type': '报建类型',
369
- 'f_apply_nature': '报建性质',
370
- 'f_cumulative_payment_money': '收费金额',
371
- 'defname': '办理环节',
372
- 'f_sub_state': '流程状态',
373
- 'f_apply_date': '报建日期',
374
- 'f_finish_date': '完工日期',
375
- 'f_apply_remarks': '备注',
376
- 'f_payment_remarks': '缴费备注',
377
- 'f_install_project': '安装项目',
378
- 'f_construction_unit': '施工单位',
379
- 'f_construction_date': '施工时间'
380
- }
381
- }
382
- },
383
- ready () {
384
- // 调用查询
385
- this.search()
386
- },
387
- events: {
388
- },
389
- methods: {
390
- loadPage () {
391
- this.$dispatch('loadPage')
392
- },
393
- // 查询
394
- search () {
395
- this.$dispatch('search')
396
- },
397
- check (val) {
398
- this.$dispatch('apply', val)
399
- },
400
- async applyTypeChange () {
401
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
402
- let res = await this.$resetpost('rs/logic/getDefnameByType',
403
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
404
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
405
- )
406
-
407
- this.defnames = [{label: '全部', value: ''}, ...res.data]
408
-
409
- 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}性质`)]
410
- } else {
411
- this.defnames = [{label: '全部', value: ''}]
412
- this.applyNatures = [{label: '全部', value: ''}]
413
- }
414
- },
415
- clear () {
416
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
417
- this.$refs.cp.$refs.cri.model[key] = null
418
- })
419
- },
420
- getorg (val) {
421
- if (val.length <= 0) {
422
- return
423
- }
424
- this.model.params.data.orgid = val[0]
425
- this.orgid= val[0]
426
- }
427
- },
428
- computed: {
429
- getCondition () {
430
- return {
431
- condition: this.model.condition,
432
- data: {
433
- orgid: this.orgid
434
- }
435
- }
436
- }
437
- }
438
- }
439
- </script>
440
- <style scoped>
441
- </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-2 button-range">
22
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
23
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
24
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
25
+ <export-excel :data="$parent.$parent.getCondition"
26
+ :field="$parent.$parent.getfield"
27
+ sqlurl="rs/logic/applyExportfile"
28
+ sql-name="supervisory"
29
+ template-name='报装信息导出'
30
+ :choose-col="true"></export-excel>
31
+ <div
32
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
33
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
34
+ class="button_spacing"
35
+ style="float: right">
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <div class="row" v-show="$parent.$parent.criteriaShow">
40
+ <div class="form-group col-sm-3">
41
+ <label class="font_normal_body">用户编号:</label>
42
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
43
+ v-on:keyup.enter="$parent.$parent.search()"
44
+ condition="f_userinfo_code like '%{}%'">
45
+ </div>
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" placeholder='工程编号' v-model="model.f_apply_num"
49
+ v-on:keyup.enter="search"
50
+ condition="f_apply_num like '%{}%'">
51
+ </div>
52
+ <div class="form-group col-sm-3">
53
+ <label class="font_normal_body">合同金额:</label>
54
+ <input type="text" style="width:60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
55
+ v-on:keyup.enter="$parent.$parent.search()"
56
+ condition="f_contract_money like '%{}%'">
57
+ </div>
58
+ <div class="form-group col-sm-3">
59
+ <label class="font_normal_body">联系电话:</label>
60
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
61
+ v-on:keyup.enter="search"
62
+ condition="f_phone like '%{}%'">
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_contract_number"
67
+ v-on:keyup.enter="search"
68
+ condition="f_contract_number = '{}'">
69
+ </div>
70
+ <div class="form-group col-sm-3">
71
+ <label class="font_normal_body">报建类型:</label>
72
+ <v-select
73
+ v-model="model.f_apply_type"
74
+ placeholder='报建类型'
75
+ condition="f_apply_type = '{}'"
76
+ :value.sync="model.f_apply_type"
77
+ :options='$parent.$parent.applytype'
78
+ class="select select_list"
79
+ :value-single="true"
80
+ @change="$parent.$parent.applyTypeChange()"
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.defname"
87
+ placeholder='办理环节'
88
+ condition="defname = '{}'"
89
+ :value.sync="model.defname"
90
+ :options='$parent.$parent.defnames'
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_apply_nature"
99
+ placeholder='报建性质'
100
+ condition="f_apply_nature = '{}'"
101
+ :value.sync="model.f_apply_nature"
102
+ :options='$parent.$parent.applyNatures'
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_sub_state"
111
+ placeholder='流程状态'
112
+ condition="f_sub_state = '{}'"
113
+ :value.sync="model.f_sub_state"
114
+ :options='$parent.$parent.subStates'
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
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
122
+ v-on:keyup.enter="search"
123
+ condition="f_address like '%{}%'">
124
+ </div>
125
+ <div class="form-group col-sm-3">
126
+ <label for="startDate" class="font_normal_body">开始时间:</label>
127
+ <datepicker id="startDate" placeholder="开始日期"
128
+ style="width: 60%!important;"
129
+ v-model="model.startDate"
130
+ :value.sync="model.startDate"
131
+ :format="'yyyy-MM-dd 00:00:00'"
132
+ :show-reset-button="true"
133
+ condition="f_apply_date >= '{}'">
134
+ </datepicker>
135
+ </div>
136
+ <div class="form-group col-sm-3">
137
+ <label for="endDate" class="font_normal_body">结束时间:</label>
138
+ <datepicker id="endDate" placeholder="结束日期"
139
+ style="width: 60%!important;"
140
+ v-model="model.endDate"
141
+ :value.sync="model.endDate"
142
+ :format="'yyyy-MM-dd 23:59:59'"
143
+ :show-reset-button="true"
144
+ condition="f_apply_date <= '{}'">
145
+ </datepicker>
146
+ </div>
147
+ <div class="form-group col-sm-3">
148
+ <label class="font_normal_body">施工单位:</label>
149
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
150
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
151
+ </div>
152
+ <div class="form-group col-sm-3">
153
+ <label class="font_normal_body">表&emsp;&emsp;号:</label>
154
+ <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
155
+ v-on:keyup.enter="$parent.$parent.search()"
156
+ condition="meternumber like '%{}%'">
157
+ </div>
158
+ <div class="form-group col-sm-3">
159
+ <label class="font_normal_body">领用人:</label>
160
+ <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
161
+ v-on:keyup.enter="$parent.$parent.search()"
162
+ condition="lyr like '%{}%'">
163
+ </div>
164
+ <div class="form-group col-sm-3">
165
+ <label class="font_normal_body">发货人:</label>
166
+ <input type="text" style="width:60%" class="input_search" placeholder='发货人' v-model="model.fyr"
167
+ v-on:keyup.enter="$parent.$parent.search()"
168
+ condition="fyr like '%{}%'">
169
+ </div>
170
+ <div class="form-group col-sm-3">
171
+ <label class="font_normal_body">发起人:</label>
172
+ <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
173
+ v-on:keyup.enter="$parent.$parent.search()"
174
+ condition="f_operator like '%{}%'">
175
+ </div>
176
+ <div class="form-group col-sm-3">
177
+ <label class="font_normal_body">领用状态:</label>
178
+ <v-select
179
+ v-model="model.frstate"
180
+ placeholder='流程状态'
181
+ condition="frstate = '{}'"
182
+ :value.sync="model.frstate"
183
+ :options='$parent.$parent.lyStates'
184
+ class="select select_list"
185
+ :value-single="true"
186
+ close-on-select ></v-select>
187
+ </div>
188
+ <div class="form-group col-sm-3">
189
+ <label for="startDate" class="font_normal_body">完工时间:</label>
190
+ <datepicker id="startDate" placeholder="开始日期"
191
+ style="width: 60%!important;"
192
+ v-model="model.startDate1"
193
+ :value.sync="model.startDate1"
194
+ :format="'yyyy-MM-dd 00:00:00'"
195
+ :show-reset-button="true"
196
+ condition=" f_finish_date >= '{}'">
197
+ </datepicker>
198
+ </div>
199
+ <div class="form-group col-sm-3">
200
+ <label for="endDate" class="font_normal_body">完工时间:</label>
201
+ <datepicker id="endDate" placeholder="结束日期"
202
+ style="width: 60%!important;"
203
+ v-model="model.endDate1"
204
+ :value.sync="model.endDate1"
205
+ :format="'yyyy-MM-dd 23:59:59'"
206
+ :show-reset-button="true"
207
+ condition="f_finish_date <= '{}'">
208
+ </datepicker>
209
+ </div>
210
+ <div class="form-group col-sm-3">
211
+ <label for="bookstart" class="font_normal_body">开始时间:</label>
212
+ <datepicker id="bookstart" placeholder="预约开始日期"
213
+ style="width: 60%!important;"
214
+ v-model="model.bookstart"
215
+ :value.sync="model.bookstart"
216
+ :format="'yyyy-MM-dd 00:00:00'"
217
+ :show-reset-button="true"
218
+ condition="f_order_date >= '{}'">
219
+ </datepicker>
220
+ </div>
221
+ <div class="form-group col-sm-3">
222
+ <label for="bookend" class="font_normal_body">结束时间:</label>
223
+ <datepicker id="bookend" placeholder="预约结束日期"
224
+ style="width: 60%!important;"
225
+ v-model="model.bookend"
226
+ :value.sync="model.bookend"
227
+ :format="'yyyy-MM-dd 23:59:59'"
228
+ :show-reset-button="true"
229
+ condition="f_order_date <= '{}'">
230
+ </datepicker>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </criteria>
235
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid 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
+ <th style="white-space: nowrap;">施工时间</th>
254
+ <th style="white-space: nowrap;">缴费金额</th>
255
+ <th style="white-space: nowrap;">领用人</th>
256
+ <th style="white-space: nowrap;">发货人</th>
257
+ <th style="white-space: nowrap;">发起人</th>
258
+ </tr>
259
+ </template>
260
+ <template partial='body'>
261
+ <tr>
262
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
263
+ <nobr>{{$index+1}}</nobr>
264
+ </td>
265
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
266
+ <nobr>{{row.f_apply_num}}</nobr>
267
+ </td>
268
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
269
+ <nobr>{{row.f_user_name}}</nobr>
270
+ </td>
271
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
272
+ <nobr>{{row.f_contract_number}}</nobr>
273
+ </td>
274
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
275
+ <nobr>{{row.f_phone}}</nobr>
276
+ </td>
277
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
278
+ <nobr>{{row.f_address}}</nobr>
279
+ </td>
280
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
281
+ <nobr>{{row.f_apply_source}}</nobr>
282
+ </td>
283
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
284
+ <nobr>{{row.f_apply_type}}</nobr>
285
+ </td>
286
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
287
+ <nobr>{{row.defname}}</nobr>
288
+ </td>
289
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
290
+ <nobr>{{row.f_sub_state}}</nobr>
291
+ </td>
292
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
293
+ <nobr>{{row.f_apply_date}}</nobr>
294
+ </td>
295
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
296
+ <nobr>{{row.f_finish_date}}</nobr>
297
+ </td>
298
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
299
+ <nobr>{{row.f_igniter_people}}</nobr>
300
+ </td>
301
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
302
+ <nobr>{{row.f_install_project}}</nobr>
303
+ </td>
304
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
305
+ <nobr>{{row.f_construction_unit}}</nobr>
306
+ </td>
307
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
308
+ <nobr>{{row.f_construction_date}}</nobr>
309
+ </td>
310
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
311
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
312
+ </td>
313
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
314
+ <nobr>{{row.lyr}}</nobr>
315
+ </td>
316
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
317
+ <nobr>{{row.fyr}}</nobr>
318
+ </td>
319
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
320
+ <nobr>{{row.f_operator}}</nobr>
321
+ </td>
322
+ </tr>
323
+ </template>
324
+ </data-grid>
325
+ </criteria-paged>
326
+ </div>
327
+ </template>
328
+ <script>
329
+ import {PagedList} from 'vue-client'
330
+ import {isEmpty} from '../../../components/Util'
331
+ export default {
332
+ title: '勘探详情',
333
+ props: ['showData'],
334
+ data () {
335
+ return {
336
+ model: new PagedList('rs/sql/supervisory', 20, {
337
+ data: {
338
+ orgid: this.$login.f.orgid
339
+ }
340
+ }),
341
+ orgid:'',
342
+ curorgid: [this.$login.f.orgid],
343
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
344
+ defnames: [{label: '全部', value: ''}], // 流程节点
345
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
346
+ criteriaShow: false,
347
+ subStates: [
348
+ {label: '全部', value: ''},
349
+ {label: '新增', value: '新增'},
350
+ {label: '暂停', value: '暂停'},
351
+ {label: '终止', value: '终止'},
352
+ {label: '完工', value: '完工'},
353
+ {label: '正在进行', value: '正在进行'}
354
+ ], // 流程状态
355
+ lyStates: [
356
+ {label: '全部', value: ''},
357
+ {label: '已领', value: '已领'},
358
+ {label: '未领', value: '未领'}
359
+
360
+ ],
361
+ // 流程状态
362
+ getfield: {
363
+ 'f_apply_num': '工程编号',
364
+ 'f_user_name': '客户名称',
365
+ 'f_contract_number': '合同编号',
366
+ 'f_phone': '电话',
367
+ 'f_address': '地址',
368
+ 'f_apply_type': '报建类型',
369
+ 'f_apply_nature': '报建性质',
370
+ 'f_cumulative_payment_money': '收费金额',
371
+ 'defname': '办理环节',
372
+ 'f_sub_state': '流程状态',
373
+ 'f_apply_date': '报建日期',
374
+ 'f_finish_date': '完工日期',
375
+ 'f_apply_remarks': '备注',
376
+ 'f_payment_remarks': '缴费备注',
377
+ 'f_install_project': '安装项目',
378
+ 'f_construction_unit': '施工单位',
379
+ 'f_construction_date': '施工时间'
380
+ }
381
+ }
382
+ },
383
+ ready () {
384
+ // 调用查询
385
+ this.search()
386
+ },
387
+ events: {
388
+ },
389
+ methods: {
390
+ loadPage () {
391
+ this.$dispatch('loadPage')
392
+ },
393
+ // 查询
394
+ search () {
395
+ this.$dispatch('search')
396
+ },
397
+ check (val) {
398
+ this.$dispatch('apply', val)
399
+ },
400
+ async applyTypeChange () {
401
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
402
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
403
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
404
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
405
+ )
406
+
407
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
408
+
409
+ 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}性质`)]
410
+ } else {
411
+ this.defnames = [{label: '全部', value: ''}]
412
+ this.applyNatures = [{label: '全部', value: ''}]
413
+ }
414
+ },
415
+ clear () {
416
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
417
+ this.$refs.cp.$refs.cri.model[key] = null
418
+ })
419
+ },
420
+ getorg (val) {
421
+ if (val.length <= 0) {
422
+ return
423
+ }
424
+ this.model.params.data.orgid = val[0]
425
+ this.orgid= val[0]
426
+ }
427
+ },
428
+ computed: {
429
+ getCondition () {
430
+ return {
431
+ condition: this.model.condition,
432
+ data: {
433
+ orgid: this.orgid
434
+ }
435
+ }
436
+ }
437
+ }
438
+ }
439
+ </script>
440
+ <style scoped>
441
+ </style>