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