apply-clients 3.0.5-10 → 3.0.5-12
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/components/product/Function/InstallFunction.vue +126 -126
- package/src/components/product/Process/ExplorationSelect.vue +1 -1
- package/src/components/product/Process/ExplorationUser.vue +193 -193
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +1 -1
- package/src/components/product/Supervisory/SupervisoryControl.vue +190 -190
package/package.json
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="full" style="background-color: #f6f6f6;">
|
|
3
|
-
<div class="flex-row">
|
|
4
|
-
<div class="flex" style="flex: 1" :style="{height: totalheight,width:'80%'}">
|
|
5
|
-
<div class="flex col-sm-12" :style="{height: leftheight}">
|
|
6
|
-
<installinfoselect v-ref:installselect></installinfoselect>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="flex col-sm-12" v-if="show" style="padding-top: 3px;">
|
|
9
|
-
<installinfodown v-ref:installdown></installinfodown>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-sm-12" v-show="clishow">
|
|
12
|
-
<div class="col-sm-3">
|
|
13
|
-
<installfeeinfo :infeeinfo="selectdata"></installfeeinfo>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-9">
|
|
16
|
-
<function-service-control v-ref:fsc :funcdata = "funcdata" :selectdata="selectdata"></function-service-control>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div v-show="comps" v-el:route class="flex span select-overspread"
|
|
20
|
-
style="margin-top: 10px;border: 1px solid #EEF3F6;flex: 0.8;">
|
|
21
|
-
<route v-ref:route></route>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 20%;padding:0px 0px 0px 0px;margin-left: 0px">
|
|
25
|
-
<install-apply-cardlist :btns="operatebtn" :userinfoid="row ? row.f_userinfo_id : ''" @list-select-oper="recordCancel"
|
|
26
|
-
v-ref:card></install-apply-cardlist>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
<script>
|
|
32
|
-
import Vue from 'vue'
|
|
33
|
-
import {HttpResetClass} from 'vue-client'
|
|
34
|
-
export default {
|
|
35
|
-
title: '报建业务',
|
|
36
|
-
data() {
|
|
37
|
-
return {
|
|
38
|
-
funcdata: null, // 选中功能
|
|
39
|
-
comps: false,
|
|
40
|
-
row: null,
|
|
41
|
-
// arr: ['报建登记', '现场勘探', '设计出图'],
|
|
42
|
-
selectdata: null,
|
|
43
|
-
show: false,
|
|
44
|
-
clishow: false,
|
|
45
|
-
showallbtn: false,
|
|
46
|
-
leftheight: '100%',
|
|
47
|
-
totalheight: '100%',
|
|
48
|
-
footheight: '0%'
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
created(){
|
|
52
|
-
let http = new HttpResetClass()
|
|
53
|
-
let xmldata = {
|
|
54
|
-
data:
|
|
55
|
-
workname: '工商业报建流程'
|
|
56
|
-
}
|
|
57
|
-
http.load('POST','rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
58
|
-
).then((res)=>{
|
|
59
|
-
if(res.data.code && res.data.code == 200){
|
|
60
|
-
Vue.function_vue = Vue.prototype.$function_vue = res.data.function_vue
|
|
61
|
-
}else{
|
|
62
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
63
|
-
return
|
|
64
|
-
}
|
|
65
|
-
})
|
|
66
|
-
console.log("Vue.$function_vue:"+JSON.stringify(this.$function_vue))
|
|
67
|
-
},
|
|
68
|
-
methods: {
|
|
69
|
-
// 操作记录点击撤销时间调用方法
|
|
70
|
-
recordCancel(title, name, row) {
|
|
71
|
-
this.leftheight = '50%'
|
|
72
|
-
this.showallbtn = false
|
|
73
|
-
this.show = false
|
|
74
|
-
this.clishow = false
|
|
75
|
-
// this.$parent.$refs.installselect.bulkType = '操作记录撤销'
|
|
76
|
-
this.$els.route.style.height = 260 + 'px'
|
|
77
|
-
// 清除row的选择
|
|
78
|
-
this.row = null
|
|
79
|
-
// this.$refs.list.search()
|
|
80
|
-
this.comps = {name: name, props: {data: row}}
|
|
81
|
-
this.$refs.route.init(name, {data: row})
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
events: {
|
|
85
|
-
'func'(funcdata,row) {
|
|
86
|
-
this.funcdata = funcdata
|
|
87
|
-
this.selectdata = row
|
|
88
|
-
this.leftheight = '25%'
|
|
89
|
-
this.totalheight = '80%'
|
|
90
|
-
this.clishow = true
|
|
91
|
-
// this.$refs.fsc.hasChange()
|
|
92
|
-
},
|
|
93
|
-
'showbtn'(val) {
|
|
94
|
-
this.selectdata = val
|
|
95
|
-
// this.show = true
|
|
96
|
-
this.showallbtn = true
|
|
97
|
-
this.leftheight = '25%'
|
|
98
|
-
this.totalheight = '100%'
|
|
99
|
-
},
|
|
100
|
-
'hiddenbtn'() {
|
|
101
|
-
this.showallbtn = false
|
|
102
|
-
this.clishow = false
|
|
103
|
-
this.show = false
|
|
104
|
-
this.comps = null
|
|
105
|
-
this.leftheight = '100%'
|
|
106
|
-
this.totalheight = '100%'
|
|
107
|
-
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
108
|
-
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
109
|
-
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
110
|
-
},
|
|
111
|
-
'showline'(value) {
|
|
112
|
-
this.show = false
|
|
113
|
-
this.$refs.installselect.clifun(value)
|
|
114
|
-
},
|
|
115
|
-
'searchcard'() {
|
|
116
|
-
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
117
|
-
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
118
|
-
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
119
|
-
},
|
|
120
|
-
'list-select-oper'() {
|
|
121
|
-
this.leftheight = '50%'
|
|
122
|
-
this.footheight = '50%'
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="full" style="background-color: #f6f6f6;">
|
|
3
|
+
<div class="flex-row">
|
|
4
|
+
<div class="flex" style="flex: 1" :style="{height: totalheight,width:'80%'}">
|
|
5
|
+
<div class="flex col-sm-12" :style="{height: leftheight}">
|
|
6
|
+
<installinfoselect v-ref:installselect></installinfoselect>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="flex col-sm-12" v-if="show" style="padding-top: 3px;">
|
|
9
|
+
<installinfodown v-ref:installdown></installinfodown>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-sm-12" v-show="clishow">
|
|
12
|
+
<div class="col-sm-3">
|
|
13
|
+
<installfeeinfo :infeeinfo="selectdata"></installfeeinfo>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-9">
|
|
16
|
+
<function-service-control v-ref:fsc :funcdata = "funcdata" :selectdata="selectdata"></function-service-control>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div v-show="comps" v-el:route class="flex span select-overspread"
|
|
20
|
+
style="margin-top: 10px;border: 1px solid #EEF3F6;flex: 0.8;">
|
|
21
|
+
<route v-ref:route></route>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
<div style="width: 20%;padding:0px 0px 0px 0px;margin-left: 0px">
|
|
25
|
+
<install-apply-cardlist :btns="operatebtn" :userinfoid="row ? row.f_userinfo_id : ''" @list-select-oper="recordCancel"
|
|
26
|
+
v-ref:card></install-apply-cardlist>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
<script>
|
|
32
|
+
import Vue from 'vue'
|
|
33
|
+
import {HttpResetClass} from 'vue-client'
|
|
34
|
+
export default {
|
|
35
|
+
title: '报建业务',
|
|
36
|
+
data() {
|
|
37
|
+
return {
|
|
38
|
+
funcdata: null, // 选中功能
|
|
39
|
+
comps: false,
|
|
40
|
+
row: null,
|
|
41
|
+
// arr: ['报建登记', '现场勘探', '设计出图'],
|
|
42
|
+
selectdata: null,
|
|
43
|
+
show: false,
|
|
44
|
+
clishow: false,
|
|
45
|
+
showallbtn: false,
|
|
46
|
+
leftheight: '100%',
|
|
47
|
+
totalheight: '100%',
|
|
48
|
+
footheight: '0%'
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
created(){
|
|
52
|
+
let http = new HttpResetClass()
|
|
53
|
+
let xmldata = {
|
|
54
|
+
data:{...this.$login.f,parent:{},functions:[]},
|
|
55
|
+
workname: '工商业报建流程'
|
|
56
|
+
}
|
|
57
|
+
http.load('POST','rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
58
|
+
).then((res)=>{
|
|
59
|
+
if(res.data.code && res.data.code == 200){
|
|
60
|
+
Vue.function_vue = Vue.prototype.$function_vue = res.data.function_vue
|
|
61
|
+
}else{
|
|
62
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
63
|
+
return
|
|
64
|
+
}
|
|
65
|
+
})
|
|
66
|
+
console.log("Vue.$function_vue:"+JSON.stringify(this.$function_vue))
|
|
67
|
+
},
|
|
68
|
+
methods: {
|
|
69
|
+
// 操作记录点击撤销时间调用方法
|
|
70
|
+
recordCancel(title, name, row) {
|
|
71
|
+
this.leftheight = '50%'
|
|
72
|
+
this.showallbtn = false
|
|
73
|
+
this.show = false
|
|
74
|
+
this.clishow = false
|
|
75
|
+
// this.$parent.$refs.installselect.bulkType = '操作记录撤销'
|
|
76
|
+
this.$els.route.style.height = 260 + 'px'
|
|
77
|
+
// 清除row的选择
|
|
78
|
+
this.row = null
|
|
79
|
+
// this.$refs.list.search()
|
|
80
|
+
this.comps = {name: name, props: {data: row}}
|
|
81
|
+
this.$refs.route.init(name, {data: row})
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
events: {
|
|
85
|
+
'func'(funcdata,row) {
|
|
86
|
+
this.funcdata = funcdata
|
|
87
|
+
this.selectdata = row
|
|
88
|
+
this.leftheight = '25%'
|
|
89
|
+
this.totalheight = '80%'
|
|
90
|
+
this.clishow = true
|
|
91
|
+
// this.$refs.fsc.hasChange()
|
|
92
|
+
},
|
|
93
|
+
'showbtn'(val) {
|
|
94
|
+
this.selectdata = val
|
|
95
|
+
// this.show = true
|
|
96
|
+
this.showallbtn = true
|
|
97
|
+
this.leftheight = '25%'
|
|
98
|
+
this.totalheight = '100%'
|
|
99
|
+
},
|
|
100
|
+
'hiddenbtn'() {
|
|
101
|
+
this.showallbtn = false
|
|
102
|
+
this.clishow = false
|
|
103
|
+
this.show = false
|
|
104
|
+
this.comps = null
|
|
105
|
+
this.leftheight = '100%'
|
|
106
|
+
this.totalheight = '100%'
|
|
107
|
+
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
108
|
+
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
109
|
+
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
110
|
+
},
|
|
111
|
+
'showline'(value) {
|
|
112
|
+
this.show = false
|
|
113
|
+
this.$refs.installselect.clifun(value)
|
|
114
|
+
},
|
|
115
|
+
'searchcard'() {
|
|
116
|
+
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
117
|
+
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
118
|
+
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
119
|
+
},
|
|
120
|
+
'list-select-oper'() {
|
|
121
|
+
this.leftheight = '50%'
|
|
122
|
+
this.footheight = '50%'
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
</script>
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
let http = new HttpResetClass()
|
|
247
247
|
console.log("--------------开始加载load---------------")
|
|
248
248
|
let data = {
|
|
249
|
-
data:
|
|
249
|
+
data:{...this.$login.f,parent:{},functions:[]},
|
|
250
250
|
workname: this.urlname
|
|
251
251
|
}
|
|
252
252
|
console.log("获取流程信息:" + JSON.stringify(data))
|
|
@@ -1,193 +1,193 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
|
|
3
|
-
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
-
<exploration-select v-ref:queryuser v-show="show"></exploration-select>
|
|
5
|
-
<modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
|
|
8
|
-
<div class="col-sm-10">
|
|
9
|
-
<tabset v-ref:tabs :close="false" style="margin-top: 80px">
|
|
10
|
-
<tab :header='header' style="background-color :#f6f6f6">
|
|
11
|
-
<service-control v-ref:service :selectdata="selectdata" ></service-control>
|
|
12
|
-
</tab>
|
|
13
|
-
<!--<tab header='档案信息管理' style="background-color :#f6f6f6" v-if="selectdata.f_install_num>1&&selectdata.defname!='营收数据导入'">-->
|
|
14
|
-
<!--<record-message v-ref:record :selectdata="selectdata" :key="tittle1"-->
|
|
15
|
-
<!--:edit = "true">-->
|
|
16
|
-
<!--</record-message>-->
|
|
17
|
-
<!--</tab>-->
|
|
18
|
-
<!-- <tab header='表档案管理'>
|
|
19
|
-
<record-message v-ref:record :selectdata="selectdata" :key="tittle2"
|
|
20
|
-
:edit = "true">
|
|
21
|
-
</record-message>
|
|
22
|
-
</tab>-->
|
|
23
|
-
<!--<tab header='材料信息' style="background-color :#f6f6f6">-->
|
|
24
|
-
<!--<material-message v-ref:material :selectdata="selectdata"-->
|
|
25
|
-
<!--:edit = "true">-->
|
|
26
|
-
<!--</material-message>-->
|
|
27
|
-
<!--</tab>-->
|
|
28
|
-
<tab header='附件' style="background-color :#f6f6f6">
|
|
29
|
-
<!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></apply-upload>-->
|
|
30
|
-
<apply-upload v-ref:file
|
|
31
|
-
:blodid="selectdata.f_process_id"
|
|
32
|
-
:isupload = "true"
|
|
33
|
-
:isdelete="true"
|
|
34
|
-
:isusetype="true"
|
|
35
|
-
:isremark = "true"
|
|
36
|
-
:takeimg="true"
|
|
37
|
-
:issearch="true"
|
|
38
|
-
:defname="selectdata.defname">
|
|
39
|
-
</apply-upload>
|
|
40
|
-
<!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
|
|
41
|
-
</tab>
|
|
42
|
-
<!--<tab header='设备新增' v-if="flagg">-->
|
|
43
|
-
<!--<equipment-message v-ref:equipment :selectdata="selectdata"-->
|
|
44
|
-
<!--:edit = "true">-->
|
|
45
|
-
<!--</equipment-message>-->
|
|
46
|
-
<!--</tab>-->
|
|
47
|
-
<!-- <tab header='设备管理' v-if="flagg">
|
|
48
|
-
<customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
|
|
49
|
-
</tab>-->
|
|
50
|
-
</tabset>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="col-sm-2" style="overflow:auto;margin-top: 80px" v-show="showbasic" >
|
|
53
|
-
<history_control v-ref:binfo :selectdata="selectdata"></history_control>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
</template>
|
|
58
|
-
<script>
|
|
59
|
-
import Vue from 'vue'
|
|
60
|
-
import {HttpResetClass} from 'vue-client'
|
|
61
|
-
export default {
|
|
62
|
-
title: '报建流程',
|
|
63
|
-
data() {
|
|
64
|
-
return {
|
|
65
|
-
flagg: false,
|
|
66
|
-
show: true,
|
|
67
|
-
showbasic: false,
|
|
68
|
-
showtotal: false,
|
|
69
|
-
header: null,
|
|
70
|
-
selectdata: {},
|
|
71
|
-
botheight: '0%',
|
|
72
|
-
topheight: '100%',
|
|
73
|
-
tittle1:'户档案管理',
|
|
74
|
-
tittle2:'表档案管理',
|
|
75
|
-
tittle3:'设备管理'
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
created(){
|
|
79
|
-
let http = new HttpResetClass()
|
|
80
|
-
let xmldata = {
|
|
81
|
-
data:
|
|
82
|
-
workname: '散户报建流程'
|
|
83
|
-
}
|
|
84
|
-
http.load('POST','rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
85
|
-
).then((res)=>{
|
|
86
|
-
|
|
87
|
-
if(res.data.code && res.data.code == 200){
|
|
88
|
-
Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
89
|
-
if(res.data.msg){
|
|
90
|
-
console.log('获取配置文件信息:',res.data.msg)
|
|
91
|
-
}
|
|
92
|
-
}else{
|
|
93
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
94
|
-
return
|
|
95
|
-
}
|
|
96
|
-
})
|
|
97
|
-
console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
|
|
98
|
-
},
|
|
99
|
-
events: {
|
|
100
|
-
'addactive'() {
|
|
101
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
102
|
-
this.hidden()
|
|
103
|
-
this.showbasic = true
|
|
104
|
-
this.topheight = '8%'
|
|
105
|
-
this.botheight = '88.9%'
|
|
106
|
-
},
|
|
107
|
-
'changeheight'() {
|
|
108
|
-
this.show = true
|
|
109
|
-
this.botheight = '0%'
|
|
110
|
-
},
|
|
111
|
-
'check'(val) {
|
|
112
|
-
this.selectdata = null
|
|
113
|
-
this.selectdata = val
|
|
114
|
-
console.log('val.f_apply_type:' + val.f_apply_type)
|
|
115
|
-
if (val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
|
|
116
|
-
console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
|
|
117
|
-
if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
|
|
118
|
-
this.xmlname = '工商业报建流程'
|
|
119
|
-
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
120
|
-
this.xmlname = '散户报建流程'
|
|
121
|
-
} else if (this.selectdata.f_apply_type === '民用报建') {
|
|
122
|
-
this.xmlname = '民用报建流程'
|
|
123
|
-
} else if (this.selectdata.f_apply_type === '管道移改') {
|
|
124
|
-
this.xmlname = '管道移改报建流程'
|
|
125
|
-
}else if (this.selectdata.f_apply_type === '中压管线') {
|
|
126
|
-
this.xmlname = '中压管线报建流程'
|
|
127
|
-
}else {
|
|
128
|
-
this.xmlname = this.selectdata.type + '报建流程'
|
|
129
|
-
}
|
|
130
|
-
let xmldata = {
|
|
131
|
-
data:
|
|
132
|
-
workname: this.xmlname
|
|
133
|
-
}
|
|
134
|
-
let http = new HttpResetClass()
|
|
135
|
-
console.log('xmldata.workname:' + xmldata.workname)
|
|
136
|
-
http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
137
|
-
).then((res)=>{
|
|
138
|
-
if (res.data.code && res.data.code == 200){
|
|
139
|
-
Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
140
|
-
if (res.data.msg){
|
|
141
|
-
console.log('获取配置文件信息:', res.data.msg)
|
|
142
|
-
}
|
|
143
|
-
// console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
|
|
144
|
-
// console.log("this.selectdata的值---------" + JSON.stringify(this.selectdata))
|
|
145
|
-
console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
|
|
146
|
-
this.topheight = '8%'
|
|
147
|
-
this.botheight = '88.9%'
|
|
148
|
-
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
149
|
-
this.$refs.queryuser.$refs.cp.pager = false
|
|
150
|
-
this.showbasic = true
|
|
151
|
-
this.header = val.defname
|
|
152
|
-
this.hidden()
|
|
153
|
-
this.$refs.service.refurbish(val)
|
|
154
|
-
} else {
|
|
155
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
156
|
-
return
|
|
157
|
-
}
|
|
158
|
-
})
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
'selfsearch'() {
|
|
162
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
163
|
-
},
|
|
164
|
-
'close'() {
|
|
165
|
-
this.showtotal = false
|
|
166
|
-
this.topheight = '100%'
|
|
167
|
-
this.botheight = '0%'
|
|
168
|
-
this.$refs.queryuser.$refs.cp.pager = true
|
|
169
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
methods: {
|
|
173
|
-
hidden() {
|
|
174
|
-
this.showtotal = true
|
|
175
|
-
},
|
|
176
|
-
close() {
|
|
177
|
-
this.hidden()
|
|
178
|
-
this.topheight = '100%'
|
|
179
|
-
this.botheight = '0%'
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
watch: {
|
|
183
|
-
'selectdata'(val) {
|
|
184
|
-
console.log('selectdata:', val)
|
|
185
|
-
},
|
|
186
|
-
'selectdata.f_customer_type'() {
|
|
187
|
-
if (this.selectdata.f_customer_type == '企业') {
|
|
188
|
-
this.flagg = true
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
|
|
3
|
+
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
+
<exploration-select v-ref:queryuser v-show="show"></exploration-select>
|
|
5
|
+
<modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
|
|
8
|
+
<div class="col-sm-10">
|
|
9
|
+
<tabset v-ref:tabs :close="false" style="margin-top: 80px">
|
|
10
|
+
<tab :header='header' style="background-color :#f6f6f6">
|
|
11
|
+
<service-control v-ref:service :selectdata="selectdata" ></service-control>
|
|
12
|
+
</tab>
|
|
13
|
+
<!--<tab header='档案信息管理' style="background-color :#f6f6f6" v-if="selectdata.f_install_num>1&&selectdata.defname!='营收数据导入'">-->
|
|
14
|
+
<!--<record-message v-ref:record :selectdata="selectdata" :key="tittle1"-->
|
|
15
|
+
<!--:edit = "true">-->
|
|
16
|
+
<!--</record-message>-->
|
|
17
|
+
<!--</tab>-->
|
|
18
|
+
<!-- <tab header='表档案管理'>
|
|
19
|
+
<record-message v-ref:record :selectdata="selectdata" :key="tittle2"
|
|
20
|
+
:edit = "true">
|
|
21
|
+
</record-message>
|
|
22
|
+
</tab>-->
|
|
23
|
+
<!--<tab header='材料信息' style="background-color :#f6f6f6">-->
|
|
24
|
+
<!--<material-message v-ref:material :selectdata="selectdata"-->
|
|
25
|
+
<!--:edit = "true">-->
|
|
26
|
+
<!--</material-message>-->
|
|
27
|
+
<!--</tab>-->
|
|
28
|
+
<tab header='附件' style="background-color :#f6f6f6">
|
|
29
|
+
<!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></apply-upload>-->
|
|
30
|
+
<apply-upload v-ref:file
|
|
31
|
+
:blodid="selectdata.f_process_id"
|
|
32
|
+
:isupload = "true"
|
|
33
|
+
:isdelete="true"
|
|
34
|
+
:isusetype="true"
|
|
35
|
+
:isremark = "true"
|
|
36
|
+
:takeimg="true"
|
|
37
|
+
:issearch="true"
|
|
38
|
+
:defname="selectdata.defname">
|
|
39
|
+
</apply-upload>
|
|
40
|
+
<!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
|
|
41
|
+
</tab>
|
|
42
|
+
<!--<tab header='设备新增' v-if="flagg">-->
|
|
43
|
+
<!--<equipment-message v-ref:equipment :selectdata="selectdata"-->
|
|
44
|
+
<!--:edit = "true">-->
|
|
45
|
+
<!--</equipment-message>-->
|
|
46
|
+
<!--</tab>-->
|
|
47
|
+
<!-- <tab header='设备管理' v-if="flagg">
|
|
48
|
+
<customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
|
|
49
|
+
</tab>-->
|
|
50
|
+
</tabset>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="col-sm-2" style="overflow:auto;margin-top: 80px" v-show="showbasic" >
|
|
53
|
+
<history_control v-ref:binfo :selectdata="selectdata"></history_control>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</template>
|
|
58
|
+
<script>
|
|
59
|
+
import Vue from 'vue'
|
|
60
|
+
import {HttpResetClass} from 'vue-client'
|
|
61
|
+
export default {
|
|
62
|
+
title: '报建流程',
|
|
63
|
+
data() {
|
|
64
|
+
return {
|
|
65
|
+
flagg: false,
|
|
66
|
+
show: true,
|
|
67
|
+
showbasic: false,
|
|
68
|
+
showtotal: false,
|
|
69
|
+
header: null,
|
|
70
|
+
selectdata: {},
|
|
71
|
+
botheight: '0%',
|
|
72
|
+
topheight: '100%',
|
|
73
|
+
tittle1:'户档案管理',
|
|
74
|
+
tittle2:'表档案管理',
|
|
75
|
+
tittle3:'设备管理'
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
created(){
|
|
79
|
+
let http = new HttpResetClass()
|
|
80
|
+
let xmldata = {
|
|
81
|
+
data:{...this.$login.f,parent:{},functions:[]},
|
|
82
|
+
workname: '散户报建流程'
|
|
83
|
+
}
|
|
84
|
+
http.load('POST','rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
85
|
+
).then((res)=>{
|
|
86
|
+
|
|
87
|
+
if(res.data.code && res.data.code == 200){
|
|
88
|
+
Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
89
|
+
if(res.data.msg){
|
|
90
|
+
console.log('获取配置文件信息:',res.data.msg)
|
|
91
|
+
}
|
|
92
|
+
}else{
|
|
93
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
94
|
+
return
|
|
95
|
+
}
|
|
96
|
+
})
|
|
97
|
+
console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
|
|
98
|
+
},
|
|
99
|
+
events: {
|
|
100
|
+
'addactive'() {
|
|
101
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
102
|
+
this.hidden()
|
|
103
|
+
this.showbasic = true
|
|
104
|
+
this.topheight = '8%'
|
|
105
|
+
this.botheight = '88.9%'
|
|
106
|
+
},
|
|
107
|
+
'changeheight'() {
|
|
108
|
+
this.show = true
|
|
109
|
+
this.botheight = '0%'
|
|
110
|
+
},
|
|
111
|
+
'check'(val) {
|
|
112
|
+
this.selectdata = null
|
|
113
|
+
this.selectdata = val
|
|
114
|
+
console.log('val.f_apply_type:' + val.f_apply_type)
|
|
115
|
+
if (val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
|
|
116
|
+
console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
|
|
117
|
+
if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
|
|
118
|
+
this.xmlname = '工商业报建流程'
|
|
119
|
+
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
120
|
+
this.xmlname = '散户报建流程'
|
|
121
|
+
} else if (this.selectdata.f_apply_type === '民用报建') {
|
|
122
|
+
this.xmlname = '民用报建流程'
|
|
123
|
+
} else if (this.selectdata.f_apply_type === '管道移改') {
|
|
124
|
+
this.xmlname = '管道移改报建流程'
|
|
125
|
+
}else if (this.selectdata.f_apply_type === '中压管线') {
|
|
126
|
+
this.xmlname = '中压管线报建流程'
|
|
127
|
+
}else {
|
|
128
|
+
this.xmlname = this.selectdata.type + '报建流程'
|
|
129
|
+
}
|
|
130
|
+
let xmldata = {
|
|
131
|
+
data:{...this.$login.f,parent:{},functions:[]},
|
|
132
|
+
workname: this.xmlname
|
|
133
|
+
}
|
|
134
|
+
let http = new HttpResetClass()
|
|
135
|
+
console.log('xmldata.workname:' + xmldata.workname)
|
|
136
|
+
http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
137
|
+
).then((res)=>{
|
|
138
|
+
if (res.data.code && res.data.code == 200){
|
|
139
|
+
Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
140
|
+
if (res.data.msg){
|
|
141
|
+
console.log('获取配置文件信息:', res.data.msg)
|
|
142
|
+
}
|
|
143
|
+
// console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
|
|
144
|
+
// console.log("this.selectdata的值---------" + JSON.stringify(this.selectdata))
|
|
145
|
+
console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
|
|
146
|
+
this.topheight = '8%'
|
|
147
|
+
this.botheight = '88.9%'
|
|
148
|
+
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
149
|
+
this.$refs.queryuser.$refs.cp.pager = false
|
|
150
|
+
this.showbasic = true
|
|
151
|
+
this.header = val.defname
|
|
152
|
+
this.hidden()
|
|
153
|
+
this.$refs.service.refurbish(val)
|
|
154
|
+
} else {
|
|
155
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
156
|
+
return
|
|
157
|
+
}
|
|
158
|
+
})
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
'selfsearch'() {
|
|
162
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
163
|
+
},
|
|
164
|
+
'close'() {
|
|
165
|
+
this.showtotal = false
|
|
166
|
+
this.topheight = '100%'
|
|
167
|
+
this.botheight = '0%'
|
|
168
|
+
this.$refs.queryuser.$refs.cp.pager = true
|
|
169
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
methods: {
|
|
173
|
+
hidden() {
|
|
174
|
+
this.showtotal = true
|
|
175
|
+
},
|
|
176
|
+
close() {
|
|
177
|
+
this.hidden()
|
|
178
|
+
this.topheight = '100%'
|
|
179
|
+
this.botheight = '0%'
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
watch: {
|
|
183
|
+
'selectdata'(val) {
|
|
184
|
+
console.log('selectdata:', val)
|
|
185
|
+
},
|
|
186
|
+
'selectdata.f_customer_type'() {
|
|
187
|
+
if (this.selectdata.f_customer_type == '企业') {
|
|
188
|
+
this.flagg = true
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
</script>
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
} else {
|
|
468
468
|
data = {
|
|
469
469
|
tablename: this.data.onetomany[index].tables[0],
|
|
470
|
-
condition: `
|
|
470
|
+
condition: `f_process_id = '${this.selectdata.f_process_id}'`
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
@@ -1,190 +1,190 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12" style="overflow:auto;">
|
|
3
|
-
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
-
<supervisory-list v-ref:queryuser></supervisory-list>
|
|
5
|
-
</div>
|
|
6
|
-
<div v-show="showtotal" v-bind:style="{ height: botheight }">
|
|
7
|
-
<div class="col-sm-2" v-show="showbasic">
|
|
8
|
-
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="col-sm-9">
|
|
11
|
-
<tabset v-ref:tabs :close="false">
|
|
12
|
-
<tab :header='header'>
|
|
13
|
-
<supervisory-service-control :selectdata="selectdata" ></supervisory-service-control>
|
|
14
|
-
</tab>
|
|
15
|
-
<tab header='档案信息'>
|
|
16
|
-
<record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
|
|
17
|
-
</tab>
|
|
18
|
-
<!--<tab header='表档案信息'>-->
|
|
19
|
-
<!--<record-message v-ref:record :selectdata="selectdata" :key="tittle2" :edit = "false"></record-message>-->
|
|
20
|
-
<!--</tab>-->
|
|
21
|
-
<!--<tab header='设备信息' v-if="selectdata.f_user_type =='非民用'">-->
|
|
22
|
-
<!--<equipment-message v-ref:equipment :selectdata="selectdata" :key="tittle3" :edit = "false"></equipment-message>-->
|
|
23
|
-
<!--</tab>-->
|
|
24
|
-
<!--<tab header='材料信息'>-->
|
|
25
|
-
<!--<material-message v-ref:material :selectdata="selectdata" :edit = "false"></material-message>-->
|
|
26
|
-
<!--</tab>-->
|
|
27
|
-
|
|
28
|
-
<tab header='附件'>
|
|
29
|
-
<!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="false"-->
|
|
30
|
-
<!-- :isupload = "true"-->
|
|
31
|
-
<!-- :takeimg = "true"-->
|
|
32
|
-
<!-- :edit = "false">-->
|
|
33
|
-
<!-- </apply-upload>-->
|
|
34
|
-
<apply-upload v-ref:file
|
|
35
|
-
:blodid="selectdata.f_process_id"
|
|
36
|
-
:isupload = "true"
|
|
37
|
-
:isdelete="true"
|
|
38
|
-
:isusetype="true"
|
|
39
|
-
:isremark = "true"
|
|
40
|
-
:takeimg="true"
|
|
41
|
-
:issearch="true"
|
|
42
|
-
:defname="selectdata.defname">
|
|
43
|
-
</apply-upload>
|
|
44
|
-
</tab>
|
|
45
|
-
</tabset>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</template>
|
|
50
|
-
<script>
|
|
51
|
-
import Vue from 'vue'
|
|
52
|
-
import {HttpResetClass} from 'vue-client'
|
|
53
|
-
export default {
|
|
54
|
-
title: '流程监控',
|
|
55
|
-
props: [ 'defname'],
|
|
56
|
-
data() {
|
|
57
|
-
return {
|
|
58
|
-
flagl:false,
|
|
59
|
-
flagg: false,
|
|
60
|
-
showbasic: false,
|
|
61
|
-
showtotal: false,
|
|
62
|
-
header: null,
|
|
63
|
-
selectdata: {},
|
|
64
|
-
botheight: '0%',
|
|
65
|
-
topheight: '100%',
|
|
66
|
-
tittle1:'户档案管理',
|
|
67
|
-
tittle2:'表档案管理',
|
|
68
|
-
tittle3:'设备管理',
|
|
69
|
-
info: '流程监控',
|
|
70
|
-
xmlname: ''
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
created(){
|
|
74
|
-
let http = new HttpResetClass()
|
|
75
|
-
let xmldata = {
|
|
76
|
-
data:
|
|
77
|
-
workname: '工商业报建流程'
|
|
78
|
-
}
|
|
79
|
-
http.load('POST','rs/logic/ApplyGetConfigs', {data:xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
80
|
-
).then((res)=>{
|
|
81
|
-
if(res.data.code && res.data.code == 200){
|
|
82
|
-
Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
|
|
83
|
-
}else{
|
|
84
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
85
|
-
return
|
|
86
|
-
}
|
|
87
|
-
})
|
|
88
|
-
console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
|
|
89
|
-
},
|
|
90
|
-
events: {
|
|
91
|
-
'addactive'() {
|
|
92
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
93
|
-
this.hidden()
|
|
94
|
-
this.showbasic = true
|
|
95
|
-
this.topheight = '20%'
|
|
96
|
-
this.botheight = '80%'
|
|
97
|
-
},
|
|
98
|
-
'changeheight'() {
|
|
99
|
-
this.show = false
|
|
100
|
-
this.botheight = '0%'
|
|
101
|
-
},
|
|
102
|
-
'check'(val) {
|
|
103
|
-
this.selectdata = ''
|
|
104
|
-
this.selectdata = val
|
|
105
|
-
console.log('val.f_apply_type:' + val.f_apply_type)
|
|
106
|
-
if (val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
|
|
107
|
-
console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
|
|
108
|
-
if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
|
|
109
|
-
this.xmlname = '工商业报建流程'
|
|
110
|
-
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
111
|
-
this.xmlname = '散户报建流程'
|
|
112
|
-
} else if (this.selectdata.f_apply_type === '民用报建') {
|
|
113
|
-
this.xmlname = '民用报建流程'
|
|
114
|
-
} else if (this.selectdata.f_apply_type === '管道移改') {
|
|
115
|
-
this.xmlname = '管道移改报建流程'
|
|
116
|
-
}else if (this.selectdata.f_apply_type === '中压管线') {
|
|
117
|
-
this.xmlname = '中压管线报建流程'
|
|
118
|
-
}else {
|
|
119
|
-
this.xmlname = this.selectdata.type + '报建流程'
|
|
120
|
-
}
|
|
121
|
-
let xmldata = {
|
|
122
|
-
data:
|
|
123
|
-
workname: this.xmlname
|
|
124
|
-
}
|
|
125
|
-
let http = new HttpResetClass()
|
|
126
|
-
console.log('xmldata.workname:' + xmldata.workname)
|
|
127
|
-
http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
128
|
-
).then((res)=>{
|
|
129
|
-
if (res.data.code && res.data.code == 200){
|
|
130
|
-
Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
|
|
131
|
-
if (res.data.msg){
|
|
132
|
-
console.log('获取配置文件信息:', res.data.msg)
|
|
133
|
-
}
|
|
134
|
-
// console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
|
|
135
|
-
console.log("$supervisory_vue---------" + JSON.stringify(this.$supervisory_vue))
|
|
136
|
-
console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
|
|
137
|
-
this.topheight = '20%'
|
|
138
|
-
this.botheight = '80%'
|
|
139
|
-
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
140
|
-
this.$refs.queryuser.$refs.cp.pager = false
|
|
141
|
-
this.showbasic = true
|
|
142
|
-
let msg = val.defname
|
|
143
|
-
this.header = msg
|
|
144
|
-
this.hidden()
|
|
145
|
-
} else {
|
|
146
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
147
|
-
return
|
|
148
|
-
}
|
|
149
|
-
})
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
'selfsearch'() {
|
|
153
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
154
|
-
},
|
|
155
|
-
'close'() {
|
|
156
|
-
this.hidden()
|
|
157
|
-
this.showtotal = false
|
|
158
|
-
this.topheight = '100%'
|
|
159
|
-
this.botheight = '0%'
|
|
160
|
-
this.$refs.queryuser.$refs.cp.pager = true
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
methods: {
|
|
164
|
-
hidden() {
|
|
165
|
-
this.showtotal = true
|
|
166
|
-
},
|
|
167
|
-
close() {
|
|
168
|
-
this.hidden()
|
|
169
|
-
this.topheight = '100%'
|
|
170
|
-
this.botheight = '0%'
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
watch: {
|
|
174
|
-
'selectdata'(val) {
|
|
175
|
-
console.log('selectdata:', val)
|
|
176
|
-
},
|
|
177
|
-
'selectdata.f_customer_type'() {
|
|
178
|
-
if (this.selectdata.f_customer_type == '企业') {
|
|
179
|
-
this.flagg = true
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
'selectdata.f_apply_type'() {
|
|
183
|
-
if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
|
|
184
|
-
this.flagl = true
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="overflow:auto;">
|
|
3
|
+
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
+
<supervisory-list v-ref:queryuser></supervisory-list>
|
|
5
|
+
</div>
|
|
6
|
+
<div v-show="showtotal" v-bind:style="{ height: botheight }">
|
|
7
|
+
<div class="col-sm-2" v-show="showbasic">
|
|
8
|
+
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="col-sm-9">
|
|
11
|
+
<tabset v-ref:tabs :close="false">
|
|
12
|
+
<tab :header='header'>
|
|
13
|
+
<supervisory-service-control :selectdata="selectdata" ></supervisory-service-control>
|
|
14
|
+
</tab>
|
|
15
|
+
<tab header='档案信息'>
|
|
16
|
+
<record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
|
|
17
|
+
</tab>
|
|
18
|
+
<!--<tab header='表档案信息'>-->
|
|
19
|
+
<!--<record-message v-ref:record :selectdata="selectdata" :key="tittle2" :edit = "false"></record-message>-->
|
|
20
|
+
<!--</tab>-->
|
|
21
|
+
<!--<tab header='设备信息' v-if="selectdata.f_user_type =='非民用'">-->
|
|
22
|
+
<!--<equipment-message v-ref:equipment :selectdata="selectdata" :key="tittle3" :edit = "false"></equipment-message>-->
|
|
23
|
+
<!--</tab>-->
|
|
24
|
+
<!--<tab header='材料信息'>-->
|
|
25
|
+
<!--<material-message v-ref:material :selectdata="selectdata" :edit = "false"></material-message>-->
|
|
26
|
+
<!--</tab>-->
|
|
27
|
+
|
|
28
|
+
<tab header='附件'>
|
|
29
|
+
<!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="false"-->
|
|
30
|
+
<!-- :isupload = "true"-->
|
|
31
|
+
<!-- :takeimg = "true"-->
|
|
32
|
+
<!-- :edit = "false">-->
|
|
33
|
+
<!-- </apply-upload>-->
|
|
34
|
+
<apply-upload v-ref:file
|
|
35
|
+
:blodid="selectdata.f_process_id"
|
|
36
|
+
:isupload = "true"
|
|
37
|
+
:isdelete="true"
|
|
38
|
+
:isusetype="true"
|
|
39
|
+
:isremark = "true"
|
|
40
|
+
:takeimg="true"
|
|
41
|
+
:issearch="true"
|
|
42
|
+
:defname="selectdata.defname">
|
|
43
|
+
</apply-upload>
|
|
44
|
+
</tab>
|
|
45
|
+
</tabset>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</template>
|
|
50
|
+
<script>
|
|
51
|
+
import Vue from 'vue'
|
|
52
|
+
import {HttpResetClass} from 'vue-client'
|
|
53
|
+
export default {
|
|
54
|
+
title: '流程监控',
|
|
55
|
+
props: [ 'defname'],
|
|
56
|
+
data() {
|
|
57
|
+
return {
|
|
58
|
+
flagl:false,
|
|
59
|
+
flagg: false,
|
|
60
|
+
showbasic: false,
|
|
61
|
+
showtotal: false,
|
|
62
|
+
header: null,
|
|
63
|
+
selectdata: {},
|
|
64
|
+
botheight: '0%',
|
|
65
|
+
topheight: '100%',
|
|
66
|
+
tittle1:'户档案管理',
|
|
67
|
+
tittle2:'表档案管理',
|
|
68
|
+
tittle3:'设备管理',
|
|
69
|
+
info: '流程监控',
|
|
70
|
+
xmlname: ''
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
created(){
|
|
74
|
+
let http = new HttpResetClass()
|
|
75
|
+
let xmldata = {
|
|
76
|
+
data:{...this.$login.f,parent:{},functions:[]},
|
|
77
|
+
workname: '工商业报建流程'
|
|
78
|
+
}
|
|
79
|
+
http.load('POST','rs/logic/ApplyGetConfigs', {data:xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
80
|
+
).then((res)=>{
|
|
81
|
+
if(res.data.code && res.data.code == 200){
|
|
82
|
+
Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
|
|
83
|
+
}else{
|
|
84
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
85
|
+
return
|
|
86
|
+
}
|
|
87
|
+
})
|
|
88
|
+
console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
|
|
89
|
+
},
|
|
90
|
+
events: {
|
|
91
|
+
'addactive'() {
|
|
92
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
93
|
+
this.hidden()
|
|
94
|
+
this.showbasic = true
|
|
95
|
+
this.topheight = '20%'
|
|
96
|
+
this.botheight = '80%'
|
|
97
|
+
},
|
|
98
|
+
'changeheight'() {
|
|
99
|
+
this.show = false
|
|
100
|
+
this.botheight = '0%'
|
|
101
|
+
},
|
|
102
|
+
'check'(val) {
|
|
103
|
+
this.selectdata = ''
|
|
104
|
+
this.selectdata = val
|
|
105
|
+
console.log('val.f_apply_type:' + val.f_apply_type)
|
|
106
|
+
if (val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
|
|
107
|
+
console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
|
|
108
|
+
if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
|
|
109
|
+
this.xmlname = '工商业报建流程'
|
|
110
|
+
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
111
|
+
this.xmlname = '散户报建流程'
|
|
112
|
+
} else if (this.selectdata.f_apply_type === '民用报建') {
|
|
113
|
+
this.xmlname = '民用报建流程'
|
|
114
|
+
} else if (this.selectdata.f_apply_type === '管道移改') {
|
|
115
|
+
this.xmlname = '管道移改报建流程'
|
|
116
|
+
}else if (this.selectdata.f_apply_type === '中压管线') {
|
|
117
|
+
this.xmlname = '中压管线报建流程'
|
|
118
|
+
}else {
|
|
119
|
+
this.xmlname = this.selectdata.type + '报建流程'
|
|
120
|
+
}
|
|
121
|
+
let xmldata = {
|
|
122
|
+
data:{...this.$login.f,parent:{},functions:[]},
|
|
123
|
+
workname: this.xmlname
|
|
124
|
+
}
|
|
125
|
+
let http = new HttpResetClass()
|
|
126
|
+
console.log('xmldata.workname:' + xmldata.workname)
|
|
127
|
+
http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
128
|
+
).then((res)=>{
|
|
129
|
+
if (res.data.code && res.data.code == 200){
|
|
130
|
+
Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
|
|
131
|
+
if (res.data.msg){
|
|
132
|
+
console.log('获取配置文件信息:', res.data.msg)
|
|
133
|
+
}
|
|
134
|
+
// console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
|
|
135
|
+
console.log("$supervisory_vue---------" + JSON.stringify(this.$supervisory_vue))
|
|
136
|
+
console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
|
|
137
|
+
this.topheight = '20%'
|
|
138
|
+
this.botheight = '80%'
|
|
139
|
+
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
140
|
+
this.$refs.queryuser.$refs.cp.pager = false
|
|
141
|
+
this.showbasic = true
|
|
142
|
+
let msg = val.defname
|
|
143
|
+
this.header = msg
|
|
144
|
+
this.hidden()
|
|
145
|
+
} else {
|
|
146
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
147
|
+
return
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
'selfsearch'() {
|
|
153
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
154
|
+
},
|
|
155
|
+
'close'() {
|
|
156
|
+
this.hidden()
|
|
157
|
+
this.showtotal = false
|
|
158
|
+
this.topheight = '100%'
|
|
159
|
+
this.botheight = '0%'
|
|
160
|
+
this.$refs.queryuser.$refs.cp.pager = true
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
methods: {
|
|
164
|
+
hidden() {
|
|
165
|
+
this.showtotal = true
|
|
166
|
+
},
|
|
167
|
+
close() {
|
|
168
|
+
this.hidden()
|
|
169
|
+
this.topheight = '100%'
|
|
170
|
+
this.botheight = '0%'
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
watch: {
|
|
174
|
+
'selectdata'(val) {
|
|
175
|
+
console.log('selectdata:', val)
|
|
176
|
+
},
|
|
177
|
+
'selectdata.f_customer_type'() {
|
|
178
|
+
if (this.selectdata.f_customer_type == '企业') {
|
|
179
|
+
this.flagg = true
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
'selectdata.f_apply_type'() {
|
|
183
|
+
if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
|
|
184
|
+
this.flagl = true
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
|
|
189
|
+
}
|
|
190
|
+
</script>
|