apply-clients 3.5.5-70 → 3.5.5-71

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 (28) hide show
  1. package/build/dev-server.js +11 -7
  2. package/package.json +1 -1
  3. package/src/components/android/Process/AppChargeList.vue +391 -391
  4. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  5. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  6. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +860 -860
  7. package/src/filiale/jinhuang/pc/ServiceControl.vue +1932 -1932
  8. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -524
  9. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +585 -585
  10. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1116
  11. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -331
  12. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  13. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  14. package/src/filiale/yangchunboneng/android.js +21 -21
  15. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  16. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -612
  17. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  18. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  19. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -294
  20. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  21. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -617
  22. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  23. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  24. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +337 -337
  25. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -84
  26. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -175
  27. package/src/filiale/yangchunboneng/pc.js +28 -28
  28. package/src/main.js +23 -23
@@ -1,365 +1,365 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' 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="$parent.$parent.search()"
20
- condition="f_apply_num like '%{}%'">
21
- </div>
22
- <div class="form-group col-sm-3">
23
- <label class="font_normal_body">客户名称:</label>
24
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
25
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
26
- </div>
27
- <div class="form-group col-sm-3 button-range">
28
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
- <div
32
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
33
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
34
- class="button_spacing"
35
- style="float: right">
36
- </div>
37
- </div>
38
- </div>
39
- <div class="row" v-show="$parent.$parent.criteriaShow">
40
- <div class="form-group col-sm-3">
41
- <label class="font_normal_body">用户编号:</label>
42
- <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
43
- v-on:keyup.enter="$parent.$parent.search()"
44
- condition="f_userinfo_code like '%{}%'">
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="$parent.$parent.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_idnumber"
55
- v-on:keyup.enter="$parent.$parent.search()"
56
- condition="f_idnumber 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="$parent.$parent.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.defname"
81
- placeholder='办理环节'
82
- condition="defname = '{}'"
83
- :value.sync="model.defname"
84
- :options='$parent.$parent.defnames'
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.f_apply_nature"
93
- placeholder='报建性质'
94
- condition="f_apply_nature = '{}'"
95
- :value.sync="model.f_apply_nature"
96
- :options='$parent.$parent.applyNatures'
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
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
104
- v-on:keyup.enter="$parent.$parent.search()"
105
- condition="f_address like '%{}%'">
106
- </div>
107
- <div class="form-group col-sm-3">
108
- <label for="startDate" class="font_normal_body">开始时间:</label>
109
- <datepicker id="startDate" placeholder="开始日期"
110
- style="width: 60%!important;"
111
- v-model="model.startDate"
112
- :value.sync="model.startDate"
113
- :format="'yyyy-MM-dd 00:00:00'"
114
- :show-reset-button="true"
115
- condition="f_apply_date >= '{}'">
116
- </datepicker>
117
- </div>
118
- <div class="form-group col-sm-3">
119
- <label for="endDate" class="font_normal_body">结束时间:</label>
120
- <datepicker id="endDate" placeholder="结束日期"
121
- style="width: 60%!important;"
122
- v-model="model.endDate"
123
- :value.sync="model.endDate"
124
- :format="'yyyy-MM-dd 23:59:59'"
125
- :show-reset-button="true"
126
- condition="f_apply_date <= '{}'">
127
- </datepicker>
128
- </div>
129
-
130
- <div class="form-group col-sm-3">
131
- <label class="font_normal_body">确认收款:</label>
132
- <v-select
133
- v-model="model.confirmtotal"
134
- placeholder='确认收款'
135
- :value.sync="model.confirmtotal"
136
- :options='$parent.$parent.confirmtotals'
137
- class="select select_list"
138
- :value-single="true"
139
- close-on-select ></v-select>
140
- </div>
141
- </div>
142
- </div>
143
- </criteria>
144
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
145
- <template partial='head'>
146
- <tr class="title">
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
- <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
- </tr>
164
- </template>
165
- <template partial='body'>
166
- <tr>
167
- <td style="text-align: center;">
168
- <dropdown>
169
- <button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
170
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
171
- </button>
172
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
173
- <li v-for="(index,func) in $parent.$parent.$parent.funcs" v-if="$parent.$parent.$parent.$parent.showFunc(func.personexpression)">
174
- <a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
175
- </li>
176
- </ul>
177
- </dropdown>
178
- </td>
179
- <td style="text-align: center;">
180
- <nobr>{{$index+1}}</nobr>
181
- </td>
182
- <td style="text-align: center;">
183
- <nobr>{{row.f_apply_num}}</nobr>
184
- </td>
185
- <td style="text-align: center;">
186
- <nobr>{{row.f_user_name}}</nobr>
187
- </td>
188
- <td style="text-align: center;">
189
- <nobr>{{row.f_contract_number}}</nobr>
190
- </td>
191
- <td style="text-align: center;">
192
- <nobr>{{row.f_phone}}</nobr>
193
- </td>
194
- <td style="text-align: center;">
195
- <nobr>{{row.f_address}}</nobr>
196
- </td>
197
- <td style="text-align: center;">
198
- <nobr>{{row.f_idnumber}}</nobr>
199
- </td>
200
- <td style="text-align: center;">
201
- <nobr>{{row.f_apply_type}}</nobr>
202
- </td>
203
- <td style="text-align: center;">
204
- <nobr>{{row.defname}}</nobr>
205
- </td>
206
- <td style="text-align: center;">
207
- <nobr>{{row.f_sub_state}}</nobr>
208
- </td>
209
- <td style="text-align: center;">
210
- <nobr>{{row.f_apply_date}}</nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr>{{row.total}}</nobr>
214
- </td>
215
- <td style="text-align: center;">
216
- <nobr>{{row.confirmtotal}}</nobr>
217
- </td>
218
- <td style="text-align: center;">
219
- <nobr>{{row.f_contract_money}}</nobr>
220
- </td>
221
- <td style="text-align: center;">
222
- <nobr>{{row.f_charge_money}}</nobr>
223
- </td>
224
- </tr>
225
- </template>
226
- </data-grid>
227
- </criteria-paged>
228
- </div>
229
- </template>
230
- <script>
231
- import {PagedList} from 'vue-client'
232
- import {isEmpty} from '../../../components/Util'
233
- export default {
234
- title: '报建业务信息',
235
- props: ['showData'],
236
- data () {
237
- return {
238
- model: new PagedList('rs/sql/checkuserfunction', 20, {
239
- data: {
240
- orgid: this.$login.f.orgid
241
- }
242
- }),
243
- funcs: [], // 功能列表
244
- curorgid: [this.$login.f.orgid],
245
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
246
- defnames: [{label: '全部', value: ''}], // 流程节点
247
- confirmtotals: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
248
- applyNatures: [{label: '全部', value: ''}], // 报建性质
249
- criteriaShow: false
250
- }
251
- },
252
- ready () {
253
- // 调用查询
254
- this.search()
255
- },
256
- methods: {
257
- // 查询
258
- search () {
259
- this.$dispatch('search')
260
- },
261
- searchCondition (args) {
262
- if (args.model.confirmtotal){
263
- if (args.model.confirmtotal=='是'){
264
- args.condition += ' and total = confirmtotal'
265
- }else {
266
- args.condition += ' and total > confirmtotal '
267
- }
268
- }
269
- this.model.search(args.condition, args.model)
270
- },
271
- loadPage () {
272
- this.$dispatch('loadPage')
273
- },
274
- // 获取配置
275
- async checkfuncs (row) {
276
-
277
- this.funcs = []
278
- let functions = JSON.parse(JSON.stringify(this.$function_vue.functions))
279
-
280
- for (const item of functions) {
281
- // 显示类型
282
- if (item.showApplyTypes) {
283
- if (item.showApplyTypes.indexOf(row.f_apply_type) === -1) {
284
- continue
285
- }
286
- }
287
- // 显示节点
288
- if (item.showDefnames) {
289
- if (item.showDefnames.indexOf(row.defname) === -1) {
290
- continue
291
- }
292
- }
293
- // 显示设备
294
- if (item.device && item.device !== 'pc') {
295
- continue
296
- }
297
- // if (item.device || item.device !== 'pc') {
298
- // continue
299
- // }
300
- this.funcs.push(item)
301
- }
302
- },
303
- // 点击功能操作
304
- func (func, row) {
305
- this.$dispatch('func', func, row)
306
- },
307
- // 权限控制
308
- showFunc (personexpression) {
309
-
310
- if (isEmpty(personexpression)) {
311
- return true
312
- }
313
-
314
- let mark = personexpression.charAt(0)
315
-
316
- let str = personexpression.substring(2, personexpression.length-1)
317
-
318
- if (mark === 'D' && this.$login.f.f_department_name.includes(str)) {
319
- return true
320
- }
321
- if (mark === 'R' && this.$login.f.f_role_name.includes(str)) {
322
- return true
323
- }
324
- if (mark === 'P' && this.$login.f.id.includes(str)) {
325
- return true
326
- }
327
-
328
- return false
329
- },
330
- async applyTypeChange () {
331
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
332
- let res = await this.$resetpost('rs/logic/getDefnameByType',
333
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
334
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
335
- )
336
-
337
- this.defnames = [{label: '全部', value: ''}, ...res.data]
338
-
339
- 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}性质`)]
340
- } else {
341
- this.defnames = [{label: '全部', value: ''}]
342
-
343
- this.applyNatures = [{label: '全部', value: ''}]
344
- }
345
- },
346
- clear () {
347
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
348
- this.$refs.cp.$refs.cri.model[key] = null
349
- })
350
- },
351
- getorg (val) {
352
- if (val.length <= 0) {
353
- return
354
- }
355
- this.model.params.data.orgid = val[0]
356
- }
357
- },
358
- computed: {
359
- },
360
- events: {
361
- }
362
- }
363
- </script>
364
- <style scoped>
365
- </style>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' 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="$parent.$parent.search()"
20
+ condition="f_apply_num like '%{}%'">
21
+ </div>
22
+ <div class="form-group col-sm-3">
23
+ <label class="font_normal_body">客户名称:</label>
24
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
25
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
26
+ </div>
27
+ <div class="form-group col-sm-3 button-range">
28
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
+ <div
32
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
33
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
34
+ class="button_spacing"
35
+ style="float: right">
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <div class="row" v-show="$parent.$parent.criteriaShow">
40
+ <div class="form-group col-sm-3">
41
+ <label class="font_normal_body">用户编号:</label>
42
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
43
+ v-on:keyup.enter="$parent.$parent.search()"
44
+ condition="f_userinfo_code like '%{}%'">
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="$parent.$parent.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_idnumber"
55
+ v-on:keyup.enter="$parent.$parent.search()"
56
+ condition="f_idnumber 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="$parent.$parent.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.defname"
81
+ placeholder='办理环节'
82
+ condition="defname = '{}'"
83
+ :value.sync="model.defname"
84
+ :options='$parent.$parent.defnames'
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.f_apply_nature"
93
+ placeholder='报建性质'
94
+ condition="f_apply_nature = '{}'"
95
+ :value.sync="model.f_apply_nature"
96
+ :options='$parent.$parent.applyNatures'
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
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
104
+ v-on:keyup.enter="$parent.$parent.search()"
105
+ condition="f_address like '%{}%'">
106
+ </div>
107
+ <div class="form-group col-sm-3">
108
+ <label for="startDate" class="font_normal_body">开始时间:</label>
109
+ <datepicker id="startDate" placeholder="开始日期"
110
+ style="width: 60%!important;"
111
+ v-model="model.startDate"
112
+ :value.sync="model.startDate"
113
+ :format="'yyyy-MM-dd 00:00:00'"
114
+ :show-reset-button="true"
115
+ condition="f_apply_date >= '{}'">
116
+ </datepicker>
117
+ </div>
118
+ <div class="form-group col-sm-3">
119
+ <label for="endDate" class="font_normal_body">结束时间:</label>
120
+ <datepicker id="endDate" placeholder="结束日期"
121
+ style="width: 60%!important;"
122
+ v-model="model.endDate"
123
+ :value.sync="model.endDate"
124
+ :format="'yyyy-MM-dd 23:59:59'"
125
+ :show-reset-button="true"
126
+ condition="f_apply_date <= '{}'">
127
+ </datepicker>
128
+ </div>
129
+
130
+ <div class="form-group col-sm-3">
131
+ <label class="font_normal_body">确认收款:</label>
132
+ <v-select
133
+ v-model="model.confirmtotal"
134
+ placeholder='确认收款'
135
+ :value.sync="model.confirmtotal"
136
+ :options='$parent.$parent.confirmtotals'
137
+ class="select select_list"
138
+ :value-single="true"
139
+ close-on-select ></v-select>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ </criteria>
144
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
145
+ <template partial='head'>
146
+ <tr class="title">
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
+ <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
+ </tr>
164
+ </template>
165
+ <template partial='body'>
166
+ <tr>
167
+ <td style="text-align: center;">
168
+ <dropdown>
169
+ <button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
170
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
171
+ </button>
172
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
173
+ <li v-for="(index,func) in $parent.$parent.$parent.funcs" v-if="$parent.$parent.$parent.$parent.showFunc(func.personexpression)">
174
+ <a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
175
+ </li>
176
+ </ul>
177
+ </dropdown>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr>{{$index+1}}</nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr>{{row.f_apply_num}}</nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr>{{row.f_user_name}}</nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr>{{row.f_contract_number}}</nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.f_phone}}</nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr>{{row.f_address}}</nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr>{{row.f_idnumber}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_apply_type}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.defname}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.f_sub_state}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_apply_date}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.total}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.confirmtotal}}</nobr>
217
+ </td>
218
+ <td style="text-align: center;">
219
+ <nobr>{{row.f_contract_money}}</nobr>
220
+ </td>
221
+ <td style="text-align: center;">
222
+ <nobr>{{row.f_charge_money}}</nobr>
223
+ </td>
224
+ </tr>
225
+ </template>
226
+ </data-grid>
227
+ </criteria-paged>
228
+ </div>
229
+ </template>
230
+ <script>
231
+ import {PagedList} from 'vue-client'
232
+ import {isEmpty} from '../../../components/Util'
233
+ export default {
234
+ title: '报建业务信息',
235
+ props: ['showData'],
236
+ data () {
237
+ return {
238
+ model: new PagedList('rs/sql/checkuserfunction', 20, {
239
+ data: {
240
+ orgid: this.$login.f.orgid
241
+ }
242
+ }),
243
+ funcs: [], // 功能列表
244
+ curorgid: [this.$login.f.orgid],
245
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
246
+ defnames: [{label: '全部', value: ''}], // 流程节点
247
+ confirmtotals: [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
248
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
249
+ criteriaShow: false
250
+ }
251
+ },
252
+ ready () {
253
+ // 调用查询
254
+ this.search()
255
+ },
256
+ methods: {
257
+ // 查询
258
+ search () {
259
+ this.$dispatch('search')
260
+ },
261
+ searchCondition (args) {
262
+ if (args.model.confirmtotal){
263
+ if (args.model.confirmtotal=='是'){
264
+ args.condition += ' and total = confirmtotal'
265
+ }else {
266
+ args.condition += ' and total > confirmtotal '
267
+ }
268
+ }
269
+ this.model.search(args.condition, args.model)
270
+ },
271
+ loadPage () {
272
+ this.$dispatch('loadPage')
273
+ },
274
+ // 获取配置
275
+ async checkfuncs (row) {
276
+
277
+ this.funcs = []
278
+ let functions = JSON.parse(JSON.stringify(this.$function_vue.functions))
279
+
280
+ for (const item of functions) {
281
+ // 显示类型
282
+ if (item.showApplyTypes) {
283
+ if (item.showApplyTypes.indexOf(row.f_apply_type) === -1) {
284
+ continue
285
+ }
286
+ }
287
+ // 显示节点
288
+ if (item.showDefnames) {
289
+ if (item.showDefnames.indexOf(row.defname) === -1) {
290
+ continue
291
+ }
292
+ }
293
+ // 显示设备
294
+ if (item.device && item.device !== 'pc') {
295
+ continue
296
+ }
297
+ // if (item.device || item.device !== 'pc') {
298
+ // continue
299
+ // }
300
+ this.funcs.push(item)
301
+ }
302
+ },
303
+ // 点击功能操作
304
+ func (func, row) {
305
+ this.$dispatch('func', func, row)
306
+ },
307
+ // 权限控制
308
+ showFunc (personexpression) {
309
+
310
+ if (isEmpty(personexpression)) {
311
+ return true
312
+ }
313
+
314
+ let mark = personexpression.charAt(0)
315
+
316
+ let str = personexpression.substring(2, personexpression.length-1)
317
+
318
+ if (mark === 'D' && this.$login.f.f_department_name.includes(str)) {
319
+ return true
320
+ }
321
+ if (mark === 'R' && this.$login.f.f_role_name.includes(str)) {
322
+ return true
323
+ }
324
+ if (mark === 'P' && this.$login.f.id.includes(str)) {
325
+ return true
326
+ }
327
+
328
+ return false
329
+ },
330
+ async applyTypeChange () {
331
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
332
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
333
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
334
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
335
+ )
336
+
337
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
338
+
339
+ 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}性质`)]
340
+ } else {
341
+ this.defnames = [{label: '全部', value: ''}]
342
+
343
+ this.applyNatures = [{label: '全部', value: ''}]
344
+ }
345
+ },
346
+ clear () {
347
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
348
+ this.$refs.cp.$refs.cri.model[key] = null
349
+ })
350
+ },
351
+ getorg (val) {
352
+ if (val.length <= 0) {
353
+ return
354
+ }
355
+ this.model.params.data.orgid = val[0]
356
+ }
357
+ },
358
+ computed: {
359
+ },
360
+ events: {
361
+ }
362
+ }
363
+ </script>
364
+ <style scoped>
365
+ </style>