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.
- package/build/dev-server.js +6 -9
- package/package.json +1 -1
- package/src/App.vue +25 -25
- package/src/components/android/AppTakePic.vue +182 -182
- package/src/components/android/Process/AppExplorationUser.vue +508 -508
- package/src/components/product/Material/MaterialDetailed.vue +268 -268
- package/src/filiale/ancheng/android/AppSign.vue +149 -149
- package/src/filiale/ancheng/android/AppTakePic.vue +143 -143
- package/src/filiale/ancheng/android.js +7 -7
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
- package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
- package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
- package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
- package/src/filiale/fugou/android/printCharge.vue +162 -162
- package/src/filiale/fugou/android.js +16 -16
- package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
- package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
- package/src/filiale/fugou/pc/ServiceView.vue +941 -941
- package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
- package/src/filiale/fugou/pc/printChargepc.vue +148 -148
- package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
- package/src/filiale/hongda/pc/ApplyDetailsList.vue +329 -329
- package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
- package/src/filiale/qianneng/android/AppServiceView.vue +12 -12
- package/src/filiale/qianneng/android.js +15 -15
- package/src/filiale/qianneng/pc/ApplyChargeList.vue +639 -625
- package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +769 -704
- package/src/filiale/qianneng/pc/Applydetail.vue +55 -16
- package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
- package/src/filiale/qianneng/pc/InstallInfoSelect.vue +434 -391
- package/src/filiale/qianneng/pc/ServiceControl.vue +1382 -1384
- package/src/filiale/qianneng/pc/StopApplyList.vue +334 -290
- package/src/filiale/qianneng/pc/SupervisoryList.vue +396 -382
- package/src/filiale/qianneng/pc/chargeManagement.vue +813 -810
- package/src/filiale/qianneng/pc.js +29 -29
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
- package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1703
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
- package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
- package/src/main.js +23 -23
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
</datepicker>
|
|
168
168
|
</div>
|
|
169
169
|
<div class="form-group col-sm-3">
|
|
170
|
-
|
|
170
|
+
=== <label for="ventilateEndDat' and f_back_reason is not null\'''abel>
|
|
171
171
|
<datepicker id="ventilateEndDate" placeholder="通气验收结束日期"
|
|
172
172
|
style="width: 60%!important;"
|
|
173
173
|
v-model="model.ventilateEndDate"
|
|
@@ -209,6 +209,26 @@
|
|
|
209
209
|
:value-single="true"
|
|
210
210
|
close-on-select ></v-select>
|
|
211
211
|
</div>
|
|
212
|
+
<div class="form-group col-sm-3">
|
|
213
|
+
<label class="font_normal_body">备注:</label>
|
|
214
|
+
<input type="text"
|
|
215
|
+
style="width:60%"
|
|
216
|
+
class="input_search"
|
|
217
|
+
v-model="model.f_apply_remarks"
|
|
218
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
219
|
+
condition="f_apply_remarks like '%{}%'" placeholder='备注'>
|
|
220
|
+
</div>
|
|
221
|
+
<div class="form-group col-sm-3">
|
|
222
|
+
<label class="font_normal_body">是否退回:</label>
|
|
223
|
+
<v-select
|
|
224
|
+
v-model="model.f_back_reason"
|
|
225
|
+
placeholder='是否退回'
|
|
226
|
+
:value.sync="model.f_back_reason"
|
|
227
|
+
:options='$parent.$parent.yerOrNo'
|
|
228
|
+
class="select select_list"
|
|
229
|
+
:value-single="true"
|
|
230
|
+
close-on-select ></v-select>
|
|
231
|
+
</div>
|
|
212
232
|
</div>
|
|
213
233
|
</div>
|
|
214
234
|
</criteria>
|
|
@@ -229,52 +249,56 @@
|
|
|
229
249
|
<th style="white-space: nowrap;">办理状态</th>
|
|
230
250
|
<th style="white-space: nowrap;">办理人</th>
|
|
231
251
|
<th style="white-space: nowrap;">办理时间</th>
|
|
252
|
+
<th style="white-space: nowrap;">备注</th>
|
|
232
253
|
</tr>
|
|
233
254
|
</template>
|
|
234
255
|
<template partial='body'>
|
|
235
256
|
<tr>
|
|
236
|
-
<td
|
|
257
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
237
258
|
<nobr>{{$index+1}}</nobr>
|
|
238
259
|
</td>
|
|
239
|
-
<td
|
|
260
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
240
261
|
<nobr>{{row.f_apply_num}}</nobr>
|
|
241
262
|
</td>
|
|
242
|
-
<td
|
|
263
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
243
264
|
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
244
265
|
</td>
|
|
245
|
-
<td
|
|
266
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
246
267
|
<nobr>{{row.f_entry_number}}</nobr>
|
|
247
268
|
</td>
|
|
248
|
-
<td
|
|
269
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
249
270
|
<nobr>{{row.f_user_name}}</nobr>
|
|
250
271
|
</td>
|
|
251
|
-
<td
|
|
272
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
252
273
|
<nobr>{{row.f_phone}}</nobr>
|
|
253
274
|
</td>
|
|
254
|
-
<td
|
|
275
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
255
276
|
<nobr>{{row.f_address}}</nobr>
|
|
256
277
|
</td>
|
|
257
|
-
<td
|
|
278
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
258
279
|
<nobr>{{row.f_apply_type}}</nobr>
|
|
259
280
|
</td>
|
|
260
|
-
<td
|
|
281
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
261
282
|
<nobr>{{row.f_apply_nature}}</nobr>
|
|
262
283
|
</td>
|
|
263
|
-
<td
|
|
284
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
264
285
|
<nobr>{{row.f_apply_date}}</nobr>
|
|
265
286
|
</td>
|
|
266
|
-
<td
|
|
287
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
267
288
|
<nobr>{{row.defname}}</nobr>
|
|
268
289
|
</td>
|
|
269
|
-
<td
|
|
290
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
270
291
|
<nobr>{{row.state}}</nobr>
|
|
271
292
|
</td>
|
|
272
|
-
<td
|
|
293
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
273
294
|
<nobr>{{row.f_person}}</nobr>
|
|
274
295
|
</td>
|
|
275
|
-
<td
|
|
296
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
276
297
|
<nobr>{{row.f_finishtime}}</nobr>
|
|
277
298
|
</td>
|
|
299
|
+
<td :class="[row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
|
|
300
|
+
<nobr>{{row.f_apply_remarks}}</nobr>
|
|
301
|
+
</td>
|
|
278
302
|
</tr>
|
|
279
303
|
</template>
|
|
280
304
|
</data-grid>
|
|
@@ -308,6 +332,11 @@ export default {
|
|
|
308
332
|
{label: '终止', value: '终止'},
|
|
309
333
|
{label: '结束', value: '结束'}
|
|
310
334
|
],
|
|
335
|
+
yerOrNo: [
|
|
336
|
+
{label: '全部', value: ''},
|
|
337
|
+
{label: '是', value: '是'},
|
|
338
|
+
{label: '否', value: '否'}
|
|
339
|
+
],
|
|
311
340
|
subStates: [
|
|
312
341
|
{label: '全部', value: ''},
|
|
313
342
|
{label: '新增', value: '新增'},
|
|
@@ -328,7 +357,8 @@ export default {
|
|
|
328
357
|
'defname': '办理环节',
|
|
329
358
|
'state': '办理状态',
|
|
330
359
|
'f_person': '办理人',
|
|
331
|
-
'f_finishtime': '办理时间'
|
|
360
|
+
'f_finishtime': '办理时间',
|
|
361
|
+
'f_apply_remarks': '备注'
|
|
332
362
|
}
|
|
333
363
|
}
|
|
334
364
|
},
|
|
@@ -348,6 +378,12 @@ export default {
|
|
|
348
378
|
if (args.model.endDate) {
|
|
349
379
|
args.condition += ` and (finishtime <= '${args.model.endDate}' or f_stop_date <= '${args.model.endDate}')`
|
|
350
380
|
}
|
|
381
|
+
if (args.model.f_back_reason==='是') {
|
|
382
|
+
args.condition += ` and f_back_reason is not null`
|
|
383
|
+
}
|
|
384
|
+
if (args.model.f_back_reason==='否') {
|
|
385
|
+
args.condition += ` and f_back_reason is null`
|
|
386
|
+
}
|
|
351
387
|
this.model.search(args.condition, args.model)
|
|
352
388
|
},
|
|
353
389
|
hidden () {
|
|
@@ -375,4 +411,7 @@ export default {
|
|
|
375
411
|
</script>
|
|
376
412
|
|
|
377
413
|
<style scoped>
|
|
414
|
+
.back-style{
|
|
415
|
+
background-color: #ffa726;
|
|
416
|
+
}
|
|
378
417
|
</style>
|
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
-
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
8
|
-
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.title'>
|
|
10
|
-
<function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
|
|
11
|
-
</tab>
|
|
12
|
-
<tab header='附件'>
|
|
13
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
-
:isupload = "true"
|
|
15
|
-
:isdelete="true"
|
|
16
|
-
:isusetype="true"
|
|
17
|
-
:isremark = "true"
|
|
18
|
-
:takeimg="true"
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="selectdata.defname"
|
|
21
|
-
>
|
|
22
|
-
</apply-upload>
|
|
23
|
-
</tab>
|
|
24
|
-
</tabset>
|
|
25
|
-
</div>
|
|
26
|
-
<div>
|
|
27
|
-
<div v-if="showSuper" style="height: 89%">
|
|
28
|
-
<div class="col-sm-2" style="margin-top: 20px">
|
|
29
|
-
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-10" style="margin-top: 20px">
|
|
32
|
-
<tabset v-ref:tabs :close="false">
|
|
33
|
-
<tab :header='selectdata.defname'>
|
|
34
|
-
<supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
|
|
35
|
-
</tab>
|
|
36
|
-
<tab header='附件'>
|
|
37
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
38
|
-
:isupload = "false"
|
|
39
|
-
:isdelete="false"
|
|
40
|
-
:isusetype="true"
|
|
41
|
-
:isremark = "true"
|
|
42
|
-
:takeimg="false"
|
|
43
|
-
:issearch="true"
|
|
44
|
-
:defname="selectdata.defname">
|
|
45
|
-
</apply-upload>
|
|
46
|
-
</tab>
|
|
47
|
-
</tabset>
|
|
48
|
-
</div>
|
|
49
|
-
<div style="height: 1%">
|
|
50
|
-
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
</div>
|
|
57
|
-
|
|
58
|
-
</template>
|
|
59
|
-
<script>
|
|
60
|
-
import Vue from 'vue'
|
|
61
|
-
import {HttpResetClass} from 'vue-client'
|
|
62
|
-
export default {
|
|
63
|
-
title: '报建管理',
|
|
64
|
-
data () {
|
|
65
|
-
return {
|
|
66
|
-
selectdata: null,
|
|
67
|
-
showtotal: false, // 控制详情显示
|
|
68
|
-
showData: true, // 控制列表数据
|
|
69
|
-
showSuper: false,
|
|
70
|
-
|
|
71
|
-
showDataList: true
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
created () {
|
|
75
|
-
this.getConfig()
|
|
76
|
-
},
|
|
77
|
-
methods: {
|
|
78
|
-
// 获取页面配置json文件
|
|
79
|
-
async loadName () {
|
|
80
|
-
let data = {
|
|
81
|
-
workname: this.selectdata.processname
|
|
82
|
-
}
|
|
83
|
-
let res = await this.$resetpost(
|
|
84
|
-
'rs/logic/ApplyGetConfigs',
|
|
85
|
-
{data: data},
|
|
86
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
87
|
-
)
|
|
88
|
-
|
|
89
|
-
Vue.prototype.$workflow_vue = res.data
|
|
90
|
-
},
|
|
91
|
-
// 获取功能配置
|
|
92
|
-
async getConfig () {
|
|
93
|
-
let res = await this.$resetpost(
|
|
94
|
-
'rs/logic/ApplyGetFunction',
|
|
95
|
-
null,
|
|
96
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
97
|
-
)
|
|
98
|
-
Vue.prototype.$function_vue = res.data
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
events: {
|
|
102
|
-
async 'apply' (val) {
|
|
103
|
-
this.selectdata = null
|
|
104
|
-
this.selectdata = val
|
|
105
|
-
this.showSuper= false
|
|
106
|
-
// 获取配置文件
|
|
107
|
-
await this.loadName()
|
|
108
|
-
this.$refs.query.$refs.cp.pager = false
|
|
109
|
-
this.showData = false
|
|
110
|
-
this.showtotal=false
|
|
111
|
-
this.showSuper = true
|
|
112
|
-
},
|
|
113
|
-
// 刷新控制层
|
|
114
|
-
async 'breakControl' (servicedata) {
|
|
115
|
-
let http = new HttpResetClass()
|
|
116
|
-
let data = {
|
|
117
|
-
condition: `u.id = ${servicedata.id}`,
|
|
118
|
-
data: {
|
|
119
|
-
id: this.$login.f.id,
|
|
120
|
-
orgid: this.$login.f.orgid
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
125
|
-
resolveMsg: null,
|
|
126
|
-
rejectMsg: '数据更新失败!!!'
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
this.showtotal = false
|
|
130
|
-
|
|
131
|
-
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
132
|
-
|
|
133
|
-
this.$nextTick(() => {
|
|
134
|
-
this.showtotal = true
|
|
135
|
-
})
|
|
136
|
-
},
|
|
137
|
-
// 查询
|
|
138
|
-
'search' () {
|
|
139
|
-
// 关闭详细
|
|
140
|
-
this.showtotal = false
|
|
141
|
-
// 显示列表数据
|
|
142
|
-
this.showData = true
|
|
143
|
-
// 显示分页
|
|
144
|
-
this.$refs.query.$refs.cp.pager = true
|
|
145
|
-
// 调用查询
|
|
146
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
147
|
-
},
|
|
148
|
-
'loadPage' () {
|
|
149
|
-
// 关闭详细
|
|
150
|
-
this.showtotal = false
|
|
151
|
-
// 显示列表数据
|
|
152
|
-
this.showData = true
|
|
153
|
-
// 显示分页
|
|
154
|
-
this.$refs.query.$refs.cp.pager = true
|
|
155
|
-
// 调用查询
|
|
156
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
157
|
-
},
|
|
158
|
-
// 点击功能操作
|
|
159
|
-
'func' (funcdata, row) {
|
|
160
|
-
this.selectdata = Object.assign({}, funcdata, row)
|
|
161
|
-
|
|
162
|
-
// 关闭分页
|
|
163
|
-
this.$refs.query.$refs.cp.pager = false
|
|
164
|
-
// 关闭列表数据
|
|
165
|
-
this.showData = false
|
|
166
|
-
|
|
167
|
-
this.$nextTick(() => {
|
|
168
|
-
this.showtotal = true
|
|
169
|
-
})
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
</script>
|
|
174
|
-
<style scoped>
|
|
175
|
-
/*清除浮动*/
|
|
176
|
-
.clearfix:after,.clearfix:before{
|
|
177
|
-
display: table;
|
|
178
|
-
}
|
|
179
|
-
.clearfix:after{
|
|
180
|
-
clear: both;
|
|
181
|
-
}
|
|
182
|
-
.head{
|
|
183
|
-
height: auto;
|
|
184
|
-
font-weight: bold;
|
|
185
|
-
color: #000000;
|
|
186
|
-
font-family: 微软雅黑;
|
|
187
|
-
}
|
|
188
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
+
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
<tab :header='selectdata.title'>
|
|
10
|
+
<function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
|
|
11
|
+
</tab>
|
|
12
|
+
<tab header='附件'>
|
|
13
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
|
+
:isupload = "true"
|
|
15
|
+
:isdelete="true"
|
|
16
|
+
:isusetype="true"
|
|
17
|
+
:isremark = "true"
|
|
18
|
+
:takeimg="true"
|
|
19
|
+
:issearch="true"
|
|
20
|
+
:defname="selectdata.defname"
|
|
21
|
+
>
|
|
22
|
+
</apply-upload>
|
|
23
|
+
</tab>
|
|
24
|
+
</tabset>
|
|
25
|
+
</div>
|
|
26
|
+
<div>
|
|
27
|
+
<div v-if="showSuper" style="height: 89%">
|
|
28
|
+
<div class="col-sm-2" style="margin-top: 20px">
|
|
29
|
+
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-10" style="margin-top: 20px">
|
|
32
|
+
<tabset v-ref:tabs :close="false">
|
|
33
|
+
<tab :header='selectdata.defname'>
|
|
34
|
+
<supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
|
|
35
|
+
</tab>
|
|
36
|
+
<tab header='附件'>
|
|
37
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
38
|
+
:isupload = "false"
|
|
39
|
+
:isdelete="false"
|
|
40
|
+
:isusetype="true"
|
|
41
|
+
:isremark = "true"
|
|
42
|
+
:takeimg="false"
|
|
43
|
+
:issearch="true"
|
|
44
|
+
:defname="selectdata.defname">
|
|
45
|
+
</apply-upload>
|
|
46
|
+
</tab>
|
|
47
|
+
</tabset>
|
|
48
|
+
</div>
|
|
49
|
+
<div style="height: 1%">
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
</template>
|
|
59
|
+
<script>
|
|
60
|
+
import Vue from 'vue'
|
|
61
|
+
import {HttpResetClass} from 'vue-client'
|
|
62
|
+
export default {
|
|
63
|
+
title: '报建管理',
|
|
64
|
+
data () {
|
|
65
|
+
return {
|
|
66
|
+
selectdata: null,
|
|
67
|
+
showtotal: false, // 控制详情显示
|
|
68
|
+
showData: true, // 控制列表数据
|
|
69
|
+
showSuper: false,
|
|
70
|
+
|
|
71
|
+
showDataList: true
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
created () {
|
|
75
|
+
this.getConfig()
|
|
76
|
+
},
|
|
77
|
+
methods: {
|
|
78
|
+
// 获取页面配置json文件
|
|
79
|
+
async loadName () {
|
|
80
|
+
let data = {
|
|
81
|
+
workname: this.selectdata.processname
|
|
82
|
+
}
|
|
83
|
+
let res = await this.$resetpost(
|
|
84
|
+
'rs/logic/ApplyGetConfigs',
|
|
85
|
+
{data: data},
|
|
86
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
Vue.prototype.$workflow_vue = res.data
|
|
90
|
+
},
|
|
91
|
+
// 获取功能配置
|
|
92
|
+
async getConfig () {
|
|
93
|
+
let res = await this.$resetpost(
|
|
94
|
+
'rs/logic/ApplyGetFunction',
|
|
95
|
+
null,
|
|
96
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
97
|
+
)
|
|
98
|
+
Vue.prototype.$function_vue = res.data
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
events: {
|
|
102
|
+
async 'apply' (val) {
|
|
103
|
+
this.selectdata = null
|
|
104
|
+
this.selectdata = val
|
|
105
|
+
this.showSuper= false
|
|
106
|
+
// 获取配置文件
|
|
107
|
+
await this.loadName()
|
|
108
|
+
this.$refs.query.$refs.cp.pager = false
|
|
109
|
+
this.showData = false
|
|
110
|
+
this.showtotal=false
|
|
111
|
+
this.showSuper = true
|
|
112
|
+
},
|
|
113
|
+
// 刷新控制层
|
|
114
|
+
async 'breakControl' (servicedata) {
|
|
115
|
+
let http = new HttpResetClass()
|
|
116
|
+
let data = {
|
|
117
|
+
condition: `u.id = ${servicedata.id}`,
|
|
118
|
+
data: {
|
|
119
|
+
id: this.$login.f.id,
|
|
120
|
+
orgid: this.$login.f.orgid
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
125
|
+
resolveMsg: null,
|
|
126
|
+
rejectMsg: '数据更新失败!!!'
|
|
127
|
+
})
|
|
128
|
+
|
|
129
|
+
this.showtotal = false
|
|
130
|
+
|
|
131
|
+
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
132
|
+
|
|
133
|
+
this.$nextTick(() => {
|
|
134
|
+
this.showtotal = true
|
|
135
|
+
})
|
|
136
|
+
},
|
|
137
|
+
// 查询
|
|
138
|
+
'search' () {
|
|
139
|
+
// 关闭详细
|
|
140
|
+
this.showtotal = false
|
|
141
|
+
// 显示列表数据
|
|
142
|
+
this.showData = true
|
|
143
|
+
// 显示分页
|
|
144
|
+
this.$refs.query.$refs.cp.pager = true
|
|
145
|
+
// 调用查询
|
|
146
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
147
|
+
},
|
|
148
|
+
'loadPage' () {
|
|
149
|
+
// 关闭详细
|
|
150
|
+
this.showtotal = false
|
|
151
|
+
// 显示列表数据
|
|
152
|
+
this.showData = true
|
|
153
|
+
// 显示分页
|
|
154
|
+
this.$refs.query.$refs.cp.pager = true
|
|
155
|
+
// 调用查询
|
|
156
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
157
|
+
},
|
|
158
|
+
// 点击功能操作
|
|
159
|
+
'func' (funcdata, row) {
|
|
160
|
+
this.selectdata = Object.assign({}, funcdata, row)
|
|
161
|
+
|
|
162
|
+
// 关闭分页
|
|
163
|
+
this.$refs.query.$refs.cp.pager = false
|
|
164
|
+
// 关闭列表数据
|
|
165
|
+
this.showData = false
|
|
166
|
+
|
|
167
|
+
this.$nextTick(() => {
|
|
168
|
+
this.showtotal = true
|
|
169
|
+
})
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
</script>
|
|
174
|
+
<style scoped>
|
|
175
|
+
/*清除浮动*/
|
|
176
|
+
.clearfix:after,.clearfix:before{
|
|
177
|
+
display: table;
|
|
178
|
+
}
|
|
179
|
+
.clearfix:after{
|
|
180
|
+
clear: both;
|
|
181
|
+
}
|
|
182
|
+
.head{
|
|
183
|
+
height: auto;
|
|
184
|
+
font-weight: bold;
|
|
185
|
+
color: #000000;
|
|
186
|
+
font-family: 微软雅黑;
|
|
187
|
+
}
|
|
188
|
+
</style>
|