apply-clients 7.1.36-yuchuan-14 → 7.1.36-yuchuan-15
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/android.html +28 -28
- package/build/dev-server.js +172 -187
- package/index.html +39 -39
- package/package.json +4 -6
- package/src/apply.js +162 -162
- package/src/applyAndroid.js +97 -97
- package/src/components/android/AppSign.vue +0 -1
- package/src/components/android/AppUpload.vue +275 -275
- package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +6 -6
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +2 -2
- package/src/components/android/Sign/AppSignTask.vue +1 -1
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +2 -2
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +2 -2
- package/src/components/android/Task/yiban/AppShowDone.vue +2 -2
- package/src/components/android/Task/yiban/ShowDone.vue +95 -95
- package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
- package/src/components/android/newPackage/customerServiceManager.vue +1 -1
- package/src/components/android/newPackage/projectPrice.vue +1 -1
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +2 -2
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +1 -1
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
- package/src/components/product/ApplyMap/AMapLocation.vue +870 -871
- package/src/components/product/ApplyMap/AmapUtil.js +37 -0
- package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
- package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -212
- package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -82
- package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
- package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
- package/src/components/product/Function/InstallFunction.vue +1 -1
- package/src/components/product/Function/InstallInfoSelect.vue +2 -2
- package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
- package/src/components/product/GongJianPush/ApplyPushDispose.vue +162 -72
- package/src/components/product/GongJianPush/ApplyPushList.vue +47 -52
- package/src/components/product/GongJianPush/ApplyPushManage.vue +5 -4
- package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
- package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
- package/src/components/product/InsuranceApply/InsuranceReport.vue +2 -2
- package/src/components/product/List/OldShowDevices.vue +2 -2
- package/src/components/product/List/ShowAllActivity.vue +2 -2
- package/src/components/product/List/ShowDevices.vue +2 -2
- package/src/components/product/Process/ExplorationSelect.vue +2 -2
- package/src/components/product/Process/ExplorationUser.vue +1 -1
- package/src/components/product/Process/New1ExplorationUser.vue +2 -2
- package/src/components/product/Process/NewExplorationSelect.vue +2 -2
- package/src/components/product/Process/NewExplorationUser.vue +1 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +4 -4
- package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
- package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
- package/src/components/product/Process/Processes/chargeManagement.vue +704 -704
- package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
- package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +2 -2
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +2 -2
- package/src/components/product/Process/Processes/selectUserinfo.vue +3 -3
- package/src/components/product/Process/Service/ServiceControl.vue +6 -6
- package/src/components/product/ServiceView.vue +644 -644
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +1 -1
- package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
- package/src/components/product/Supervisory/SupervisoryList.vue +2 -2
- package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -119
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +2 -2
- package/src/components/product/VueUtils/ApplyUpload.vue +285 -285
- package/src/components/product/records/AdjustmentRecordList.vue +162 -162
- package/static/marker-default.png +0 -0
- package/static/myLocationIcon.png +0 -0
|
@@ -1,175 +1,175 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div id="container"></div>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import {HttpResetClass} from 'vue-client'
|
|
9
|
-
import LogicFlow from '@logicflow/core'
|
|
10
|
-
import '@logicflow/core/dist/style/index.css'
|
|
11
|
-
import {isEmpty} from '../../Util'
|
|
12
|
-
export default {
|
|
13
|
-
title: '测试',
|
|
14
|
-
props:['selectdata'],
|
|
15
|
-
data () {
|
|
16
|
-
return {
|
|
17
|
-
lf: null,
|
|
18
|
-
data: null
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
ready () {
|
|
22
|
-
this.installLogicFlow()
|
|
23
|
-
this.initData()
|
|
24
|
-
},
|
|
25
|
-
methods: {
|
|
26
|
-
nodeClick (args) {
|
|
27
|
-
if (!args.data.properties || args.data.properties.length === 0) {
|
|
28
|
-
return
|
|
29
|
-
}
|
|
30
|
-
let act = args.data.properties[0]
|
|
31
|
-
console.log(act)
|
|
32
|
-
console.log("sacasassa",args.data)
|
|
33
|
-
if(act.defname==='收费标准' || act.defname==='报装缴费' || act.defname==='合同签订' ){
|
|
34
|
-
if (this.check(act.actorexpression)) {
|
|
35
|
-
this.$dispatch('apply', Object.assign({}, this.selectdata, act))
|
|
36
|
-
return
|
|
37
|
-
}else {
|
|
38
|
-
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
39
|
-
}
|
|
40
|
-
}else {
|
|
41
|
-
this.$dispatch('apply', Object.assign({}, this.selectdata, act))
|
|
42
|
-
return
|
|
43
|
-
}
|
|
44
|
-
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
45
|
-
},
|
|
46
|
-
// 检测是否有权限
|
|
47
|
-
check (actorexpression){
|
|
48
|
-
let str = null
|
|
49
|
-
|
|
50
|
-
if (isEmpty(actorexpression)) {
|
|
51
|
-
return true
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
if (actorexpression.indexOf('D') === 0) {
|
|
55
|
-
str = actorexpression.substring(2, actorexpression.length-1)
|
|
56
|
-
return this.$login.f.
|
|
57
|
-
}
|
|
58
|
-
if (actorexpression.indexOf('RS') === 0) {
|
|
59
|
-
for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
|
|
60
|
-
return this.$login.f.rolesnames.includes(str)
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
//
|
|
64
|
-
if (actorexpression.indexOf('R') === 0) {
|
|
65
|
-
str = actorexpression.substring(2, actorexpression.length-1)
|
|
66
|
-
return this.$login.f.rolesnames.includes(str)
|
|
67
|
-
}
|
|
68
|
-
//
|
|
69
|
-
if (actorexpression.indexOf('PI') === 0) {
|
|
70
|
-
str = actorexpression.substring(3, actorexpression.length-1)
|
|
71
|
-
return this.$login.f.id.includes(str)
|
|
72
|
-
}
|
|
73
|
-
if (actorexpression.indexOf('P') === 0) {
|
|
74
|
-
str = actorexpression.substring(2, actorexpression.length-1)
|
|
75
|
-
return this.$login.f.name.includes(str)
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
return this.$login.f.rolesnames.includes('流程监控')
|
|
79
|
-
},
|
|
80
|
-
async initData () {
|
|
81
|
-
let http = new HttpResetClass()
|
|
82
|
-
let data = {
|
|
83
|
-
f_process_id: this.selectdata.f_process_id,
|
|
84
|
-
width: parseInt(this.lf.width),
|
|
85
|
-
levelHeight: 100,
|
|
86
|
-
nodeType: 'rect',
|
|
87
|
-
edgeType: 'polyline'
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
let res = await http.load('POST', 'rs/logic/getAllNode', {data: data}, {
|
|
91
|
-
resolveMsg: null,
|
|
92
|
-
rejectMsg: null
|
|
93
|
-
})
|
|
94
|
-
|
|
95
|
-
this.data = res.data
|
|
96
|
-
},
|
|
97
|
-
// 创建LogicFlow实例
|
|
98
|
-
installLogicFlow () {
|
|
99
|
-
|
|
100
|
-
this.lf = new LogicFlow({
|
|
101
|
-
container: document.querySelector('#container'),
|
|
102
|
-
grid: false,
|
|
103
|
-
textEdit: false,
|
|
104
|
-
isSilentMode: true // 开启静默模式
|
|
105
|
-
})
|
|
106
|
-
|
|
107
|
-
this.lf.render()
|
|
108
|
-
|
|
109
|
-
this.lf.on('node:click', this.nodeClick)
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
watch: {
|
|
113
|
-
'data' () {
|
|
114
|
-
if (!this.data) {
|
|
115
|
-
return
|
|
116
|
-
}
|
|
117
|
-
// 不采用直接渲染 节点样式无法单独设置 需要在设置节点前设置样式
|
|
118
|
-
// this.lf.setTheme({
|
|
119
|
-
// rect: {
|
|
120
|
-
// width: 100,
|
|
121
|
-
// height: 50,
|
|
122
|
-
// radius: 6,
|
|
123
|
-
// fill: '#4a7cae',
|
|
124
|
-
// stroke: '#c75450',
|
|
125
|
-
// strokeWidth: 0
|
|
126
|
-
// }
|
|
127
|
-
// })
|
|
128
|
-
// this.lf.render(this.data)
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
console.log('---------------节点样式--------------')
|
|
132
|
-
|
|
133
|
-
let style = {
|
|
134
|
-
rect: {
|
|
135
|
-
width: 120,
|
|
136
|
-
height: 50,
|
|
137
|
-
radius: 6,
|
|
138
|
-
fill: '#ffffff',
|
|
139
|
-
stroke: '#000000',
|
|
140
|
-
strokeWidth: 1
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
for (const node of this.data.nodes) {
|
|
145
|
-
if (!node.properties || node.properties.length === 0) {
|
|
146
|
-
style.rect.strokeWidth = 1
|
|
147
|
-
style.rect.fill = '#ffffff'
|
|
148
|
-
} else {
|
|
149
|
-
style.rect.strokeWidth = 0
|
|
150
|
-
|
|
151
|
-
let act = node.properties[0]
|
|
152
|
-
|
|
153
|
-
if (act.state === '开始活动') {
|
|
154
|
-
style.rect.fill = '#c75450'
|
|
155
|
-
} else {
|
|
156
|
-
style.rect.fill = '#4a7cae'
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
node.text = `${node.text}\n${act.sendtime}`
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
this.lf.setTheme(style)
|
|
163
|
-
this.lf.addNode(node)
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
for (const edge of this.data.edges) {
|
|
167
|
-
this.lf.createEdge(edge)
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
</script>
|
|
173
|
-
|
|
174
|
-
<style scoped>
|
|
175
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div id="container"></div>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import {HttpResetClass} from 'vue-client'
|
|
9
|
+
import LogicFlow from '@logicflow/core'
|
|
10
|
+
import '@logicflow/core/dist/style/index.css'
|
|
11
|
+
import {isEmpty} from '../../Util'
|
|
12
|
+
export default {
|
|
13
|
+
title: '测试',
|
|
14
|
+
props:['selectdata'],
|
|
15
|
+
data () {
|
|
16
|
+
return {
|
|
17
|
+
lf: null,
|
|
18
|
+
data: null
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
ready () {
|
|
22
|
+
this.installLogicFlow()
|
|
23
|
+
this.initData()
|
|
24
|
+
},
|
|
25
|
+
methods: {
|
|
26
|
+
nodeClick (args) {
|
|
27
|
+
if (!args.data.properties || args.data.properties.length === 0) {
|
|
28
|
+
return
|
|
29
|
+
}
|
|
30
|
+
let act = args.data.properties[0]
|
|
31
|
+
console.log(act)
|
|
32
|
+
console.log("sacasassa",args.data)
|
|
33
|
+
if(act.defname==='收费标准' || act.defname==='报装缴费' || act.defname==='合同签订' ){
|
|
34
|
+
if (this.check(act.actorexpression)) {
|
|
35
|
+
this.$dispatch('apply', Object.assign({}, this.selectdata, act))
|
|
36
|
+
return
|
|
37
|
+
}else {
|
|
38
|
+
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
39
|
+
}
|
|
40
|
+
}else {
|
|
41
|
+
this.$dispatch('apply', Object.assign({}, this.selectdata, act))
|
|
42
|
+
return
|
|
43
|
+
}
|
|
44
|
+
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
45
|
+
},
|
|
46
|
+
// 检测是否有权限
|
|
47
|
+
check (actorexpression){
|
|
48
|
+
let str = null
|
|
49
|
+
|
|
50
|
+
if (isEmpty(actorexpression)) {
|
|
51
|
+
return true
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (actorexpression.indexOf('D') === 0) {
|
|
55
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
56
|
+
return this.$login.f.f_parentname.includes(str)
|
|
57
|
+
}
|
|
58
|
+
if (actorexpression.indexOf('RS') === 0) {
|
|
59
|
+
for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
|
|
60
|
+
return this.$login.f.rolesnames.includes(str)
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
//
|
|
64
|
+
if (actorexpression.indexOf('R') === 0) {
|
|
65
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
66
|
+
return this.$login.f.rolesnames.includes(str)
|
|
67
|
+
}
|
|
68
|
+
//
|
|
69
|
+
if (actorexpression.indexOf('PI') === 0) {
|
|
70
|
+
str = actorexpression.substring(3, actorexpression.length-1)
|
|
71
|
+
return this.$login.f.id.includes(str)
|
|
72
|
+
}
|
|
73
|
+
if (actorexpression.indexOf('P') === 0) {
|
|
74
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
75
|
+
return this.$login.f.name.includes(str)
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return this.$login.f.rolesnames.includes('流程监控')
|
|
79
|
+
},
|
|
80
|
+
async initData () {
|
|
81
|
+
let http = new HttpResetClass()
|
|
82
|
+
let data = {
|
|
83
|
+
f_process_id: this.selectdata.f_process_id,
|
|
84
|
+
width: parseInt(this.lf.width),
|
|
85
|
+
levelHeight: 100,
|
|
86
|
+
nodeType: 'rect',
|
|
87
|
+
edgeType: 'polyline'
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
let res = await http.load('POST', 'rs/logic/getAllNode', {data: data}, {
|
|
91
|
+
resolveMsg: null,
|
|
92
|
+
rejectMsg: null
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
this.data = res.data
|
|
96
|
+
},
|
|
97
|
+
// 创建LogicFlow实例
|
|
98
|
+
installLogicFlow () {
|
|
99
|
+
|
|
100
|
+
this.lf = new LogicFlow({
|
|
101
|
+
container: document.querySelector('#container'),
|
|
102
|
+
grid: false,
|
|
103
|
+
textEdit: false,
|
|
104
|
+
isSilentMode: true // 开启静默模式
|
|
105
|
+
})
|
|
106
|
+
|
|
107
|
+
this.lf.render()
|
|
108
|
+
|
|
109
|
+
this.lf.on('node:click', this.nodeClick)
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
watch: {
|
|
113
|
+
'data' () {
|
|
114
|
+
if (!this.data) {
|
|
115
|
+
return
|
|
116
|
+
}
|
|
117
|
+
// 不采用直接渲染 节点样式无法单独设置 需要在设置节点前设置样式
|
|
118
|
+
// this.lf.setTheme({
|
|
119
|
+
// rect: {
|
|
120
|
+
// width: 100,
|
|
121
|
+
// height: 50,
|
|
122
|
+
// radius: 6,
|
|
123
|
+
// fill: '#4a7cae',
|
|
124
|
+
// stroke: '#c75450',
|
|
125
|
+
// strokeWidth: 0
|
|
126
|
+
// }
|
|
127
|
+
// })
|
|
128
|
+
// this.lf.render(this.data)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
console.log('---------------节点样式--------------')
|
|
132
|
+
|
|
133
|
+
let style = {
|
|
134
|
+
rect: {
|
|
135
|
+
width: 120,
|
|
136
|
+
height: 50,
|
|
137
|
+
radius: 6,
|
|
138
|
+
fill: '#ffffff',
|
|
139
|
+
stroke: '#000000',
|
|
140
|
+
strokeWidth: 1
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
for (const node of this.data.nodes) {
|
|
145
|
+
if (!node.properties || node.properties.length === 0) {
|
|
146
|
+
style.rect.strokeWidth = 1
|
|
147
|
+
style.rect.fill = '#ffffff'
|
|
148
|
+
} else {
|
|
149
|
+
style.rect.strokeWidth = 0
|
|
150
|
+
|
|
151
|
+
let act = node.properties[0]
|
|
152
|
+
|
|
153
|
+
if (act.state === '开始活动') {
|
|
154
|
+
style.rect.fill = '#c75450'
|
|
155
|
+
} else {
|
|
156
|
+
style.rect.fill = '#4a7cae'
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
node.text = `${node.text}\n${act.sendtime}`
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
this.lf.setTheme(style)
|
|
163
|
+
this.lf.addNode(node)
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
for (const edge of this.data.edges) {
|
|
167
|
+
this.lf.createEdge(edge)
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
</script>
|
|
173
|
+
|
|
174
|
+
<style scoped>
|
|
175
|
+
</style>
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
async getResidentialArea () {
|
|
253
253
|
let data = {
|
|
254
254
|
tablename: 't_area_address',
|
|
255
|
-
condition: `f_filiale
|
|
255
|
+
condition: `f_filiale like '%${this.$login.f.orgs}%' and f_area_status = '启用'`
|
|
256
256
|
}
|
|
257
257
|
let http = new HttpResetClass()
|
|
258
258
|
let res = await http.load(
|
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex-row">
|
|
3
|
-
<div class="basic-main">
|
|
4
|
-
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
-
<supervisory-list v-ref:query :show-data="showData"></supervisory-list>
|
|
6
|
-
</div>
|
|
7
|
-
<div v-if="showtotal" style="height: 89%">
|
|
8
|
-
<div class="col-sm-2" style="margin-top: 20px">
|
|
9
|
-
<new-supervisory-chart :selectdata="selectdata"></new-supervisory-chart>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-sm-10" style="margin-top: 20px">
|
|
12
|
-
<tabset v-ref:tabs :close="false">
|
|
13
|
-
<tab :header='selectdata.defname'>
|
|
14
|
-
<supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
|
|
15
|
-
</tab>
|
|
16
|
-
<tab header='附件'>
|
|
17
|
-
<apply-upload :blodid="selectdata.f_process_id"
|
|
18
|
-
:source="source"
|
|
19
|
-
:isupload = "projectStart"
|
|
20
|
-
:isdelete="false"
|
|
21
|
-
:isusetype="true"
|
|
22
|
-
:isremark = "true"
|
|
23
|
-
:takeimg="false"
|
|
24
|
-
:issearch="true"
|
|
25
|
-
:defname="selectdata.defname">
|
|
26
|
-
</apply-upload>
|
|
27
|
-
</tab>
|
|
28
|
-
</tabset>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
</template>
|
|
35
|
-
<script>
|
|
36
|
-
import Vue from 'vue'
|
|
37
|
-
import {HttpResetClass} from 'vue-client'
|
|
38
|
-
export default {
|
|
39
|
-
title: '流程监控',
|
|
40
|
-
data () {
|
|
41
|
-
return {
|
|
42
|
-
showtotal: false, // 控制详细信息显示
|
|
43
|
-
showData: true,
|
|
44
|
-
selectdata: {},
|
|
45
|
-
source: '流程查看',
|
|
46
|
-
xmlname: '' // 配置文件名称
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
created () {
|
|
50
|
-
},
|
|
51
|
-
methods: {
|
|
52
|
-
// 获取页面配置json文件
|
|
53
|
-
async loadName () {
|
|
54
|
-
let data = {
|
|
55
|
-
workname: this.selectdata.processname
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
let res = await this.$resetpost(
|
|
59
|
-
'rs/logic/ApplyGetConfigs',
|
|
60
|
-
{data: data},
|
|
61
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
62
|
-
)
|
|
63
|
-
|
|
64
|
-
Vue.prototype.$workflow_vue = res.data
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
events: {
|
|
68
|
-
'onMessage' (data) {
|
|
69
|
-
console.log('接收消息')
|
|
70
|
-
console.log(data)
|
|
71
|
-
if (data.type === 'apply-task') {
|
|
72
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
async 'apply' (val) {
|
|
76
|
-
this.selectdata = val
|
|
77
|
-
this.showtotal = false
|
|
78
|
-
|
|
79
|
-
// 获取配置文件
|
|
80
|
-
await this.loadName()
|
|
81
|
-
|
|
82
|
-
this.$refs.query.$refs.cp.pager = false
|
|
83
|
-
this.showData = false
|
|
84
|
-
|
|
85
|
-
this.showtotal = true
|
|
86
|
-
},
|
|
87
|
-
'search' () {
|
|
88
|
-
// 关闭详细
|
|
89
|
-
this.showtotal = false
|
|
90
|
-
// 显示列表数据
|
|
91
|
-
this.showData = true
|
|
92
|
-
// 显示分页
|
|
93
|
-
this.$refs.query.$refs.cp.pager = true
|
|
94
|
-
// 调用查询
|
|
95
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
96
|
-
},
|
|
97
|
-
'loadPage' () {
|
|
98
|
-
// 关闭详细
|
|
99
|
-
this.showtotal = false
|
|
100
|
-
// 显示列表数据
|
|
101
|
-
this.showData = true
|
|
102
|
-
// 显示分页
|
|
103
|
-
this.$refs.query.$refs.cp.pager = true
|
|
104
|
-
// 调用查询
|
|
105
|
-
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
computed: {
|
|
109
|
-
projectStart () {
|
|
110
|
-
return this.$login.r.includes('报装文件上传')
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
watch: {
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
5
|
+
<supervisory-list v-ref:query :show-data="showData"></supervisory-list>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" style="height: 89%">
|
|
8
|
+
<div class="col-sm-2" style="margin-top: 20px">
|
|
9
|
+
<new-supervisory-chart :selectdata="selectdata"></new-supervisory-chart>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-sm-10" style="margin-top: 20px">
|
|
12
|
+
<tabset v-ref:tabs :close="false">
|
|
13
|
+
<tab :header='selectdata.defname'>
|
|
14
|
+
<supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
|
|
15
|
+
</tab>
|
|
16
|
+
<tab header='附件'>
|
|
17
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
18
|
+
:source="source"
|
|
19
|
+
:isupload = "projectStart"
|
|
20
|
+
:isdelete="false"
|
|
21
|
+
:isusetype="true"
|
|
22
|
+
:isremark = "true"
|
|
23
|
+
:takeimg="false"
|
|
24
|
+
:issearch="true"
|
|
25
|
+
:defname="selectdata.defname">
|
|
26
|
+
</apply-upload>
|
|
27
|
+
</tab>
|
|
28
|
+
</tabset>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</template>
|
|
35
|
+
<script>
|
|
36
|
+
import Vue from 'vue'
|
|
37
|
+
import {HttpResetClass} from 'vue-client'
|
|
38
|
+
export default {
|
|
39
|
+
title: '流程监控',
|
|
40
|
+
data () {
|
|
41
|
+
return {
|
|
42
|
+
showtotal: false, // 控制详细信息显示
|
|
43
|
+
showData: true,
|
|
44
|
+
selectdata: {},
|
|
45
|
+
source: '流程查看',
|
|
46
|
+
xmlname: '' // 配置文件名称
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
created () {
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
// 获取页面配置json文件
|
|
53
|
+
async loadName () {
|
|
54
|
+
let data = {
|
|
55
|
+
workname: this.selectdata.processname
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
let res = await this.$resetpost(
|
|
59
|
+
'rs/logic/ApplyGetConfigs',
|
|
60
|
+
{data: data},
|
|
61
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
Vue.prototype.$workflow_vue = res.data
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
events: {
|
|
68
|
+
'onMessage' (data) {
|
|
69
|
+
console.log('接收消息')
|
|
70
|
+
console.log(data)
|
|
71
|
+
if (data.type === 'apply-task') {
|
|
72
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
async 'apply' (val) {
|
|
76
|
+
this.selectdata = val
|
|
77
|
+
this.showtotal = false
|
|
78
|
+
|
|
79
|
+
// 获取配置文件
|
|
80
|
+
await this.loadName()
|
|
81
|
+
|
|
82
|
+
this.$refs.query.$refs.cp.pager = false
|
|
83
|
+
this.showData = false
|
|
84
|
+
|
|
85
|
+
this.showtotal = true
|
|
86
|
+
},
|
|
87
|
+
'search' () {
|
|
88
|
+
// 关闭详细
|
|
89
|
+
this.showtotal = false
|
|
90
|
+
// 显示列表数据
|
|
91
|
+
this.showData = true
|
|
92
|
+
// 显示分页
|
|
93
|
+
this.$refs.query.$refs.cp.pager = true
|
|
94
|
+
// 调用查询
|
|
95
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
96
|
+
},
|
|
97
|
+
'loadPage' () {
|
|
98
|
+
// 关闭详细
|
|
99
|
+
this.showtotal = false
|
|
100
|
+
// 显示列表数据
|
|
101
|
+
this.showData = true
|
|
102
|
+
// 显示分页
|
|
103
|
+
this.$refs.query.$refs.cp.pager = true
|
|
104
|
+
// 调用查询
|
|
105
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
computed: {
|
|
109
|
+
projectStart () {
|
|
110
|
+
return this.$login.r.includes('报装文件上传')
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
watch: {
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
</script>
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
return {
|
|
356
356
|
model: new PagedList('rs/sql/supervisory', 20, {
|
|
357
357
|
data: {
|
|
358
|
-
f_filiale:
|
|
358
|
+
f_filiale:this.$login.f.orgs
|
|
359
359
|
},
|
|
360
360
|
}),
|
|
361
361
|
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')?this.$appdata.getParam('报建类型'):[]],
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
condition: this.$refs.cp.$refs.cri.condition,
|
|
544
544
|
data: {
|
|
545
545
|
// orgid: this.$login.f.orgid
|
|
546
|
-
f_filiale: this.$login.f.
|
|
546
|
+
f_filiale: this.$login.f.orgs
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
},
|