apply-clients 7.1.32 → 7.1.35
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/index.html +30 -30
- package/package.json +1 -1
- package/src/apply.js +69 -69
- package/src/components/product/Function/InstallFunction.vue +147 -147
- package/src/components/product/Function/InstallInfoSelect.vue +281 -281
- package/src/components/product/Process/ExplorationSelect.vue +347 -347
- package/src/components/product/Process/ExplorationUser.vue +5 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +484 -484
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +261 -249
- package/src/components/product/Process/Processes/chargeManagement.vue +562 -562
- package/src/components/product/Process/Service/ServiceControl.vue +856 -856
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +352 -352
- package/src/components/product/ServiceView.vue +755 -755
- package/src/components/product/Supervisory/SupervisoryControl.vue +121 -121
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
package/index.html
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
|
-
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
|
7
|
-
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
|
|
8
|
-
<META HTTP-EQUIV="expires" CONTENT="0">
|
|
9
|
-
<title>陕西榆林中燃天然气</title>
|
|
10
|
-
<style media="screen">
|
|
11
|
-
/*url(./static/newmainbg.jpg)*/
|
|
12
|
-
|
|
13
|
-
body {
|
|
14
|
-
font-size:16px !important;
|
|
15
|
-
width: 100%;
|
|
16
|
-
background: #7f8eaf no-repeat center bottom;
|
|
17
|
-
background-size: cover;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
body .loginbg {
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 100%;
|
|
23
|
-
background: url(./static/loginbg.jpg) no-repeat center top;
|
|
24
|
-
}
|
|
25
|
-
</style>
|
|
26
|
-
</head>
|
|
27
|
-
<body id="bodymain" class="themeOne">
|
|
28
|
-
<app></app>
|
|
29
|
-
</body>
|
|
30
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
|
+
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
|
7
|
+
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
|
|
8
|
+
<META HTTP-EQUIV="expires" CONTENT="0">
|
|
9
|
+
<title>陕西榆林中燃天然气</title>
|
|
10
|
+
<style media="screen">
|
|
11
|
+
/*url(./static/newmainbg.jpg)*/
|
|
12
|
+
|
|
13
|
+
body {
|
|
14
|
+
font-size:16px !important;
|
|
15
|
+
width: 100%;
|
|
16
|
+
background: #7f8eaf no-repeat center bottom;
|
|
17
|
+
background-size: cover;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body .loginbg {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
background: url(./static/loginbg.jpg) no-repeat center top;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
26
|
+
</head>
|
|
27
|
+
<body id="bodymain" class="themeOne">
|
|
28
|
+
<app></app>
|
|
29
|
+
</body>
|
|
30
|
+
</html>
|
package/package.json
CHANGED
package/src/apply.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
Vue.config.silent = true
|
|
3
|
-
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
4
|
-
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
5
|
-
/** ****************服务插件*********************/
|
|
6
|
-
|
|
7
|
-
export default function () {
|
|
8
|
-
Vue.use(ApplyGetSaleParam)
|
|
9
|
-
Vue.use(ApplyLoadParams)
|
|
10
|
-
/** ***************************报建模块*********************************/
|
|
11
|
-
/** 报建流程业务 **/
|
|
12
|
-
// 报建流程业务总入口
|
|
13
|
-
Vue.component('exploration-user', (resolve) => { require(['./components/product/Process/ExplorationUser'], resolve) })
|
|
14
|
-
// 报建流程业务总入口页面list布局
|
|
15
|
-
Vue.component('exploration-select', (resolve) => { require(['./components/product/Process/ExplorationSelect'], resolve) })
|
|
16
|
-
// 业务tab(control层)页
|
|
17
|
-
Vue.component('service-control', (resolve) => { require(['./components/product/Process/Service/ServiceControl'], resolve) })
|
|
18
|
-
// 公共业务显示(view层)页
|
|
19
|
-
Vue.component('service-view', (resolve) => { require(['./components/product/ServiceView'], resolve) })
|
|
20
|
-
// 显示退回理由tab页
|
|
21
|
-
Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/ShowBackReason'], resolve) })
|
|
22
|
-
|
|
23
|
-
/** 报建监控业务 **/
|
|
24
|
-
// 流程监控入口页
|
|
25
|
-
Vue.component('supervisory-control', (resolve) => { require(['./components/product/Supervisory/SupervisoryControl'], resolve) })
|
|
26
|
-
// 流程监控列表页
|
|
27
|
-
Vue.component('supervisory-list', (resolve) => { require(['./components/product/Supervisory/SupervisoryList'], resolve) })
|
|
28
|
-
// 业务tab(control层)页
|
|
29
|
-
Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
|
|
30
|
-
// 流程列表页
|
|
31
|
-
Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
|
|
32
|
-
|
|
33
|
-
/** 报建功能业务 **/
|
|
34
|
-
// 报建功能业务总入口
|
|
35
|
-
Vue.component('install-function', (resolve) => { require(['./components/product/Function/InstallFunction'], resolve) })
|
|
36
|
-
// 报建功能工程列表
|
|
37
|
-
Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
|
|
38
|
-
// 报建菜单页面控制层
|
|
39
|
-
Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
|
|
40
|
-
// 终止报建业务
|
|
41
|
-
Vue.component('stop-install', (resolve) => { require(['./components/product/Function/functions/StopInstall'], resolve) })
|
|
42
|
-
// 终止报建列表页
|
|
43
|
-
Vue.component('stop-apply-cardlist', (resolve) => { require(['./components/product/Function/StopApplyCrrdList'], resolve) })
|
|
44
|
-
// 撤销报建终止页
|
|
45
|
-
Vue.component('apply-record-cancel', (resolve) => { require(['./components/product/Function/functions/ApplyRecordCancel'], resolve) })
|
|
46
|
-
|
|
47
|
-
/** 报建收费记录 **/
|
|
48
|
-
Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
|
|
49
|
-
Vue.component('apply-charge-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeList'], resolve) })
|
|
50
|
-
Vue.component('apply-charge-report', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeReport'], resolve) })
|
|
51
|
-
|
|
52
|
-
// 地址管理
|
|
53
|
-
Vue.component('apply-address-userinfo-management', (resolve) => { require(['./components/product/Process/Processes/addressAndUserinfoManagement'], resolve) })
|
|
54
|
-
// 施工安装明细
|
|
55
|
-
Vue.component('installation-details', (resolve) => { require(['./components/product/Process/Processes/InstallationDetails'], resolve) })
|
|
56
|
-
// 收费管理
|
|
57
|
-
Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
|
|
58
|
-
Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/printCharge'], resolve) })
|
|
59
|
-
// 补充协议
|
|
60
|
-
Vue.component('supplemental-agreement', (resolve) => { require(['./components/product/Process/Processes/supplementalAgreement'], resolve) })
|
|
61
|
-
Vue.component('test', (resolve) => { require(['./components/product/Test'], resolve) })
|
|
62
|
-
// 通气点火汇总报表
|
|
63
|
-
Vue.component('gas-ignition-summary', (resolve) => { require(['./components/product/ReportForm/GasIgnitionSummary'], resolve) })
|
|
64
|
-
|
|
65
|
-
/** VueUtils **/
|
|
66
|
-
Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
|
|
67
|
-
Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
|
|
68
|
-
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
69
|
-
}
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
Vue.config.silent = true
|
|
3
|
+
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
4
|
+
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
5
|
+
/** ****************服务插件*********************/
|
|
6
|
+
|
|
7
|
+
export default function () {
|
|
8
|
+
Vue.use(ApplyGetSaleParam)
|
|
9
|
+
Vue.use(ApplyLoadParams)
|
|
10
|
+
/** ***************************报建模块*********************************/
|
|
11
|
+
/** 报建流程业务 **/
|
|
12
|
+
// 报建流程业务总入口
|
|
13
|
+
Vue.component('exploration-user', (resolve) => { require(['./components/product/Process/ExplorationUser'], resolve) })
|
|
14
|
+
// 报建流程业务总入口页面list布局
|
|
15
|
+
Vue.component('exploration-select', (resolve) => { require(['./components/product/Process/ExplorationSelect'], resolve) })
|
|
16
|
+
// 业务tab(control层)页
|
|
17
|
+
Vue.component('service-control', (resolve) => { require(['./components/product/Process/Service/ServiceControl'], resolve) })
|
|
18
|
+
// 公共业务显示(view层)页
|
|
19
|
+
Vue.component('service-view', (resolve) => { require(['./components/product/ServiceView'], resolve) })
|
|
20
|
+
// 显示退回理由tab页
|
|
21
|
+
Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/ShowBackReason'], resolve) })
|
|
22
|
+
|
|
23
|
+
/** 报建监控业务 **/
|
|
24
|
+
// 流程监控入口页
|
|
25
|
+
Vue.component('supervisory-control', (resolve) => { require(['./components/product/Supervisory/SupervisoryControl'], resolve) })
|
|
26
|
+
// 流程监控列表页
|
|
27
|
+
Vue.component('supervisory-list', (resolve) => { require(['./components/product/Supervisory/SupervisoryList'], resolve) })
|
|
28
|
+
// 业务tab(control层)页
|
|
29
|
+
Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
|
|
30
|
+
// 流程列表页
|
|
31
|
+
Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
|
|
32
|
+
|
|
33
|
+
/** 报建功能业务 **/
|
|
34
|
+
// 报建功能业务总入口
|
|
35
|
+
Vue.component('install-function', (resolve) => { require(['./components/product/Function/InstallFunction'], resolve) })
|
|
36
|
+
// 报建功能工程列表
|
|
37
|
+
Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
|
|
38
|
+
// 报建菜单页面控制层
|
|
39
|
+
Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
|
|
40
|
+
// 终止报建业务
|
|
41
|
+
Vue.component('stop-install', (resolve) => { require(['./components/product/Function/functions/StopInstall'], resolve) })
|
|
42
|
+
// 终止报建列表页
|
|
43
|
+
Vue.component('stop-apply-cardlist', (resolve) => { require(['./components/product/Function/StopApplyCrrdList'], resolve) })
|
|
44
|
+
// 撤销报建终止页
|
|
45
|
+
Vue.component('apply-record-cancel', (resolve) => { require(['./components/product/Function/functions/ApplyRecordCancel'], resolve) })
|
|
46
|
+
|
|
47
|
+
/** 报建收费记录 **/
|
|
48
|
+
Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
|
|
49
|
+
Vue.component('apply-charge-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeList'], resolve) })
|
|
50
|
+
Vue.component('apply-charge-report', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeReport'], resolve) })
|
|
51
|
+
|
|
52
|
+
// 地址管理
|
|
53
|
+
Vue.component('apply-address-userinfo-management', (resolve) => { require(['./components/product/Process/Processes/addressAndUserinfoManagement'], resolve) })
|
|
54
|
+
// 施工安装明细
|
|
55
|
+
Vue.component('installation-details', (resolve) => { require(['./components/product/Process/Processes/InstallationDetails'], resolve) })
|
|
56
|
+
// 收费管理
|
|
57
|
+
Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
|
|
58
|
+
Vue.component('apply-print-charge', (resolve) => { require(['./components/product/Process/Processes/printCharge'], resolve) })
|
|
59
|
+
// 补充协议
|
|
60
|
+
Vue.component('supplemental-agreement', (resolve) => { require(['./components/product/Process/Processes/supplementalAgreement'], resolve) })
|
|
61
|
+
Vue.component('test', (resolve) => { require(['./components/product/Test'], resolve) })
|
|
62
|
+
// 通气点火汇总报表
|
|
63
|
+
Vue.component('gas-ignition-summary', (resolve) => { require(['./components/product/ReportForm/GasIgnitionSummary'], resolve) })
|
|
64
|
+
|
|
65
|
+
/** VueUtils **/
|
|
66
|
+
Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
|
|
67
|
+
Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
|
|
68
|
+
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
69
|
+
}
|
|
@@ -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.f_orgids
|
|
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.f_orgids
|
|
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>
|