apply-clients 3.5.5-74 → 3.5.5-76

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 (31) hide show
  1. package/build/dev-server.js +7 -6
  2. package/package.json +2 -2
  3. package/src/App.vue +25 -25
  4. package/src/components/android/AppCheckTakePic.vue +168 -168
  5. package/src/components/android/Process/AppExplorationUser.vue +0 -1
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/PcZhihuanManagement.vue +160 -160
  8. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  9. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  10. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  11. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  12. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  13. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  14. package/src/filiale/fugou/android/AppExplorationUser.vue +508 -508
  15. package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -542
  16. package/src/filiale/fugou/android/AppServiceControl.vue +1840 -1840
  17. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  18. package/src/filiale/fugou/pc/ExplorationSelect.vue +524 -524
  19. package/src/filiale/fugou/pc/ServiceControl.vue +1714 -1714
  20. package/src/filiale/fugou/pc/StopApplyList.vue +291 -291
  21. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  22. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  23. package/src/filiale/fugou/pc/chargeReport.vue +215 -215
  24. package/src/filiale/fugou/pc.js +18 -18
  25. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -497
  26. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -337
  27. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
  28. package/src/main.js +2 -1
  29. package/src/test/SessionTestServlet.java +0 -69
  30. package/webapp/WEB-INF/web.xml +0 -52
  31. package/webapp/session-test.jsp +0 -59
@@ -1,291 +1,291 @@
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
- @change="$parent.$parent.applyTypeChange()"
75
- close-on-select ></v-select>
76
- </div>
77
- <div class="form-group col-sm-3">
78
- <label class="font_normal_body">类型:</label>
79
- <v-select
80
- v-model="model.f_type"
81
- placeholder='报建类型'
82
- condition="f_type = '{}'"
83
- :value.sync="model.f_type"
84
- :options='$parent.$parent.types'
85
- class="select select_list"
86
- :value-single="true"
87
- close-on-select ></v-select>
88
- </div>
89
- <div class="form-group col-sm-3">
90
- <label class="font_normal_body">办理环节:</label>
91
- <v-select
92
- v-model="model.defname"
93
- placeholder='办理环节'
94
- condition="defname = '{}'"
95
- :value.sync="model.defname"
96
- :options='$parent.$parent.defnames'
97
- class="select select_list"
98
- :value-single="true"
99
- close-on-select ></v-select>
100
- </div>
101
- <div class="form-group col-sm-3">
102
- <label class="font_normal_body">报建性质:</label>
103
- <v-select
104
- v-model="model.f_apply_nature"
105
- placeholder='报建性质'
106
- condition="f_apply_nature = '{}'"
107
- :value.sync="model.f_apply_nature"
108
- :options='$parent.$parent.applyNatures'
109
- class="select select_list"
110
- :value-single="true"
111
- close-on-select ></v-select>
112
- </div>
113
- <div class="form-group col-sm-3">
114
- <label for="startDate" class="font_normal_body">开始时间:</label>
115
- <datepicker id="startDate" placeholder="开始日期"
116
- style="width: 60%!important;"
117
- v-model="model.startDate"
118
- :value.sync="model.startDate"
119
- :format="'yyyy-MM-dd 00:00:00'"
120
- :show-reset-button="true"
121
- condition="f_stop_date >= '{}'">
122
- </datepicker>
123
- </div>
124
- <div class="form-group col-sm-3">
125
- <label for="endDate" class="font_normal_body">结束时间:</label>
126
- <datepicker id="endDate" placeholder="结束日期"
127
- style="width: 60%!important;"
128
- v-model="model.endDate"
129
- :value.sync="model.endDate"
130
- :format="'yyyy-MM-dd 23:59:59'"
131
- :show-reset-button="true"
132
- condition="f_stop_date <= '{}'">
133
- </datepicker>
134
- </div>
135
- </div>
136
- </div>
137
- </criteria>
138
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
139
- <template partial='head'>
140
- <tr>
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
- <th style="white-space: nowrap;">撤销人</th>
157
- </tr>
158
- </template>
159
- <template partial='body'>
160
- <tr>
161
- <td style="text-align: center;">
162
- <nobr>{{$index+1}}</nobr>
163
- </td>
164
- <td style="text-align: center;">
165
- <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
166
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
167
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
168
- </button>
169
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
170
- <li>
171
- <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
172
- </li>
173
- </ul>
174
- </dropdown>
175
- </td>
176
- <td style="text-align: center;">
177
- <nobr>{{row.f_apply_num}}</nobr>
178
- </td>
179
- <td style="text-align: center;">
180
- <nobr>{{row.f_user_name}}</nobr>
181
- </td>
182
- <td style="text-align: center;">
183
- <nobr>{{row.f_contact}}</nobr>
184
- </td>
185
- <td style="text-align: center;">
186
- <nobr>{{row.f_phone}}</nobr>
187
- </td>
188
- <td style="text-align: center;">
189
- <nobr>{{row.f_apply_type}}</nobr>
190
- </td>
191
- <td style="text-align: center;">
192
- <nobr>{{row.defname}}</nobr>
193
- </td>
194
- <td style="text-align: center;">
195
- <nobr>{{row.f_type}}</nobr>
196
- </td>
197
- <td style="text-align: center;">
198
- <nobr>{{row.f_state}}</nobr>
199
- </td>
200
- <td style="text-align: center;">
201
- <nobr>{{row.f_stop_reason}}</nobr>
202
- </td>
203
- <td style="text-align: center;">
204
- <nobr>{{row.f_stop_date}}</nobr>
205
- </td>
206
- <td style="text-align: center;">
207
- <nobr>{{row.f_operator}}</nobr>
208
- </td>
209
- <td style="text-align: center;">
210
- <nobr>{{row.f_cancel_reason}}</nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr>{{row.f_cancel_date}}</nobr>
214
- </td>
215
- <td style="text-align: center;">
216
- <nobr>{{row.f_cancel_operator}}</nobr>
217
- </td>
218
- </tr>
219
- </template>
220
- </data-grid>
221
- </criteria-paged>
222
- </div>
223
- </template>
224
- <script>
225
- import {PagedList} from 'vue-client'
226
- import {isEmpty} from '../../../components/Util'
227
- export default {
228
- title: '勘探详情',
229
- data () {
230
- return {
231
- model: new PagedList('rs/sql/getStopApply', 20, {
232
- data: {
233
- orgid: this.$login.f.orgid
234
- }
235
- }),
236
- curorgid: [this.$login.f.orgid],
237
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
238
- types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
239
- defnames: [{label: '全部', value: ''}], // 流程节点
240
- applyNatures: [{label: '全部', value: ''}], // 报建性质
241
- criteriaShow: false
242
- }
243
- },
244
- ready () {
245
- // 调用查询
246
- this.search()
247
- },
248
- events: {
249
- },
250
- methods: {
251
- // 查询
252
- search () {
253
- this.$dispatch('search')
254
- },
255
- click (row) {
256
- this.$dispatch('cancelStopApply', row)
257
- },
258
- async applyTypeChange () {
259
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
260
- let res = await this.$resetpost('rs/logic/getDefnameByType',
261
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
262
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
263
- )
264
-
265
- this.defnames = [{label: '全部', value: ''}, ...res.data]
266
-
267
- 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}性质`)]
268
- } else {
269
- this.defnames = [{label: '全部', value: ''}]
270
-
271
- this.applyNatures = [{label: '全部', value: ''}]
272
- }
273
- },
274
- clear () {
275
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
276
- this.$refs.cp.$refs.cri.model[key] = null
277
- })
278
- },
279
- getorg (val) {
280
- if (val.length <= 0) {
281
- return
282
- }
283
- this.model.params.data.orgid = val[0]
284
- }
285
- },
286
- computed: {
287
- }
288
- }
289
- </script>
290
- <style scoped>
291
- </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
+ <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
+ @change="$parent.$parent.applyTypeChange()"
75
+ close-on-select ></v-select>
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">类型:</label>
79
+ <v-select
80
+ v-model="model.f_type"
81
+ placeholder='报建类型'
82
+ condition="f_type = '{}'"
83
+ :value.sync="model.f_type"
84
+ :options='$parent.$parent.types'
85
+ class="select select_list"
86
+ :value-single="true"
87
+ close-on-select ></v-select>
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label class="font_normal_body">办理环节:</label>
91
+ <v-select
92
+ v-model="model.defname"
93
+ placeholder='办理环节'
94
+ condition="defname = '{}'"
95
+ :value.sync="model.defname"
96
+ :options='$parent.$parent.defnames'
97
+ class="select select_list"
98
+ :value-single="true"
99
+ close-on-select ></v-select>
100
+ </div>
101
+ <div class="form-group col-sm-3">
102
+ <label class="font_normal_body">报建性质:</label>
103
+ <v-select
104
+ v-model="model.f_apply_nature"
105
+ placeholder='报建性质'
106
+ condition="f_apply_nature = '{}'"
107
+ :value.sync="model.f_apply_nature"
108
+ :options='$parent.$parent.applyNatures'
109
+ class="select select_list"
110
+ :value-single="true"
111
+ close-on-select ></v-select>
112
+ </div>
113
+ <div class="form-group col-sm-3">
114
+ <label for="startDate" class="font_normal_body">开始时间:</label>
115
+ <datepicker id="startDate" placeholder="开始日期"
116
+ style="width: 60%!important;"
117
+ v-model="model.startDate"
118
+ :value.sync="model.startDate"
119
+ :format="'yyyy-MM-dd 00:00:00'"
120
+ :show-reset-button="true"
121
+ condition="f_stop_date >= '{}'">
122
+ </datepicker>
123
+ </div>
124
+ <div class="form-group col-sm-3">
125
+ <label for="endDate" class="font_normal_body">结束时间:</label>
126
+ <datepicker id="endDate" placeholder="结束日期"
127
+ style="width: 60%!important;"
128
+ v-model="model.endDate"
129
+ :value.sync="model.endDate"
130
+ :format="'yyyy-MM-dd 23:59:59'"
131
+ :show-reset-button="true"
132
+ condition="f_stop_date <= '{}'">
133
+ </datepicker>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </criteria>
138
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
139
+ <template partial='head'>
140
+ <tr>
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
+ <th style="white-space: nowrap;">撤销人</th>
157
+ </tr>
158
+ </template>
159
+ <template partial='body'>
160
+ <tr>
161
+ <td style="text-align: center;">
162
+ <nobr>{{$index+1}}</nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
166
+ <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
167
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
168
+ </button>
169
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
170
+ <li>
171
+ <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
172
+ </li>
173
+ </ul>
174
+ </dropdown>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <nobr>{{row.f_apply_num}}</nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr>{{row.f_user_name}}</nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr>{{row.f_contact}}</nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr>{{row.f_phone}}</nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr>{{row.f_apply_type}}</nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.defname}}</nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr>{{row.f_type}}</nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr>{{row.f_state}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_stop_reason}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.f_stop_date}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.f_operator}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_cancel_reason}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.f_cancel_date}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.f_cancel_operator}}</nobr>
217
+ </td>
218
+ </tr>
219
+ </template>
220
+ </data-grid>
221
+ </criteria-paged>
222
+ </div>
223
+ </template>
224
+ <script>
225
+ import {PagedList} from 'vue-client'
226
+ import {isEmpty} from '../../../components/Util'
227
+ export default {
228
+ title: '勘探详情',
229
+ data () {
230
+ return {
231
+ model: new PagedList('rs/sql/getStopApply', 20, {
232
+ data: {
233
+ orgid: this.$login.f.orgid
234
+ }
235
+ }),
236
+ curorgid: [this.$login.f.orgid],
237
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
238
+ types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
239
+ defnames: [{label: '全部', value: ''}], // 流程节点
240
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
241
+ criteriaShow: false
242
+ }
243
+ },
244
+ ready () {
245
+ // 调用查询
246
+ this.search()
247
+ },
248
+ events: {
249
+ },
250
+ methods: {
251
+ // 查询
252
+ search () {
253
+ this.$dispatch('search')
254
+ },
255
+ click (row) {
256
+ this.$dispatch('cancelStopApply', row)
257
+ },
258
+ async applyTypeChange () {
259
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
260
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
261
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
262
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
263
+ )
264
+
265
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
266
+
267
+ 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}性质`)]
268
+ } else {
269
+ this.defnames = [{label: '全部', value: ''}]
270
+
271
+ this.applyNatures = [{label: '全部', value: ''}]
272
+ }
273
+ },
274
+ clear () {
275
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
276
+ this.$refs.cp.$refs.cri.model[key] = null
277
+ })
278
+ },
279
+ getorg (val) {
280
+ if (val.length <= 0) {
281
+ return
282
+ }
283
+ this.model.params.data.orgid = val[0]
284
+ }
285
+ },
286
+ computed: {
287
+ }
288
+ }
289
+ </script>
290
+ <style scoped>
291
+ </style>