apply-clients 5.0.35-48 → 5.0.35-50
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/apply.js +164 -160
- package/src/components/app_apply/ApplyToDoList.vue +2822 -2822
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +7 -9
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +1 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +5 -6
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -0
- package/src/components/product/Function/InstallInfoSelect.vue +255 -254
- package/src/components/product/Process/ExplorationSelect.vue +640 -641
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +135 -5
- package/src/components/product/ServiceView.vue +0 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +350 -349
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -280
- package/src/ezhouAndroid.js +48 -46
- package/src/main.js +32 -32
- package/yarn-error.log +0 -9175
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<button type="button" class="btn btn-primary item_btn" @click="showUpload = !showUpload">本地上传</button>
|
|
18
18
|
</div>
|
|
19
19
|
<div class="form-group col-sm-2" style="text-align: center" v-if="takeimg">
|
|
20
|
-
<button type="button" class="btn btn-primary item_btn" @click="upload()"
|
|
20
|
+
<button type="button" class="btn btn-primary item_btn" @click="upload()">高拍仪</button>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
23
|
<hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;"/>
|
|
@@ -52,14 +52,12 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
55
|
-
<
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
v-ref:ltgao
|
|
62
|
-
></apply-high-meter>
|
|
55
|
+
<high-meter :show.sync="showhighmeter"
|
|
56
|
+
@photo-finish="newPhoto"
|
|
57
|
+
v-if="showhighmeter"
|
|
58
|
+
:isusetype="isusetype"
|
|
59
|
+
:isremark="isremark"
|
|
60
|
+
v-ref:ltgao></high-meter>
|
|
63
61
|
<modal :show.sync="showUpload" v-ref:modal backdrop="false">
|
|
64
62
|
<header slot="modal-header" class="modal-header">
|
|
65
63
|
<button type="button" class="close" @click="close"><span class="glyphicon glyphicon-remove"></span></button>
|
|
@@ -247,7 +247,8 @@ export default {
|
|
|
247
247
|
model: new PagedList('rs/sql/checkuser', 20, {
|
|
248
248
|
data: {
|
|
249
249
|
id: this.$login.f.id,
|
|
250
|
-
fengongsi: this.$login.f.f_fengongsi
|
|
250
|
+
fengongsi: this.$login.f.f_fengongsi,
|
|
251
|
+
f_product_id : 1
|
|
251
252
|
}
|
|
252
253
|
}),
|
|
253
254
|
fapplytype: this.$appdata.getParam('用户类型'),
|
|
@@ -255,7 +256,7 @@ export default {
|
|
|
255
256
|
department: this.$appdata.getParam('受理部门'),
|
|
256
257
|
derection: this.$appdata.getParam('方向'),
|
|
257
258
|
containt: this.$appdata.getParam('工作内容'),
|
|
258
|
-
condition:
|
|
259
|
+
condition:'',
|
|
259
260
|
select: '',
|
|
260
261
|
alloptions:[],
|
|
261
262
|
button_name:"查询",
|
|
@@ -361,7 +362,8 @@ export default {
|
|
|
361
362
|
f_process_id: res.data.f_process_id,
|
|
362
363
|
f_apply_date: Util.toStandardTimeString(),
|
|
363
364
|
f_apply_num: this.generateUUID(),
|
|
364
|
-
f_apply_operator_telephone: this.$login.f.f_fgsdianhua
|
|
365
|
+
f_apply_operator_telephone: this.$login.f.f_fgsdianhua,
|
|
366
|
+
f_product_id: res.data.f_product_id
|
|
365
367
|
}
|
|
366
368
|
// // 如果是改装,将modify装入val
|
|
367
369
|
// if(modify){
|
|
@@ -489,7 +491,6 @@ export default {
|
|
|
489
491
|
},
|
|
490
492
|
|
|
491
493
|
eachFind() {
|
|
492
|
-
debugger
|
|
493
494
|
let arr = this.$refs.cp.$refs.grid.model.rows
|
|
494
495
|
let overNumString1=''
|
|
495
496
|
let flagNum1=1
|
|
@@ -518,9 +519,7 @@ export default {
|
|
|
518
519
|
}
|
|
519
520
|
}
|
|
520
521
|
}
|
|
521
|
-
debugger
|
|
522
522
|
if(hourfals!=0){
|
|
523
|
-
debugger
|
|
524
523
|
this.speckText('请注意:第:'+overNumString1+'数据一小时后过期')
|
|
525
524
|
this.$showMessage("请注意:第:" + overNumString1 + "数据一小时后过期")
|
|
526
525
|
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="d1 flex">
|
|
3
|
+
<div class="left col-sm-12">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
|
|
6
|
+
<form novalidate class="" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-sm-2">
|
|
9
|
+
<label class="col-sm-4 control-label ">联系人</label>
|
|
10
|
+
<div class="col-sm-8">
|
|
11
|
+
<input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
|
|
12
|
+
condition="u.f_user_name like '{}%'" placeholder="联系人">
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2">
|
|
16
|
+
<label class="col-sm-4 control-label ">项目名称</label>
|
|
17
|
+
<div class="col-sm-8">
|
|
18
|
+
<input type="text" class="form-control" v-model="model.f_entry_name" v-on:keyup.enter="search"
|
|
19
|
+
condition="u.f_entry_name like '{}%'" placeholder="项目名称">
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-sm-2">
|
|
23
|
+
<label class="col-sm-4 control-label ">报建编号</label>
|
|
24
|
+
<div class="col-sm-8">
|
|
25
|
+
<input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
|
|
26
|
+
condition="u.f_apply_num like '{}%'" placeholder="报建编号">
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="col-sm-2">
|
|
31
|
+
<label class="col-sm-4 control-label ">小区</label>
|
|
32
|
+
<div class="col-sm-8">
|
|
33
|
+
<input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"
|
|
34
|
+
condition="f_residential_area like '{}%'" placeholder="小区">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-sm-2 ">
|
|
38
|
+
<label class="col-sm-4 control-label ">开始日期</label>
|
|
39
|
+
<div class="col-sm-8">
|
|
40
|
+
<datepicker @change="$dispatch('setQueryCondition',model)" id="startDate" placeholder="开始日期"
|
|
41
|
+
style="display: block"
|
|
42
|
+
v-model="model.startDate"
|
|
43
|
+
:value.sync="model.startDate"
|
|
44
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
45
|
+
:show-reset-button="true"
|
|
46
|
+
condition="u.f_apply_date >= '{}'">
|
|
47
|
+
</datepicker>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="row" style="margin-top:5px;">
|
|
52
|
+
<div class="col-sm-2">
|
|
53
|
+
<label class="col-sm-4 control-label ">终止日期</label>
|
|
54
|
+
<div class="col-sm-8">
|
|
55
|
+
<datepicker @change="$dispatch('setQueryCondition',model)" id="endDate" placeholder="终止日期"
|
|
56
|
+
style="display: block"
|
|
57
|
+
v-model="model.endDate"
|
|
58
|
+
:value.sync="model.endDate"
|
|
59
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
60
|
+
:show-reset-button="true"
|
|
61
|
+
condition="u.f_apply_date <= '{}'">
|
|
62
|
+
</datepicker>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div class="col-sm-2">
|
|
67
|
+
<label class="col-sm-4 control-label ">用户类型</label>
|
|
68
|
+
<div class="col-sm-8">
|
|
69
|
+
<v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}'"
|
|
70
|
+
:width="100" style="width:100%"
|
|
71
|
+
v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>
|
|
72
|
+
</v-select>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="col-sm-2">
|
|
77
|
+
<label class="col-sm-4 control-label ">报建类型</label>
|
|
78
|
+
<div class="col-sm-8">
|
|
79
|
+
<v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '{}%'"
|
|
80
|
+
:width="100"
|
|
81
|
+
v-model="model.f_apply_type" :value.sync="model.f_apply_type" style="width: 100%" close-on-select>
|
|
82
|
+
</v-select>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="col-sm-4">
|
|
86
|
+
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()" style="margin-left:10%">
|
|
87
|
+
<span class="glyphicon glyphicon-search"></span>查询</button>
|
|
88
|
+
<button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.clear()">清空</button>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
</form>
|
|
93
|
+
</criteria>
|
|
94
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false'>
|
|
95
|
+
<template partial='head'>
|
|
96
|
+
<tr class="title">
|
|
97
|
+
<th>
|
|
98
|
+
<nobr>序号</nobr>
|
|
99
|
+
</th>
|
|
100
|
+
<th>
|
|
101
|
+
<nobr>项目名称</nobr>
|
|
102
|
+
</th>
|
|
103
|
+
<th>
|
|
104
|
+
<nobr>终止流程</nobr>
|
|
105
|
+
</th>
|
|
106
|
+
<th>
|
|
107
|
+
<nobr>报建编号</nobr>
|
|
108
|
+
</th>
|
|
109
|
+
<th>
|
|
110
|
+
<nobr>联系人</nobr>
|
|
111
|
+
</th>
|
|
112
|
+
<th>
|
|
113
|
+
<nobr>小区</nobr>
|
|
114
|
+
</th>
|
|
115
|
+
<th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
116
|
+
<nobr>用户类型</nobr>
|
|
117
|
+
</th>
|
|
118
|
+
<th>
|
|
119
|
+
<nobr>报建类型</nobr>
|
|
120
|
+
</th>
|
|
121
|
+
<th>
|
|
122
|
+
<nobr>报建日期</nobr>
|
|
123
|
+
</th>
|
|
124
|
+
<th>
|
|
125
|
+
<nobr>终止日期</nobr>
|
|
126
|
+
</th>
|
|
127
|
+
<th>
|
|
128
|
+
<nobr>项目状态</nobr>
|
|
129
|
+
</th>
|
|
130
|
+
<th>
|
|
131
|
+
<nobr>终止人</nobr>
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
<nobr>终止原因</nobr>
|
|
135
|
+
</th>
|
|
136
|
+
</tr>
|
|
137
|
+
</template>
|
|
138
|
+
<template partial='body'>
|
|
139
|
+
<tr>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr>{{$index+1}}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr>{{row.f_entry_name}}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
<td style="text-align: center;">
|
|
150
|
+
<nobr>{{row.defname}}</nobr>
|
|
151
|
+
</td>
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
154
|
+
</td>
|
|
155
|
+
|
|
156
|
+
<td style="text-align: center;">
|
|
157
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
158
|
+
</td>
|
|
159
|
+
<td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
160
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
161
|
+
</td>
|
|
162
|
+
<td style="text-align: center;">
|
|
163
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
164
|
+
</td>
|
|
165
|
+
<td style="text-align: center;">
|
|
166
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
167
|
+
</td>
|
|
168
|
+
<td style="text-align: center;">
|
|
169
|
+
<nobr>{{row.f_date}}</nobr>
|
|
170
|
+
</td>
|
|
171
|
+
<td style="text-align: center;">
|
|
172
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
173
|
+
</td>
|
|
174
|
+
<td style="text-align: center;">
|
|
175
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
176
|
+
</td>
|
|
177
|
+
<td style="text-align: center;">
|
|
178
|
+
<nobr><button @click="$parent.$parent.$parent.stopinfoshow($index)">查看终止原因</button></nobr>
|
|
179
|
+
</td>
|
|
180
|
+
|
|
181
|
+
</tr>
|
|
182
|
+
</template>
|
|
183
|
+
</data-grid>
|
|
184
|
+
</criteria-paged>
|
|
185
|
+
</div>
|
|
186
|
+
<modal :show.sync="showstopinfoflag" v-ref:modal backdrop="false">
|
|
187
|
+
<header slot="modal-header" class="modal-header">
|
|
188
|
+
<button type="button" class="close" @click="closestopinfo"><span>×</span></button>
|
|
189
|
+
<h4 class="modal-title">终止原因</h4>
|
|
190
|
+
</header>
|
|
191
|
+
<article slot="modal-body" class="modal-body">
|
|
192
|
+
<p >{{stopremarks}}</p>
|
|
193
|
+
</article>
|
|
194
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
195
|
+
</footer>
|
|
196
|
+
</modal>
|
|
197
|
+
</div>
|
|
198
|
+
</template>
|
|
199
|
+
<script>
|
|
200
|
+
Date.prototype.Format = function (fmt) {
|
|
201
|
+
var o = {
|
|
202
|
+
"M+": this.getMonth() + 1, //月份
|
|
203
|
+
"d+": this.getDate(), //日
|
|
204
|
+
"H+": this.getHours(), //小时
|
|
205
|
+
"m+": this.getMinutes(), //分
|
|
206
|
+
"s+": this.getSeconds(), //秒
|
|
207
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
208
|
+
"S": this.getMilliseconds() //毫秒
|
|
209
|
+
};
|
|
210
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
211
|
+
for (var k in o)
|
|
212
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
213
|
+
return fmt;
|
|
214
|
+
}
|
|
215
|
+
import {
|
|
216
|
+
PagedList
|
|
217
|
+
} from 'vue-client'
|
|
218
|
+
import * as Util from '../../Util'
|
|
219
|
+
|
|
220
|
+
export default {
|
|
221
|
+
title: '报建终止查询',
|
|
222
|
+
data() {
|
|
223
|
+
return {
|
|
224
|
+
usertype: this.$appdata.getParam('用户类型'),
|
|
225
|
+
defnameType: this.$appdata.getParam('流程状态'),
|
|
226
|
+
applytype: this.$appdata.getParam('报建类型'),
|
|
227
|
+
//中燃 专用
|
|
228
|
+
fapplytype: this.$appdata.getParam('用户类型'),
|
|
229
|
+
showbtn: false,
|
|
230
|
+
model: new PagedList('rs/sql/checkproduceStop', 20, {
|
|
231
|
+
data: {
|
|
232
|
+
id: this.$login.f.id,
|
|
233
|
+
fengongsi: this.$login.f.f_fengongsi,
|
|
234
|
+
f_product_id: 1
|
|
235
|
+
}
|
|
236
|
+
}),
|
|
237
|
+
condition: '',
|
|
238
|
+
showstopinfoflag:false,
|
|
239
|
+
stopremarks:""
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
ready() {
|
|
243
|
+
this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
|
|
244
|
+
this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
245
|
+
this.$refs.cp.$refs.cri.search()
|
|
246
|
+
},
|
|
247
|
+
methods: {
|
|
248
|
+
clear(){
|
|
249
|
+
this.$refs.cp.$refs.cri.model = {}
|
|
250
|
+
},
|
|
251
|
+
stopinfoshow(index){
|
|
252
|
+
this.showstopinfoflag = true;
|
|
253
|
+
let remakrs = this.model.rows[index].f_stop_remarks;
|
|
254
|
+
console.log(JSON.stringify(remakrs))
|
|
255
|
+
console.log(remakrs)
|
|
256
|
+
|
|
257
|
+
this.stopremarks= remakrs;
|
|
258
|
+
},
|
|
259
|
+
clifun(row) {
|
|
260
|
+
this.$refs.cp.$refs.grid.model.rows = [row]
|
|
261
|
+
this.$refs.cp.pager = false
|
|
262
|
+
this.$dispatch('showbtn', row)
|
|
263
|
+
},
|
|
264
|
+
showpager() {
|
|
265
|
+
this.$refs.cp.pager = true
|
|
266
|
+
this.$dispatch('hiddenbtn')
|
|
267
|
+
},
|
|
268
|
+
closestopinfo(){
|
|
269
|
+
this.showstopinfoflag = close;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
</script>
|
|
274
|
+
<style scoped>
|
|
275
|
+
label {
|
|
276
|
+
display: flex;
|
|
277
|
+
justify-content:center;
|
|
278
|
+
align-items:Center;
|
|
279
|
+
padding-top: 8px;
|
|
280
|
+
}
|
|
281
|
+
</style>
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="overflow:auto;">
|
|
3
|
+
<div class="tops" v-bind:style="{ height: topheight }">
|
|
4
|
+
<engineer-list v-ref:queryuser></engineer-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
|
+
<engineer-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></engineer-upload>
|
|
20
|
+
<!--
|
|
21
|
+
<upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="true"
|
|
22
|
+
:isupload = "true"
|
|
23
|
+
:takeimg = "true"
|
|
24
|
+
:edit = "false">
|
|
25
|
+
</upload>-->
|
|
26
|
+
</tab>
|
|
27
|
+
</tabset>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</template>
|
|
32
|
+
<script>
|
|
33
|
+
import Vue from 'vue'
|
|
34
|
+
import {HttpResetClass} from 'vue-client'
|
|
35
|
+
export default {
|
|
36
|
+
title: '流程监控',
|
|
37
|
+
props: [ 'defname'],
|
|
38
|
+
data() {
|
|
39
|
+
return {
|
|
40
|
+
flagl:false,
|
|
41
|
+
flagg: false,
|
|
42
|
+
showbasic: false,
|
|
43
|
+
showtotal: false,
|
|
44
|
+
header: null,
|
|
45
|
+
selectdata: {},
|
|
46
|
+
botheight: '0%',
|
|
47
|
+
topheight: '100%',
|
|
48
|
+
tittle1:'户档案管理',
|
|
49
|
+
tittle2:'表档案管理',
|
|
50
|
+
tittle3:'设备管理',
|
|
51
|
+
info: '流程监控'
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
created(){
|
|
55
|
+
let http = new HttpResetClass()
|
|
56
|
+
http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
|
|
57
|
+
).then((res)=>{
|
|
58
|
+
if(res.data.code && res.data.code == 200){
|
|
59
|
+
Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
|
|
60
|
+
}else{
|
|
61
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
62
|
+
return
|
|
63
|
+
}
|
|
64
|
+
})
|
|
65
|
+
console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
|
|
66
|
+
},
|
|
67
|
+
events: {
|
|
68
|
+
'addactive'() {
|
|
69
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
70
|
+
this.hidden()
|
|
71
|
+
this.showbasic = true
|
|
72
|
+
this.topheight = '20%'
|
|
73
|
+
this.botheight = '80%'
|
|
74
|
+
},
|
|
75
|
+
'changeheight'() {
|
|
76
|
+
this.show = false
|
|
77
|
+
this.botheight = '0%'
|
|
78
|
+
},
|
|
79
|
+
'check'(val) {
|
|
80
|
+
this.selectdata = ''
|
|
81
|
+
this.selectdata = val
|
|
82
|
+
console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
|
|
83
|
+
this.topheight = '20%'
|
|
84
|
+
this.botheight = '80%'
|
|
85
|
+
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
86
|
+
this.$refs.queryuser.$refs.cp.pager = false
|
|
87
|
+
this.showbasic = true
|
|
88
|
+
let msg = val.defname
|
|
89
|
+
this.header = msg
|
|
90
|
+
this.hidden()
|
|
91
|
+
},
|
|
92
|
+
'selfsearch'() {
|
|
93
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
94
|
+
},
|
|
95
|
+
'close'() {
|
|
96
|
+
this.hidden()
|
|
97
|
+
this.showtotal = false
|
|
98
|
+
this.topheight = '100%'
|
|
99
|
+
this.botheight = '0%'
|
|
100
|
+
this.$refs.queryuser.$refs.cp.pager = true
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
methods: {
|
|
104
|
+
hidden() {
|
|
105
|
+
this.showtotal = true
|
|
106
|
+
},
|
|
107
|
+
close() {
|
|
108
|
+
this.hidden()
|
|
109
|
+
this.topheight = '100%'
|
|
110
|
+
this.botheight = '0%'
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
watch: {
|
|
114
|
+
'selectdata'(val) {
|
|
115
|
+
console.log('selectdata:', val)
|
|
116
|
+
},
|
|
117
|
+
'selectdata.f_customer_type'() {
|
|
118
|
+
if (this.selectdata.f_customer_type == '企业') {
|
|
119
|
+
this.flagg = true
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
'selectdata.f_apply_type'() {
|
|
123
|
+
if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
|
|
124
|
+
this.flagl = true
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
}
|
|
130
|
+
</script>
|