apply-clients 5.0.35-ezhou-10 → 5.0.35-ezhou-11

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