apply-clients 3.0.7-151 → 3.0.7-152
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.
- package/package.json +1 -1
- package/src/components/product/Process/ExplorationSelect.vue +3 -1
- package/src/components/product/Process/ExplorationUser.vue +158 -182
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2200 -2193
- package/src/components/product/ServiceView.vue +953 -956
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +281 -281
package/package.json
CHANGED
|
@@ -312,7 +312,6 @@
|
|
|
312
312
|
},
|
|
313
313
|
methods: {
|
|
314
314
|
selfSearch (args) {
|
|
315
|
-
debugger
|
|
316
315
|
let f_apply_department = this.$login.f.f_department_name
|
|
317
316
|
if(f_apply_department === '成山供气部'){
|
|
318
317
|
args.condition = `${args.condition} and (u.f_apply_department = '成山供气部' OR u.f_apply_department is null)`
|
|
@@ -478,6 +477,9 @@
|
|
|
478
477
|
,
|
|
479
478
|
check(val) {
|
|
480
479
|
console.log("--------------进入check---------------")
|
|
480
|
+
new HttpResetClass().load('POST','rs/log/html',
|
|
481
|
+
`列表点击数据:${JSON.stringify(val)}`
|
|
482
|
+
, {resolveMsg: null, rejectMsg: null})
|
|
481
483
|
this.$dispatch('check', val)
|
|
482
484
|
this.$dispatch('addactive',val)
|
|
483
485
|
}
|
|
@@ -1,182 +1,158 @@
|
|
|
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 ,'position': 'relative', 'top': '110px', 'background-color' : '#f6f6f6' ,padding:'12px'}">
|
|
8
|
-
<div class="col-sm-10">
|
|
9
|
-
<tabset v-ref:tabs :close="false">
|
|
10
|
-
<tab :header='header' style="background-color :#f6f6f6;overflow: auto;">
|
|
11
|
-
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
12
|
-
</tab>
|
|
13
|
-
<tab header='附件'>
|
|
14
|
-
<apply-upload v-ref:file
|
|
15
|
-
:blodid="selectdata.f_process_id"
|
|
16
|
-
:isupload = "true"
|
|
17
|
-
:isdelete="true"
|
|
18
|
-
:isusetype="true"
|
|
19
|
-
:isremark = "true"
|
|
20
|
-
:takeimg="false"
|
|
21
|
-
:issearch="true"
|
|
22
|
-
:defname="selectdata.defname">
|
|
23
|
-
</apply-upload>
|
|
24
|
-
</tab>
|
|
25
|
-
</tabset>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="col-sm-2" style="overflow:auto;" v-show="showbasic" >
|
|
28
|
-
<history_control v-ref:binfo :selectdata="selectdata" ></history_control>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
<script>
|
|
34
|
-
import Vue from 'vue'
|
|
35
|
-
import {HttpResetClass} from 'vue-client'
|
|
36
|
-
export default {
|
|
37
|
-
title: '报建流程',
|
|
38
|
-
data() {
|
|
39
|
-
return {
|
|
40
|
-
flagg: false,
|
|
41
|
-
show: true,
|
|
42
|
-
showbasic: false,
|
|
43
|
-
showtotal: false,
|
|
44
|
-
header: null,
|
|
45
|
-
selectdata: {},
|
|
46
|
-
botheight: '0%',
|
|
47
|
-
topheight: '100%',
|
|
48
|
-
tittle1: '户档案管理',
|
|
49
|
-
tittle2: '表档案管理',
|
|
50
|
-
tittle3: '设备管理',
|
|
51
|
-
xmlname: ''
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
created(){
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
this
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
this
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
methods: {
|
|
162
|
-
hidden() {
|
|
163
|
-
this.showtotal = true
|
|
164
|
-
},
|
|
165
|
-
close() {
|
|
166
|
-
this.hidden()
|
|
167
|
-
this.topheight = '100%'
|
|
168
|
-
this.botheight = '0%'
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
watch: {
|
|
172
|
-
'selectdata'(val) {
|
|
173
|
-
console.log('selectdata:', val)
|
|
174
|
-
},
|
|
175
|
-
'selectdata.f_customer_type'() {
|
|
176
|
-
if (this.selectdata.f_customer_type == '企业') {
|
|
177
|
-
this.flagg = true
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
</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 ,'position': 'relative', 'top': '110px', 'background-color' : '#f6f6f6' ,padding:'12px'}">
|
|
8
|
+
<div class="col-sm-10">
|
|
9
|
+
<tabset v-ref:tabs :close="false">
|
|
10
|
+
<tab :header='header' style="background-color :#f6f6f6;overflow: auto;">
|
|
11
|
+
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
12
|
+
</tab>
|
|
13
|
+
<tab header='附件'>
|
|
14
|
+
<apply-upload v-ref:file
|
|
15
|
+
:blodid="selectdata.f_process_id"
|
|
16
|
+
:isupload = "true"
|
|
17
|
+
:isdelete="true"
|
|
18
|
+
:isusetype="true"
|
|
19
|
+
:isremark = "true"
|
|
20
|
+
:takeimg="false"
|
|
21
|
+
:issearch="true"
|
|
22
|
+
:defname="selectdata.defname">
|
|
23
|
+
</apply-upload>
|
|
24
|
+
</tab>
|
|
25
|
+
</tabset>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2" style="overflow:auto;" v-show="showbasic" >
|
|
28
|
+
<history_control v-ref:binfo :selectdata="selectdata" ></history_control>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
<script>
|
|
34
|
+
import Vue from 'vue'
|
|
35
|
+
import {HttpResetClass} from 'vue-client'
|
|
36
|
+
export default {
|
|
37
|
+
title: '报建流程',
|
|
38
|
+
data() {
|
|
39
|
+
return {
|
|
40
|
+
flagg: false,
|
|
41
|
+
show: true,
|
|
42
|
+
showbasic: false,
|
|
43
|
+
showtotal: false,
|
|
44
|
+
header: null,
|
|
45
|
+
selectdata: {},
|
|
46
|
+
botheight: '0%',
|
|
47
|
+
topheight: '100%',
|
|
48
|
+
tittle1: '户档案管理',
|
|
49
|
+
tittle2: '表档案管理',
|
|
50
|
+
tittle3: '设备管理',
|
|
51
|
+
xmlname: ''
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
created(){
|
|
55
|
+
},
|
|
56
|
+
events: {
|
|
57
|
+
'onMessage' (data) {
|
|
58
|
+
console.log('接收消息')
|
|
59
|
+
console.log(data)
|
|
60
|
+
if (data.type === 'apply-task') {
|
|
61
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
62
|
+
this.$refs.file.load()
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
'addactive' () {
|
|
66
|
+
//this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
67
|
+
this.hidden()
|
|
68
|
+
this.showbasic = true
|
|
69
|
+
this.topheight = '8%'
|
|
70
|
+
this.botheight = '88.9%'
|
|
71
|
+
},
|
|
72
|
+
'changeheight'() {
|
|
73
|
+
this.show = true
|
|
74
|
+
this.botheight = '0%'
|
|
75
|
+
},
|
|
76
|
+
'check' (val) {
|
|
77
|
+
this.selectdata = null
|
|
78
|
+
this.selectdata = val
|
|
79
|
+
if (this.selectdata.f_apply_type === '工业户' || this.selectdata.f_apply_type === '商业户') {
|
|
80
|
+
this.xmlname = '工商户报建流程'
|
|
81
|
+
} else if (this.selectdata.f_apply_type === '民建户') {
|
|
82
|
+
this.xmlname = '民建户报建流程'
|
|
83
|
+
} else if (this.selectdata.f_apply_type === '民现户') {
|
|
84
|
+
this.xmlname = '民现户报建流程'
|
|
85
|
+
} else if (this.selectdata.f_apply_type === '改造工程') {
|
|
86
|
+
this.xmlname = '改造报建流程'
|
|
87
|
+
} else if (this.selectdata.f_apply_type === '市政工程') {
|
|
88
|
+
this.xmlname = '市政报建流程'
|
|
89
|
+
} else {
|
|
90
|
+
this.xmlname = this.selectdata.type + '报建流程'
|
|
91
|
+
}
|
|
92
|
+
let xmldata = {
|
|
93
|
+
data: this.$login.f,
|
|
94
|
+
workname: this.xmlname
|
|
95
|
+
}
|
|
96
|
+
let http = new HttpResetClass()
|
|
97
|
+
http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
98
|
+
).then((res) => {
|
|
99
|
+
if (res.data.code && res.data.code === 200) {
|
|
100
|
+
Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
101
|
+
if (res.data.msg) {
|
|
102
|
+
console.log('获取配置文件信息:', res.data.msg)
|
|
103
|
+
}
|
|
104
|
+
this.topheight = '8%'
|
|
105
|
+
this.botheight = '88.9%'
|
|
106
|
+
// this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
107
|
+
this.$refs.queryuser.$refs.cp.pager = false
|
|
108
|
+
this.showbasic = true
|
|
109
|
+
this.header = val.defname
|
|
110
|
+
this.hidden()
|
|
111
|
+
this.$refs.service.refurbish(val)
|
|
112
|
+
} else {
|
|
113
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
114
|
+
return
|
|
115
|
+
}
|
|
116
|
+
})
|
|
117
|
+
},
|
|
118
|
+
'selfsearch'() {
|
|
119
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
120
|
+
},
|
|
121
|
+
'close'() {
|
|
122
|
+
this.showtotal = false
|
|
123
|
+
this.topheight = '100%'
|
|
124
|
+
this.botheight = '0%'
|
|
125
|
+
this.$refs.queryuser.$refs.cp.pager = true
|
|
126
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
127
|
+
},
|
|
128
|
+
'cancelmain'() {
|
|
129
|
+
this.showtotal = false
|
|
130
|
+
this.topheight = '100%'
|
|
131
|
+
this.botheight = '0%'
|
|
132
|
+
/* this.$refs.queryuser.$refs.cp.loadPage()*/
|
|
133
|
+
this.$refs.queryuser.$refs.cp.pager = true
|
|
134
|
+
this.$refs.queryuser.model.loadPage(this.$refs.queryuser.model.pageIndex)
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
methods: {
|
|
138
|
+
hidden() {
|
|
139
|
+
this.showtotal = true
|
|
140
|
+
},
|
|
141
|
+
close() {
|
|
142
|
+
this.hidden()
|
|
143
|
+
this.topheight = '100%'
|
|
144
|
+
this.botheight = '0%'
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
watch: {
|
|
148
|
+
'selectdata'(val) {
|
|
149
|
+
console.log('selectdata:', val)
|
|
150
|
+
},
|
|
151
|
+
'selectdata.f_customer_type'() {
|
|
152
|
+
if (this.selectdata.f_customer_type == '企业') {
|
|
153
|
+
this.flagg = true
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
</script>
|