apply-clients 3.0.5-21 → 3.0.5-23

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,196 +1,196 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <supervisory-list v-ref:queryuser></supervisory-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
- <!--<record-message v-ref:record :selectdata="selectdata" :key="tittle2" :edit = "false"></record-message>-->
20
- <!--</tab>-->
21
- <!--<tab header='设备信息' v-if="selectdata.f_user_type =='非民用'">-->
22
- <!--<equipment-message v-ref:equipment :selectdata="selectdata" :key="tittle3" :edit = "false"></equipment-message>-->
23
- <!--</tab>-->
24
- <!--<tab header='材料信息'>-->
25
- <!--<material-message v-ref:material :selectdata="selectdata" :edit = "false"></material-message>-->
26
- <!--</tab>-->
27
-
28
- <tab header='附件'>
29
- <!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="false"-->
30
- <!-- :isupload = "true"-->
31
- <!-- :takeimg = "true"-->
32
- <!-- :edit = "false">-->
33
- <!-- </apply-upload>-->
34
- <apply-upload v-ref:file
35
- :blodid="selectdata.f_process_id"
36
- :isupload = "true"
37
- :isdelete="true"
38
- :isusetype="true"
39
- :isremark = "true"
40
- :takeimg="true"
41
- :issearch="true"
42
- :defname="selectdata.defname">
43
- </apply-upload>
44
- </tab>
45
- </tabset>
46
- </div>
47
- </div>
48
- </div>
49
- </template>
50
- <script>
51
- import Vue from 'vue'
52
- import {HttpResetClass} from 'vue-client'
53
- export default {
54
- title: '流程监控',
55
- props: [ 'defname'],
56
- data() {
57
- return {
58
- flagl:false,
59
- flagg: false,
60
- showbasic: false,
61
- showtotal: false,
62
- header: null,
63
- selectdata: {},
64
- botheight: '0%',
65
- topheight: '100%',
66
- tittle1:'户档案管理',
67
- tittle2:'表档案管理',
68
- tittle3:'设备管理',
69
- info: '流程监控',
70
- xmlname: ''
71
- }
72
- },
73
- created(){
74
- let http = new HttpResetClass()
75
- let xmldata = {
76
- data:{...this.$login.f,parent:{},functions:[]},
77
- workname: '工商业报建流程'
78
- }
79
- http.load('POST','rs/logic/ApplyGetConfigs', {data:xmldata}, {resolveMsg: null, rejectMsg: null}
80
- ).then((res)=>{
81
- if(res.data.code && res.data.code == 200){
82
- Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
83
- }else{
84
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
85
- return
86
- }
87
- })
88
- console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
89
- },
90
- events: {
91
- 'addactive'() {
92
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
93
- this.hidden()
94
- this.showbasic = true
95
- this.topheight = '20%'
96
- this.botheight = '80%'
97
- },
98
- 'changeheight'() {
99
- this.show = false
100
- this.botheight = '0%'
101
- },
102
- 'check'(val) {
103
- this.selectdata = ''
104
- this.selectdata = val
105
- console.log('val.f_apply_type:' + val.f_apply_type)
106
- if (val.f_apply_type === '微信对接' || val.f_apply_type === '政府对接' || val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '企业报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
107
- console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
108
- if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
109
- this.xmlname = '工商业报建流程'
110
- } else if (this.selectdata.f_apply_type === '散户报建') {
111
- this.xmlname = '散户报建流程'
112
- } else if (this.selectdata.f_apply_type === '民用报建') {
113
- this.xmlname = '民用报建流程'
114
- } else if (this.selectdata.f_apply_type === '管道移改') {
115
- this.xmlname = '管道移改报建流程'
116
- }else if (this.selectdata.f_apply_type === '中压管线') {
117
- this.xmlname = '中压管线报建流程'
118
- }else if (this.selectdata.f_apply_type === '政府对接') {
119
- this.xmlname = '政府对接报建流程'
120
- }else if (this.selectdata.f_apply_type === '微信对接') {
121
- this.xmlname = '微信对接报建流程'
122
- }else if (this.selectdata.f_apply_type === '企业报建') {
123
- this.xmlname = '企业报建流程'
124
- }else {
125
- this.xmlname = this.selectdata.type + '报建流程'
126
- }
127
- let xmldata = {
128
- data:{...this.$login.f,parent:{},functions:[]},
129
- workname: this.xmlname
130
- }
131
- let http = new HttpResetClass()
132
- console.log('xmldata.workname:' + xmldata.workname)
133
- http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
134
- ).then((res)=>{
135
- if (res.data.code && res.data.code == 200){
136
- Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
137
- if (res.data.msg){
138
- console.log('获取配置文件信息:', res.data.msg)
139
- }
140
- // console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
141
- console.log("$supervisory_vue---------" + JSON.stringify(this.$supervisory_vue))
142
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
143
- this.topheight = '20%'
144
- this.botheight = '80%'
145
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
146
- this.$refs.queryuser.$refs.cp.pager = false
147
- this.showbasic = true
148
- let msg = val.defname
149
- this.header = msg
150
- this.hidden()
151
- } else {
152
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
153
- return
154
- }
155
- })
156
- }
157
- },
158
- 'selfsearch'() {
159
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
160
- },
161
- 'close'() {
162
- this.hidden()
163
- this.showtotal = false
164
- this.topheight = '100%'
165
- this.botheight = '0%'
166
- this.$refs.queryuser.$refs.cp.pager = true
167
- }
168
- },
169
- methods: {
170
- hidden() {
171
- this.showtotal = true
172
- },
173
- close() {
174
- this.hidden()
175
- this.topheight = '100%'
176
- this.botheight = '0%'
177
- }
178
- },
179
- watch: {
180
- 'selectdata'(val) {
181
- console.log('selectdata:', val)
182
- },
183
- 'selectdata.f_customer_type'() {
184
- if (this.selectdata.f_customer_type == '企业') {
185
- this.flagg = true
186
- }
187
- },
188
- 'selectdata.f_apply_type'() {
189
- if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
190
- this.flagl = true
191
- }
192
- }
193
- },
194
-
195
- }
196
- </script>
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;">
3
+ <div class="tops" v-bind:style="{ height: topheight }">
4
+ <supervisory-list v-ref:queryuser></supervisory-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
+ <!--<record-message v-ref:record :selectdata="selectdata" :key="tittle2" :edit = "false"></record-message>-->
20
+ <!--</tab>-->
21
+ <!--<tab header='设备信息' v-if="selectdata.f_user_type =='非民用'">-->
22
+ <!--<equipment-message v-ref:equipment :selectdata="selectdata" :key="tittle3" :edit = "false"></equipment-message>-->
23
+ <!--</tab>-->
24
+ <!--<tab header='材料信息'>-->
25
+ <!--<material-message v-ref:material :selectdata="selectdata" :edit = "false"></material-message>-->
26
+ <!--</tab>-->
27
+
28
+ <tab header='附件'>
29
+ <!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="false"-->
30
+ <!-- :isupload = "true"-->
31
+ <!-- :takeimg = "true"-->
32
+ <!-- :edit = "false">-->
33
+ <!-- </apply-upload>-->
34
+ <apply-upload v-ref:file
35
+ :blodid="selectdata.f_process_id"
36
+ :isupload = "true"
37
+ :isdelete="true"
38
+ :isusetype="true"
39
+ :isremark = "true"
40
+ :takeimg="true"
41
+ :issearch="true"
42
+ :defname="selectdata.defname">
43
+ </apply-upload>
44
+ </tab>
45
+ </tabset>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </template>
50
+ <script>
51
+ import Vue from 'vue'
52
+ import {HttpResetClass} from 'vue-client'
53
+ export default {
54
+ title: '流程监控',
55
+ props: [ 'defname'],
56
+ data() {
57
+ return {
58
+ flagl:false,
59
+ flagg: false,
60
+ showbasic: false,
61
+ showtotal: false,
62
+ header: null,
63
+ selectdata: {},
64
+ botheight: '0%',
65
+ topheight: '100%',
66
+ tittle1:'户档案管理',
67
+ tittle2:'表档案管理',
68
+ tittle3:'设备管理',
69
+ info: '流程监控',
70
+ xmlname: ''
71
+ }
72
+ },
73
+ created(){
74
+ let http = new HttpResetClass()
75
+ let xmldata = {
76
+ data:{...this.$login.f,parent:{},functions:[]},
77
+ workname: '工商业报建流程'
78
+ }
79
+ http.load('POST','rs/logic/ApplyGetConfigs', {data:xmldata}, {resolveMsg: null, rejectMsg: null}
80
+ ).then((res)=>{
81
+ if(res.data.code && res.data.code == 200){
82
+ Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
83
+ }else{
84
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
85
+ return
86
+ }
87
+ })
88
+ console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
89
+ },
90
+ events: {
91
+ 'addactive'() {
92
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
93
+ this.hidden()
94
+ this.showbasic = true
95
+ this.topheight = '20%'
96
+ this.botheight = '80%'
97
+ },
98
+ 'changeheight'() {
99
+ this.show = false
100
+ this.botheight = '0%'
101
+ },
102
+ 'check'(val) {
103
+ this.selectdata = ''
104
+ this.selectdata = val
105
+ console.log('val.f_apply_type:' + val.f_apply_type)
106
+ if (val.f_apply_type === '微信对接' || val.f_apply_type === '政府对接' || val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '企业报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
107
+ console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
108
+ if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
109
+ this.xmlname = '工商业报建流程'
110
+ } else if (this.selectdata.f_apply_type === '散户报建') {
111
+ this.xmlname = '散户报建流程'
112
+ } else if (this.selectdata.f_apply_type === '民用报建') {
113
+ this.xmlname = '民用报建流程'
114
+ } else if (this.selectdata.f_apply_type === '管道移改') {
115
+ this.xmlname = '管道移改报建流程'
116
+ }else if (this.selectdata.f_apply_type === '中压管线') {
117
+ this.xmlname = '中压管线报建流程'
118
+ }else if (this.selectdata.f_apply_type === '政府对接') {
119
+ this.xmlname = '政府对接报建流程'
120
+ }else if (this.selectdata.f_apply_type === '微信对接') {
121
+ this.xmlname = '微信对接报建流程'
122
+ }else if (this.selectdata.f_apply_type === '企业报建') {
123
+ this.xmlname = '企业报建流程'
124
+ }else {
125
+ this.xmlname = this.selectdata.type + '报建流程'
126
+ }
127
+ let xmldata = {
128
+ data:{...this.$login.f,parent:{},functions:[]},
129
+ workname: this.xmlname
130
+ }
131
+ let http = new HttpResetClass()
132
+ console.log('xmldata.workname:' + xmldata.workname)
133
+ http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
134
+ ).then((res)=>{
135
+ if (res.data.code && res.data.code == 200){
136
+ Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
137
+ if (res.data.msg){
138
+ console.log('获取配置文件信息:', res.data.msg)
139
+ }
140
+ // console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
141
+ console.log("$supervisory_vue---------" + JSON.stringify(this.$supervisory_vue))
142
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
143
+ this.topheight = '20%'
144
+ this.botheight = '80%'
145
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
146
+ this.$refs.queryuser.$refs.cp.pager = false
147
+ this.showbasic = true
148
+ let msg = val.defname
149
+ this.header = msg
150
+ this.hidden()
151
+ } else {
152
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
153
+ return
154
+ }
155
+ })
156
+ }
157
+ },
158
+ 'selfsearch'() {
159
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
160
+ },
161
+ 'close'() {
162
+ this.hidden()
163
+ this.showtotal = false
164
+ this.topheight = '100%'
165
+ this.botheight = '0%'
166
+ this.$refs.queryuser.$refs.cp.pager = true
167
+ }
168
+ },
169
+ methods: {
170
+ hidden() {
171
+ this.showtotal = true
172
+ },
173
+ close() {
174
+ this.hidden()
175
+ this.topheight = '100%'
176
+ this.botheight = '0%'
177
+ }
178
+ },
179
+ watch: {
180
+ 'selectdata'(val) {
181
+ console.log('selectdata:', val)
182
+ },
183
+ 'selectdata.f_customer_type'() {
184
+ if (this.selectdata.f_customer_type == '企业') {
185
+ this.flagg = true
186
+ }
187
+ },
188
+ 'selectdata.f_apply_type'() {
189
+ if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
190
+ this.flagl = true
191
+ }
192
+ }
193
+ },
194
+
195
+ }
196
+ </script>