apply-clients 3.1.36 → 3.1.39
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 +112 -112
- package/src/App.vue +20 -20
- package/src/apply.js +3 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +266 -247
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -232
- package/src/components/product/Function/InstallFunction.vue +2 -2
- package/src/components/product/Function/InstallInfoSelect.vue +44 -5
- package/src/components/product/Function/Service/FunctionServiceControl.vue +61 -2
- package/src/components/product/Function/functions/ChargeManagement.vue +397 -30
- package/src/components/product/Function/functions/ContractNo.vue +354 -354
- package/src/components/product/Function/functions/DispatchList.vue +490 -490
- package/src/components/product/Function/functions/InstallFeeInfo.vue +43 -43
- package/src/components/product/Order/OrderApply.vue +467 -467
- package/src/components/product/Order/OrderApplyList.vue +301 -301
- package/src/components/product/Process/ExplorationSelect.vue +326 -287
- package/src/components/product/Process/ExplorationUser.vue +168 -140
- package/src/components/product/Process/Service/ServiceControl.vue +15 -14
- package/src/components/product/ReportForm/ApplyUpload.vue +261 -261
- package/src/components/product/ReportForm/CustomerRecordMessage.vue +1587 -1409
- package/src/components/product/ServiceView.vue +5 -1
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -153
- package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
- package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +76 -10
- package/src/components/product/Supervisory/SupervisoryList2.vue +285 -0
- package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -104
|
@@ -1,287 +1,326 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group col-sm-
|
|
8
|
-
<label class="font_normal_body">客户名称/联系人:</label>
|
|
9
|
-
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
10
|
-
v-on:keyup.enter="search"
|
|
11
|
-
condition=" (f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='二选一输入'>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="form-group col-sm-3">
|
|
14
|
-
<label class="font_normal_body"
|
|
15
|
-
<input type="text"
|
|
16
|
-
v-on:keyup.enter="search"
|
|
17
|
-
condition="
|
|
18
|
-
</div>
|
|
19
|
-
<div class="form-group col-sm-3">
|
|
20
|
-
<label class="font_normal_body"
|
|
21
|
-
<input type="text" class="input_search" placeholder='
|
|
22
|
-
v-on:keyup.enter="search"
|
|
23
|
-
condition="
|
|
24
|
-
</div>
|
|
25
|
-
<div class="form-group col-sm-2 operate">
|
|
26
|
-
<button type="button" class="btn btn-info head-but" @click="$parent.$parent.show = !$parent.$parent.show">工程发起</button>
|
|
27
|
-
<button type="button" class="btn btn-info head-but" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>
|
|
28
|
-
<div
|
|
29
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
30
|
-
@click="$parent.$parent.hidden()"
|
|
31
|
-
class="button_spacing"
|
|
32
|
-
style="float: right">
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
37
|
-
<div class="col-sm-3
|
|
38
|
-
<label class="font_normal_body"
|
|
39
|
-
<v-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</div>
|
|
49
|
-
<div class="col-sm-3 form-group">
|
|
50
|
-
<label class="font_normal_body"
|
|
51
|
-
<v-select
|
|
52
|
-
v-model="model.
|
|
53
|
-
placeholder='
|
|
54
|
-
condition="
|
|
55
|
-
:value.sync="model.
|
|
56
|
-
:options='$parent.$parent.
|
|
57
|
-
class="select select_list"
|
|
58
|
-
:value-single="true"
|
|
59
|
-
close-on-select ></v-select>
|
|
60
|
-
</div>
|
|
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
|
-
|
|
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
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
</
|
|
160
|
-
</
|
|
161
|
-
</
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-3">
|
|
8
|
+
<label class="font_normal_body">客户名称/联系人:</label>
|
|
9
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
10
|
+
v-on:keyup.enter="search"
|
|
11
|
+
condition=" (f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='二选一输入'>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="form-group col-sm-3">
|
|
14
|
+
<label class="font_normal_body">工程编号:</label>
|
|
15
|
+
<input type="text" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
16
|
+
v-on:keyup.enter="search"
|
|
17
|
+
condition="f_apply_num like '%{}%'">
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-sm-3">
|
|
20
|
+
<label class="font_normal_body">合同编号:</label>
|
|
21
|
+
<input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
22
|
+
v-on:keyup.enter="search"
|
|
23
|
+
condition="f_contract_number like '%{}%'">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="form-group col-sm-2 operate">
|
|
26
|
+
<button type="button" class="btn btn-info head-but" @click="$parent.$parent.show = !$parent.$parent.show">工程发起</button>
|
|
27
|
+
<button type="button" class="btn btn-info head-but" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>
|
|
28
|
+
<div
|
|
29
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
30
|
+
@click="$parent.$parent.hidden()"
|
|
31
|
+
class="button_spacing"
|
|
32
|
+
style="float: right">
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
37
|
+
<div class="form-group col-sm-3">
|
|
38
|
+
<label class="font_normal_body">用户地址:</label>
|
|
39
|
+
<input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
40
|
+
v-on:keyup.enter="search"
|
|
41
|
+
condition="f_address like '%{}%'">
|
|
42
|
+
</div>
|
|
43
|
+
<div class="form-group col-sm-3">
|
|
44
|
+
<label class="font_normal_body">票号:</label>
|
|
45
|
+
<input type="text" class="input_search" placeholder='票号' v-model="model.f_ticket_number"
|
|
46
|
+
v-on:keyup.enter="search"
|
|
47
|
+
condition="c.f_ticket_number like '%{}%'">
|
|
48
|
+
</div>
|
|
49
|
+
<div class="col-sm-3 form-group">
|
|
50
|
+
<label class="font_normal_body">报建类型:</label>
|
|
51
|
+
<v-select
|
|
52
|
+
v-model="model.f_apply_type"
|
|
53
|
+
placeholder='报建类型'
|
|
54
|
+
condition="f_apply_type like '%{}%'"
|
|
55
|
+
:value.sync="model.f_apply_type"
|
|
56
|
+
:options='$parent.$parent.completionApplytype'
|
|
57
|
+
class="select select_list"
|
|
58
|
+
:value-single="true"
|
|
59
|
+
close-on-select ></v-select>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-3 form-group">
|
|
62
|
+
<label class="font_normal_body">办理环节:</label>
|
|
63
|
+
<v-select
|
|
64
|
+
v-model="model.defname"
|
|
65
|
+
placeholder='办理环节'
|
|
66
|
+
condition="defname = '{}'"
|
|
67
|
+
:value.sync="model.defname"
|
|
68
|
+
:options='$parent.$parent.defnames'
|
|
69
|
+
class="select select_list"
|
|
70
|
+
:value-single="true"
|
|
71
|
+
close-on-select ></v-select>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="form-group col-sm-3">
|
|
74
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
75
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
76
|
+
style="width: 60%!important;"
|
|
77
|
+
v-model="model.startDate"
|
|
78
|
+
:value.sync="model.startDate"
|
|
79
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
80
|
+
:show-reset-button="true"
|
|
81
|
+
condition="f_apply_date >= '{}'">
|
|
82
|
+
</datepicker>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="form-group col-sm-3">
|
|
85
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
86
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
87
|
+
style="width: 60%!important;"
|
|
88
|
+
v-model="model.endDate"
|
|
89
|
+
:value.sync="model.endDate"
|
|
90
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
91
|
+
:show-reset-button="true"
|
|
92
|
+
condition="f_apply_date <= '{}'">
|
|
93
|
+
</datepicker>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</criteria>
|
|
98
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
99
|
+
<template partial='head'>
|
|
100
|
+
<tr>
|
|
101
|
+
<th>序号</th>
|
|
102
|
+
<th>报建编号</th>
|
|
103
|
+
<th>客户名称/联系人</th>
|
|
104
|
+
<th>当前状态</th>
|
|
105
|
+
<th>合同编号</th>
|
|
106
|
+
<th>流程状态</th>
|
|
107
|
+
<th>电话</th>
|
|
108
|
+
<th>地址</th>
|
|
109
|
+
<th>报建类型</th>
|
|
110
|
+
<th>报建日期</th>
|
|
111
|
+
<th>操作</th>
|
|
112
|
+
</tr>
|
|
113
|
+
</template>
|
|
114
|
+
<template partial='body'>
|
|
115
|
+
<tr >
|
|
116
|
+
<td style="text-align: center;">
|
|
117
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
118
|
+
</td>
|
|
119
|
+
<td style="text-align: center;">
|
|
120
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
121
|
+
</td>
|
|
122
|
+
<td style="text-align: center;">
|
|
123
|
+
<nobr><font>{{row.f_user_name}}/{{row.f_contact}}</font></nobr>
|
|
124
|
+
</td>
|
|
125
|
+
<td style="text-align: center;">
|
|
126
|
+
<nobr><font>{{row.f_sub_state}}</font></nobr>
|
|
127
|
+
</td>
|
|
128
|
+
<td style="text-align: center;">
|
|
129
|
+
<nobr><font>{{row.f_contract_number}}</font></nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center;">
|
|
132
|
+
<nobr><font>{{row.defname}}</font></nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center;">
|
|
135
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center;">
|
|
138
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<dropdown>
|
|
148
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
149
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
150
|
+
</button>
|
|
151
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
152
|
+
<li>
|
|
153
|
+
<a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
|
|
154
|
+
</li>
|
|
155
|
+
</ul>
|
|
156
|
+
</dropdown>
|
|
157
|
+
</td>
|
|
158
|
+
</tr>
|
|
159
|
+
</template>
|
|
160
|
+
</data-grid>
|
|
161
|
+
</criteria-paged>
|
|
162
|
+
|
|
163
|
+
<modal
|
|
164
|
+
v-if="show"
|
|
165
|
+
:show.sync="show"
|
|
166
|
+
backdrop="false"
|
|
167
|
+
title="工程类型"
|
|
168
|
+
>
|
|
169
|
+
<div class="form-horizontal" slot="modal-body">
|
|
170
|
+
<div class="form-group" style="margin: 10px auto">
|
|
171
|
+
<label class="col-sm-3 control-label">报建类型:</label>
|
|
172
|
+
<div class="col-sm-9">
|
|
173
|
+
<v-select
|
|
174
|
+
v-model="f_apply_type"
|
|
175
|
+
placeholder='请选择需要发起的工程类型'
|
|
176
|
+
:value.sync="f_apply_type"
|
|
177
|
+
:options='applytype'
|
|
178
|
+
:value-single="true"
|
|
179
|
+
class="select select_list"
|
|
180
|
+
:search="false"
|
|
181
|
+
close-on-select ></v-select>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
186
|
+
<button
|
|
187
|
+
class="btn btn-default"
|
|
188
|
+
@click="this.show = !this.show">
|
|
189
|
+
取消
|
|
190
|
+
</button>
|
|
191
|
+
<button
|
|
192
|
+
class="btn btn-primary"
|
|
193
|
+
type="button"
|
|
194
|
+
:disabled="applyButton_disabled"
|
|
195
|
+
@click="apply()">
|
|
196
|
+
确认
|
|
197
|
+
</button>
|
|
198
|
+
</footer>
|
|
199
|
+
</modal>
|
|
200
|
+
</div>
|
|
201
|
+
</template>
|
|
202
|
+
<script>
|
|
203
|
+
import {PagedList} from 'vue-client'
|
|
204
|
+
import {HttpResetClass} from 'vue-client'
|
|
205
|
+
export default {
|
|
206
|
+
title: '工程列表',
|
|
207
|
+
data() {
|
|
208
|
+
return {
|
|
209
|
+
applytype: [{label:"集中报建",value:'集中报建'},{label:"非民用报建",value:'非民用报建'},{label:"散户报建",value:'散户报建'}], // 所有报建类型
|
|
210
|
+
defnames: [{label: '请先选择报建类型', value: ''}], // 所有办理环节
|
|
211
|
+
model: new PagedList('rs/sql/checkuser', 20, {
|
|
212
|
+
data: {
|
|
213
|
+
id: this.$login.f.id,
|
|
214
|
+
org: this.$login.f.orgs
|
|
215
|
+
}
|
|
216
|
+
}),
|
|
217
|
+
condition: '', // 查询条件
|
|
218
|
+
f_apply_type: null, // 报建类型
|
|
219
|
+
startname: null, // 启动节点
|
|
220
|
+
criteriaShow: false,
|
|
221
|
+
show: false,
|
|
222
|
+
applyButton_disabled: true
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
ready() {
|
|
226
|
+
// 调用查询
|
|
227
|
+
this.$refs.cp.$refs.cri.search()
|
|
228
|
+
// 获取所有办理环节
|
|
229
|
+
this.getDefnames()
|
|
230
|
+
},
|
|
231
|
+
methods: {
|
|
232
|
+
hidden() {
|
|
233
|
+
this.$dispatch('hidden', this.criteriaShow)
|
|
234
|
+
this.criteriaShow = !this.criteriaShow
|
|
235
|
+
},
|
|
236
|
+
// 获取所有办理环节
|
|
237
|
+
getDefnames() {
|
|
238
|
+
let http = new HttpResetClass()
|
|
239
|
+
http.load('POST', 'rs/logic/getAllDefname', {}, {
|
|
240
|
+
resolveMsg: null,
|
|
241
|
+
rejectMsg: null
|
|
242
|
+
}).then((res) => {
|
|
243
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
244
|
+
})
|
|
245
|
+
console.log("this.defname",this.defnames)
|
|
246
|
+
},
|
|
247
|
+
// 报装申请
|
|
248
|
+
async apply () {
|
|
249
|
+
this.applyButton_disabled = true
|
|
250
|
+
|
|
251
|
+
if (this.f_apply_type === '集中报建') {
|
|
252
|
+
this.startname = '申请登记'
|
|
253
|
+
if (this.$login.f.deps !== '市场部') {
|
|
254
|
+
this.$showMessage("只能由市场部受理")
|
|
255
|
+
return
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
if (this.f_apply_type === '散户报建') {
|
|
259
|
+
this.startname = '申请登记'
|
|
260
|
+
if (this.$login.f.deps !== '销售客服部') {
|
|
261
|
+
this.$showMessage("只能由销售客服部受理")
|
|
262
|
+
return
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
if (this.f_apply_type === '非民用报建') {
|
|
266
|
+
this.startname = '申请登记'
|
|
267
|
+
if (this.$login.f.deps !== '市场部') {
|
|
268
|
+
this.$showMessage("只能由市场部受理")
|
|
269
|
+
return
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
let val = {
|
|
274
|
+
f_apply_type: this.f_apply_type,
|
|
275
|
+
defname: this.startname
|
|
276
|
+
}
|
|
277
|
+
// 调用ExplorationUser事件
|
|
278
|
+
this.$dispatch('apply', val)
|
|
279
|
+
|
|
280
|
+
this.show = false
|
|
281
|
+
this.f_apply_type = null
|
|
282
|
+
},
|
|
283
|
+
// ExplorationUser 关闭组件
|
|
284
|
+
close() {
|
|
285
|
+
this.$dispatch('close')
|
|
286
|
+
},
|
|
287
|
+
// 点击操作
|
|
288
|
+
click(val) {
|
|
289
|
+
this.$dispatch('apply', val)
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
computed: {
|
|
293
|
+
completionApplytype() {
|
|
294
|
+
return [{label:"全部",value:''},...this.applytype]
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
watch: {
|
|
298
|
+
deep: true,
|
|
299
|
+
immediate: true,
|
|
300
|
+
f_apply_type: function() {
|
|
301
|
+
if (this.f_apply_type === "" || this.f_apply_type === null || this.f_apply_type === undefined){
|
|
302
|
+
this.applyButton_disabled = true
|
|
303
|
+
return
|
|
304
|
+
}
|
|
305
|
+
this.applyButton_disabled = false
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
</script>
|
|
310
|
+
<style scoped>
|
|
311
|
+
.operate{
|
|
312
|
+
text-align: right;
|
|
313
|
+
display: flex;
|
|
314
|
+
align-items: center; /*子元素中线居中*/
|
|
315
|
+
justify-content: flex-end; /*子元素靠右*/
|
|
316
|
+
margin-top: 7px;
|
|
317
|
+
}
|
|
318
|
+
.head-but{
|
|
319
|
+
margin-left: 5px;
|
|
320
|
+
height: 34px;
|
|
321
|
+
background-color: #6aa6e2;
|
|
322
|
+
border-radius: 4px;
|
|
323
|
+
font-family: PingFang;
|
|
324
|
+
color: #ffffff;
|
|
325
|
+
}
|
|
326
|
+
</style>
|