apply-clients 3.3.49 → 3.3.50
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 +131 -130
- package/package.json +1 -1
- package/src/AndroidApp.vue +35 -35
- package/src/apply.js +93 -93
- package/src/applyAndroid.js +31 -31
- package/src/components/android/AppOnetomany.vue +301 -301
- package/src/components/android/AppServiceView.vue +566 -566
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/Function/AppInstallFunction.vue +366 -366
- package/src/components/android/Process/AppExplorationUser.vue +340 -340
- package/src/components/android/Process/AppServiceControl.vue +761 -761
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +11 -1
- package/src/components/product/Function/InstallFunction.vue +132 -132
- package/src/components/product/Function/InstallInfoSelect.vue +320 -310
- package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
- package/src/components/product/Material/MaterialDetailed.vue +235 -235
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
- package/src/components/product/OldApply/OldApply.vue +150 -150
- package/src/components/product/Onetomany.vue +377 -377
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
- package/src/components/product/Process/ExplorationSelect.vue +457 -457
- package/src/components/product/Process/ExplorationUser.vue +147 -147
- package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
- package/src/components/product/Process/Service/ServiceControl.vue +1265 -1265
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
- package/src/components/product/Supervisory/SupervisoryList.vue +296 -296
- package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="padding: 10px">
|
|
3
|
-
<div partial class="auto app-text panel" style="margin-bottom: 20px">
|
|
4
|
-
<div class="panel-body panel-self">
|
|
5
|
-
<div class="col-xs-12">
|
|
6
|
-
<p class="col-xs-3 text-left font"><b>客户名称:</b></p>
|
|
7
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_user_name }}</p>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="col-xs-12">
|
|
10
|
-
<p class="col-xs-3 text-left font"><b>电  话:</b></p>
|
|
11
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_phone }}</p>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="col-xs-12">
|
|
14
|
-
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
15
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_num }}</p>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-xs-12">
|
|
18
|
-
<p class="col-xs-3 text-left font"><b>客户编号:</b></p>
|
|
19
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_userinfo_code }}</p>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-xs-12">
|
|
22
|
-
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
23
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_type }}</p>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="col-xs-12">
|
|
26
|
-
<p class="col-xs-3 text-left font"><b>办理环节:</b></p>
|
|
27
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.defname }}</p>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-xs-12">
|
|
30
|
-
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
31
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_address }}</p>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="col-xs-12">
|
|
34
|
-
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
35
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_date }}</p>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="row" v-for="(i,row) in defnames">
|
|
40
|
-
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'">
|
|
41
|
-
{{row.defname}}
|
|
42
|
-
<span v-if="row.state === '结束'">({{ row.person }})</span>
|
|
43
|
-
<span v-if="row.state !== '结束' && row.actorexpression !== null && row.actorexpression.indexOf('PI') === 0">
|
|
44
|
-
({{ row.peruser }})
|
|
45
|
-
</span>
|
|
46
|
-
<br>
|
|
47
|
-
{{ row.finishtime ? row.finishtime : row.sendtime }}
|
|
48
|
-
</div>
|
|
49
|
-
<div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</template>
|
|
53
|
-
|
|
54
|
-
<script>
|
|
55
|
-
import {HttpResetClass} from 'vue-client'
|
|
56
|
-
export default {
|
|
57
|
-
title: '流程节点',
|
|
58
|
-
props: ['selectdata'],
|
|
59
|
-
data () {
|
|
60
|
-
return {
|
|
61
|
-
defnames: []
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
ready () {
|
|
65
|
-
this.initial()
|
|
66
|
-
},
|
|
67
|
-
methods: {
|
|
68
|
-
async initial() {
|
|
69
|
-
// 获取流程节点信息
|
|
70
|
-
let http = new HttpResetClass()
|
|
71
|
-
let data = {
|
|
72
|
-
processid: this.selectdata.f_process_id
|
|
73
|
-
}
|
|
74
|
-
let res = await http.load(
|
|
75
|
-
'POST',
|
|
76
|
-
`${this.$androidUtil.getProxyUrl()}/rs/sql/getAllNode`,
|
|
77
|
-
// `rs/sql/getAllNode`,
|
|
78
|
-
{data: data},
|
|
79
|
-
{
|
|
80
|
-
resolveMsg:null,
|
|
81
|
-
rejectMsg:null
|
|
82
|
-
})
|
|
83
|
-
this.defnames = res.data
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
watch: {
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
</script>
|
|
90
|
-
|
|
91
|
-
<style scoped>
|
|
92
|
-
.app-text {
|
|
93
|
-
font-size: 12px;
|
|
94
|
-
}
|
|
95
|
-
.panel-self{
|
|
96
|
-
border-radius: 10px;
|
|
97
|
-
border:1px solid #499EDF;
|
|
98
|
-
background-color: #F8F8F8;
|
|
99
|
-
}
|
|
100
|
-
.row{
|
|
101
|
-
padding: 0 40px;
|
|
102
|
-
text-align: center;
|
|
103
|
-
height: auto;
|
|
104
|
-
}
|
|
105
|
-
.item{
|
|
106
|
-
border-radius: 2em;
|
|
107
|
-
border: 1px solid silver;
|
|
108
|
-
line-height: 25px;
|
|
109
|
-
}
|
|
110
|
-
.arrow{
|
|
111
|
-
width: 100%;
|
|
112
|
-
color: #5ac0d9;
|
|
113
|
-
font-weight: bold;
|
|
114
|
-
}
|
|
115
|
-
.selectIndex{
|
|
116
|
-
background-color: #5ac0d9;
|
|
117
|
-
color: #ffffff;
|
|
118
|
-
}
|
|
119
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="padding: 10px">
|
|
3
|
+
<div partial class="auto app-text panel" style="margin-bottom: 20px">
|
|
4
|
+
<div class="panel-body panel-self">
|
|
5
|
+
<div class="col-xs-12">
|
|
6
|
+
<p class="col-xs-3 text-left font"><b>客户名称:</b></p>
|
|
7
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_user_name }}</p>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="col-xs-12">
|
|
10
|
+
<p class="col-xs-3 text-left font"><b>电  话:</b></p>
|
|
11
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_phone }}</p>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-xs-12">
|
|
14
|
+
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
15
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_num }}</p>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-xs-12">
|
|
18
|
+
<p class="col-xs-3 text-left font"><b>客户编号:</b></p>
|
|
19
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_userinfo_code }}</p>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-12">
|
|
22
|
+
<p class="col-xs-3 text-left font"><b>报建类型:</b></p>
|
|
23
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_type }}</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-xs-12">
|
|
26
|
+
<p class="col-xs-3 text-left font"><b>办理环节:</b></p>
|
|
27
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.defname }}</p>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-xs-12">
|
|
30
|
+
<p class="col-xs-3 text-left font"><b>地  址:</b></p>
|
|
31
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_address }}</p>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-xs-12">
|
|
34
|
+
<p class="col-xs-3 text-left font"><b>报建日期:</b></p>
|
|
35
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_apply_date }}</p>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="row" v-for="(i,row) in defnames">
|
|
40
|
+
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'">
|
|
41
|
+
{{row.defname}}
|
|
42
|
+
<span v-if="row.state === '结束'">({{ row.person }})</span>
|
|
43
|
+
<span v-if="row.state !== '结束' && row.actorexpression !== null && row.actorexpression.indexOf('PI') === 0">
|
|
44
|
+
({{ row.peruser }})
|
|
45
|
+
</span>
|
|
46
|
+
<br>
|
|
47
|
+
{{ row.finishtime ? row.finishtime : row.sendtime }}
|
|
48
|
+
</div>
|
|
49
|
+
<div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script>
|
|
55
|
+
import {HttpResetClass} from 'vue-client'
|
|
56
|
+
export default {
|
|
57
|
+
title: '流程节点',
|
|
58
|
+
props: ['selectdata'],
|
|
59
|
+
data () {
|
|
60
|
+
return {
|
|
61
|
+
defnames: []
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
ready () {
|
|
65
|
+
this.initial()
|
|
66
|
+
},
|
|
67
|
+
methods: {
|
|
68
|
+
async initial() {
|
|
69
|
+
// 获取流程节点信息
|
|
70
|
+
let http = new HttpResetClass()
|
|
71
|
+
let data = {
|
|
72
|
+
processid: this.selectdata.f_process_id
|
|
73
|
+
}
|
|
74
|
+
let res = await http.load(
|
|
75
|
+
'POST',
|
|
76
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/getAllNode`,
|
|
77
|
+
// `rs/sql/getAllNode`,
|
|
78
|
+
{data: data},
|
|
79
|
+
{
|
|
80
|
+
resolveMsg:null,
|
|
81
|
+
rejectMsg:null
|
|
82
|
+
})
|
|
83
|
+
this.defnames = res.data
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
watch: {
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
</script>
|
|
90
|
+
|
|
91
|
+
<style scoped>
|
|
92
|
+
.app-text {
|
|
93
|
+
font-size: 12px;
|
|
94
|
+
}
|
|
95
|
+
.panel-self{
|
|
96
|
+
border-radius: 10px;
|
|
97
|
+
border:1px solid #499EDF;
|
|
98
|
+
background-color: #F8F8F8;
|
|
99
|
+
}
|
|
100
|
+
.row{
|
|
101
|
+
padding: 0 40px;
|
|
102
|
+
text-align: center;
|
|
103
|
+
height: auto;
|
|
104
|
+
}
|
|
105
|
+
.item{
|
|
106
|
+
border-radius: 2em;
|
|
107
|
+
border: 1px solid silver;
|
|
108
|
+
line-height: 25px;
|
|
109
|
+
}
|
|
110
|
+
.arrow{
|
|
111
|
+
width: 100%;
|
|
112
|
+
color: #5ac0d9;
|
|
113
|
+
font-weight: bold;
|
|
114
|
+
}
|
|
115
|
+
.selectIndex{
|
|
116
|
+
background-color: #5ac0d9;
|
|
117
|
+
color: #ffffff;
|
|
118
|
+
}
|
|
119
|
+
</style>
|
|
@@ -106,7 +106,12 @@
|
|
|
106
106
|
v-on:keyup.enter="$parent.$parent.search()"
|
|
107
107
|
condition="a.f_address like '%{}%'">
|
|
108
108
|
</div>
|
|
109
|
-
|
|
109
|
+
<div class="form-group col-sm-3">
|
|
110
|
+
<label class="font_normal_body">身份证号:</label>
|
|
111
|
+
<input type="text" style="width:60%" class="input_search" placeholder='身份证号' v-model="model.f_idnumber"
|
|
112
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
113
|
+
condition="a.f_idnumber like '%{}%'">
|
|
114
|
+
</div>
|
|
110
115
|
<div class="form-group col-sm-3">
|
|
111
116
|
<label class="font_normal_body">缴费编码:</label>
|
|
112
117
|
<input type="text" class="input_search" style="width: 60%" placeholder='缴费编码' v-model="model.f_charge_number"
|
|
@@ -176,6 +181,7 @@
|
|
|
176
181
|
<th style="white-space: nowrap;">用户名称</th>
|
|
177
182
|
<th style="white-space: nowrap;">用户电话</th>
|
|
178
183
|
<th style="white-space: nowrap;">用户地址</th>
|
|
184
|
+
<th style="white-space: nowrap;">身份证号</th>
|
|
179
185
|
<th style="white-space: nowrap;">缴费编码</th>
|
|
180
186
|
<th style="white-space: nowrap;">收费金额(退款金额)</th>
|
|
181
187
|
<th style="white-space: nowrap;">付款方式</th>
|
|
@@ -212,6 +218,9 @@
|
|
|
212
218
|
<td style="text-align: center;">
|
|
213
219
|
<nobr><font>{{row.f_address}}</font></nobr>
|
|
214
220
|
</td>
|
|
221
|
+
<td style="text-align: center;">
|
|
222
|
+
<nobr><font>{{row.f_idnumber}}</font></nobr>
|
|
223
|
+
</td>
|
|
215
224
|
<td style="text-align: center;">
|
|
216
225
|
<nobr><font>{{row.f_charge_number}}</font></nobr>
|
|
217
226
|
</td>
|
|
@@ -278,6 +287,7 @@ export default {
|
|
|
278
287
|
'f_user_name': '用户名称',
|
|
279
288
|
'f_phone': '用户电话',
|
|
280
289
|
'f_address': '用户地址',
|
|
290
|
+
'f_idnumber': '身份证号',
|
|
281
291
|
'f_charge_number': '缴费编码',
|
|
282
292
|
'f_charge_money': '收费金额',
|
|
283
293
|
'f_payment_method': '付款方式',
|
|
@@ -1,132 +1,132 @@
|
|
|
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="show_data.f_process_id"
|
|
14
|
-
:isupload = "true"
|
|
15
|
-
:isdelete="true"
|
|
16
|
-
:isusetype="true"
|
|
17
|
-
:isremark = "true"
|
|
18
|
-
:takeimg="true"
|
|
19
|
-
:issearch="true"
|
|
20
|
-
:defname="show_data.defname"
|
|
21
|
-
>
|
|
22
|
-
</apply-upload>
|
|
23
|
-
</tab>
|
|
24
|
-
</tabset>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
</template>
|
|
30
|
-
<script>
|
|
31
|
-
import Vue from 'vue'
|
|
32
|
-
import {HttpResetClass} from 'vue-client'
|
|
33
|
-
export default {
|
|
34
|
-
title: '报建业务',
|
|
35
|
-
data () {
|
|
36
|
-
return {
|
|
37
|
-
selectdata: null,
|
|
38
|
-
showtotal: false, // 控制详情显示
|
|
39
|
-
showData: true // 控制列表数据
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
created () {
|
|
43
|
-
this.getConfig()
|
|
44
|
-
},
|
|
45
|
-
methods: {
|
|
46
|
-
// 获取功能配置
|
|
47
|
-
async getConfig () {
|
|
48
|
-
let res = await this.$resetpost(
|
|
49
|
-
'rs/logic/ApplyGetFunction',
|
|
50
|
-
null,
|
|
51
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
52
|
-
)
|
|
53
|
-
Vue.prototype.$function_vue = res.data
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
events: {
|
|
57
|
-
// 刷新控制层
|
|
58
|
-
async 'breakControl' (servicedata) {
|
|
59
|
-
let http = new HttpResetClass()
|
|
60
|
-
let data = {
|
|
61
|
-
condition: `u.id = ${servicedata.id}`,
|
|
62
|
-
data: {
|
|
63
|
-
id: this.$login.f.id,
|
|
64
|
-
orgid: this.$login.f.orgid
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
69
|
-
resolveMsg: null,
|
|
70
|
-
rejectMsg: '数据更新失败!!!'
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
this.showtotal = false
|
|
74
|
-
|
|
75
|
-
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
76
|
-
|
|
77
|
-
this.$nextTick(() => {
|
|
78
|
-
this.showtotal = true
|
|
79
|
-
})
|
|
80
|
-
},
|
|
81
|
-
// 查询
|
|
82
|
-
'search' () {
|
|
83
|
-
// 关闭详细
|
|
84
|
-
this.showtotal = false
|
|
85
|
-
// 显示列表数据
|
|
86
|
-
this.showData = true
|
|
87
|
-
// 显示分页
|
|
88
|
-
this.$refs.query.$refs.cp.pager = true
|
|
89
|
-
// 调用查询
|
|
90
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
91
|
-
},
|
|
92
|
-
'loadPage' () {
|
|
93
|
-
// 关闭详细
|
|
94
|
-
this.showtotal = false
|
|
95
|
-
// 显示列表数据
|
|
96
|
-
this.showData = true
|
|
97
|
-
// 显示分页
|
|
98
|
-
this.$refs.query.$refs.cp.pager = true
|
|
99
|
-
// 调用查询
|
|
100
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
101
|
-
},
|
|
102
|
-
// 点击功能操作
|
|
103
|
-
'func' (funcdata, row) {
|
|
104
|
-
this.selectdata = Object.assign({}, funcdata, row)
|
|
105
|
-
|
|
106
|
-
// 关闭分页
|
|
107
|
-
this.$refs.query.$refs.cp.pager = false
|
|
108
|
-
// 关闭列表数据
|
|
109
|
-
this.showData = false
|
|
110
|
-
|
|
111
|
-
this.$nextTick(() => {
|
|
112
|
-
this.showtotal = true
|
|
113
|
-
})
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
</script>
|
|
118
|
-
<style scoped>
|
|
119
|
-
/*清除浮动*/
|
|
120
|
-
.clearfix:after,.clearfix:before{
|
|
121
|
-
display: table;
|
|
122
|
-
}
|
|
123
|
-
.clearfix:after{
|
|
124
|
-
clear: both;
|
|
125
|
-
}
|
|
126
|
-
.head{
|
|
127
|
-
height: auto;
|
|
128
|
-
font-weight: bold;
|
|
129
|
-
color: #000000;
|
|
130
|
-
font-family: 微软雅黑;
|
|
131
|
-
}
|
|
132
|
-
</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="show_data.f_process_id"
|
|
14
|
+
:isupload = "true"
|
|
15
|
+
:isdelete="true"
|
|
16
|
+
:isusetype="true"
|
|
17
|
+
:isremark = "true"
|
|
18
|
+
:takeimg="true"
|
|
19
|
+
:issearch="true"
|
|
20
|
+
:defname="show_data.defname"
|
|
21
|
+
>
|
|
22
|
+
</apply-upload>
|
|
23
|
+
</tab>
|
|
24
|
+
</tabset>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
</template>
|
|
30
|
+
<script>
|
|
31
|
+
import Vue from 'vue'
|
|
32
|
+
import {HttpResetClass} from 'vue-client'
|
|
33
|
+
export default {
|
|
34
|
+
title: '报建业务',
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
selectdata: null,
|
|
38
|
+
showtotal: false, // 控制详情显示
|
|
39
|
+
showData: true // 控制列表数据
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
created () {
|
|
43
|
+
this.getConfig()
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
// 获取功能配置
|
|
47
|
+
async getConfig () {
|
|
48
|
+
let res = await this.$resetpost(
|
|
49
|
+
'rs/logic/ApplyGetFunction',
|
|
50
|
+
null,
|
|
51
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
52
|
+
)
|
|
53
|
+
Vue.prototype.$function_vue = res.data
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
events: {
|
|
57
|
+
// 刷新控制层
|
|
58
|
+
async 'breakControl' (servicedata) {
|
|
59
|
+
let http = new HttpResetClass()
|
|
60
|
+
let data = {
|
|
61
|
+
condition: `u.id = ${servicedata.id}`,
|
|
62
|
+
data: {
|
|
63
|
+
id: this.$login.f.id,
|
|
64
|
+
orgid: this.$login.f.orgid
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
|
|
69
|
+
resolveMsg: null,
|
|
70
|
+
rejectMsg: '数据更新失败!!!'
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
this.showtotal = false
|
|
74
|
+
|
|
75
|
+
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
76
|
+
|
|
77
|
+
this.$nextTick(() => {
|
|
78
|
+
this.showtotal = true
|
|
79
|
+
})
|
|
80
|
+
},
|
|
81
|
+
// 查询
|
|
82
|
+
'search' () {
|
|
83
|
+
// 关闭详细
|
|
84
|
+
this.showtotal = false
|
|
85
|
+
// 显示列表数据
|
|
86
|
+
this.showData = true
|
|
87
|
+
// 显示分页
|
|
88
|
+
this.$refs.query.$refs.cp.pager = true
|
|
89
|
+
// 调用查询
|
|
90
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
91
|
+
},
|
|
92
|
+
'loadPage' () {
|
|
93
|
+
// 关闭详细
|
|
94
|
+
this.showtotal = false
|
|
95
|
+
// 显示列表数据
|
|
96
|
+
this.showData = true
|
|
97
|
+
// 显示分页
|
|
98
|
+
this.$refs.query.$refs.cp.pager = true
|
|
99
|
+
// 调用查询
|
|
100
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
101
|
+
},
|
|
102
|
+
// 点击功能操作
|
|
103
|
+
'func' (funcdata, row) {
|
|
104
|
+
this.selectdata = Object.assign({}, funcdata, row)
|
|
105
|
+
|
|
106
|
+
// 关闭分页
|
|
107
|
+
this.$refs.query.$refs.cp.pager = false
|
|
108
|
+
// 关闭列表数据
|
|
109
|
+
this.showData = false
|
|
110
|
+
|
|
111
|
+
this.$nextTick(() => {
|
|
112
|
+
this.showtotal = true
|
|
113
|
+
})
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
</script>
|
|
118
|
+
<style scoped>
|
|
119
|
+
/*清除浮动*/
|
|
120
|
+
.clearfix:after,.clearfix:before{
|
|
121
|
+
display: table;
|
|
122
|
+
}
|
|
123
|
+
.clearfix:after{
|
|
124
|
+
clear: both;
|
|
125
|
+
}
|
|
126
|
+
.head{
|
|
127
|
+
height: auto;
|
|
128
|
+
font-weight: bold;
|
|
129
|
+
color: #000000;
|
|
130
|
+
font-family: 微软雅黑;
|
|
131
|
+
}
|
|
132
|
+
</style>
|