apply-clients 3.5.4-81 → 3.5.4-82

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