apply-clients 3.0.5-2 → 3.0.5-21
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 +5 -4
- package/src/App.vue +3 -2
- package/src/apply.js +2 -0
- package/src/components/product/Function/InstallFunction.vue +1 -1
- package/src/components/product/Function/InstallInfoSelect.vue +243 -221
- package/src/components/product/Process/ExplorationSelect.vue +62 -21
- package/src/components/product/Process/ExplorationUser.vue +200 -193
- package/src/components/product/Process/ProcessInfo/history_control.vue +139 -139
- package/src/components/product/Process/Processes/ApplyUpload.vue +287 -279
- package/src/components/product/Process/Processes/CustomerCostPlan.vue +214 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +73 -7
- package/src/components/product/ServiceView.vue +12 -1
- package/src/components/product/Supervisory/SupervisoryControl.vue +196 -190
- package/src/components/product/Supervisory/SupervisoryList.vue +361 -331
- package/dist.zip +0 -0
|
@@ -71,6 +71,9 @@
|
|
|
71
71
|
<button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(6)">
|
|
72
72
|
<span class="glyphicon glyphicon-plus" ></span>中压管线
|
|
73
73
|
</button>
|
|
74
|
+
<button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.addactive(7)">
|
|
75
|
+
<span class="glyphicon glyphicon-plus" ></span>企业报装
|
|
76
|
+
</button>
|
|
74
77
|
<button class="btn btn-primary btn-sm col-sm-1" type="button" @click="$parent.$parent.searchNow(),$parent.$parent.close()">
|
|
75
78
|
<span class="glyphicon glyphicon-search"></span>查询
|
|
76
79
|
</button>
|
|
@@ -87,6 +90,12 @@
|
|
|
87
90
|
<th>
|
|
88
91
|
<nobr>序号</nobr>
|
|
89
92
|
</th>
|
|
93
|
+
<th></th>
|
|
94
|
+
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>操作</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
|
|
90
99
|
<th>
|
|
91
100
|
<nobr>当前状态</nobr>
|
|
92
101
|
</th>
|
|
@@ -103,18 +112,17 @@
|
|
|
103
112
|
<th>
|
|
104
113
|
<nobr>电话</nobr>
|
|
105
114
|
</th>
|
|
106
|
-
<th>
|
|
115
|
+
<th style="width: 250px">
|
|
107
116
|
<nobr>地址</nobr>
|
|
108
117
|
</th>
|
|
109
118
|
<th>
|
|
110
119
|
<nobr>报建类型</nobr>
|
|
111
120
|
</th>
|
|
112
121
|
<th>
|
|
113
|
-
<nobr
|
|
122
|
+
<nobr>预约来源</nobr>
|
|
114
123
|
</th>
|
|
115
|
-
|
|
116
124
|
<th>
|
|
117
|
-
<nobr
|
|
125
|
+
<nobr>报建日期</nobr>
|
|
118
126
|
</th>
|
|
119
127
|
</tr>
|
|
120
128
|
</template>
|
|
@@ -123,6 +131,21 @@
|
|
|
123
131
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
124
132
|
<nobr><font>{{$index+1}}</font></nobr>
|
|
125
133
|
</td>
|
|
134
|
+
<td></td>
|
|
135
|
+
|
|
136
|
+
<td style="text-align: center;">
|
|
137
|
+
<dropdown v-if="row.defname != '完工'">
|
|
138
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
139
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
140
|
+
</button>
|
|
141
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
142
|
+
<li>
|
|
143
|
+
<a href="#" @click="$parent.$parent.$parent.check(row)">{{row.defname}}</a>
|
|
144
|
+
</li>
|
|
145
|
+
</ul>
|
|
146
|
+
</dropdown>
|
|
147
|
+
</td>
|
|
148
|
+
|
|
126
149
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
127
150
|
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
128
151
|
</td>
|
|
@@ -141,27 +164,18 @@
|
|
|
141
164
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
142
165
|
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
143
166
|
</td>
|
|
144
|
-
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="
|
|
145
|
-
<
|
|
167
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="width: 250px; white-space: normal;">
|
|
168
|
+
<font>{{row.f_address}}</font>
|
|
169
|
+
</td>
|
|
170
|
+
<td style="text-align: center;">
|
|
171
|
+
<nobr><font>{{$parent.$parent.$parent.getApplyType(row.f_user_type,row.f_apply_type)}}</font></nobr>
|
|
146
172
|
</td>
|
|
147
173
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
148
|
-
<nobr><font>{{row.
|
|
174
|
+
<nobr><font>{{row.f_order_source}}</font></nobr>
|
|
149
175
|
</td>
|
|
150
176
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
151
177
|
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
152
178
|
</td>
|
|
153
|
-
<td style="text-align: center;">
|
|
154
|
-
<dropdown v-if="row.defname != '完工'">
|
|
155
|
-
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
156
|
-
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
157
|
-
</button>
|
|
158
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
159
|
-
<li>
|
|
160
|
-
<a href="#" @click="$parent.$parent.$parent.check(row)">{{row.defname}}</a>
|
|
161
|
-
</li>
|
|
162
|
-
</ul>
|
|
163
|
-
</dropdown>
|
|
164
|
-
</td>
|
|
165
179
|
</tr>
|
|
166
180
|
</template>
|
|
167
181
|
</data-grid>
|
|
@@ -191,7 +205,8 @@
|
|
|
191
205
|
model: new PagedList('rs/sql/checkuser', 20, {
|
|
192
206
|
data: {
|
|
193
207
|
id: this.$login.f.id,
|
|
194
|
-
fengongsi: this.$login.f.f_fengongsi
|
|
208
|
+
fengongsi: this.$login.f.f_fengongsi,
|
|
209
|
+
f_filialeid: this.$login.f.f_orgids
|
|
195
210
|
}
|
|
196
211
|
}),
|
|
197
212
|
condition: '',
|
|
@@ -225,6 +240,19 @@
|
|
|
225
240
|
console.log("--------------ready结束---------------")
|
|
226
241
|
},
|
|
227
242
|
methods: {
|
|
243
|
+
getApplyType(userType,applyType){
|
|
244
|
+
if(userType=='民用'&&applyType=='民用报建'){
|
|
245
|
+
return '个人报建'
|
|
246
|
+
}else if(userType=='民用'&&applyType=='微信对接'){
|
|
247
|
+
return '个人报建'
|
|
248
|
+
}else if(userType=='非民用'&&applyType=='微信对接'){
|
|
249
|
+
return '企业报建'
|
|
250
|
+
}else if(userType=='非民用'&&applyType=='企业报建'){
|
|
251
|
+
return '企业报建'
|
|
252
|
+
}else{
|
|
253
|
+
return applyType
|
|
254
|
+
}
|
|
255
|
+
},
|
|
228
256
|
generateUUID() {
|
|
229
257
|
console.log("--------------进入generateUUID---------------")
|
|
230
258
|
var d = new Date().getTime()
|
|
@@ -246,7 +274,7 @@
|
|
|
246
274
|
let http = new HttpResetClass()
|
|
247
275
|
console.log("--------------开始加载load---------------")
|
|
248
276
|
let data = {
|
|
249
|
-
data:
|
|
277
|
+
data:{...this.$login.f,parent:{},functions:[]},
|
|
250
278
|
workname: this.urlname
|
|
251
279
|
}
|
|
252
280
|
console.log("获取流程信息:" + JSON.stringify(data))
|
|
@@ -276,6 +304,7 @@
|
|
|
276
304
|
this.urlname = "散户报建流程"
|
|
277
305
|
this.xmlname = "散户报建流程"
|
|
278
306
|
this.f_apply_type = '散户报建'
|
|
307
|
+
this.startname = '客户申请'
|
|
279
308
|
console.log("获取部门:" + this.$login.f.f_parentname)
|
|
280
309
|
// if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
|
|
281
310
|
// this.$showMessage("只能由客户服务部和市场部发起报建申请")
|
|
@@ -288,6 +317,7 @@
|
|
|
288
317
|
this.urlname = "民用报建流程"
|
|
289
318
|
this.xmlname = "民用报建流程"
|
|
290
319
|
this.f_apply_type = '民用报建'
|
|
320
|
+
this.startname = '客户申请'
|
|
291
321
|
// if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
|
|
292
322
|
// this.$showMessage("只能由客户服务部和市场部发起报建申请")
|
|
293
323
|
// return
|
|
@@ -308,6 +338,7 @@
|
|
|
308
338
|
if (modify == '4') {
|
|
309
339
|
this.f_apply_type = '商业报建'
|
|
310
340
|
}
|
|
341
|
+
this.startname = '客户申请'
|
|
311
342
|
this.loadName()
|
|
312
343
|
}
|
|
313
344
|
if (modify == '5'){
|
|
@@ -315,6 +346,7 @@
|
|
|
315
346
|
this.urlname = "管道移改报建流程"
|
|
316
347
|
this.xmlname = "管道移改报建流程"
|
|
317
348
|
this.f_apply_type = '管道移改'
|
|
349
|
+
this.startname = '客户申请'
|
|
318
350
|
// if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
|
|
319
351
|
// this.$showMessage("只能由客户服务部和市场部发起报建申请")
|
|
320
352
|
// return
|
|
@@ -326,6 +358,15 @@
|
|
|
326
358
|
this.urlname = "中压管线报建流程"
|
|
327
359
|
this.xmlname = "中压管线报建流程"
|
|
328
360
|
this.f_apply_type = '中压管线'
|
|
361
|
+
this.startname = '申请部门'
|
|
362
|
+
this.loadName()
|
|
363
|
+
}
|
|
364
|
+
if (modify == '7'){
|
|
365
|
+
console.log("进企业报建--------------")
|
|
366
|
+
this.urlname = "企业报建流程"
|
|
367
|
+
this.xmlname = "企业报建流程"
|
|
368
|
+
this.f_apply_type = '企业报建'
|
|
369
|
+
this.startname = '客户申请'
|
|
329
370
|
// if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
|
|
330
371
|
// this.$showMessage("只能由客户服务部和市场部发起报建申请")
|
|
331
372
|
// return
|
|
@@ -1,193 +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:
|
|
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 === '中压管线') {
|
|
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 {
|
|
128
|
-
this.xmlname =
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
this
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
153
|
-
this
|
|
154
|
-
|
|
155
|
-
this.$
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
this.
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
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>
|