apply-clients 3.1.36 → 3.1.39
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 +112 -112
- package/src/App.vue +20 -20
- package/src/apply.js +3 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +266 -247
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -232
- package/src/components/product/Function/InstallFunction.vue +2 -2
- package/src/components/product/Function/InstallInfoSelect.vue +44 -5
- package/src/components/product/Function/Service/FunctionServiceControl.vue +61 -2
- package/src/components/product/Function/functions/ChargeManagement.vue +397 -30
- package/src/components/product/Function/functions/ContractNo.vue +354 -354
- package/src/components/product/Function/functions/DispatchList.vue +490 -490
- package/src/components/product/Function/functions/InstallFeeInfo.vue +43 -43
- package/src/components/product/Order/OrderApply.vue +467 -467
- package/src/components/product/Order/OrderApplyList.vue +301 -301
- package/src/components/product/Process/ExplorationSelect.vue +326 -287
- package/src/components/product/Process/ExplorationUser.vue +168 -140
- package/src/components/product/Process/Service/ServiceControl.vue +15 -14
- package/src/components/product/ReportForm/ApplyUpload.vue +261 -261
- package/src/components/product/ReportForm/CustomerRecordMessage.vue +1587 -1409
- package/src/components/product/ServiceView.vue +5 -1
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -153
- package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
- package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +76 -10
- package/src/components/product/Supervisory/SupervisoryList2.vue +285 -0
- package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -104
|
@@ -1,104 +1,105 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="overflow: auto;">
|
|
3
|
-
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
-
<div :class="row.defname === defname ? '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
|
-
export default {
|
|
17
|
-
title: "流程节点",
|
|
18
|
-
props:['selectdata','defname'],
|
|
19
|
-
data(){
|
|
20
|
-
return{
|
|
21
|
-
defnames: [] // 所有节点
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
created () {
|
|
25
|
-
this.initial()
|
|
26
|
-
},
|
|
27
|
-
methods :{
|
|
28
|
-
async initial() {
|
|
29
|
-
// 获取流程节点信息
|
|
30
|
-
let http = new HttpResetClass()
|
|
31
|
-
let temp = []
|
|
32
|
-
if(this.selectdata && this.selectdata.f_process_id){
|
|
33
|
-
let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
|
|
34
|
-
//循环去除回退导致重复的节点
|
|
35
|
-
for (let i = 0; i < res.data.length; i++) {
|
|
36
|
-
let flag = true
|
|
37
|
-
for (let j = 0; j < temp.length; j++) {
|
|
38
|
-
if (res.data[i].defname === temp[j].defname) {
|
|
39
|
-
flag = false
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if(flag){
|
|
43
|
-
temp.push(res.data[i])
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
this.defnames = temp
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
//点击获取节点名
|
|
51
|
-
getdefname(row){
|
|
52
|
-
if(row.defname === this.$workflow_vue.start_activity){
|
|
53
|
-
row = Object.assign({},this.selectdata,row)
|
|
54
|
-
this.$dispatch('apply', row)
|
|
55
|
-
}else if(this.check(row.actorexpression)){
|
|
56
|
-
row = Object.assign({},this.selectdata,row)
|
|
57
|
-
this.$dispatch('apply', row)
|
|
58
|
-
}else{
|
|
59
|
-
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
// 检测是否有权限
|
|
63
|
-
check(actorexpression){
|
|
64
|
-
let sign = actorexpression.charAt(0)
|
|
65
|
-
let str = actorexpression.substring(2,actorexpression.length-1)
|
|
66
|
-
let flag = false
|
|
67
|
-
if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
|
|
68
|
-
flag = true
|
|
69
|
-
}
|
|
70
|
-
if (sign === 'R' && this.$login.f.f_role_name.includes(str)) {
|
|
71
|
-
flag = true
|
|
72
|
-
}
|
|
73
|
-
if (sign === 'P' && this.$login.f.id.includes(str)) {
|
|
74
|
-
flag = true
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
border:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
color: #
|
|
103
|
-
|
|
104
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div style="overflow: auto;">
|
|
3
|
+
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
+
<div :class="row.defname === defname ? '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
|
+
export default {
|
|
17
|
+
title: "流程节点",
|
|
18
|
+
props:['selectdata','defname'],
|
|
19
|
+
data(){
|
|
20
|
+
return{
|
|
21
|
+
defnames: [] // 所有节点
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
created () {
|
|
25
|
+
this.initial()
|
|
26
|
+
},
|
|
27
|
+
methods :{
|
|
28
|
+
async initial() {
|
|
29
|
+
// 获取流程节点信息
|
|
30
|
+
let http = new HttpResetClass()
|
|
31
|
+
let temp = []
|
|
32
|
+
if(this.selectdata && this.selectdata.f_process_id){
|
|
33
|
+
let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
|
|
34
|
+
//循环去除回退导致重复的节点
|
|
35
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
36
|
+
let flag = true
|
|
37
|
+
for (let j = 0; j < temp.length; j++) {
|
|
38
|
+
if (res.data[i].defname === temp[j].defname) {
|
|
39
|
+
flag = false
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if(flag){
|
|
43
|
+
temp.push(res.data[i])
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
this.defnames = temp
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
//点击获取节点名
|
|
51
|
+
getdefname(row){
|
|
52
|
+
if(row.defname === this.$workflow_vue.start_activity){
|
|
53
|
+
row = Object.assign({},this.selectdata,row)
|
|
54
|
+
this.$dispatch('apply', row)
|
|
55
|
+
}else if(this.check(row.actorexpression)){
|
|
56
|
+
row = Object.assign({},this.selectdata,row)
|
|
57
|
+
this.$dispatch('apply', row)
|
|
58
|
+
}else{
|
|
59
|
+
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
// 检测是否有权限
|
|
63
|
+
check(actorexpression){
|
|
64
|
+
let sign = actorexpression.charAt(0)
|
|
65
|
+
let str = actorexpression.substring(2,actorexpression.length-1)
|
|
66
|
+
let flag = false
|
|
67
|
+
if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
|
|
68
|
+
flag = true
|
|
69
|
+
}
|
|
70
|
+
if (sign === 'R' && this.$login.f.f_role_name.includes(str)) {
|
|
71
|
+
flag = true
|
|
72
|
+
}
|
|
73
|
+
if (sign === 'P' && this.$login.f.id.includes(str)) {
|
|
74
|
+
flag = true
|
|
75
|
+
}
|
|
76
|
+
flag = true
|
|
77
|
+
return flag
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
watch:{
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
</script>
|
|
84
|
+
|
|
85
|
+
<style scoped>
|
|
86
|
+
.row{
|
|
87
|
+
text-align: center;
|
|
88
|
+
height: auto;
|
|
89
|
+
margin-right: 20px;
|
|
90
|
+
}
|
|
91
|
+
.item{
|
|
92
|
+
border-radius: 2em;
|
|
93
|
+
border: 1px solid silver;
|
|
94
|
+
line-height: 25px;
|
|
95
|
+
}
|
|
96
|
+
.arrow{
|
|
97
|
+
width: 100%;
|
|
98
|
+
color: #5ac0d9;
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
}
|
|
101
|
+
.selectIndex{
|
|
102
|
+
background-color: #5ac0d9;
|
|
103
|
+
color: #ffffff;
|
|
104
|
+
}
|
|
105
|
+
</style>
|