apply-clients 3.3.2 → 3.3.6
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 +2 -1
- package/src/AndroidApp.vue +2 -2
- package/src/apply.js +1 -0
- package/src/applyAndroid.js +1 -0
- package/src/components/android/AppTakePic.vue +143 -139
- package/src/components/android/Process/AppExplorationUser.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +153 -35
- package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +5 -2
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +32 -14
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +1 -1
- package/src/components/product/Function/Service/FunctionServiceControl.vue +15 -9
- package/src/components/product/Order/OrderApplyList.vue +48 -37
- package/src/components/product/Order/OrderMessage.vue +20 -5
- package/src/components/product/Process/ExplorationSelect.vue +4 -0
- package/src/components/product/Process/ExplorationUser.vue +126 -126
- package/src/components/product/Process/Processes/InstallationDetails.vue +100 -83
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +24 -23
- package/src/components/product/Process/Processes/chargeManagement.vue +65 -7
- package/src/components/product/Process/Processes/printCharge.vue +130 -126
- package/src/components/product/Process/Processes/selectApply.vue +5 -1
- package/src/components/product/Process/Service/ServiceControl.vue +211 -47
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +127 -23
- package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
- package/src/components/product/Supervisory/SupervisoryhCart.vue +121 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +262 -261
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
|
@@ -1,100 +1,100 @@
|
|
|
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
|
-
<supervisory-chart :selectdata="selectdata"></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
|
-
:isupload = "false"
|
|
19
|
-
:isdelete="false"
|
|
20
|
-
:isusetype="true"
|
|
21
|
-
:isremark = "true"
|
|
22
|
-
:takeimg="
|
|
23
|
-
:issearch="true"
|
|
24
|
-
:defname="selectdata.defname">
|
|
25
|
-
</apply-upload>
|
|
26
|
-
</tab>
|
|
27
|
-
</tabset>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
|
|
33
|
-
</template>
|
|
34
|
-
<script>
|
|
35
|
-
import Vue from 'vue'
|
|
36
|
-
import {HttpResetClass} from 'vue-client'
|
|
37
|
-
export default {
|
|
38
|
-
title: '流程监控',
|
|
39
|
-
data () {
|
|
40
|
-
return {
|
|
41
|
-
showtotal: false, // 控制详细信息显示
|
|
42
|
-
showData: true,
|
|
43
|
-
selectdata: {},
|
|
44
|
-
xmlname: '' // 配置文件名称
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
created () {
|
|
48
|
-
},
|
|
49
|
-
methods: {
|
|
50
|
-
// 获取页面配置json文件
|
|
51
|
-
async loadName () {
|
|
52
|
-
let data = {
|
|
53
|
-
workname: this.selectdata.processname
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
let res = await this.$resetpost(
|
|
57
|
-
'rs/logic/ApplyGetConfigs',
|
|
58
|
-
{data: data},
|
|
59
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
Vue.prototype.$workflow_vue = res.data
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
events: {
|
|
66
|
-
'onMessage' (data) {
|
|
67
|
-
console.log('接收消息')
|
|
68
|
-
console.log(data)
|
|
69
|
-
if (data.type === 'apply-task') {
|
|
70
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
async 'apply' (val) {
|
|
74
|
-
this.selectdata = val
|
|
75
|
-
this.showtotal = false
|
|
76
|
-
|
|
77
|
-
// 获取配置文件
|
|
78
|
-
await this.loadName()
|
|
79
|
-
|
|
80
|
-
this.$refs.query.$refs.cp.pager = false
|
|
81
|
-
this.showData = false
|
|
82
|
-
|
|
83
|
-
this.showtotal = true
|
|
84
|
-
},
|
|
85
|
-
'search' () {
|
|
86
|
-
// 关闭详细
|
|
87
|
-
this.showtotal = false
|
|
88
|
-
// 显示列表数据
|
|
89
|
-
this.showData = true
|
|
90
|
-
// 显示分页
|
|
91
|
-
this.$refs.query.$refs.cp.pager = true
|
|
92
|
-
// 调用查询
|
|
93
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
watch: {
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
</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
|
+
<supervisory-chart :selectdata="selectdata"></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
|
+
:isupload = "false"
|
|
19
|
+
:isdelete="false"
|
|
20
|
+
:isusetype="true"
|
|
21
|
+
:isremark = "true"
|
|
22
|
+
:takeimg="true"
|
|
23
|
+
:issearch="true"
|
|
24
|
+
:defname="selectdata.defname">
|
|
25
|
+
</apply-upload>
|
|
26
|
+
</tab>
|
|
27
|
+
</tabset>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
</template>
|
|
34
|
+
<script>
|
|
35
|
+
import Vue from 'vue'
|
|
36
|
+
import {HttpResetClass} from 'vue-client'
|
|
37
|
+
export default {
|
|
38
|
+
title: '流程监控',
|
|
39
|
+
data () {
|
|
40
|
+
return {
|
|
41
|
+
showtotal: false, // 控制详细信息显示
|
|
42
|
+
showData: true,
|
|
43
|
+
selectdata: {},
|
|
44
|
+
xmlname: '' // 配置文件名称
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
created () {
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
// 获取页面配置json文件
|
|
51
|
+
async loadName () {
|
|
52
|
+
let data = {
|
|
53
|
+
workname: this.selectdata.processname
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
let res = await this.$resetpost(
|
|
57
|
+
'rs/logic/ApplyGetConfigs',
|
|
58
|
+
{data: data},
|
|
59
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
Vue.prototype.$workflow_vue = res.data
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
events: {
|
|
66
|
+
'onMessage' (data) {
|
|
67
|
+
console.log('接收消息')
|
|
68
|
+
console.log(data)
|
|
69
|
+
if (data.type === 'apply-task') {
|
|
70
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
async 'apply' (val) {
|
|
74
|
+
this.selectdata = val
|
|
75
|
+
this.showtotal = false
|
|
76
|
+
|
|
77
|
+
// 获取配置文件
|
|
78
|
+
await this.loadName()
|
|
79
|
+
|
|
80
|
+
this.$refs.query.$refs.cp.pager = false
|
|
81
|
+
this.showData = false
|
|
82
|
+
|
|
83
|
+
this.showtotal = true
|
|
84
|
+
},
|
|
85
|
+
'search' () {
|
|
86
|
+
// 关闭详细
|
|
87
|
+
this.showtotal = false
|
|
88
|
+
// 显示列表数据
|
|
89
|
+
this.showData = true
|
|
90
|
+
// 显示分页
|
|
91
|
+
this.$refs.query.$refs.cp.pager = true
|
|
92
|
+
// 调用查询
|
|
93
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
watch: {
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
</script>
|
|
@@ -1,107 +1,121 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="overflow: auto;background-color: #FFFFFF;">
|
|
3
|
-
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
-
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
|
-
{{ row.defname }}
|
|
6
|
-
<br>
|
|
7
|
-
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
|
-
</div>
|
|
9
|
-
<div class="arrow glyphicon glyphicon-menu-down" v-if="i !== defnames.length-1" aria-hidden="true"></div>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import {HttpResetClass} from 'vue-client'
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
let
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
if (
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div style="overflow: auto;background-color: #FFFFFF;">
|
|
3
|
+
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
+
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
|
+
{{ row.defname }}
|
|
6
|
+
<br>
|
|
7
|
+
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
|
+
</div>
|
|
9
|
+
<div class="arrow glyphicon glyphicon-menu-down" v-if="i !== defnames.length-1" aria-hidden="true"></div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import {HttpResetClass} from 'vue-client'
|
|
16
|
+
import {isEmpty} from "../../Util";
|
|
17
|
+
export default {
|
|
18
|
+
title: "流程节点",
|
|
19
|
+
props:['selectdata'],
|
|
20
|
+
data(){
|
|
21
|
+
return{
|
|
22
|
+
defnames: [] // 所有节点
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
created () {
|
|
26
|
+
this.initial()
|
|
27
|
+
},
|
|
28
|
+
methods :{
|
|
29
|
+
async initial () {
|
|
30
|
+
// 获取流程节点信息
|
|
31
|
+
let http = new HttpResetClass()
|
|
32
|
+
let data = {
|
|
33
|
+
processid: this.selectdata.f_process_id
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
let res = await http.load(
|
|
37
|
+
'POST',
|
|
38
|
+
'rs/sql/getAllNode',
|
|
39
|
+
{data: data},
|
|
40
|
+
{resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'})
|
|
41
|
+
|
|
42
|
+
this.defnames = res.data
|
|
43
|
+
},
|
|
44
|
+
//点击获取节点名
|
|
45
|
+
getdefname (row) {
|
|
46
|
+
// 发起节点都可查看
|
|
47
|
+
if(row.defname === this.$workflow_vue.start_activity){
|
|
48
|
+
row = Object.assign({},this.selectdata,row)
|
|
49
|
+
this.$dispatch('apply', row)
|
|
50
|
+
return
|
|
51
|
+
}
|
|
52
|
+
if(this.check(row.actorexpression)){
|
|
53
|
+
row = Object.assign({},this.selectdata,row)
|
|
54
|
+
this.$dispatch('apply', row)
|
|
55
|
+
return
|
|
56
|
+
}
|
|
57
|
+
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
58
|
+
},
|
|
59
|
+
// 检测是否有权限
|
|
60
|
+
check (actorexpression){
|
|
61
|
+
|
|
62
|
+
let str = null
|
|
63
|
+
|
|
64
|
+
if (isEmpty(actorexpression)) {
|
|
65
|
+
return true
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (actorexpression.indexOf('D') === 0) {
|
|
69
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
70
|
+
return this.$login.f.f_department_name.includes(str)
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (actorexpression.indexOf('RS') === 0) {
|
|
74
|
+
for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
|
|
75
|
+
return this.$login.f.f_role_name.includes(str)
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (actorexpression.indexOf('R') === 0) {
|
|
80
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
81
|
+
return this.$login.f.f_role_name.includes(str)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (actorexpression.indexOf('PI') === 0) {
|
|
85
|
+
str = actorexpression.substring(3, actorexpression.length-1)
|
|
86
|
+
return this.$login.f.id.includes(str)
|
|
87
|
+
}
|
|
88
|
+
if (actorexpression.indexOf('P') === 0) {
|
|
89
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
90
|
+
return this.$login.f.name.includes(str)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return this.$login.f.f_role_name.includes('流程监控')
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
watch:{
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
</script>
|
|
100
|
+
|
|
101
|
+
<style scoped>
|
|
102
|
+
.row{
|
|
103
|
+
text-align: center;
|
|
104
|
+
height: auto;
|
|
105
|
+
margin-right: 20px;
|
|
106
|
+
}
|
|
107
|
+
.item{
|
|
108
|
+
border-radius: 2em;
|
|
109
|
+
border: 1px solid silver;
|
|
110
|
+
line-height: 25px;
|
|
111
|
+
}
|
|
112
|
+
.arrow{
|
|
113
|
+
width: 100%;
|
|
114
|
+
color: #5ac0d9;
|
|
115
|
+
font-weight: bold;
|
|
116
|
+
}
|
|
117
|
+
.selectIndex{
|
|
118
|
+
background-color: #5ac0d9;
|
|
119
|
+
color: #ffffff;
|
|
120
|
+
}
|
|
121
|
+
</style>
|