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.
@@ -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
- </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
+ <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>