apply-clients 3.0.7-149 → 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/App.vue +20 -20
- package/src/components/product/Process/ExplorationSelect.vue +38 -1
- package/src/components/product/Process/ExplorationUser.vue +158 -182
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2200 -2162
- package/src/components/product/ServiceView.vue +953 -946
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +281 -281
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<app-base class="bg">
|
|
4
|
-
<div class='flex'>
|
|
5
|
-
<article>
|
|
6
|
-
<route :comp="{name: 'login'}"></route>
|
|
7
|
-
</article>
|
|
8
|
-
</div>
|
|
9
|
-
</app-base>
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export default {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<app-base class="bg">
|
|
4
|
+
<div class='flex'>
|
|
5
|
+
<article>
|
|
6
|
+
<route :comp="{name: 'login'}"></route>
|
|
7
|
+
</article>
|
|
8
|
+
</div>
|
|
9
|
+
</app-base>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
</script>
|
|
@@ -97,6 +97,11 @@
|
|
|
97
97
|
<button class="btn btn-primary btn-sm col-sm-1" style="margin-right: 20px" type="button" @click="$parent.$parent.addactive(6)">
|
|
98
98
|
<span class="glyphicon glyphicon-plus" ></span>市政工程报装申请
|
|
99
99
|
</button>
|
|
100
|
+
<a type="button" class="btn btn-primary btn-sm col-sm-1"
|
|
101
|
+
href="applyinstall/excel/民现户报装模板.xlsx" style="margin-right: 20px" download>模板下载</a>
|
|
102
|
+
<button class="btn btn-primary btn-sm col-sm-1" style="margin-right: 20px" type="button"
|
|
103
|
+
@click="$parent.$parent.showFile = !$parent.$parent.showFile">批量民现户导入</button>
|
|
104
|
+
|
|
100
105
|
<button class="btn btn-primary btn-sm col-sm-1" style="margin-right: 20px" type="button" @click="$parent.$parent.searchNow(),$parent.$parent.close()">
|
|
101
106
|
<span class="glyphicon glyphicon-search"></span>查询
|
|
102
107
|
</button>
|
|
@@ -212,6 +217,18 @@
|
|
|
212
217
|
</template>
|
|
213
218
|
</data-grid>
|
|
214
219
|
</criteria-paged>
|
|
220
|
+
<modal v-if="showFile" :show.sync="showFile" v-ref:modal :backdrop="false" title="选择文件">
|
|
221
|
+
<header slot="modal-header" class="modal-header">
|
|
222
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
223
|
+
<h4 class="modal-title">选择文件</h4>
|
|
224
|
+
</header>
|
|
225
|
+
<article slot="modal-body" class="modal-body">
|
|
226
|
+
<div class="form-group">
|
|
227
|
+
<file-upload class="my-file-uploader" action="rs/file/uploadFile" tagname="确定" v-ref:file></file-upload>
|
|
228
|
+
</div>
|
|
229
|
+
</article>
|
|
230
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
231
|
+
</modal>
|
|
215
232
|
</div>
|
|
216
233
|
</div>
|
|
217
234
|
</template>
|
|
@@ -256,6 +273,7 @@
|
|
|
256
273
|
}
|
|
257
274
|
}),
|
|
258
275
|
condition: '',
|
|
276
|
+
showFile: false,
|
|
259
277
|
select: '',
|
|
260
278
|
urlname: '',
|
|
261
279
|
workflow_name:['',''],
|
|
@@ -294,7 +312,6 @@
|
|
|
294
312
|
},
|
|
295
313
|
methods: {
|
|
296
314
|
selfSearch (args) {
|
|
297
|
-
debugger
|
|
298
315
|
let f_apply_department = this.$login.f.f_department_name
|
|
299
316
|
if(f_apply_department === '成山供气部'){
|
|
300
317
|
args.condition = `${args.condition} and (u.f_apply_department = '成山供气部' OR u.f_apply_department is null)`
|
|
@@ -317,6 +334,12 @@
|
|
|
317
334
|
|
|
318
335
|
this.model.search(args.condition, args.model)
|
|
319
336
|
},
|
|
337
|
+
closeFile () {
|
|
338
|
+
this.showFile = false
|
|
339
|
+
// 将选的文件清空
|
|
340
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
341
|
+
this.search()
|
|
342
|
+
},
|
|
320
343
|
generateUUID() {
|
|
321
344
|
console.log("--------------进入generateUUID---------------")
|
|
322
345
|
var d = new Date().getTime()
|
|
@@ -454,6 +477,9 @@
|
|
|
454
477
|
,
|
|
455
478
|
check(val) {
|
|
456
479
|
console.log("--------------进入check---------------")
|
|
480
|
+
new HttpResetClass().load('POST','rs/log/html',
|
|
481
|
+
`列表点击数据:${JSON.stringify(val)}`
|
|
482
|
+
, {resolveMsg: null, rejectMsg: null})
|
|
457
483
|
this.$dispatch('check', val)
|
|
458
484
|
this.$dispatch('addactive',val)
|
|
459
485
|
}
|
|
@@ -608,6 +634,17 @@
|
|
|
608
634
|
selected() {
|
|
609
635
|
return this.$refs.cp.$refs.grid.selected
|
|
610
636
|
}
|
|
637
|
+
},
|
|
638
|
+
events: {
|
|
639
|
+
async 'onFileUpload'(file, result) {
|
|
640
|
+
let data = {
|
|
641
|
+
filepath: result.f_downloadpath,
|
|
642
|
+
user: this.$login.f
|
|
643
|
+
}
|
|
644
|
+
let res = await this.$resetpost(`rs/logic/importApply`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败!!!', silent: true}, 0)
|
|
645
|
+
|
|
646
|
+
this.closeFile()
|
|
647
|
+
}
|
|
611
648
|
}
|
|
612
649
|
}
|
|
613
650
|
</script>
|
|
@@ -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>
|