apply-clients 3.3.61 → 3.3.65

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 (36) hide show
  1. package/build/dev-server.js +4 -4
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +35 -35
  4. package/src/apply.js +87 -93
  5. package/src/applyAndroid.js +31 -31
  6. package/src/components/android/AppOnetomany.vue +301 -301
  7. package/src/components/android/AppServiceView.vue +566 -566
  8. package/src/components/android/AppSign.vue +142 -142
  9. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  10. package/src/components/android/Process/AppServiceControl.vue +865 -865
  11. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  12. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  13. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  14. package/src/components/product/Function/InstallFunction.vue +132 -132
  15. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  16. package/src/components/product/Material/MaterialDetailed.vue +235 -235
  17. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  18. package/src/components/product/OldApply/OldApply.vue +150 -150
  19. package/src/components/product/Onetomany.vue +377 -377
  20. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  21. package/src/components/product/Process/ExplorationSelect.vue +457 -457
  22. package/src/components/product/Process/ExplorationUser.vue +147 -147
  23. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  24. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  25. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  26. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  27. package/src/components/product/ServiceView.vue +631 -631
  28. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +804 -804
  29. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  30. package/src/components/product/Supervisory/SupervisoryList.vue +311 -306
  31. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  32. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  33. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  34. package/src/components/product/Order/OrderApply.vue +0 -47
  35. package/src/components/product/Order/OrderApplyList.vue +0 -263
  36. package/src/components/product/Order/OrderMessage.vue +0 -237
@@ -1,306 +1,311 @@
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
- <res-select
10
- restype='organization'
11
- :initresid='$parent.$parent.curorgid'
12
- @res-select="$parent.$parent.getorg"
13
- is-mul="false"
14
- ></res-select>
15
- </div>
16
- <div class="form-group col-sm-3">
17
- <label class="font_normal_body">工程编号:</label>
18
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
19
- v-on:keyup.enter="search"
20
- condition="f_apply_num = '{}'">
21
- </div>
22
- <div class="form-group col-sm-2 button-range">
23
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
24
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
25
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
26
- <export-excel :data="$parent.$parent.getCondition"
27
- :field="$parent.$parent.getfield"
28
- sqlurl="rs/logic/applyExportfile"
29
- sql-name="supervisory"
30
- template-name='报装信息导出'
31
- :choose-col="true"></export-excel>
32
- <div
33
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
34
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
35
- class="button_spacing"
36
- style="float: right">
37
- </div>
38
- </div>
39
- </div>
40
- <div class="row" v-show="$parent.$parent.criteriaShow">
41
- <div class="form-group col-sm-3">
42
- <label class="font_normal_body">客户名称:</label>
43
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
44
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
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_phone"
49
- v-on:keyup.enter="search"
50
- condition="f_phone like '%{}%'">
51
- </div>
52
- <div class="form-group col-sm-3">
53
- <label class="font_normal_body">合同编号:</label>
54
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
55
- v-on:keyup.enter="search"
56
- condition="f_contract_number = '{}'">
57
- </div>
58
- <div class="form-group col-sm-3">
59
- <label class="font_normal_body">报建类型:</label>
60
- <v-select
61
- v-model="model.f_apply_type"
62
- placeholder='报建类型'
63
- condition="f_apply_type = '{}'"
64
- :value.sync="model.f_apply_type"
65
- :options='$parent.$parent.applytype'
66
- class="select select_list"
67
- :value-single="true"
68
- @change="$parent.$parent.applyTypeChange()"
69
- close-on-select ></v-select>
70
- </div>
71
- <div class="form-group col-sm-3">
72
- <label class="font_normal_body">办理环节:</label>
73
- <v-select
74
- v-model="model.defname"
75
- placeholder='办理环节'
76
- condition="defname = '{}'"
77
- :value.sync="model.defname"
78
- :options='$parent.$parent.defnames'
79
- class="select select_list"
80
- :value-single="true"
81
- close-on-select ></v-select>
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label class="font_normal_body">报建性质:</label>
85
- <v-select
86
- v-model="model.f_apply_nature"
87
- placeholder='报建性质'
88
- condition="f_apply_nature = '{}'"
89
- :value.sync="model.f_apply_nature"
90
- :options='$parent.$parent.applyNatures'
91
- class="select select_list"
92
- :value-single="true"
93
- close-on-select ></v-select>
94
- </div>
95
- <div class="form-group col-sm-3">
96
- <label class="font_normal_body">流程状态:</label>
97
- <v-select
98
- v-model="model.f_sub_state"
99
- placeholder='流程状态'
100
- condition="f_sub_state = '{}'"
101
- :value.sync="model.f_sub_state"
102
- :options='$parent.$parent.subStates'
103
- class="select select_list"
104
- :value-single="true"
105
- close-on-select ></v-select>
106
- </div>
107
- <div class="form-group col-sm-3">
108
- <label class="font_normal_body">用户地址:</label>
109
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
110
- v-on:keyup.enter="search"
111
- condition="f_address like '%{}%'">
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_apply_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_apply_date <= '{}'">
133
- </datepicker>
134
- </div>
135
- </div>
136
- </div>
137
- </criteria>
138
- <data-grid v-if="$parent.showData" :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
- </tr>
155
- </template>
156
- <template partial='body'>
157
- <tr>
158
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
159
- <nobr>{{$index+1}}</nobr>
160
- </td>
161
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
162
- <nobr>{{row.f_apply_num}}</nobr>
163
- </td>
164
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
165
- <nobr>{{row.f_user_name}}</nobr>
166
- </td>
167
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
168
- <nobr>{{row.f_contract_number}}</nobr>
169
- </td>
170
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
171
- <nobr>{{row.f_phone}}</nobr>
172
- </td>
173
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
174
- <nobr>{{row.f_address}}</nobr>
175
- </td>
176
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
177
- <nobr>{{row.f_apply_source}}</nobr>
178
- </td>
179
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
180
- <nobr>{{row.f_apply_type}}</nobr>
181
- </td>
182
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
183
- <nobr>{{row.defname}}</nobr>
184
- </td>
185
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
186
- <nobr>{{row.f_sub_state}}</nobr>
187
- </td>
188
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
189
- <nobr>{{row.f_apply_date}}</nobr>
190
- </td>
191
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
192
- <nobr>{{row.f_construction_unit}}</nobr>
193
- </td>
194
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
195
- <nobr>{{row.f_construction_date}}</nobr>
196
- </td>
197
- </tr>
198
- </template>
199
- </data-grid>
200
- </criteria-paged>
201
- </div>
202
- </template>
203
- <script>
204
- import {PagedList} from 'vue-client'
205
- import {isEmpty} from '../../Util'
206
- export default {
207
- title: '勘探详情',
208
- props: ['showData'],
209
- data () {
210
- return {
211
- model: new PagedList('rs/sql/supervisory', 20, {
212
- data: {
213
- orgid: this.$login.f.orgid
214
- }
215
- }),
216
- curorgid: [this.$login.f.orgid],
217
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
218
- defnames: [{label: '全部', value: ''}], // 流程节点
219
- applyNatures: [{label: '全部', value: ''}], // 报建性质
220
- criteriaShow: false,
221
- subStates: [
222
- {label: '全部', value: ''},
223
- {label: '新增', value: '新增'},
224
- {label: '暂停', value: '暂停'},
225
- {label: '终止', value: '终止'},
226
- {label: '完工', value: '完工'},
227
- {label: '正在进行', value: '正在进行'}
228
- ], // 流程状态
229
- getfield: {
230
- 'f_apply_num': '工程编号',
231
- 'f_user_name': '客户名称',
232
- 'f_contract_number': '合同编号',
233
- 'f_phone': '电话',
234
- 'f_address': '地址',
235
- 'f_apply_type': '报建类型',
236
- 'f_apply_nature': '报建性质',
237
- 'f_cumulative_payment_money': '收费金额',
238
- 'defname': '办理环节',
239
- 'f_sub_state': '流程状态',
240
- 'f_apply_date': '报建日期',
241
- 'f_apply_remarks': '备注',
242
- 'f_payment_remarks': '缴费备注',
243
- 'f_operator': '发起人',
244
- 'f_construction_unit': '施工单位',
245
- 'f_construction_date': '施工时间'
246
- }
247
- }
248
- },
249
- ready () {
250
- // 调用查询
251
- this.search()
252
- },
253
- events: {
254
- },
255
- methods: {
256
- loadPage () {
257
- this.$dispatch('loadPage')
258
- },
259
- // 查询
260
- search () {
261
- this.$dispatch('search')
262
- },
263
- check (val) {
264
- this.$dispatch('apply', val)
265
- },
266
- async applyTypeChange () {
267
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
268
- let res = await this.$resetpost('rs/logic/getDefnameByType',
269
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
270
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
271
- )
272
-
273
- this.defnames = [{label: '全部', value: ''}, ...res.data]
274
-
275
- 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}性质`)]
276
- } else {
277
- this.defnames = [{label: '全部', value: ''}]
278
- this.applyNatures = [{label: '全部', value: ''}]
279
- }
280
- },
281
- clear () {
282
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
283
- this.$refs.cp.$refs.cri.model[key] = null
284
- })
285
- },
286
- getorg (val) {
287
- if (val.length <= 0) {
288
- return
289
- }
290
- this.model.params.data.orgid = val[0]
291
- }
292
- },
293
- computed: {
294
- getCondition () {
295
- return {
296
- condition: this.model.condition,
297
- data: {
298
- orgid: this.$login.f.orgid
299
- }
300
- }
301
- }
302
- }
303
- }
304
- </script>
305
- <style scoped>
306
- </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
+ <res-select
10
+ restype='organization'
11
+ :initresid='$parent.$parent.curorgid'
12
+ @res-select="$parent.$parent.getorg"
13
+ is-mul="false"
14
+ ></res-select>
15
+ </div>
16
+ <div class="form-group col-sm-3">
17
+ <label class="font_normal_body">工程编号:</label>
18
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
19
+ v-on:keyup.enter="search"
20
+ condition="f_apply_num = '{}'">
21
+ </div>
22
+ <div class="form-group col-sm-2 button-range">
23
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
24
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
25
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
26
+ <export-excel :data="$parent.$parent.getCondition"
27
+ :field="$parent.$parent.getfield"
28
+ sqlurl="rs/logic/applyExportfile"
29
+ sql-name="supervisory"
30
+ template-name='报装信息导出'
31
+ :choose-col="true"></export-excel>
32
+ <div
33
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
34
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
35
+ class="button_spacing"
36
+ style="float: right">
37
+ </div>
38
+ </div>
39
+ </div>
40
+ <div class="row" v-show="$parent.$parent.criteriaShow">
41
+ <div class="form-group col-sm-3">
42
+ <label class="font_normal_body">客户名称:</label>
43
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
44
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
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_phone"
49
+ v-on:keyup.enter="search"
50
+ condition="f_phone like '%{}%'">
51
+ </div>
52
+ <div class="form-group col-sm-3">
53
+ <label class="font_normal_body">合同编号:</label>
54
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
55
+ v-on:keyup.enter="search"
56
+ condition="f_contract_number = '{}'">
57
+ </div>
58
+ <div class="form-group col-sm-3">
59
+ <label class="font_normal_body">报建类型:</label>
60
+ <v-select
61
+ v-model="model.f_apply_type"
62
+ placeholder='报建类型'
63
+ condition="f_apply_type = '{}'"
64
+ :value.sync="model.f_apply_type"
65
+ :options='$parent.$parent.applytype'
66
+ class="select select_list"
67
+ :value-single="true"
68
+ @change="$parent.$parent.applyTypeChange()"
69
+ close-on-select ></v-select>
70
+ </div>
71
+ <div class="form-group col-sm-3">
72
+ <label class="font_normal_body">办理环节:</label>
73
+ <v-select
74
+ v-model="model.defname"
75
+ placeholder='办理环节'
76
+ condition="defname = '{}'"
77
+ :value.sync="model.defname"
78
+ :options='$parent.$parent.defnames'
79
+ class="select select_list"
80
+ :value-single="true"
81
+ close-on-select ></v-select>
82
+ </div>
83
+ <div class="form-group col-sm-3">
84
+ <label class="font_normal_body">报建性质:</label>
85
+ <v-select
86
+ v-model="model.f_apply_nature"
87
+ placeholder='报建性质'
88
+ condition="f_apply_nature = '{}'"
89
+ :value.sync="model.f_apply_nature"
90
+ :options='$parent.$parent.applyNatures'
91
+ class="select select_list"
92
+ :value-single="true"
93
+ close-on-select ></v-select>
94
+ </div>
95
+ <div class="form-group col-sm-3">
96
+ <label class="font_normal_body">流程状态:</label>
97
+ <v-select
98
+ v-model="model.f_sub_state"
99
+ placeholder='流程状态'
100
+ condition="f_sub_state = '{}'"
101
+ :value.sync="model.f_sub_state"
102
+ :options='$parent.$parent.subStates'
103
+ class="select select_list"
104
+ :value-single="true"
105
+ close-on-select ></v-select>
106
+ </div>
107
+ <div class="form-group col-sm-3">
108
+ <label class="font_normal_body">用户地址:</label>
109
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
110
+ v-on:keyup.enter="search"
111
+ condition="f_address like '%{}%'">
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_apply_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_apply_date <= '{}'">
133
+ </datepicker>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </criteria>
138
+ <data-grid v-if="$parent.showData" :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
+ </tr>
156
+ </template>
157
+ <template partial='body'>
158
+ <tr>
159
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
160
+ <nobr>{{$index+1}}</nobr>
161
+ </td>
162
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
163
+ <nobr>{{row.f_apply_num}}</nobr>
164
+ </td>
165
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
166
+ <nobr>{{row.f_user_name}}</nobr>
167
+ </td>
168
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
169
+ <nobr>{{row.f_contract_number}}</nobr>
170
+ </td>
171
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
172
+ <nobr>{{row.f_phone}}</nobr>
173
+ </td>
174
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
175
+ <nobr>{{row.f_address}}</nobr>
176
+ </td>
177
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
178
+ <nobr>{{row.f_apply_source}}</nobr>
179
+ </td>
180
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
181
+ <nobr>{{row.f_apply_type}}</nobr>
182
+ </td>
183
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
184
+ <nobr>{{row.defname}}</nobr>
185
+ </td>
186
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
187
+ <nobr>{{row.f_sub_state}}</nobr>
188
+ </td>
189
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
190
+ <nobr>{{row.f_apply_date}}</nobr>
191
+ </td>
192
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
193
+ <nobr>{{row.f_install_project}}</nobr>
194
+ </td>
195
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
196
+ <nobr>{{row.f_construction_unit}}</nobr>
197
+ </td>
198
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
199
+ <nobr>{{row.f_construction_date}}</nobr>
200
+ </td>
201
+ </tr>
202
+ </template>
203
+ </data-grid>
204
+ </criteria-paged>
205
+ </div>
206
+ </template>
207
+ <script>
208
+ import {PagedList} from 'vue-client'
209
+ import {isEmpty} from '../../Util'
210
+ export default {
211
+ title: '勘探详情',
212
+ props: ['showData'],
213
+ data () {
214
+ return {
215
+ model: new PagedList('rs/sql/supervisory', 20, {
216
+ data: {
217
+ orgid: this.$login.f.orgid
218
+ }
219
+ }),
220
+ curorgid: [this.$login.f.orgid],
221
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
222
+ defnames: [{label: '全部', value: ''}], // 流程节点
223
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
224
+ criteriaShow: false,
225
+ subStates: [
226
+ {label: '全部', value: ''},
227
+ {label: '新增', value: '新增'},
228
+ {label: '暂停', value: '暂停'},
229
+ {label: '终止', value: '终止'},
230
+ {label: '完工', value: '完工'},
231
+ {label: '正在进行', value: '正在进行'}
232
+ ], // 流程状态
233
+ getfield: {
234
+ 'f_apply_num': '工程编号',
235
+ 'f_user_name': '客户名称',
236
+ 'f_contract_number': '合同编号',
237
+ 'f_phone': '电话',
238
+ 'f_address': '地址',
239
+ 'f_apply_type': '报建类型',
240
+ 'f_apply_nature': '报建性质',
241
+ 'f_cumulative_payment_money': '收费金额',
242
+ 'defname': '办理环节',
243
+ 'f_sub_state': '流程状态',
244
+ 'f_apply_date': '报建日期',
245
+ 'f_apply_remarks': '备注',
246
+ 'f_payment_remarks': '缴费备注',
247
+ 'f_operator': '发起人',
248
+ 'f_install_project': '安装项目',
249
+ 'f_construction_unit': '施工单位',
250
+ 'f_construction_date': '施工时间'
251
+ }
252
+ }
253
+ },
254
+ ready () {
255
+ // 调用查询
256
+ this.search()
257
+ },
258
+ events: {
259
+ },
260
+ methods: {
261
+ loadPage () {
262
+ this.$dispatch('loadPage')
263
+ },
264
+ // 查询
265
+ search () {
266
+ this.$dispatch('search')
267
+ },
268
+ check (val) {
269
+ this.$dispatch('apply', val)
270
+ },
271
+ async applyTypeChange () {
272
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
273
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
274
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
275
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
276
+ )
277
+
278
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
279
+
280
+ 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}性质`)]
281
+ } else {
282
+ this.defnames = [{label: '全部', value: ''}]
283
+ this.applyNatures = [{label: '全部', value: ''}]
284
+ }
285
+ },
286
+ clear () {
287
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
288
+ this.$refs.cp.$refs.cri.model[key] = null
289
+ })
290
+ },
291
+ getorg (val) {
292
+ if (val.length <= 0) {
293
+ return
294
+ }
295
+ this.model.params.data.orgid = val[0]
296
+ }
297
+ },
298
+ computed: {
299
+ getCondition () {
300
+ return {
301
+ condition: this.model.condition,
302
+ data: {
303
+ orgid: this.$login.f.orgid
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ </script>
310
+ <style scoped>
311
+ </style>