apply-clients 3.5.4-99 → 3.5.5-10

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 (54) hide show
  1. package/build/dev-server.js +9 -6
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +2 -0
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/Process/Processes/contractModel.vue +424 -0
  9. package/src/components/product/ServiceView.vue +1028 -1028
  10. package/src/filiale/ancheng/android/AppSign.vue +149 -149
  11. package/src/filiale/ancheng/android/AppTakePic.vue +143 -143
  12. package/src/filiale/ancheng/android.js +7 -7
  13. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +858 -858
  14. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  15. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  16. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  17. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1845
  18. package/src/filiale/fugou/android/printCharge.vue +162 -162
  19. package/src/filiale/fugou/android.js +16 -16
  20. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  21. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  22. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  23. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  24. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  25. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  26. package/src/filiale/fugou/pc.js +17 -16
  27. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  28. package/src/filiale/hongda/pc/ApplyDetailsList.vue +329 -329
  29. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  30. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  31. package/src/filiale/qianneng/android.js +15 -15
  32. package/src/filiale/qianneng/pc/ApplyChargeList.vue +639 -639
  33. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  34. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +769 -769
  35. package/src/filiale/qianneng/pc/Applydetail.vue +417 -417
  36. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  37. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +434 -434
  38. package/src/filiale/qianneng/pc/ServiceControl.vue +1382 -1382
  39. package/src/filiale/qianneng/pc/StopApplyList.vue +334 -334
  40. package/src/filiale/qianneng/pc/SupervisoryList.vue +396 -396
  41. package/src/filiale/qianneng/pc/chargeManagement.vue +813 -813
  42. package/src/filiale/qianneng/pc.js +29 -29
  43. package/src/filiale/ruihua/pc/ServiceControl.vue +1967 -1966
  44. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  45. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  46. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1706
  47. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  48. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2115
  49. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  50. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  51. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  52. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1052
  53. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  54. package/src/main.js +23 -23
@@ -1,334 +1,334 @@
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
-
8
- <div class="form-group col-sm-3">
9
- <label class="font_normal_body">工程编号:</label>
10
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
11
- v-on:keyup.enter="search"
12
- condition="f_apply_num like '%{}%'">
13
- </div>
14
- <div class="form-group col-sm-3">
15
- <label class="font_normal_body">客户名称:</label>
16
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='客户名称'>
18
- </div>
19
- <div class="form-group col-sm-3">
20
- <label class="font_normal_body">用户地址:</label>
21
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
22
- v-on:keyup.enter="search"
23
- condition="f_address like '%{}%'">
24
- </div>
25
- <div class="form-group col-sm-2 button-range">
26
- <export-excel :data="$parent.$parent.getCondition"
27
- :field="$parent.$parent.getfield"
28
- sqlurl="rs/logic/applyExportfile"
29
- sql-name="getStopApply"
30
- template-name='终止报建信息导出'
31
- :choose-col="true"></export-excel>
32
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
33
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
- <div
35
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
36
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
37
- class="button_spacing"
38
- style="float: right">
39
- </div>
40
- </div>
41
- </div>
42
- <div class="row" v-show="$parent.$parent.criteriaShow">
43
- <div class="form-group col-sm-3">
44
- <label class="font_normal_body">组织机构:</label>
45
- <res-select
46
- restype='organization'
47
- :initresid='$parent.$parent.curorgid'
48
- @res-select="$parent.$parent.getorg"
49
- is-mul="false"
50
- ></res-select>
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_userinfo_code"
55
- v-on:keyup.enter="$parent.$parent.search()"
56
- condition="f_userinfo_code 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
- close-on-select ></v-select>
81
- </div>
82
- <div class="form-group col-sm-3">
83
- <label class="font_normal_body">类型:</label>
84
- <v-select
85
- v-model="model.f_type"
86
- placeholder='报建类型'
87
- condition="f_type = '{}'"
88
- :value.sync="model.f_type"
89
- :options='$parent.$parent.types'
90
- class="select select_list"
91
- :value-single="true"
92
- close-on-select ></v-select>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label class="font_normal_body">办理环节:</label>
96
- <v-select
97
- v-model="model.defname"
98
- placeholder='办理环节'
99
- condition="defname = '{}'"
100
- :value.sync="model.defname"
101
- :options='$parent.$parent.defnames'
102
- class="select select_list"
103
- :value-single="true"
104
- close-on-select ></v-select>
105
- </div>
106
- <div class="form-group col-sm-3">
107
- <label class="font_normal_body">报建性质:</label>
108
- <v-select
109
- v-model="model.f_apply_nature"
110
- placeholder='报建性质'
111
- condition="f_apply_nature = '{}'"
112
- :value.sync="model.f_apply_nature"
113
- :options='$parent.$parent.applyNatures'
114
- class="select select_list"
115
- :value-single="true"
116
- close-on-select ></v-select>
117
- </div>
118
- <div class="form-group col-sm-3">
119
- <label for="startDate" class="font_normal_body">开始时间:</label>
120
- <datepicker id="startDate" placeholder="开始日期"
121
- style="width: 60%!important;"
122
- v-model="model.startDate"
123
- :value.sync="model.startDate"
124
- :format="'yyyy-MM-dd 00:00:00'"
125
- :show-reset-button="true"
126
- condition="f_apply_date >= '{}'">
127
- </datepicker>
128
- </div>
129
- <div class="form-group col-sm-3">
130
- <label for="endDate" class="font_normal_body">结束时间:</label>
131
- <datepicker id="endDate" placeholder="结束日期"
132
- style="width: 60%!important;"
133
- v-model="model.endDate"
134
- :value.sync="model.endDate"
135
- :format="'yyyy-MM-dd 23:59:59'"
136
- :show-reset-button="true"
137
- condition="f_apply_date <= '{}'">
138
- </datepicker>
139
- </div>
140
- <div class="form-group col-sm-3">
141
- <label class="font_normal_body">备注:</label>
142
- <input type="text"
143
- style="width:60%"
144
- class="input_search"
145
- v-model="model.f_apply_remarks"
146
- v-on:keyup.enter="$parent.$parent.search()"
147
- condition="f_apply_remarks like '%{}%'" placeholder='备注'>
148
- </div>
149
- </div>
150
- </div>
151
- </criteria>
152
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
153
- <template partial='head'>
154
- <tr>
155
- <th style="white-space: nowrap;">序号</th>
156
- <th style="white-space: nowrap;">操作</th>
157
- <th style="white-space: nowrap;">报建编号</th>
158
- <th style="white-space: nowrap;">客户名称</th>
159
- <th style="white-space: nowrap;">联系人</th>
160
- <th style="white-space: nowrap;">电话</th>
161
- <th style="white-space: nowrap;">报建类型</th>
162
- <th style="white-space: nowrap;">办理环节</th>
163
- <th style="white-space: nowrap;">类型</th>
164
- <th style="white-space: nowrap;">状态</th>
165
- <th style="white-space: nowrap;">终止原因</th>
166
- <th style="white-space: nowrap;">终止时间</th>
167
- <th style="white-space: nowrap;">终止人</th>
168
- <th style="white-space: nowrap;">撤销原因</th>
169
- <th style="white-space: nowrap;">撤销时间</th>
170
- <th style="white-space: nowrap;">撤销人</th>
171
- <th style="white-space: nowrap;">备注</th>
172
- </tr>
173
- </template>
174
- <template partial='body'>
175
- <tr>
176
- <td style="text-align: center;">
177
- <nobr>{{$index+1}}</nobr>
178
- </td>
179
- <td style="text-align: center;">
180
- <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
181
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
182
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
183
- </button>
184
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
185
- <li>
186
- <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
187
- </li>
188
- </ul>
189
- </dropdown>
190
- </td>
191
- <td style="text-align: center;">
192
- <nobr>{{row.f_apply_num}}</nobr>
193
- </td>
194
- <td style="text-align: center;">
195
- <nobr>{{row.f_user_name}}</nobr>
196
- </td>
197
- <td style="text-align: center;">
198
- <nobr>{{row.f_contact}}</nobr>
199
- </td>
200
- <td style="text-align: center;">
201
- <nobr>{{row.f_phone}}</nobr>
202
- </td>
203
- <td style="text-align: center;">
204
- <nobr>{{row.f_apply_type}}</nobr>
205
- </td>
206
- <td style="text-align: center;">
207
- <nobr>{{row.defname}}</nobr>
208
- </td>
209
- <td style="text-align: center;">
210
- <nobr>{{row.f_type}}</nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr>{{row.f_state}}</nobr>
214
- </td>
215
- <td style="text-align: center;">
216
- <nobr>{{row.f_stop_reason}}</nobr>
217
- </td>
218
- <td style="text-align: center;">
219
- <nobr>{{row.f_stop_date}}</nobr>
220
- </td>
221
- <td style="text-align: center;">
222
- <nobr>{{row.f_operator}}</nobr>
223
- </td>
224
- <td style="text-align: center;">
225
- <nobr>{{row.f_cancel_reason}}</nobr>
226
- </td>
227
- <td style="text-align: center;">
228
- <nobr>{{row.f_cancel_date}}</nobr>
229
- </td>
230
- <td style="text-align: center;">
231
- <nobr>{{row.f_cancel_operator}}</nobr>
232
- </td>
233
- <td style="text-align: center;">
234
- <nobr>{{row.f_apply_remarks}}</nobr>
235
- </td>
236
- </tr>
237
- </template>
238
- </data-grid>
239
- </criteria-paged>
240
- </div>
241
- </template>
242
- <script>
243
- import {PagedList} from 'vue-client'
244
- import {isEmpty} from '../../../components/Util'
245
- export default {
246
- title: '勘探详情',
247
- data () {
248
- return {
249
- model: new PagedList('rs/sql/getStopApply', 20, {
250
- data: {
251
- orgid: this.$login.f.orgid
252
- }
253
- }),
254
- curorgid: [this.$login.f.orgid],
255
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
256
- types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
257
- defnames: this.$appdata.getParam('报建明细-办理环节')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建明细-办理环节')]:[{label: '全部', value: ''}], // 流程节点
258
- applyNatures: [{label: '全部', value: ''}], // 报建性质
259
- criteriaShow: false,
260
- getfield: {
261
- 'f_apply_num': '工程编号',
262
- 'f_user_name': '客户名称',
263
- 'f_contact': '联系人',
264
- 'f_phone': '电话',
265
- 'f_apply_type': '报建类型',
266
- 'defname': '办理环节',
267
- 'f_type': '类型',
268
- 'f_state': '状态',
269
- 'f_stop_reason': '终止原因',
270
- 'f_stop_date': '终止时间',
271
- 'f_operator': '终止人',
272
- 'f_cancel_reason': '撤销原因',
273
- 'f_cancel_date': '撤销时间',
274
- 'f_cancel_operator': '撤销人',
275
- 'f_apply_remarks': '备注'
276
- }
277
- }
278
- },
279
- ready () {
280
- // 调用查询
281
- this.search()
282
- },
283
- events: {
284
- },
285
- methods: {
286
- // 查询
287
- search () {
288
- this.$dispatch('search')
289
- },
290
- click (row) {
291
- this.$dispatch('cancelStopApply', row)
292
- },
293
- async applyTypeChange () {
294
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
295
- let res = await this.$resetpost('rs/logic/getDefnameByType',
296
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
297
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
298
- )
299
-
300
- this.defnames = [{label: '全部', value: ''}, ...res.data]
301
-
302
- 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}性质`)]
303
- } else {
304
- this.defnames = [{label: '全部', value: ''}]
305
-
306
- this.applyNatures = [{label: '全部', value: ''}]
307
- }
308
- },
309
- clear () {
310
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
311
- this.$refs.cp.$refs.cri.model[key] = null
312
- })
313
- },
314
- getorg (val) {
315
- if (val.length <= 0) {
316
- return
317
- }
318
- this.model.params.data.orgid = val[0]
319
- }
320
- },
321
- computed: {
322
- getCondition () {
323
- return {
324
- condition: this.model.condition,
325
- data: {
326
- orgid: this.$login.f.orgid
327
- }
328
- }
329
- },
330
- }
331
- }
332
- </script>
333
- <style scoped>
334
- </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
+
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">工程编号:</label>
10
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
11
+ v-on:keyup.enter="search"
12
+ condition="f_apply_num like '%{}%'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">客户名称:</label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='客户名称'>
18
+ </div>
19
+ <div class="form-group col-sm-3">
20
+ <label class="font_normal_body">用户地址:</label>
21
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
22
+ v-on:keyup.enter="search"
23
+ condition="f_address like '%{}%'">
24
+ </div>
25
+ <div class="form-group col-sm-2 button-range">
26
+ <export-excel :data="$parent.$parent.getCondition"
27
+ :field="$parent.$parent.getfield"
28
+ sqlurl="rs/logic/applyExportfile"
29
+ sql-name="getStopApply"
30
+ template-name='终止报建信息导出'
31
+ :choose-col="true"></export-excel>
32
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
33
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
+ <div
35
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
36
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
37
+ class="button_spacing"
38
+ style="float: right">
39
+ </div>
40
+ </div>
41
+ </div>
42
+ <div class="row" v-show="$parent.$parent.criteriaShow">
43
+ <div class="form-group col-sm-3">
44
+ <label class="font_normal_body">组织机构:</label>
45
+ <res-select
46
+ restype='organization'
47
+ :initresid='$parent.$parent.curorgid'
48
+ @res-select="$parent.$parent.getorg"
49
+ is-mul="false"
50
+ ></res-select>
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_userinfo_code"
55
+ v-on:keyup.enter="$parent.$parent.search()"
56
+ condition="f_userinfo_code 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
+ close-on-select ></v-select>
81
+ </div>
82
+ <div class="form-group col-sm-3">
83
+ <label class="font_normal_body">类型:</label>
84
+ <v-select
85
+ v-model="model.f_type"
86
+ placeholder='报建类型'
87
+ condition="f_type = '{}'"
88
+ :value.sync="model.f_type"
89
+ :options='$parent.$parent.types'
90
+ class="select select_list"
91
+ :value-single="true"
92
+ close-on-select ></v-select>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label class="font_normal_body">办理环节:</label>
96
+ <v-select
97
+ v-model="model.defname"
98
+ placeholder='办理环节'
99
+ condition="defname = '{}'"
100
+ :value.sync="model.defname"
101
+ :options='$parent.$parent.defnames'
102
+ class="select select_list"
103
+ :value-single="true"
104
+ close-on-select ></v-select>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label class="font_normal_body">报建性质:</label>
108
+ <v-select
109
+ v-model="model.f_apply_nature"
110
+ placeholder='报建性质'
111
+ condition="f_apply_nature = '{}'"
112
+ :value.sync="model.f_apply_nature"
113
+ :options='$parent.$parent.applyNatures'
114
+ class="select select_list"
115
+ :value-single="true"
116
+ close-on-select ></v-select>
117
+ </div>
118
+ <div class="form-group col-sm-3">
119
+ <label for="startDate" class="font_normal_body">开始时间:</label>
120
+ <datepicker id="startDate" placeholder="开始日期"
121
+ style="width: 60%!important;"
122
+ v-model="model.startDate"
123
+ :value.sync="model.startDate"
124
+ :format="'yyyy-MM-dd 00:00:00'"
125
+ :show-reset-button="true"
126
+ condition="f_apply_date >= '{}'">
127
+ </datepicker>
128
+ </div>
129
+ <div class="form-group col-sm-3">
130
+ <label for="endDate" class="font_normal_body">结束时间:</label>
131
+ <datepicker id="endDate" placeholder="结束日期"
132
+ style="width: 60%!important;"
133
+ v-model="model.endDate"
134
+ :value.sync="model.endDate"
135
+ :format="'yyyy-MM-dd 23:59:59'"
136
+ :show-reset-button="true"
137
+ condition="f_apply_date <= '{}'">
138
+ </datepicker>
139
+ </div>
140
+ <div class="form-group col-sm-3">
141
+ <label class="font_normal_body">备注:</label>
142
+ <input type="text"
143
+ style="width:60%"
144
+ class="input_search"
145
+ v-model="model.f_apply_remarks"
146
+ v-on:keyup.enter="$parent.$parent.search()"
147
+ condition="f_apply_remarks like '%{}%'" placeholder='备注'>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </criteria>
152
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
153
+ <template partial='head'>
154
+ <tr>
155
+ <th style="white-space: nowrap;">序号</th>
156
+ <th style="white-space: nowrap;">操作</th>
157
+ <th style="white-space: nowrap;">报建编号</th>
158
+ <th style="white-space: nowrap;">客户名称</th>
159
+ <th style="white-space: nowrap;">联系人</th>
160
+ <th style="white-space: nowrap;">电话</th>
161
+ <th style="white-space: nowrap;">报建类型</th>
162
+ <th style="white-space: nowrap;">办理环节</th>
163
+ <th style="white-space: nowrap;">类型</th>
164
+ <th style="white-space: nowrap;">状态</th>
165
+ <th style="white-space: nowrap;">终止原因</th>
166
+ <th style="white-space: nowrap;">终止时间</th>
167
+ <th style="white-space: nowrap;">终止人</th>
168
+ <th style="white-space: nowrap;">撤销原因</th>
169
+ <th style="white-space: nowrap;">撤销时间</th>
170
+ <th style="white-space: nowrap;">撤销人</th>
171
+ <th style="white-space: nowrap;">备注</th>
172
+ </tr>
173
+ </template>
174
+ <template partial='body'>
175
+ <tr>
176
+ <td style="text-align: center;">
177
+ <nobr>{{$index+1}}</nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
181
+ <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
182
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
183
+ </button>
184
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
185
+ <li>
186
+ <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
187
+ </li>
188
+ </ul>
189
+ </dropdown>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.f_apply_num}}</nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr>{{row.f_user_name}}</nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr>{{row.f_contact}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_phone}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.f_apply_type}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.defname}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_type}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.f_state}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.f_stop_reason}}</nobr>
217
+ </td>
218
+ <td style="text-align: center;">
219
+ <nobr>{{row.f_stop_date}}</nobr>
220
+ </td>
221
+ <td style="text-align: center;">
222
+ <nobr>{{row.f_operator}}</nobr>
223
+ </td>
224
+ <td style="text-align: center;">
225
+ <nobr>{{row.f_cancel_reason}}</nobr>
226
+ </td>
227
+ <td style="text-align: center;">
228
+ <nobr>{{row.f_cancel_date}}</nobr>
229
+ </td>
230
+ <td style="text-align: center;">
231
+ <nobr>{{row.f_cancel_operator}}</nobr>
232
+ </td>
233
+ <td style="text-align: center;">
234
+ <nobr>{{row.f_apply_remarks}}</nobr>
235
+ </td>
236
+ </tr>
237
+ </template>
238
+ </data-grid>
239
+ </criteria-paged>
240
+ </div>
241
+ </template>
242
+ <script>
243
+ import {PagedList} from 'vue-client'
244
+ import {isEmpty} from '../../../components/Util'
245
+ export default {
246
+ title: '勘探详情',
247
+ data () {
248
+ return {
249
+ model: new PagedList('rs/sql/getStopApply', 20, {
250
+ data: {
251
+ orgid: this.$login.f.orgid
252
+ }
253
+ }),
254
+ curorgid: [this.$login.f.orgid],
255
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
256
+ types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
257
+ defnames: this.$appdata.getParam('报建明细-办理环节')?[{label: '全部', value: ''}, ...this.$appdata.getParam('报建明细-办理环节')]:[{label: '全部', value: ''}], // 流程节点
258
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
259
+ criteriaShow: false,
260
+ getfield: {
261
+ 'f_apply_num': '工程编号',
262
+ 'f_user_name': '客户名称',
263
+ 'f_contact': '联系人',
264
+ 'f_phone': '电话',
265
+ 'f_apply_type': '报建类型',
266
+ 'defname': '办理环节',
267
+ 'f_type': '类型',
268
+ 'f_state': '状态',
269
+ 'f_stop_reason': '终止原因',
270
+ 'f_stop_date': '终止时间',
271
+ 'f_operator': '终止人',
272
+ 'f_cancel_reason': '撤销原因',
273
+ 'f_cancel_date': '撤销时间',
274
+ 'f_cancel_operator': '撤销人',
275
+ 'f_apply_remarks': '备注'
276
+ }
277
+ }
278
+ },
279
+ ready () {
280
+ // 调用查询
281
+ this.search()
282
+ },
283
+ events: {
284
+ },
285
+ methods: {
286
+ // 查询
287
+ search () {
288
+ this.$dispatch('search')
289
+ },
290
+ click (row) {
291
+ this.$dispatch('cancelStopApply', row)
292
+ },
293
+ async applyTypeChange () {
294
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
295
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
296
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
297
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
298
+ )
299
+
300
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
301
+
302
+ 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}性质`)]
303
+ } else {
304
+ this.defnames = [{label: '全部', value: ''}]
305
+
306
+ this.applyNatures = [{label: '全部', value: ''}]
307
+ }
308
+ },
309
+ clear () {
310
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
311
+ this.$refs.cp.$refs.cri.model[key] = null
312
+ })
313
+ },
314
+ getorg (val) {
315
+ if (val.length <= 0) {
316
+ return
317
+ }
318
+ this.model.params.data.orgid = val[0]
319
+ }
320
+ },
321
+ computed: {
322
+ getCondition () {
323
+ return {
324
+ condition: this.model.condition,
325
+ data: {
326
+ orgid: this.$login.f.orgid
327
+ }
328
+ }
329
+ },
330
+ }
331
+ }
332
+ </script>
333
+ <style scoped>
334
+ </style>