apply-clients 3.0.5-19 → 3.0.5-20
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/Function/InstallInfoSelect.vue +243 -230
- package/src/components/product/Process/ExplorationSelect.vue +31 -1
- package/src/components/product/Process/ExplorationUser.vue +200 -197
- package/src/components/product/Supervisory/SupervisoryControl.vue +196 -194
- package/src/components/product/Supervisory/SupervisoryList.vue +14 -1
package/package.json
CHANGED
|
@@ -1,230 +1,243 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="d1 flex">
|
|
3
|
-
<div class="left col-sm-12" v-if="refreshed">
|
|
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="col-sm-12">
|
|
8
|
-
<div class="form-group col-sm-4">
|
|
9
|
-
<label class=" col-sm-6" style="padding-top: 8px">联系人/项目名称/用户名称:</label>
|
|
10
|
-
<div class="col-sm-6">
|
|
11
|
-
<input type="text" class="form-control" v-model="model.f_user_name"
|
|
12
|
-
condition=" (f_user_name like '%{}%' or f_entry_name like '%{}%' or f_company_name like '%{}%') " placeholder='三选一输入'>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-1">
|
|
16
|
-
<!--<label class="col-sm-6">合同编号</label>-->
|
|
17
|
-
<div class="col-sm-12">
|
|
18
|
-
<input type="text" class="form-control" placeholder='合同编号' v-model="model.f_contract_number"
|
|
19
|
-
v-on:keyup.enter="search"
|
|
20
|
-
condition="f_contract_number like '%{}%'">
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="col-sm-1">
|
|
24
|
-
<!--<label class="col-sm-6">用户地址</label>-->
|
|
25
|
-
<div class="col-sm-12">
|
|
26
|
-
<input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
|
|
27
|
-
v-on:keyup.enter="search"
|
|
28
|
-
condition="f_address like '%{}%'">
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="col-sm-1">
|
|
32
|
-
<!--<label class="col-sm-6"> 报建类型:</label>-->
|
|
33
|
-
<div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
34
|
-
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
|
|
35
|
-
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
36
|
-
</v-select>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="col-sm-2">
|
|
40
|
-
<label class="col-sm-6">办理环节:</label>
|
|
41
|
-
<div class="col-sm-6">
|
|
42
|
-
<v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
43
|
-
condition="defname = '{}'" placeholder='办理环节'
|
|
44
|
-
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
45
|
-
</v-select>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div class="col-sm-1">
|
|
49
|
-
<input type="text" class="form-control" placeholder='经办人' v-model="model.f_survey_name"
|
|
50
|
-
v-on:keyup.enter="search"
|
|
51
|
-
condition=" (f_apply_kefu_employee like '%{}%' or f_survey_name like '%{}%') ">
|
|
52
|
-
</div>
|
|
53
|
-
<div class="col-sm-1">
|
|
54
|
-
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
|
|
55
|
-
<span class="glyphicon glyphicon-search"></span>查询
|
|
56
|
-
</button>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</form>
|
|
60
|
-
</criteria>
|
|
61
|
-
<data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
|
|
62
|
-
<template partial='head'>
|
|
63
|
-
<tr class="title">
|
|
64
|
-
<th>
|
|
65
|
-
<nobr>序号</nobr>
|
|
66
|
-
</th>
|
|
67
|
-
<th>
|
|
68
|
-
</th>
|
|
69
|
-
<th>
|
|
70
|
-
</th>
|
|
71
|
-
<th>
|
|
72
|
-
<nobr>操作</nobr>
|
|
73
|
-
</th>
|
|
74
|
-
<th>
|
|
75
|
-
<nobr>当前环节</nobr>
|
|
76
|
-
</th>
|
|
77
|
-
<th><nobr>联系人/项目名称/用户名称</nobr></th>
|
|
78
|
-
<th>
|
|
79
|
-
<nobr>合同编号</nobr>
|
|
80
|
-
</th>
|
|
81
|
-
<th>
|
|
82
|
-
<nobr>电话</nobr>
|
|
83
|
-
</th>
|
|
84
|
-
<th style="width: 250px">
|
|
85
|
-
<nobr >地址</nobr>
|
|
86
|
-
</th>
|
|
87
|
-
<th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
88
|
-
<nobr>用户类型</nobr>
|
|
89
|
-
</th>
|
|
90
|
-
<th>
|
|
91
|
-
<nobr>报建类型</nobr>
|
|
92
|
-
</th>
|
|
93
|
-
<th>
|
|
94
|
-
<nobr>报建日期</nobr>
|
|
95
|
-
</th>
|
|
96
|
-
<!--<th>-->
|
|
97
|
-
<!--<nobr>申请户数</nobr>-->
|
|
98
|
-
<!--</th>-->
|
|
99
|
-
|
|
100
|
-
</tr>
|
|
101
|
-
</template>
|
|
102
|
-
<template partial='body'>
|
|
103
|
-
<tr>
|
|
104
|
-
<td style="text-align: center;">
|
|
105
|
-
<nobr>{{$index+1}}</nobr>
|
|
106
|
-
</td>
|
|
107
|
-
<td></td>
|
|
108
|
-
<td></td>
|
|
109
|
-
<td style="text-align: center;">
|
|
110
|
-
<dropdown v-if="row.defname != '完工'" >
|
|
111
|
-
<button @click="$dispatch('checkfuncs',row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
112
|
-
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
113
|
-
</button>
|
|
114
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
115
|
-
<li v-for="(index,func) in $parent.$parent.$parent.funcs">
|
|
116
|
-
<a href="#" @click="$dispatch('func',func,row)">{{func.title}}</a>
|
|
117
|
-
</li>
|
|
118
|
-
</ul>
|
|
119
|
-
</dropdown>
|
|
120
|
-
</td>
|
|
121
|
-
<td style="text-align: center;">
|
|
122
|
-
<nobr>{{row.defname}}</nobr>
|
|
123
|
-
</td>
|
|
124
|
-
<td style="text-align: center;">
|
|
125
|
-
<nobr>{{row.f_user_name}}/{{row.f_entry_name}}/{{row.f_company_name}}</nobr>
|
|
126
|
-
</td>
|
|
127
|
-
<td style="text-align: center;">
|
|
128
|
-
<nobr>{{row.f_contract_number}}</nobr>
|
|
129
|
-
</td>
|
|
130
|
-
<td style="text-align: center;">
|
|
131
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
132
|
-
</td>
|
|
133
|
-
<td style="width: 250px; white-space: normal;">
|
|
134
|
-
{{row.f_address}}
|
|
135
|
-
</td>
|
|
136
|
-
<td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
137
|
-
<nobr>{{row.f_user_type}}</nobr>
|
|
138
|
-
</td>
|
|
139
|
-
<td style="text-align: center;">
|
|
140
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
141
|
-
</td>
|
|
142
|
-
<td style="text-align: center;">
|
|
143
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
144
|
-
</td>
|
|
145
|
-
<!--<td style="text-align: center;">-->
|
|
146
|
-
<!--<nobr>{{row.f_apply_count}}</nobr>-->
|
|
147
|
-
<!--</td>-->
|
|
148
|
-
|
|
149
|
-
</tr>
|
|
150
|
-
</template>
|
|
151
|
-
</data-grid>
|
|
152
|
-
</criteria-paged>
|
|
153
|
-
</div>
|
|
154
|
-
</div>
|
|
155
|
-
</template>
|
|
156
|
-
<script>
|
|
157
|
-
import {HttpResetClass} from 'vue-client'
|
|
158
|
-
import {
|
|
159
|
-
PagedList
|
|
160
|
-
} from 'vue-client'
|
|
161
|
-
|
|
162
|
-
export default {
|
|
163
|
-
title: '报建业务信息',
|
|
164
|
-
data() {
|
|
165
|
-
return {
|
|
166
|
-
refreshed:true,
|
|
167
|
-
usertype: this.$appdata.getParam('用户类型'),
|
|
168
|
-
defnameType: this.$appdata.getParam('流程状态'),
|
|
169
|
-
applytype: this.$appdata.getParam('报建类型'),
|
|
170
|
-
//中燃 专用
|
|
171
|
-
fapplytype: this.$appdata.getParam('用户类型'),
|
|
172
|
-
funcs:[],
|
|
173
|
-
defnames:[],
|
|
174
|
-
showbtn: false,
|
|
175
|
-
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
176
|
-
data: {
|
|
177
|
-
id: this.$login.f.id,
|
|
178
|
-
fengongsi: this.$login.f.f_fengongsi,
|
|
179
|
-
f_filialeid: this.$login.f.f_orgids
|
|
180
|
-
}
|
|
181
|
-
}),
|
|
182
|
-
condition: ''
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
ready() {
|
|
186
|
-
this.$refs.cp.$refs.cri.search()
|
|
187
|
-
let http = new HttpResetClass()
|
|
188
|
-
http.load('POST', 'rs/sql/getDefnamesForActivityins', {data:{}}, {
|
|
189
|
-
resolveMsg: null,
|
|
190
|
-
rejectMsg: null
|
|
191
|
-
}).then((res)=>{
|
|
192
|
-
// 先获取所有流程环节
|
|
193
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
194
|
-
for(let i=0;i<res.data.length;i++){
|
|
195
|
-
this.defnames.push({label:res.data[i].defname,value:res.data[i].defname})
|
|
196
|
-
}
|
|
197
|
-
})
|
|
198
|
-
},
|
|
199
|
-
events:{
|
|
200
|
-
async checkfuncs(row){
|
|
201
|
-
if(row.defname =='报装申请'||row.defname =='任务分配'||row.defname =='勘察初设'||row.defname =='合同信息'||row.defname =='合同审核'){
|
|
202
|
-
let temp = JSON.parse(JSON.stringify(this.$function_vue.functions))
|
|
203
|
-
delete temp[0]
|
|
204
|
-
this.funcs = temp // test.splice(1, 1);
|
|
205
|
-
// this.update()
|
|
206
|
-
}else {
|
|
207
|
-
this.funcs = this.$function_vue.functions
|
|
208
|
-
// this.update()z
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
methods: {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="d1 flex">
|
|
3
|
+
<div class="left col-sm-12" v-if="refreshed">
|
|
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="col-sm-12">
|
|
8
|
+
<div class="form-group col-sm-4">
|
|
9
|
+
<label class=" col-sm-6" style="padding-top: 8px">联系人/项目名称/用户名称:</label>
|
|
10
|
+
<div class="col-sm-6">
|
|
11
|
+
<input type="text" class="form-control" v-model="model.f_user_name"
|
|
12
|
+
condition=" (f_user_name like '%{}%' or f_entry_name like '%{}%' or f_company_name like '%{}%') " placeholder='三选一输入'>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-1">
|
|
16
|
+
<!--<label class="col-sm-6">合同编号</label>-->
|
|
17
|
+
<div class="col-sm-12">
|
|
18
|
+
<input type="text" class="form-control" placeholder='合同编号' v-model="model.f_contract_number"
|
|
19
|
+
v-on:keyup.enter="search"
|
|
20
|
+
condition="f_contract_number like '%{}%'">
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="col-sm-1">
|
|
24
|
+
<!--<label class="col-sm-6">用户地址</label>-->
|
|
25
|
+
<div class="col-sm-12">
|
|
26
|
+
<input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
|
|
27
|
+
v-on:keyup.enter="search"
|
|
28
|
+
condition="f_address like '%{}%'">
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-1">
|
|
32
|
+
<!--<label class="col-sm-6"> 报建类型:</label>-->
|
|
33
|
+
<div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
34
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
|
|
35
|
+
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
36
|
+
</v-select>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="col-sm-2">
|
|
40
|
+
<label class="col-sm-6">办理环节:</label>
|
|
41
|
+
<div class="col-sm-6">
|
|
42
|
+
<v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
43
|
+
condition="defname = '{}'" placeholder='办理环节'
|
|
44
|
+
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
45
|
+
</v-select>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-1">
|
|
49
|
+
<input type="text" class="form-control" placeholder='经办人' v-model="model.f_survey_name"
|
|
50
|
+
v-on:keyup.enter="search"
|
|
51
|
+
condition=" (f_apply_kefu_employee like '%{}%' or f_survey_name like '%{}%') ">
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-sm-1">
|
|
54
|
+
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
|
|
55
|
+
<span class="glyphicon glyphicon-search"></span>查询
|
|
56
|
+
</button>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</form>
|
|
60
|
+
</criteria>
|
|
61
|
+
<data-grid :model="model" partial='list' v-ref:grid class="data-grid" is-fixed='false' style="overflow-x:auto">
|
|
62
|
+
<template partial='head'>
|
|
63
|
+
<tr class="title">
|
|
64
|
+
<th>
|
|
65
|
+
<nobr>序号</nobr>
|
|
66
|
+
</th>
|
|
67
|
+
<th>
|
|
68
|
+
</th>
|
|
69
|
+
<th>
|
|
70
|
+
</th>
|
|
71
|
+
<th>
|
|
72
|
+
<nobr>操作</nobr>
|
|
73
|
+
</th>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>当前环节</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th><nobr>联系人/项目名称/用户名称</nobr></th>
|
|
78
|
+
<th>
|
|
79
|
+
<nobr>合同编号</nobr>
|
|
80
|
+
</th>
|
|
81
|
+
<th>
|
|
82
|
+
<nobr>电话</nobr>
|
|
83
|
+
</th>
|
|
84
|
+
<th style="width: 250px">
|
|
85
|
+
<nobr >地址</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
88
|
+
<nobr>用户类型</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>报建类型</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>报建日期</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<!--<th>-->
|
|
97
|
+
<!--<nobr>申请户数</nobr>-->
|
|
98
|
+
<!--</th>-->
|
|
99
|
+
|
|
100
|
+
</tr>
|
|
101
|
+
</template>
|
|
102
|
+
<template partial='body'>
|
|
103
|
+
<tr>
|
|
104
|
+
<td style="text-align: center;">
|
|
105
|
+
<nobr>{{$index+1}}</nobr>
|
|
106
|
+
</td>
|
|
107
|
+
<td></td>
|
|
108
|
+
<td></td>
|
|
109
|
+
<td style="text-align: center;">
|
|
110
|
+
<dropdown v-if="row.defname != '完工'" >
|
|
111
|
+
<button @click="$dispatch('checkfuncs',row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
112
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
113
|
+
</button>
|
|
114
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
115
|
+
<li v-for="(index,func) in $parent.$parent.$parent.funcs">
|
|
116
|
+
<a href="#" @click="$dispatch('func',func,row)">{{func.title}}</a>
|
|
117
|
+
</li>
|
|
118
|
+
</ul>
|
|
119
|
+
</dropdown>
|
|
120
|
+
</td>
|
|
121
|
+
<td style="text-align: center;">
|
|
122
|
+
<nobr>{{row.defname}}</nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td style="text-align: center;">
|
|
125
|
+
<nobr>{{row.f_user_name}}/{{row.f_entry_name}}/{{row.f_company_name}}</nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td style="text-align: center;">
|
|
128
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td style="text-align: center;">
|
|
131
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td style="width: 250px; white-space: normal;">
|
|
134
|
+
{{row.f_address}}
|
|
135
|
+
</td>
|
|
136
|
+
<td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
|
|
137
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td style="text-align: center;">
|
|
140
|
+
<nobr>{{$parent.$parent.$parent.getApplyType(row.f_user_type,row.f_apply_type)}}</nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td style="text-align: center;">
|
|
143
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<!--<td style="text-align: center;">-->
|
|
146
|
+
<!--<nobr>{{row.f_apply_count}}</nobr>-->
|
|
147
|
+
<!--</td>-->
|
|
148
|
+
|
|
149
|
+
</tr>
|
|
150
|
+
</template>
|
|
151
|
+
</data-grid>
|
|
152
|
+
</criteria-paged>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</template>
|
|
156
|
+
<script>
|
|
157
|
+
import {HttpResetClass} from 'vue-client'
|
|
158
|
+
import {
|
|
159
|
+
PagedList
|
|
160
|
+
} from 'vue-client'
|
|
161
|
+
|
|
162
|
+
export default {
|
|
163
|
+
title: '报建业务信息',
|
|
164
|
+
data() {
|
|
165
|
+
return {
|
|
166
|
+
refreshed:true,
|
|
167
|
+
usertype: this.$appdata.getParam('用户类型'),
|
|
168
|
+
defnameType: this.$appdata.getParam('流程状态'),
|
|
169
|
+
applytype: this.$appdata.getParam('报建类型'),
|
|
170
|
+
//中燃 专用
|
|
171
|
+
fapplytype: this.$appdata.getParam('用户类型'),
|
|
172
|
+
funcs:[],
|
|
173
|
+
defnames:[],
|
|
174
|
+
showbtn: false,
|
|
175
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
176
|
+
data: {
|
|
177
|
+
id: this.$login.f.id,
|
|
178
|
+
fengongsi: this.$login.f.f_fengongsi,
|
|
179
|
+
f_filialeid: this.$login.f.f_orgids
|
|
180
|
+
}
|
|
181
|
+
}),
|
|
182
|
+
condition: ''
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
ready() {
|
|
186
|
+
this.$refs.cp.$refs.cri.search()
|
|
187
|
+
let http = new HttpResetClass()
|
|
188
|
+
http.load('POST', 'rs/sql/getDefnamesForActivityins', {data:{}}, {
|
|
189
|
+
resolveMsg: null,
|
|
190
|
+
rejectMsg: null
|
|
191
|
+
}).then((res)=>{
|
|
192
|
+
// 先获取所有流程环节
|
|
193
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
194
|
+
for(let i=0;i<res.data.length;i++){
|
|
195
|
+
this.defnames.push({label:res.data[i].defname,value:res.data[i].defname})
|
|
196
|
+
}
|
|
197
|
+
})
|
|
198
|
+
},
|
|
199
|
+
events:{
|
|
200
|
+
async checkfuncs(row){
|
|
201
|
+
if(row.defname =='报装申请'||row.defname =='任务分配'||row.defname =='勘察初设'||row.defname =='合同信息'||row.defname =='合同审核'){
|
|
202
|
+
let temp = JSON.parse(JSON.stringify(this.$function_vue.functions))
|
|
203
|
+
delete temp[0]
|
|
204
|
+
this.funcs = temp // test.splice(1, 1);
|
|
205
|
+
// this.update()
|
|
206
|
+
}else {
|
|
207
|
+
this.funcs = this.$function_vue.functions
|
|
208
|
+
// this.update()z
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
methods: {
|
|
213
|
+
getApplyType(userType,applyType){
|
|
214
|
+
if(userType=='民用'&&applyType=='民用报建'){
|
|
215
|
+
return '个人报建'
|
|
216
|
+
}else if(userType=='民用'&&applyType=='微信对接'){
|
|
217
|
+
return '个人报建'
|
|
218
|
+
}else if(userType=='非民用'&&applyType=='微信对接'){
|
|
219
|
+
return '企业报建'
|
|
220
|
+
}else if(userType=='非民用'&&applyType=='企业报建'){
|
|
221
|
+
return '企业报建'
|
|
222
|
+
}else{
|
|
223
|
+
return applyType
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
update(){
|
|
227
|
+
this.refreshed = false
|
|
228
|
+
this.$nextTick(()=>{
|
|
229
|
+
this.refreshed = true
|
|
230
|
+
})
|
|
231
|
+
},
|
|
232
|
+
clifun(row) {
|
|
233
|
+
this.$refs.cp.$refs.grid.model.rows = [row]
|
|
234
|
+
this.$refs.cp.pager = false
|
|
235
|
+
this.$dispatch('showbtn', row)
|
|
236
|
+
},
|
|
237
|
+
showpager() {
|
|
238
|
+
this.$refs.cp.pager = true
|
|
239
|
+
this.$dispatch('hiddenbtn')
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
</script>
|
|
@@ -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>
|
|
@@ -115,6 +118,9 @@
|
|
|
115
118
|
<th>
|
|
116
119
|
<nobr>报建类型</nobr>
|
|
117
120
|
</th>
|
|
121
|
+
<th>
|
|
122
|
+
<nobr>预约来源</nobr>
|
|
123
|
+
</th>
|
|
118
124
|
<th>
|
|
119
125
|
<nobr>报建日期</nobr>
|
|
120
126
|
</th>
|
|
@@ -162,7 +168,10 @@
|
|
|
162
168
|
<font>{{row.f_address}}</font>
|
|
163
169
|
</td>
|
|
164
170
|
<td style="text-align: center;">
|
|
165
|
-
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
171
|
+
<nobr><font>{{$parent.$parent.$parent.getApplyType(row.f_user_type,row.f_apply_type)}}</font></nobr>
|
|
172
|
+
</td>
|
|
173
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
174
|
+
<nobr><font>{{row.f_order_source}}</font></nobr>
|
|
166
175
|
</td>
|
|
167
176
|
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
168
177
|
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
@@ -231,6 +240,19 @@
|
|
|
231
240
|
console.log("--------------ready结束---------------")
|
|
232
241
|
},
|
|
233
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
|
+
},
|
|
234
256
|
generateUUID() {
|
|
235
257
|
console.log("--------------进入generateUUID---------------")
|
|
236
258
|
var d = new Date().getTime()
|
|
@@ -337,6 +359,14 @@
|
|
|
337
359
|
this.xmlname = "中压管线报建流程"
|
|
338
360
|
this.f_apply_type = '中压管线'
|
|
339
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 = '客户申请'
|
|
340
370
|
// if (this.$login.f.f_parentname != '客户服务部' && this.$login.f.f_parentname != '市场部') {
|
|
341
371
|
// this.$showMessage("只能由客户服务部和市场部发起报建申请")
|
|
342
372
|
// return
|