apply-clients 5.0.35-56 → 5.0.35-57

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,130 +1,130 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <engineer-list v-ref:queryuser></engineer-list>
5
- </div>
6
- <div v-show="showtotal" v-bind:style="{ height: botheight }">
7
- <div class="col-sm-2" v-show="showbasic">
8
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
9
- </div>
10
- <div class="col-sm-9">
11
- <tabset v-ref:tabs :close="false">
12
- <tab :header='header'>
13
- <supervisory-service-control :selectdata="selectdata" ></supervisory-service-control>
14
- </tab>
15
- <tab header='档案信息'>
16
- <record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
17
- </tab>
18
- <tab header='附件'>
19
- <engineer-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></engineer-upload>
20
- <!--
21
- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="true"
22
- :isupload = "true"
23
- :takeimg = "true"
24
- :edit = "false">
25
- </upload>-->
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </template>
32
- <script>
33
- import Vue from 'vue'
34
- import {HttpResetClass} from 'vue-client'
35
- export default {
36
- title: '工程流程监控',
37
- props: [ 'defname'],
38
- data() {
39
- return {
40
- flagl:false,
41
- flagg: false,
42
- showbasic: false,
43
- showtotal: false,
44
- header: null,
45
- selectdata: {},
46
- botheight: '0%',
47
- topheight: '100%',
48
- tittle1:'户档案管理',
49
- tittle2:'表档案管理',
50
- tittle3:'设备管理',
51
- info: '流程监控'
52
- }
53
- },
54
- created(){
55
- let http = new HttpResetClass()
56
- http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
57
- ).then((res)=>{
58
- if(res.data.code && res.data.code == 200){
59
- Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
60
- }else{
61
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
62
- return
63
- }
64
- })
65
- console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
66
- },
67
- events: {
68
- 'addactive'() {
69
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
70
- this.hidden()
71
- this.showbasic = true
72
- this.topheight = '20%'
73
- this.botheight = '80%'
74
- },
75
- 'changeheight'() {
76
- this.show = false
77
- this.botheight = '0%'
78
- },
79
- 'check'(val) {
80
- this.selectdata = ''
81
- this.selectdata = val
82
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
83
- this.topheight = '20%'
84
- this.botheight = '80%'
85
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
86
- this.$refs.queryuser.$refs.cp.pager = false
87
- this.showbasic = true
88
- let msg = val.defname
89
- this.header = msg
90
- this.hidden()
91
- },
92
- 'selfsearch'() {
93
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
94
- },
95
- 'close'() {
96
- this.hidden()
97
- this.showtotal = false
98
- this.topheight = '100%'
99
- this.botheight = '0%'
100
- this.$refs.queryuser.$refs.cp.pager = true
101
- }
102
- },
103
- methods: {
104
- hidden() {
105
- this.showtotal = true
106
- },
107
- close() {
108
- this.hidden()
109
- this.topheight = '100%'
110
- this.botheight = '0%'
111
- }
112
- },
113
- watch: {
114
- 'selectdata'(val) {
115
- console.log('selectdata:', val)
116
- },
117
- 'selectdata.f_customer_type'() {
118
- if (this.selectdata.f_customer_type == '企业') {
119
- this.flagg = true
120
- }
121
- },
122
- 'selectdata.f_apply_type'() {
123
- if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
124
- this.flagl = true
125
- }
126
- }
127
- },
128
-
129
- }
130
- </script>
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;">
3
+ <div class="tops" v-bind:style="{ height: topheight }">
4
+ <engineer-list v-ref:queryuser></engineer-list>
5
+ </div>
6
+ <div v-show="showtotal" v-bind:style="{ height: botheight }">
7
+ <div class="col-sm-2" v-show="showbasic">
8
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
9
+ </div>
10
+ <div class="col-sm-9">
11
+ <tabset v-ref:tabs :close="false">
12
+ <tab :header='header'>
13
+ <supervisory-service-control :selectdata="selectdata" ></supervisory-service-control>
14
+ </tab>
15
+ <tab header='档案信息'>
16
+ <record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
17
+ </tab>
18
+ <tab header='附件'>
19
+ <engineer-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></engineer-upload>
20
+ <!--
21
+ <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="true"
22
+ :isupload = "true"
23
+ :takeimg = "true"
24
+ :edit = "false">
25
+ </upload>-->
26
+ </tab>
27
+ </tabset>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </template>
32
+ <script>
33
+ import Vue from 'vue'
34
+ import {HttpResetClass} from 'vue-client'
35
+ export default {
36
+ title: '工程流程监控',
37
+ props: [ 'defname'],
38
+ data() {
39
+ return {
40
+ flagl:false,
41
+ flagg: false,
42
+ showbasic: false,
43
+ showtotal: false,
44
+ header: null,
45
+ selectdata: {},
46
+ botheight: '0%',
47
+ topheight: '100%',
48
+ tittle1:'户档案管理',
49
+ tittle2:'表档案管理',
50
+ tittle3:'设备管理',
51
+ info: '流程监控'
52
+ }
53
+ },
54
+ created(){
55
+ let http = new HttpResetClass()
56
+ http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
57
+ ).then((res)=>{
58
+ if(res.data.code && res.data.code == 200){
59
+ Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
60
+ }else{
61
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
62
+ return
63
+ }
64
+ })
65
+ console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
66
+ },
67
+ events: {
68
+ 'addactive'() {
69
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
70
+ this.hidden()
71
+ this.showbasic = true
72
+ this.topheight = '20%'
73
+ this.botheight = '80%'
74
+ },
75
+ 'changeheight'() {
76
+ this.show = false
77
+ this.botheight = '0%'
78
+ },
79
+ 'check'(val) {
80
+ this.selectdata = ''
81
+ this.selectdata = val
82
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
83
+ this.topheight = '20%'
84
+ this.botheight = '80%'
85
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
86
+ this.$refs.queryuser.$refs.cp.pager = false
87
+ this.showbasic = true
88
+ let msg = val.defname
89
+ this.header = msg
90
+ this.hidden()
91
+ },
92
+ 'selfsearch'() {
93
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
94
+ },
95
+ 'close'() {
96
+ this.hidden()
97
+ this.showtotal = false
98
+ this.topheight = '100%'
99
+ this.botheight = '0%'
100
+ this.$refs.queryuser.$refs.cp.pager = true
101
+ }
102
+ },
103
+ methods: {
104
+ hidden() {
105
+ this.showtotal = true
106
+ },
107
+ close() {
108
+ this.hidden()
109
+ this.topheight = '100%'
110
+ this.botheight = '0%'
111
+ }
112
+ },
113
+ watch: {
114
+ 'selectdata'(val) {
115
+ console.log('selectdata:', val)
116
+ },
117
+ 'selectdata.f_customer_type'() {
118
+ if (this.selectdata.f_customer_type == '企业') {
119
+ this.flagg = true
120
+ }
121
+ },
122
+ 'selectdata.f_apply_type'() {
123
+ if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
124
+ this.flagl = true
125
+ }
126
+ }
127
+ },
128
+
129
+ }
130
+ </script>