apply-clients 3.3.204 → 3.3.205
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/apply.js +90 -89
- package/src/components/product/Order/OrderApplyList.vue +269 -269
- package/src/components/product/Order/OrderMessage.vue +2 -2
- package/src/components/product/Supervisory/Service/printChargeNode.vue +873 -0
- package/src/components/product/Supervisory/SupervisoryControl.vue +108 -100
|
@@ -1,100 +1,108 @@
|
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
this.showtotal =
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
this.showData =
|
|
90
|
-
|
|
91
|
-
this
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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="true"
|
|
23
|
+
:issearch="true"
|
|
24
|
+
:defname="selectdata.defname">
|
|
25
|
+
</apply-upload>
|
|
26
|
+
</tab>
|
|
27
|
+
<div>
|
|
28
|
+
<tab header='打印预览'>
|
|
29
|
+
<apply-print-charge-node :selectdata="selectdata" :charge="charge" v-ref:print></apply-print-charge-node>
|
|
30
|
+
</tab>
|
|
31
|
+
</div>
|
|
32
|
+
</tabset>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
</template>
|
|
39
|
+
<script>
|
|
40
|
+
import Vue from 'vue'
|
|
41
|
+
import {HttpResetClass} from 'vue-client'
|
|
42
|
+
export default {
|
|
43
|
+
title: '流程监控',
|
|
44
|
+
data () {
|
|
45
|
+
return {
|
|
46
|
+
showtotal: false, // 控制详细信息显示
|
|
47
|
+
showData: true,
|
|
48
|
+
selectdata: {},
|
|
49
|
+
xmlname: '' // 配置文件名称
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
created () {
|
|
53
|
+
},
|
|
54
|
+
methods: {
|
|
55
|
+
print () {
|
|
56
|
+
this.$refs.print.$refs.print.PrintTable()
|
|
57
|
+
},
|
|
58
|
+
// 获取页面配置json文件
|
|
59
|
+
async loadName () {
|
|
60
|
+
let data = {
|
|
61
|
+
workname: this.selectdata.processname
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
let res = await this.$resetpost(
|
|
65
|
+
'rs/logic/ApplyGetConfigs',
|
|
66
|
+
{data: data},
|
|
67
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
Vue.prototype.$workflow_vue = res.data
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
events: {
|
|
74
|
+
'onMessage' (data) {
|
|
75
|
+
console.log('接收消息')
|
|
76
|
+
console.log(data)
|
|
77
|
+
if (data.type === 'apply-task') {
|
|
78
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
async 'apply' (val) {
|
|
82
|
+
this.selectdata = val
|
|
83
|
+
this.showtotal = false
|
|
84
|
+
|
|
85
|
+
// 获取配置文件
|
|
86
|
+
await this.loadName()
|
|
87
|
+
|
|
88
|
+
this.$refs.query.$refs.cp.pager = false
|
|
89
|
+
this.showData = false
|
|
90
|
+
|
|
91
|
+
this.showtotal = true
|
|
92
|
+
},
|
|
93
|
+
'search' () {
|
|
94
|
+
// 关闭详细
|
|
95
|
+
this.showtotal = false
|
|
96
|
+
// 显示列表数据
|
|
97
|
+
this.showData = true
|
|
98
|
+
// 显示分页
|
|
99
|
+
this.$refs.query.$refs.cp.pager = true
|
|
100
|
+
// 调用查询
|
|
101
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
watch: {
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
</script>
|