apply-clients 7.1.36-yuchuan-41 → 7.1.36-yuchuan-42
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 +27 -27
- package/build/dev-server.js +172 -192
- package/package.json +119 -119
- package/src/apply.js +163 -163
- package/src/applyAndroid.js +98 -98
- package/src/components/android/AppSign.vue +232 -232
- package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +472 -472
- package/src/components/android/Process/AppExplorationUser.vue +454 -454
- package/src/components/android/Process/AppServiceControl.vue +1434 -1434
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +1018 -1018
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +671 -671
- package/src/components/android/SealManage.vue +278 -278
- package/src/components/android/Sign/AppSignTask.vue +183 -183
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
- package/src/components/android/Task/Build/BuildTsak.vue +117 -117
- package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -114
- package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
- package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -124
- package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -124
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
- package/src/components/android/Task/Survey/SurveyTsak.vue +141 -141
- package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
- package/src/components/android/newPackage/customerServiceManager.vue +218 -218
- package/src/components/android/newPackage/projectPrice.vue +218 -218
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +325 -325
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +142 -142
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
- package/src/components/product/ApplyMap/AppMapLocation.vue +829 -829
- package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
- package/src/components/product/Function/InstallFunction.vue +132 -132
- package/src/components/product/Function/InstallInfoSelect.vue +374 -374
- package/src/components/product/GongJianPush/ApplyPushDispose.vue +12 -10
- package/src/components/product/GongJianPush/ApplyPushManage.vue +91 -91
- package/src/components/product/Ignition/IgnitionDispatch.vue +90 -90
- package/src/components/product/Ignition/IgnitionListManage.vue +604 -604
- package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
- package/src/components/product/InsuranceApply/InsuranceReport.vue +188 -188
- package/src/components/product/List/OldShowDevices.vue +271 -271
- package/src/components/product/List/ShowAllActivity.vue +541 -541
- package/src/components/product/List/ShowDevices.vue +279 -279
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
- package/src/components/product/Process/ExplorationSelect.vue +593 -593
- package/src/components/product/Process/ExplorationUser.vue +154 -154
- package/src/components/product/Process/New1ExplorationUser.vue +196 -196
- package/src/components/product/Process/NewExplorationSelect.vue +587 -587
- package/src/components/product/Process/NewExplorationUser.vue +216 -216
- package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
- 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 +703 -703
- package/src/components/product/Process/Processes/selectApply.vue +250 -250
- package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
- package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
- package/src/components/product/Process/Service/ServiceControl.vue +2216 -2216
- package/src/components/product/ServiceView.vue +644 -644
- package/src/components/product/Stop/StopApplyList.vue +224 -224
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +593 -593
- package/src/components/product/Supervisory/SupervisoryControl.vue +114 -114
- package/src/components/product/Supervisory/SupervisoryList.vue +580 -580
- package/src/components/product/Supervisory/SupervisoryhCart.vue +120 -120
- package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +111 -111
- package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
- package/src/components/product/VueUtils/ApplyUpload.vue +303 -303
- package/src/main.js +27 -27
|
@@ -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.f_department_name.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>
|
|
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_department_name.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>
|