apply-clients 3.2.32 → 3.2.37
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/package.json +1 -1
- package/src/AndroidApp.vue +26 -26
- package/src/App.vue +20 -20
- package/src/apply.js +67 -67
- package/src/applyAndroid.js +24 -24
- package/src/components/Util.js +359 -359
- package/src/components/app_apply/AppOnetomany.vue +90 -90
- package/src/components/app_apply/AppServiceView.vue +664 -664
- package/src/components/app_apply/AppTakePic.vue +112 -112
- package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
- package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
- package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
- package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +147 -147
- package/src/components/product/Function/InstallInfoSelect.vue +281 -281
- package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
- package/src/components/product/Function/functions/StopInstall.vue +106 -106
- package/src/components/product/Process/ExplorationSelect.vue +346 -346
- package/src/components/product/Process/ExplorationUser.vue +134 -134
- package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
- package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
- package/src/components/product/Process/Processes/printCharge.vue +133 -133
- package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
- package/src/components/product/Process/ShowBackReason.vue +32 -32
- package/src/components/product/ServiceView.vue +759 -759
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
- package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
- package/src/main.js +23 -23
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<criteria-paged :model="model" :pager="false" v-ref:cp>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
6
|
-
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="form-group col-sm-3">
|
|
9
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
10
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
11
|
-
style="width: 60%!important;"
|
|
12
|
-
v-model="model.startDate"
|
|
13
|
-
:value.sync="model.startDate"
|
|
14
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
15
|
-
:show-reset-button="true"
|
|
16
|
-
condition="f_charge_date >= '{}'">
|
|
17
|
-
</datepicker>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="form-group col-sm-3">
|
|
20
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
21
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
22
|
-
style="width: 60%!important;"
|
|
23
|
-
v-model="model.endDate"
|
|
24
|
-
:value.sync="model.endDate"
|
|
25
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
26
|
-
:show-reset-button="true"
|
|
27
|
-
condition="f_charge_date <= '{}'">
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="form-group col-sm-3 button-range">
|
|
31
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
32
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</criteria>
|
|
37
|
-
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
38
|
-
<template partial='head'>
|
|
39
|
-
<tr>
|
|
40
|
-
<th>部门</th>
|
|
41
|
-
<th>户数</th>
|
|
42
|
-
<th>金额</th>
|
|
43
|
-
</tr>
|
|
44
|
-
</template>
|
|
45
|
-
<template partial='body'>
|
|
46
|
-
<tr >
|
|
47
|
-
<td style="text-align: center;">
|
|
48
|
-
<nobr><font>{{row.depname}}</font></nobr>
|
|
49
|
-
</td>
|
|
50
|
-
<td style="text-align: center;">
|
|
51
|
-
<nobr><font>{{row.address_count}}</font></nobr>
|
|
52
|
-
</td>
|
|
53
|
-
<td style="text-align: center;">
|
|
54
|
-
<nobr><font>{{row.sum_money}}</font></nobr>
|
|
55
|
-
</td>
|
|
56
|
-
</tr>
|
|
57
|
-
</template>
|
|
58
|
-
<template partial='foot'>
|
|
59
|
-
<tr>
|
|
60
|
-
<td style="text-align: center;">合计</td>
|
|
61
|
-
<td style="text-align: center;">{{model.sums.address_count}}</td>
|
|
62
|
-
<td style="text-align: center;">{{model.sums.sum_money}}</td>
|
|
63
|
-
</tr>
|
|
64
|
-
</template>
|
|
65
|
-
</data-grid>
|
|
66
|
-
</criteria-paged>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</template>
|
|
70
|
-
|
|
71
|
-
<script>
|
|
72
|
-
import {PagedList} from 'vue-client'
|
|
73
|
-
|
|
74
|
-
export default {
|
|
75
|
-
title: '报建收费报表',
|
|
76
|
-
data () {
|
|
77
|
-
return {
|
|
78
|
-
model: new PagedList('rs/sql/countApplyCharge', 30, {
|
|
79
|
-
data: {
|
|
80
|
-
orgid: this.$login.f.orgid
|
|
81
|
-
}
|
|
82
|
-
}, {
|
|
83
|
-
address_count: 0,
|
|
84
|
-
sum_money: 0
|
|
85
|
-
})
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
ready () {
|
|
89
|
-
// 调用查询
|
|
90
|
-
this.search()
|
|
91
|
-
},
|
|
92
|
-
methods: {
|
|
93
|
-
clear () {
|
|
94
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
95
|
-
this.$refs.cp.$refs.cri.model[key] = []
|
|
96
|
-
})
|
|
97
|
-
},
|
|
98
|
-
// 查询
|
|
99
|
-
search () {
|
|
100
|
-
this.$refs.cp.$refs.cri.search()
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
</script>
|
|
105
|
-
|
|
106
|
-
<style scoped>
|
|
107
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" :pager="false" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
10
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
11
|
+
style="width: 60%!important;"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
15
|
+
:show-reset-button="true"
|
|
16
|
+
condition="f_charge_date >= '{}'">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-sm-3">
|
|
20
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
22
|
+
style="width: 60%!important;"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_charge_date <= '{}'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="form-group col-sm-3 button-range">
|
|
31
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
32
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</criteria>
|
|
37
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
38
|
+
<template partial='head'>
|
|
39
|
+
<tr>
|
|
40
|
+
<th>部门</th>
|
|
41
|
+
<th>户数</th>
|
|
42
|
+
<th>金额</th>
|
|
43
|
+
</tr>
|
|
44
|
+
</template>
|
|
45
|
+
<template partial='body'>
|
|
46
|
+
<tr >
|
|
47
|
+
<td style="text-align: center;">
|
|
48
|
+
<nobr><font>{{row.depname}}</font></nobr>
|
|
49
|
+
</td>
|
|
50
|
+
<td style="text-align: center;">
|
|
51
|
+
<nobr><font>{{row.address_count}}</font></nobr>
|
|
52
|
+
</td>
|
|
53
|
+
<td style="text-align: center;">
|
|
54
|
+
<nobr><font>{{row.sum_money}}</font></nobr>
|
|
55
|
+
</td>
|
|
56
|
+
</tr>
|
|
57
|
+
</template>
|
|
58
|
+
<template partial='foot'>
|
|
59
|
+
<tr>
|
|
60
|
+
<td style="text-align: center;">合计</td>
|
|
61
|
+
<td style="text-align: center;">{{model.sums.address_count}}</td>
|
|
62
|
+
<td style="text-align: center;">{{model.sums.sum_money}}</td>
|
|
63
|
+
</tr>
|
|
64
|
+
</template>
|
|
65
|
+
</data-grid>
|
|
66
|
+
</criteria-paged>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</template>
|
|
70
|
+
|
|
71
|
+
<script>
|
|
72
|
+
import {PagedList} from 'vue-client'
|
|
73
|
+
|
|
74
|
+
export default {
|
|
75
|
+
title: '报建收费报表',
|
|
76
|
+
data () {
|
|
77
|
+
return {
|
|
78
|
+
model: new PagedList('rs/sql/countApplyCharge', 30, {
|
|
79
|
+
data: {
|
|
80
|
+
orgid: this.$login.f.orgid
|
|
81
|
+
}
|
|
82
|
+
}, {
|
|
83
|
+
address_count: 0,
|
|
84
|
+
sum_money: 0
|
|
85
|
+
})
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
ready () {
|
|
89
|
+
// 调用查询
|
|
90
|
+
this.search()
|
|
91
|
+
},
|
|
92
|
+
methods: {
|
|
93
|
+
clear () {
|
|
94
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
95
|
+
this.$refs.cp.$refs.cri.model[key] = []
|
|
96
|
+
})
|
|
97
|
+
},
|
|
98
|
+
// 查询
|
|
99
|
+
search () {
|
|
100
|
+
this.$refs.cp.$refs.cri.search()
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</script>
|
|
105
|
+
|
|
106
|
+
<style scoped>
|
|
107
|
+
</style>
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div style="height: 95%">
|
|
5
|
-
<apply-charge-list v-ref:query ></apply-charge-list>
|
|
6
|
-
</div>
|
|
7
|
-
<p class="bg-info text-center" style="font-size: 20px;height: 5%">合计收费记录共
|
|
8
|
-
<span style="color: red">{{$refs.query.chargeAll.count}}</span>笔,
|
|
9
|
-
合计金额<span style="color: red">{{$refs.query.chargeAll.sum}}</span>元
|
|
10
|
-
</p>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
export default {
|
|
17
|
-
title: '报建收费明细',
|
|
18
|
-
data () {
|
|
19
|
-
return {
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
ready () {
|
|
23
|
-
},
|
|
24
|
-
methods: {
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<style scoped>
|
|
30
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div style="height: 95%">
|
|
5
|
+
<apply-charge-list v-ref:query ></apply-charge-list>
|
|
6
|
+
</div>
|
|
7
|
+
<p class="bg-info text-center" style="font-size: 20px;height: 5%">合计收费记录共
|
|
8
|
+
<span style="color: red">{{$refs.query.chargeAll.count}}</span>笔,
|
|
9
|
+
合计金额<span style="color: red">{{$refs.query.chargeAll.sum}}</span>元
|
|
10
|
+
</p>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
export default {
|
|
17
|
+
title: '报建收费明细',
|
|
18
|
+
data () {
|
|
19
|
+
return {
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
ready () {
|
|
23
|
+
},
|
|
24
|
+
methods: {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<style scoped>
|
|
30
|
+
</style>
|
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div class="col-sm-12">
|
|
5
|
-
<div :class="showData ? 'top' : 'auto'">
|
|
6
|
-
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
7
|
-
</div>
|
|
8
|
-
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
9
|
-
<div class="panel-heading head" style="background-color: #e8f4ff">{{funcdata.title}}</div>
|
|
10
|
-
<div class="panel-body" style="height: 89%">
|
|
11
|
-
<function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<!--
|
|
16
|
-
<div class="col-sm-2">
|
|
17
|
-
<stop-apply-cardlist v-ref:card></stop-apply-cardlist>
|
|
18
|
-
</div>
|
|
19
|
-
-->
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
</template>
|
|
24
|
-
<script>
|
|
25
|
-
import Vue from 'vue'
|
|
26
|
-
import {HttpResetClass} from 'vue-client'
|
|
27
|
-
export default {
|
|
28
|
-
title: '报建业务',
|
|
29
|
-
data () {
|
|
30
|
-
return {
|
|
31
|
-
selectdata: null,
|
|
32
|
-
funcdata: null, // 选中功能
|
|
33
|
-
showtotal: false, // 控制详情显示
|
|
34
|
-
showData: true // 控制列表数据
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
created () {
|
|
38
|
-
this.getConfig()
|
|
39
|
-
},
|
|
40
|
-
methods: {
|
|
41
|
-
// 获取功能配置
|
|
42
|
-
getConfig () {
|
|
43
|
-
let http = new HttpResetClass()
|
|
44
|
-
let data = {
|
|
45
|
-
data: this.$login.f
|
|
46
|
-
}
|
|
47
|
-
http.load('POST', 'rs/logic/ApplyGetFunction', {data: data}, {resolveMsg: null, rejectMsg: null}
|
|
48
|
-
).then((res) => {
|
|
49
|
-
if (res.data.code && res.data.code === 200) {
|
|
50
|
-
Vue.prototype.$function_vue = res.data.function_vue
|
|
51
|
-
} else {
|
|
52
|
-
this.$showMessage('获取配置失败,原因:' + res.data.msg)
|
|
53
|
-
return
|
|
54
|
-
}
|
|
55
|
-
})
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
events: {
|
|
59
|
-
// 刷新控制层
|
|
60
|
-
async 'breakControl' (servicedata) {
|
|
61
|
-
let http = new HttpResetClass()
|
|
62
|
-
let data = {
|
|
63
|
-
condition: `u.id = ${servicedata.id}`,
|
|
64
|
-
data: {
|
|
65
|
-
id: this.$login.f.id,
|
|
66
|
-
orgid: this.$login.f.orgid
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
try {
|
|
71
|
-
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
72
|
-
|
|
73
|
-
this.showtotal = false
|
|
74
|
-
this.selectdata = res.data[0]
|
|
75
|
-
this.$nextTick(() => {
|
|
76
|
-
this.showtotal = true
|
|
77
|
-
})
|
|
78
|
-
} catch (e) {
|
|
79
|
-
this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
// 查询
|
|
83
|
-
'search' () {
|
|
84
|
-
// 关闭详细
|
|
85
|
-
this.showtotal = false
|
|
86
|
-
// 显示列表数据
|
|
87
|
-
this.showData = true
|
|
88
|
-
// 显示分页
|
|
89
|
-
this.$refs.query.$refs.cp.pager = true
|
|
90
|
-
// 调用查询
|
|
91
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
92
|
-
},
|
|
93
|
-
// 点击功能操作
|
|
94
|
-
'func' (funcdata, row) {
|
|
95
|
-
this.funcdata = funcdata
|
|
96
|
-
this.selectdata = row
|
|
97
|
-
// 关闭分页
|
|
98
|
-
this.$refs.query.$refs.cp.pager = false
|
|
99
|
-
// 关闭列表数据
|
|
100
|
-
this.showData = false
|
|
101
|
-
|
|
102
|
-
this.$nextTick(() => {
|
|
103
|
-
this.showtotal = true
|
|
104
|
-
})
|
|
105
|
-
}
|
|
106
|
-
/*
|
|
107
|
-
'operate' (row) {
|
|
108
|
-
this.show = false
|
|
109
|
-
this.funcdata = {
|
|
110
|
-
title: '撤销'
|
|
111
|
-
}
|
|
112
|
-
let http = new HttpResetClass()
|
|
113
|
-
let data = {
|
|
114
|
-
tablename: 't_apply',
|
|
115
|
-
condition: `f_process_id='${row.processid}'`
|
|
116
|
-
}
|
|
117
|
-
http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null,rejectMsg: '工程查询失败'})
|
|
118
|
-
.then(res => {
|
|
119
|
-
console.log(res.data[0])
|
|
120
|
-
this.selectdata = res.data[0]
|
|
121
|
-
this.selectdata.stopapply = row
|
|
122
|
-
this.selectheight = '10%'
|
|
123
|
-
this.funcheight = '90%'
|
|
124
|
-
this.$refs.installselect.$refs.cp.pager = false
|
|
125
|
-
this.show = true
|
|
126
|
-
})
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
*/
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
</script>
|
|
133
|
-
<style scoped>
|
|
134
|
-
/*清除浮动*/
|
|
135
|
-
.clearfix:after,.clearfix:before{
|
|
136
|
-
display: table;
|
|
137
|
-
}
|
|
138
|
-
.clearfix:after{
|
|
139
|
-
clear: both;
|
|
140
|
-
}
|
|
141
|
-
.head{
|
|
142
|
-
height: auto;
|
|
143
|
-
font-weight: bold;
|
|
144
|
-
color: #000000;
|
|
145
|
-
font-family: 微软雅黑;
|
|
146
|
-
}
|
|
147
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="col-sm-12">
|
|
5
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
6
|
+
<installinfoselect :show-data="showData" v-ref:query></installinfoselect>
|
|
7
|
+
</div>
|
|
8
|
+
<div v-if="showtotal" class="panel panel-info" style="height: 90%;">
|
|
9
|
+
<div class="panel-heading head" style="background-color: #e8f4ff">{{funcdata.title}}</div>
|
|
10
|
+
<div class="panel-body" style="height: 89%">
|
|
11
|
+
<function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<!--
|
|
16
|
+
<div class="col-sm-2">
|
|
17
|
+
<stop-apply-cardlist v-ref:card></stop-apply-cardlist>
|
|
18
|
+
</div>
|
|
19
|
+
-->
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
</template>
|
|
24
|
+
<script>
|
|
25
|
+
import Vue from 'vue'
|
|
26
|
+
import {HttpResetClass} from 'vue-client'
|
|
27
|
+
export default {
|
|
28
|
+
title: '报建业务',
|
|
29
|
+
data () {
|
|
30
|
+
return {
|
|
31
|
+
selectdata: null,
|
|
32
|
+
funcdata: null, // 选中功能
|
|
33
|
+
showtotal: false, // 控制详情显示
|
|
34
|
+
showData: true // 控制列表数据
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
created () {
|
|
38
|
+
this.getConfig()
|
|
39
|
+
},
|
|
40
|
+
methods: {
|
|
41
|
+
// 获取功能配置
|
|
42
|
+
getConfig () {
|
|
43
|
+
let http = new HttpResetClass()
|
|
44
|
+
let data = {
|
|
45
|
+
data: this.$login.f
|
|
46
|
+
}
|
|
47
|
+
http.load('POST', 'rs/logic/ApplyGetFunction', {data: data}, {resolveMsg: null, rejectMsg: null}
|
|
48
|
+
).then((res) => {
|
|
49
|
+
if (res.data.code && res.data.code === 200) {
|
|
50
|
+
Vue.prototype.$function_vue = res.data.function_vue
|
|
51
|
+
} else {
|
|
52
|
+
this.$showMessage('获取配置失败,原因:' + res.data.msg)
|
|
53
|
+
return
|
|
54
|
+
}
|
|
55
|
+
})
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
events: {
|
|
59
|
+
// 刷新控制层
|
|
60
|
+
async 'breakControl' (servicedata) {
|
|
61
|
+
let http = new HttpResetClass()
|
|
62
|
+
let data = {
|
|
63
|
+
condition: `u.id = ${servicedata.id}`,
|
|
64
|
+
data: {
|
|
65
|
+
id: this.$login.f.id,
|
|
66
|
+
orgid: this.$login.f.orgid
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
try {
|
|
71
|
+
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
72
|
+
|
|
73
|
+
this.showtotal = false
|
|
74
|
+
this.selectdata = res.data[0]
|
|
75
|
+
this.$nextTick(() => {
|
|
76
|
+
this.showtotal = true
|
|
77
|
+
})
|
|
78
|
+
} catch (e) {
|
|
79
|
+
this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
// 查询
|
|
83
|
+
'search' () {
|
|
84
|
+
// 关闭详细
|
|
85
|
+
this.showtotal = false
|
|
86
|
+
// 显示列表数据
|
|
87
|
+
this.showData = true
|
|
88
|
+
// 显示分页
|
|
89
|
+
this.$refs.query.$refs.cp.pager = true
|
|
90
|
+
// 调用查询
|
|
91
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
92
|
+
},
|
|
93
|
+
// 点击功能操作
|
|
94
|
+
'func' (funcdata, row) {
|
|
95
|
+
this.funcdata = funcdata
|
|
96
|
+
this.selectdata = row
|
|
97
|
+
// 关闭分页
|
|
98
|
+
this.$refs.query.$refs.cp.pager = false
|
|
99
|
+
// 关闭列表数据
|
|
100
|
+
this.showData = false
|
|
101
|
+
|
|
102
|
+
this.$nextTick(() => {
|
|
103
|
+
this.showtotal = true
|
|
104
|
+
})
|
|
105
|
+
}
|
|
106
|
+
/*
|
|
107
|
+
'operate' (row) {
|
|
108
|
+
this.show = false
|
|
109
|
+
this.funcdata = {
|
|
110
|
+
title: '撤销'
|
|
111
|
+
}
|
|
112
|
+
let http = new HttpResetClass()
|
|
113
|
+
let data = {
|
|
114
|
+
tablename: 't_apply',
|
|
115
|
+
condition: `f_process_id='${row.processid}'`
|
|
116
|
+
}
|
|
117
|
+
http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null,rejectMsg: '工程查询失败'})
|
|
118
|
+
.then(res => {
|
|
119
|
+
console.log(res.data[0])
|
|
120
|
+
this.selectdata = res.data[0]
|
|
121
|
+
this.selectdata.stopapply = row
|
|
122
|
+
this.selectheight = '10%'
|
|
123
|
+
this.funcheight = '90%'
|
|
124
|
+
this.$refs.installselect.$refs.cp.pager = false
|
|
125
|
+
this.show = true
|
|
126
|
+
})
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
*/
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
</script>
|
|
133
|
+
<style scoped>
|
|
134
|
+
/*清除浮动*/
|
|
135
|
+
.clearfix:after,.clearfix:before{
|
|
136
|
+
display: table;
|
|
137
|
+
}
|
|
138
|
+
.clearfix:after{
|
|
139
|
+
clear: both;
|
|
140
|
+
}
|
|
141
|
+
.head{
|
|
142
|
+
height: auto;
|
|
143
|
+
font-weight: bold;
|
|
144
|
+
color: #000000;
|
|
145
|
+
font-family: 微软雅黑;
|
|
146
|
+
}
|
|
147
|
+
</style>
|