apply-clients 3.5.4-96 → 3.5.4-97

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