manage-client 1.8.23-32 → 1.8.23-33
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
CHANGED
|
@@ -1,399 +1,399 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="flex:1;" class="flex">
|
|
3
|
-
<button class="btn btn-xs" v-show="!this.criteriaShow" @click="this.show()">
|
|
4
|
-
<span class="glyphicon glyphicon-chevron-down" style="color: #000;"></span>
|
|
5
|
-
</button>
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
|
|
8
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
11
|
-
<label class="control-label">用户编号</label>
|
|
12
|
-
<input type="text" class="form-control" v-model="model.f_userinfo_code"
|
|
13
|
-
condition="f_userinfo_code = '{}' " placeholder="用户编号">
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
16
|
-
<label class="control-label">用户姓名</label>
|
|
17
|
-
<input type="text" class="form-control" v-model="model.f_user_name"
|
|
18
|
-
condition="f_user_name like '%{}%'" placeholder="用户姓名">
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2 form-group form-input-group" >
|
|
21
|
-
<label class="control-label">用户电话</label>
|
|
22
|
-
<input type="text" class="form-control" v-model="model.f_user_phone"
|
|
23
|
-
condition="f_user_phone like '%{}%'" placeholder="用户电话">
|
|
24
|
-
</div>
|
|
25
|
-
<div class="col-sm-2 form-group form-input-group" >
|
|
26
|
-
<label class="control-label">身份证号</label>
|
|
27
|
-
<input type="text" class="form-control" v-model="model.f_idnumber"
|
|
28
|
-
condition="f_idnumber like '%{}%'" placeholder="身份证号">
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-2 form-group form-input-group" >
|
|
31
|
-
<label class="control-label">用户状态</label>
|
|
32
|
-
<v-select :value.sync="model.f_user_state"
|
|
33
|
-
v-model="model.f_user_state"
|
|
34
|
-
:options='$parent.$parent.userstates' placeholder='请选择'
|
|
35
|
-
condition="f_user_state = '{}'"
|
|
36
|
-
close-on-select></v-select>
|
|
37
|
-
</div>
|
|
38
|
-
<!-- <div class="col-sm-2 form-group form-input-group">-->
|
|
39
|
-
<!-- <label class="control-label">区/县</label>-->
|
|
40
|
-
<!-- <v-select-->
|
|
41
|
-
<!-- :value.sync="model.f_area"-->
|
|
42
|
-
<!-- v-model="model.f_area"-->
|
|
43
|
-
<!-- :options='$parent.$parent.areas'-->
|
|
44
|
-
<!-- placeholder='请选择'-->
|
|
45
|
-
<!-- condition="f_area = '{}'"-->
|
|
46
|
-
<!-- close-on-select></v-select>-->
|
|
47
|
-
<!-- </div>-->
|
|
48
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
49
|
-
<label class="control-label">片区</label>
|
|
50
|
-
<v-select
|
|
51
|
-
:value.sync="model.f_slice_area"
|
|
52
|
-
v-model="model.f_slice_area"
|
|
53
|
-
:options='$parent.$parent.sliceArea'
|
|
54
|
-
placeholder='请选择'
|
|
55
|
-
condition="f_slice_area = '{}'"
|
|
56
|
-
close-on-select></v-select>
|
|
57
|
-
</div>
|
|
58
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
59
|
-
<label class="control-label">用户地址</label>
|
|
60
|
-
<input type="text" class="form-control" v-model="model.f_address"
|
|
61
|
-
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
65
|
-
<label class="control-label">小区</label>
|
|
66
|
-
<input type="text" class="form-control" v-model="model.f_residential_area"
|
|
67
|
-
condition="f_residential_area like '%{}%'" placeholder="小区"/>
|
|
68
|
-
</div>
|
|
69
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
70
|
-
<label class="control-label">楼栋</label>
|
|
71
|
-
<input type="text" class="form-control" v-model="model.f_building"
|
|
72
|
-
condition="f_building = '{}'" placeholder="楼栋"/>
|
|
73
|
-
</div>
|
|
74
|
-
<div class="col-sm-2 form-group form-input-group">
|
|
75
|
-
<label class="control-label">单元</label>
|
|
76
|
-
<input type="text" class="form-control" v-model="model.f_unit"
|
|
77
|
-
condition="f_unit = '{}'" placeholder="单元"/>
|
|
78
|
-
</div>
|
|
79
|
-
<div class="col-sm-2 form-group form-input-group" >
|
|
80
|
-
<label class="control-label">楼层</label>
|
|
81
|
-
<input type="text" class="form-control" v-model="model.f_floor"
|
|
82
|
-
condition="f_floor = '{}'" placeholder="楼层"/>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="col-sm-2 form-group form-input-group" >
|
|
85
|
-
<label class="control-label">门牌号</label>
|
|
86
|
-
<input type="text" class="form-control" v-model="model.f_room"
|
|
87
|
-
condition="f_room = '{}'" placeholder="门牌号">
|
|
88
|
-
</div>
|
|
89
|
-
<!-- <div class="col-sm-2 form-group form-input-group" >-->
|
|
90
|
-
<!-- <label for="f_balance" class="control-label">账户结余</label>-->
|
|
91
|
-
<!-- <div class="form-group">-->
|
|
92
|
-
<!-- <v-input id="f_balance" placeholder="账户结余"-->
|
|
93
|
-
<!-- :expression.sync = 'model.f_balance'-->
|
|
94
|
-
<!-- v-model="model.f_balance"-->
|
|
95
|
-
<!-- condition= "f_balance {}"-->
|
|
96
|
-
<!-- :show-reset-button="reset"-->
|
|
97
|
-
<!-- v-ref:f_balance>-->
|
|
98
|
-
<!-- </v-input>-->
|
|
99
|
-
<!-- </div>-->
|
|
100
|
-
<!-- </div>-->
|
|
101
|
-
<div class="col-sm-2 form-group form-input-group" >
|
|
102
|
-
<label for="startDate" class="control-label">开始日期</label>
|
|
103
|
-
<datepicker id="startDate" placeholder="开始日期" width='100%'
|
|
104
|
-
v-model="model.startDate"
|
|
105
|
-
:value.sync="model.startDate"
|
|
106
|
-
:format="'yyyy-MM-dd'"
|
|
107
|
-
:show-reset-button="true"
|
|
108
|
-
condition="f_createfile_date >= '{} 00:00:00'">
|
|
109
|
-
</datepicker>
|
|
110
|
-
</div>
|
|
111
|
-
<div class="col-sm-2 form-group form-input-group" >
|
|
112
|
-
<label for="endDate" class="control-label">结束日期</label>
|
|
113
|
-
<datepicker id="endDate" placeholder="结束日期" width='100%'
|
|
114
|
-
v-model="model.endDate"
|
|
115
|
-
:value.sync="model.endDate"
|
|
116
|
-
:format="'yyyy-MM-dd'"
|
|
117
|
-
:show-reset-button="true"
|
|
118
|
-
condition="f_createfile_date <= '{} 23:59:59'">
|
|
119
|
-
</datepicker>
|
|
120
|
-
</div>
|
|
121
|
-
<res-select-group @re-res="$parent.$parent.getRes"></res-select-group>
|
|
122
|
-
<!--<div class="col-sm-2 form-group form-input-group">-->
|
|
123
|
-
<!--<label class="control-label">表号查询</label>-->
|
|
124
|
-
<!--<input type="text" class="form-control" v-model="model.f_meternumber"-->
|
|
125
|
-
<!--condition="f_meternumber = '{}' " placeholder="表具条码">-->
|
|
126
|
-
<!--</div>-->
|
|
127
|
-
</div>
|
|
128
|
-
<div class="row">
|
|
129
|
-
<div class="span" style = "float:right;margin-top:10px">
|
|
130
|
-
<button class="btn btn-success" @click="search()">查询</button>
|
|
131
|
-
<button class="btn btn-success" @click="$parent.$parent.clear()">清空</button>
|
|
132
|
-
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
133
|
-
|
|
134
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
135
|
-
:field="$parent.$parent.getExportField"
|
|
136
|
-
sqlurl="rs/logic/exportfile" sql-name="filesQuery"
|
|
137
|
-
template-name='用户查询导出' :choose-col="true"></export-excel>
|
|
138
|
-
|
|
139
|
-
<button class="btn" @click="$parent.$parent.hidden()" style="margin-left: 10px">
|
|
140
|
-
<span class="glyphicon glyphicon-chevron-up"></span>
|
|
141
|
-
</button>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
</div>
|
|
145
|
-
</criteria>
|
|
146
|
-
|
|
147
|
-
<data-grid :model="model" partial='list' @dblclick="$parent.dblclick" v-ref:grid>
|
|
148
|
-
<template partial='head'>
|
|
149
|
-
<tr>
|
|
150
|
-
<th><nobr>用户编号</nobr></th>
|
|
151
|
-
<th><nobr>用户姓名</nobr></th>
|
|
152
|
-
<th><nobr>用户电话</nobr></th>
|
|
153
|
-
<th><nobr>身份证号</nobr></th>
|
|
154
|
-
<th><nobr>账户余额</nobr></th>
|
|
155
|
-
<th><nobr>用户地址</nobr></th>
|
|
156
|
-
<th><nobr>小区</nobr></th>
|
|
157
|
-
<th><nobr>楼栋</nobr></th>
|
|
158
|
-
<th><nobr>单元</nobr></th>
|
|
159
|
-
<th><nobr>楼层</nobr></th>
|
|
160
|
-
<th><nobr>门牌号</nobr></th>
|
|
161
|
-
<th><nobr>用户状态</nobr></th>
|
|
162
|
-
<th><nobr>建档日期</nobr></th>
|
|
163
|
-
<th><nobr>备注</nobr></th>
|
|
164
|
-
<th><nobr>部门</nobr></th>
|
|
165
|
-
<th><nobr>公司</nobr></th>
|
|
166
|
-
<!--<th><nobr>表号</nobr></th>-->
|
|
167
|
-
</tr>
|
|
168
|
-
</template>
|
|
169
|
-
<template partial='body'>
|
|
170
|
-
<td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
171
|
-
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
172
|
-
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
173
|
-
<td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
|
|
174
|
-
<td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
|
|
175
|
-
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
176
|
-
<td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
177
|
-
<td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
|
|
178
|
-
<td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
|
|
179
|
-
<td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
|
|
180
|
-
<td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
|
|
181
|
-
<td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
|
|
182
|
-
<td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
|
|
183
|
-
<td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
|
|
184
|
-
<td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
|
|
185
|
-
<td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
|
|
186
|
-
<!--<td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>-->
|
|
187
|
-
</template>
|
|
188
|
-
<template partial='foot'>
|
|
189
|
-
</template>
|
|
190
|
-
</data-grid>
|
|
191
|
-
</criteria-paged>
|
|
192
|
-
|
|
193
|
-
<table class="table-hover">
|
|
194
|
-
<tr style="position: relative" class="table-bordered">
|
|
195
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
196
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">结余合计: {{sumsmodel.f_balance}}</td>
|
|
197
|
-
</tr>
|
|
198
|
-
</table>
|
|
199
|
-
|
|
200
|
-
<!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
|
|
201
|
-
<!--<header slot="modal-header" class="modal-header text-center">-->
|
|
202
|
-
<!--<h4 class="modal-title">打印列选择</h4>-->
|
|
203
|
-
<!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
|
|
204
|
-
<!--<label for="f_generations" class="font-size">全选</label>-->
|
|
205
|
-
<!--</header>-->
|
|
206
|
-
<!--<article slot="modal-body">-->
|
|
207
|
-
<!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
|
|
208
|
-
<!--<div class="col-sm-3" v-for="f in fields">-->
|
|
209
|
-
<!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
|
|
210
|
-
<!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
|
|
211
|
-
<!--</div>-->
|
|
212
|
-
<!--</div>-->
|
|
213
|
-
<!--</article>-->
|
|
214
|
-
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
215
|
-
<!--<center>-->
|
|
216
|
-
<!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
|
|
217
|
-
<!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
|
|
218
|
-
<!--<print-table :model='model' v-show="false" v-ref:print-->
|
|
219
|
-
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
220
|
-
<!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
|
|
221
|
-
<!--:fields="modelval" :printpage="true">-->
|
|
222
|
-
<!--</print-table>-->
|
|
223
|
-
<!--</center>-->
|
|
224
|
-
<!--</footer>-->
|
|
225
|
-
<!--</modal>-->
|
|
226
|
-
<!--<user-detail v-if="userdetail.show" :data="userdetail"></user-detail>-->
|
|
227
|
-
|
|
228
|
-
</div>
|
|
229
|
-
</template>
|
|
230
|
-
|
|
231
|
-
<script>
|
|
232
|
-
import { PagedList } from 'vue-client'
|
|
233
|
-
import defaultPrint from '../config/DefaultPrint'
|
|
234
|
-
import exportConfig from '../config/exportConfig'
|
|
235
|
-
let readySomething = async function (self) {
|
|
236
|
-
// 获取区县
|
|
237
|
-
let condition = `f_orgid = ${self.$login.f.orgid}`
|
|
238
|
-
// let res = await self.$resetpost('c', {data: {items: 'id,f_district',tablename: 't_pcd',orderitem: 'f_district' ,condition: condition}},{resolveMsg: null, rejectMsg: '获取区县失败!'})
|
|
239
|
-
// let areas = [{label: '全部', value:''}]
|
|
240
|
-
// res.data.forEach((row)=>{
|
|
241
|
-
// areas.push({label:row.f_district, value:row.f_district})
|
|
242
|
-
// })
|
|
243
|
-
self.areas = areas
|
|
244
|
-
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
245
|
-
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
246
|
-
await self.$refs.paged.$refs.cri.search()
|
|
247
|
-
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
export default {
|
|
251
|
-
data() {
|
|
252
|
-
return {
|
|
253
|
-
model: new PagedList('rs/sql/filesQuery', 20,{},{f_balance: 0}),
|
|
254
|
-
criteriaShow: true,
|
|
255
|
-
orgCondtionStr:'',
|
|
256
|
-
CondtionStr: '',
|
|
257
|
-
modelval: [],
|
|
258
|
-
printshow: false,
|
|
259
|
-
all: false,
|
|
260
|
-
fields: {},
|
|
261
|
-
thead: '',
|
|
262
|
-
tfoot: '',
|
|
263
|
-
//合计数据
|
|
264
|
-
sumsmodel: {},
|
|
265
|
-
|
|
266
|
-
userdetail: {
|
|
267
|
-
show: false,
|
|
268
|
-
f_userinfo_code: '',
|
|
269
|
-
f_filialeids: ''
|
|
270
|
-
},
|
|
271
|
-
areas: []
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
ready(){
|
|
275
|
-
readySomething(this).then(() => {
|
|
276
|
-
this.$emit('ready')
|
|
277
|
-
}).catch((error) => {
|
|
278
|
-
this.$emit('error', error)
|
|
279
|
-
})
|
|
280
|
-
},
|
|
281
|
-
methods: {
|
|
282
|
-
selfSearch (args) {
|
|
283
|
-
args.condition = `${args.condition}`+ this.orgCondtionStr
|
|
284
|
-
this.CondtionStr = args.condition
|
|
285
|
-
this.model.search(args.condition, args.model)
|
|
286
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
287
|
-
console.log('合计字段',this.sumsmodel)
|
|
288
|
-
},
|
|
289
|
-
clear(){
|
|
290
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
291
|
-
this.$refs.paged.$refs.cri.model[key] = ''
|
|
292
|
-
})
|
|
293
|
-
},
|
|
294
|
-
show(){
|
|
295
|
-
this.criteriaShow = true
|
|
296
|
-
},
|
|
297
|
-
hidden(){
|
|
298
|
-
this.criteriaShow = false
|
|
299
|
-
},
|
|
300
|
-
getRes(obj) {
|
|
301
|
-
this.orgCondtionStr = obj
|
|
302
|
-
},
|
|
303
|
-
stamp () {
|
|
304
|
-
this.all = false
|
|
305
|
-
//默认选择要打印的列
|
|
306
|
-
this.modelval = defaultPrint.config
|
|
307
|
-
this.fields = this.getfield
|
|
308
|
-
console.log('所有打印字段',this.fields)
|
|
309
|
-
this.printshow = true
|
|
310
|
-
this.put()
|
|
311
|
-
},
|
|
312
|
-
put () {
|
|
313
|
-
// 对Modelval进行排序
|
|
314
|
-
this.sortModelval()
|
|
315
|
-
this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
|
|
316
|
-
for (let key of this.modelval) {
|
|
317
|
-
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
318
|
-
}
|
|
319
|
-
this.thead += '</tr>'
|
|
320
|
-
},
|
|
321
|
-
print () {
|
|
322
|
-
this.$refs.print.PrintAsFile()
|
|
323
|
-
this.printshow = false
|
|
324
|
-
},
|
|
325
|
-
close () {
|
|
326
|
-
this.printshow = false
|
|
327
|
-
},
|
|
328
|
-
// 对选择的列进行排序
|
|
329
|
-
sortModelval () {
|
|
330
|
-
let sortModel = []
|
|
331
|
-
Object.keys(this.fields).forEach((key) => {
|
|
332
|
-
if (this.modelval.includes(key)) {
|
|
333
|
-
sortModel.push(key)
|
|
334
|
-
}
|
|
335
|
-
})
|
|
336
|
-
this.modelval = sortModel
|
|
337
|
-
console.log('选择的打印的字段', this.modelval)
|
|
338
|
-
},
|
|
339
|
-
dblclick (row, index) {
|
|
340
|
-
console.log('双击之后数据', row, index)
|
|
341
|
-
this.userdetail.show = true
|
|
342
|
-
this.userdetail.f_userinfo_code = row.f_userinfo_code
|
|
343
|
-
this.userdetail.f_filialeids = row.f_filialeids
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
watch:{
|
|
347
|
-
'all' (val) {
|
|
348
|
-
if (val) {
|
|
349
|
-
this.modelval = this.bodyData
|
|
350
|
-
} else {
|
|
351
|
-
this.modelval = defaultPrint.config
|
|
352
|
-
this.put()
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
'modelval.length' () {
|
|
356
|
-
this.put()
|
|
357
|
-
},
|
|
358
|
-
},
|
|
359
|
-
computed:{
|
|
360
|
-
getCondition(){
|
|
361
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.CondtionStr
|
|
362
|
-
},
|
|
363
|
-
getfield(){
|
|
364
|
-
let data = {}
|
|
365
|
-
this.bodyData.forEach((value, index)=>{
|
|
366
|
-
data[this.bodyData[index]] = this.headData[index]
|
|
367
|
-
})
|
|
368
|
-
//合计字段打印
|
|
369
|
-
this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
|
|
370
|
-
if(this.sumsmodel){
|
|
371
|
-
Object.keys(this.sumsmodel).forEach((key) => {
|
|
372
|
-
this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
|
|
373
|
-
})
|
|
374
|
-
}else{
|
|
375
|
-
this.tfoot += '暂无'
|
|
376
|
-
}
|
|
377
|
-
this.tfoot += '</th></tr>'
|
|
378
|
-
return data
|
|
379
|
-
},
|
|
380
|
-
getExportField () {
|
|
381
|
-
return exportConfig.userConfig
|
|
382
|
-
},
|
|
383
|
-
userstates () {
|
|
384
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
|
|
385
|
-
},
|
|
386
|
-
sliceArea () {
|
|
387
|
-
let rs = new Array()
|
|
388
|
-
for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
|
|
389
|
-
let temp = {
|
|
390
|
-
label: this.$login.f.f_allArea[i].label,
|
|
391
|
-
value: this.$login.f.f_allArea[i].label
|
|
392
|
-
}
|
|
393
|
-
rs.push(temp)
|
|
394
|
-
}
|
|
395
|
-
return [{label: '全部', value: ''}, ...rs]
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="flex:1;" class="flex">
|
|
3
|
+
<button class="btn btn-xs" v-show="!this.criteriaShow" @click="this.show()">
|
|
4
|
+
<span class="glyphicon glyphicon-chevron-down" style="color: #000;"></span>
|
|
5
|
+
</button>
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
7
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
|
|
8
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
11
|
+
<label class="control-label">用户编号</label>
|
|
12
|
+
<input type="text" class="form-control" v-model="model.f_userinfo_code"
|
|
13
|
+
condition="f_userinfo_code = '{}' " placeholder="用户编号">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
16
|
+
<label class="control-label">用户姓名</label>
|
|
17
|
+
<input type="text" class="form-control" v-model="model.f_user_name"
|
|
18
|
+
condition="f_user_name like '%{}%'" placeholder="用户姓名">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group form-input-group" >
|
|
21
|
+
<label class="control-label">用户电话</label>
|
|
22
|
+
<input type="text" class="form-control" v-model="model.f_user_phone"
|
|
23
|
+
condition="f_user_phone like '%{}%'" placeholder="用户电话">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-sm-2 form-group form-input-group" >
|
|
26
|
+
<label class="control-label">身份证号</label>
|
|
27
|
+
<input type="text" class="form-control" v-model="model.f_idnumber"
|
|
28
|
+
condition="f_idnumber like '%{}%'" placeholder="身份证号">
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group form-input-group" >
|
|
31
|
+
<label class="control-label">用户状态</label>
|
|
32
|
+
<v-select :value.sync="model.f_user_state"
|
|
33
|
+
v-model="model.f_user_state"
|
|
34
|
+
:options='$parent.$parent.userstates' placeholder='请选择'
|
|
35
|
+
condition="f_user_state = '{}'"
|
|
36
|
+
close-on-select></v-select>
|
|
37
|
+
</div>
|
|
38
|
+
<!-- <div class="col-sm-2 form-group form-input-group">-->
|
|
39
|
+
<!-- <label class="control-label">区/县</label>-->
|
|
40
|
+
<!-- <v-select-->
|
|
41
|
+
<!-- :value.sync="model.f_area"-->
|
|
42
|
+
<!-- v-model="model.f_area"-->
|
|
43
|
+
<!-- :options='$parent.$parent.areas'-->
|
|
44
|
+
<!-- placeholder='请选择'-->
|
|
45
|
+
<!-- condition="f_area = '{}'"-->
|
|
46
|
+
<!-- close-on-select></v-select>-->
|
|
47
|
+
<!-- </div>-->
|
|
48
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
49
|
+
<label class="control-label">片区</label>
|
|
50
|
+
<v-select
|
|
51
|
+
:value.sync="model.f_slice_area"
|
|
52
|
+
v-model="model.f_slice_area"
|
|
53
|
+
:options='$parent.$parent.sliceArea'
|
|
54
|
+
placeholder='请选择'
|
|
55
|
+
condition="f_slice_area = '{}'"
|
|
56
|
+
close-on-select></v-select>
|
|
57
|
+
</div>
|
|
58
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
59
|
+
<label class="control-label">用户地址</label>
|
|
60
|
+
<input type="text" class="form-control" v-model="model.f_address"
|
|
61
|
+
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
65
|
+
<label class="control-label">小区</label>
|
|
66
|
+
<input type="text" class="form-control" v-model="model.f_residential_area"
|
|
67
|
+
condition="f_residential_area like '%{}%'" placeholder="小区"/>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
70
|
+
<label class="control-label">楼栋</label>
|
|
71
|
+
<input type="text" class="form-control" v-model="model.f_building"
|
|
72
|
+
condition="f_building = '{}'" placeholder="楼栋"/>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="col-sm-2 form-group form-input-group">
|
|
75
|
+
<label class="control-label">单元</label>
|
|
76
|
+
<input type="text" class="form-control" v-model="model.f_unit"
|
|
77
|
+
condition="f_unit = '{}'" placeholder="单元"/>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-sm-2 form-group form-input-group" >
|
|
80
|
+
<label class="control-label">楼层</label>
|
|
81
|
+
<input type="text" class="form-control" v-model="model.f_floor"
|
|
82
|
+
condition="f_floor = '{}'" placeholder="楼层"/>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-2 form-group form-input-group" >
|
|
85
|
+
<label class="control-label">门牌号</label>
|
|
86
|
+
<input type="text" class="form-control" v-model="model.f_room"
|
|
87
|
+
condition="f_room = '{}'" placeholder="门牌号">
|
|
88
|
+
</div>
|
|
89
|
+
<!-- <div class="col-sm-2 form-group form-input-group" >-->
|
|
90
|
+
<!-- <label for="f_balance" class="control-label">账户结余</label>-->
|
|
91
|
+
<!-- <div class="form-group">-->
|
|
92
|
+
<!-- <v-input id="f_balance" placeholder="账户结余"-->
|
|
93
|
+
<!-- :expression.sync = 'model.f_balance'-->
|
|
94
|
+
<!-- v-model="model.f_balance"-->
|
|
95
|
+
<!-- condition= "f_balance {}"-->
|
|
96
|
+
<!-- :show-reset-button="reset"-->
|
|
97
|
+
<!-- v-ref:f_balance>-->
|
|
98
|
+
<!-- </v-input>-->
|
|
99
|
+
<!-- </div>-->
|
|
100
|
+
<!-- </div>-->
|
|
101
|
+
<div class="col-sm-2 form-group form-input-group" >
|
|
102
|
+
<label for="startDate" class="control-label">开始日期</label>
|
|
103
|
+
<datepicker id="startDate" placeholder="开始日期" width='100%'
|
|
104
|
+
v-model="model.startDate"
|
|
105
|
+
:value.sync="model.startDate"
|
|
106
|
+
:format="'yyyy-MM-dd'"
|
|
107
|
+
:show-reset-button="true"
|
|
108
|
+
condition="f_createfile_date >= '{} 00:00:00'">
|
|
109
|
+
</datepicker>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="col-sm-2 form-group form-input-group" >
|
|
112
|
+
<label for="endDate" class="control-label">结束日期</label>
|
|
113
|
+
<datepicker id="endDate" placeholder="结束日期" width='100%'
|
|
114
|
+
v-model="model.endDate"
|
|
115
|
+
:value.sync="model.endDate"
|
|
116
|
+
:format="'yyyy-MM-dd'"
|
|
117
|
+
:show-reset-button="true"
|
|
118
|
+
condition="f_createfile_date <= '{} 23:59:59'">
|
|
119
|
+
</datepicker>
|
|
120
|
+
</div>
|
|
121
|
+
<res-select-group @re-res="$parent.$parent.getRes"></res-select-group>
|
|
122
|
+
<!--<div class="col-sm-2 form-group form-input-group">-->
|
|
123
|
+
<!--<label class="control-label">表号查询</label>-->
|
|
124
|
+
<!--<input type="text" class="form-control" v-model="model.f_meternumber"-->
|
|
125
|
+
<!--condition="f_meternumber = '{}' " placeholder="表具条码">-->
|
|
126
|
+
<!--</div>-->
|
|
127
|
+
</div>
|
|
128
|
+
<div class="row">
|
|
129
|
+
<div class="span" style = "float:right;margin-top:10px">
|
|
130
|
+
<button class="btn btn-success" @click="search()">查询</button>
|
|
131
|
+
<button class="btn btn-success" @click="$parent.$parent.clear()">清空</button>
|
|
132
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
133
|
+
|
|
134
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
135
|
+
:field="$parent.$parent.getExportField"
|
|
136
|
+
sqlurl="rs/logic/exportfile" sql-name="filesQuery"
|
|
137
|
+
template-name='用户查询导出' :choose-col="true"></export-excel>
|
|
138
|
+
|
|
139
|
+
<button class="btn" @click="$parent.$parent.hidden()" style="margin-left: 10px">
|
|
140
|
+
<span class="glyphicon glyphicon-chevron-up"></span>
|
|
141
|
+
</button>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</criteria>
|
|
146
|
+
|
|
147
|
+
<data-grid :model="model" partial='list' @dblclick="$parent.dblclick" v-ref:grid>
|
|
148
|
+
<template partial='head'>
|
|
149
|
+
<tr>
|
|
150
|
+
<th><nobr>用户编号</nobr></th>
|
|
151
|
+
<th><nobr>用户姓名</nobr></th>
|
|
152
|
+
<th><nobr>用户电话</nobr></th>
|
|
153
|
+
<th><nobr>身份证号</nobr></th>
|
|
154
|
+
<th><nobr>账户余额</nobr></th>
|
|
155
|
+
<th><nobr>用户地址</nobr></th>
|
|
156
|
+
<th><nobr>小区</nobr></th>
|
|
157
|
+
<th><nobr>楼栋</nobr></th>
|
|
158
|
+
<th><nobr>单元</nobr></th>
|
|
159
|
+
<th><nobr>楼层</nobr></th>
|
|
160
|
+
<th><nobr>门牌号</nobr></th>
|
|
161
|
+
<th><nobr>用户状态</nobr></th>
|
|
162
|
+
<th><nobr>建档日期</nobr></th>
|
|
163
|
+
<th><nobr>备注</nobr></th>
|
|
164
|
+
<th><nobr>部门</nobr></th>
|
|
165
|
+
<th><nobr>公司</nobr></th>
|
|
166
|
+
<!--<th><nobr>表号</nobr></th>-->
|
|
167
|
+
</tr>
|
|
168
|
+
</template>
|
|
169
|
+
<template partial='body'>
|
|
170
|
+
<td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
|
|
171
|
+
<td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
|
|
172
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
173
|
+
<td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
|
|
174
|
+
<td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
|
|
175
|
+
<td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
|
|
176
|
+
<td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
|
|
177
|
+
<td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
|
|
178
|
+
<td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
|
|
179
|
+
<td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
|
|
180
|
+
<td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
|
|
181
|
+
<td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
|
|
182
|
+
<td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
|
|
183
|
+
<td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
|
|
184
|
+
<td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
|
|
185
|
+
<td style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></td>
|
|
186
|
+
<!--<td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>-->
|
|
187
|
+
</template>
|
|
188
|
+
<template partial='foot'>
|
|
189
|
+
</template>
|
|
190
|
+
</data-grid>
|
|
191
|
+
</criteria-paged>
|
|
192
|
+
|
|
193
|
+
<table class="table-hover">
|
|
194
|
+
<tr style="position: relative" class="table-bordered">
|
|
195
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
196
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">结余合计: {{sumsmodel.f_balance}}</td>
|
|
197
|
+
</tr>
|
|
198
|
+
</table>
|
|
199
|
+
|
|
200
|
+
<!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
|
|
201
|
+
<!--<header slot="modal-header" class="modal-header text-center">-->
|
|
202
|
+
<!--<h4 class="modal-title">打印列选择</h4>-->
|
|
203
|
+
<!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
|
|
204
|
+
<!--<label for="f_generations" class="font-size">全选</label>-->
|
|
205
|
+
<!--</header>-->
|
|
206
|
+
<!--<article slot="modal-body">-->
|
|
207
|
+
<!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
|
|
208
|
+
<!--<div class="col-sm-3" v-for="f in fields">-->
|
|
209
|
+
<!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
|
|
210
|
+
<!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
|
|
211
|
+
<!--</div>-->
|
|
212
|
+
<!--</div>-->
|
|
213
|
+
<!--</article>-->
|
|
214
|
+
<!--<footer slot="modal-footer" class="modal-footer">-->
|
|
215
|
+
<!--<center>-->
|
|
216
|
+
<!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
|
|
217
|
+
<!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
|
|
218
|
+
<!--<print-table :model='model' v-show="false" v-ref:print-->
|
|
219
|
+
<!--:top='40' :left='60' :right='40' :bottom='60'-->
|
|
220
|
+
<!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
|
|
221
|
+
<!--:fields="modelval" :printpage="true">-->
|
|
222
|
+
<!--</print-table>-->
|
|
223
|
+
<!--</center>-->
|
|
224
|
+
<!--</footer>-->
|
|
225
|
+
<!--</modal>-->
|
|
226
|
+
<!--<user-detail v-if="userdetail.show" :data="userdetail"></user-detail>-->
|
|
227
|
+
|
|
228
|
+
</div>
|
|
229
|
+
</template>
|
|
230
|
+
|
|
231
|
+
<script>
|
|
232
|
+
import { PagedList } from 'vue-client'
|
|
233
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
234
|
+
import exportConfig from '../config/exportConfig'
|
|
235
|
+
let readySomething = async function (self) {
|
|
236
|
+
// 获取区县
|
|
237
|
+
let condition = `f_orgid = ${self.$login.f.orgid}`
|
|
238
|
+
// let res = await self.$resetpost('c', {data: {items: 'id,f_district',tablename: 't_pcd',orderitem: 'f_district' ,condition: condition}},{resolveMsg: null, rejectMsg: '获取区县失败!'})
|
|
239
|
+
// let areas = [{label: '全部', value:''}]
|
|
240
|
+
// res.data.forEach((row)=>{
|
|
241
|
+
// areas.push({label:row.f_district, value:row.f_district})
|
|
242
|
+
// })
|
|
243
|
+
self.areas = areas
|
|
244
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
245
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
246
|
+
await self.$refs.paged.$refs.cri.search()
|
|
247
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export default {
|
|
251
|
+
data() {
|
|
252
|
+
return {
|
|
253
|
+
model: new PagedList('rs/sql/filesQuery', 20,{},{f_balance: 0}),
|
|
254
|
+
criteriaShow: true,
|
|
255
|
+
orgCondtionStr:'',
|
|
256
|
+
CondtionStr: '',
|
|
257
|
+
modelval: [],
|
|
258
|
+
printshow: false,
|
|
259
|
+
all: false,
|
|
260
|
+
fields: {},
|
|
261
|
+
thead: '',
|
|
262
|
+
tfoot: '',
|
|
263
|
+
//合计数据
|
|
264
|
+
sumsmodel: {},
|
|
265
|
+
|
|
266
|
+
userdetail: {
|
|
267
|
+
show: false,
|
|
268
|
+
f_userinfo_code: '',
|
|
269
|
+
f_filialeids: ''
|
|
270
|
+
},
|
|
271
|
+
areas: []
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
ready(){
|
|
275
|
+
readySomething(this).then(() => {
|
|
276
|
+
this.$emit('ready')
|
|
277
|
+
}).catch((error) => {
|
|
278
|
+
this.$emit('error', error)
|
|
279
|
+
})
|
|
280
|
+
},
|
|
281
|
+
methods: {
|
|
282
|
+
selfSearch (args) {
|
|
283
|
+
args.condition = `${args.condition}`+ this.orgCondtionStr
|
|
284
|
+
this.CondtionStr = args.condition
|
|
285
|
+
this.model.search(args.condition, args.model)
|
|
286
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
287
|
+
console.log('合计字段',this.sumsmodel)
|
|
288
|
+
},
|
|
289
|
+
clear(){
|
|
290
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
291
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
292
|
+
})
|
|
293
|
+
},
|
|
294
|
+
show(){
|
|
295
|
+
this.criteriaShow = true
|
|
296
|
+
},
|
|
297
|
+
hidden(){
|
|
298
|
+
this.criteriaShow = false
|
|
299
|
+
},
|
|
300
|
+
getRes(obj) {
|
|
301
|
+
this.orgCondtionStr = obj
|
|
302
|
+
},
|
|
303
|
+
stamp () {
|
|
304
|
+
this.all = false
|
|
305
|
+
//默认选择要打印的列
|
|
306
|
+
this.modelval = defaultPrint.config
|
|
307
|
+
this.fields = this.getfield
|
|
308
|
+
console.log('所有打印字段',this.fields)
|
|
309
|
+
this.printshow = true
|
|
310
|
+
this.put()
|
|
311
|
+
},
|
|
312
|
+
put () {
|
|
313
|
+
// 对Modelval进行排序
|
|
314
|
+
this.sortModelval()
|
|
315
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
|
|
316
|
+
for (let key of this.modelval) {
|
|
317
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
318
|
+
}
|
|
319
|
+
this.thead += '</tr>'
|
|
320
|
+
},
|
|
321
|
+
print () {
|
|
322
|
+
this.$refs.print.PrintAsFile()
|
|
323
|
+
this.printshow = false
|
|
324
|
+
},
|
|
325
|
+
close () {
|
|
326
|
+
this.printshow = false
|
|
327
|
+
},
|
|
328
|
+
// 对选择的列进行排序
|
|
329
|
+
sortModelval () {
|
|
330
|
+
let sortModel = []
|
|
331
|
+
Object.keys(this.fields).forEach((key) => {
|
|
332
|
+
if (this.modelval.includes(key)) {
|
|
333
|
+
sortModel.push(key)
|
|
334
|
+
}
|
|
335
|
+
})
|
|
336
|
+
this.modelval = sortModel
|
|
337
|
+
console.log('选择的打印的字段', this.modelval)
|
|
338
|
+
},
|
|
339
|
+
dblclick (row, index) {
|
|
340
|
+
console.log('双击之后数据', row, index)
|
|
341
|
+
this.userdetail.show = true
|
|
342
|
+
this.userdetail.f_userinfo_code = row.f_userinfo_code
|
|
343
|
+
this.userdetail.f_filialeids = row.f_filialeids
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
watch:{
|
|
347
|
+
'all' (val) {
|
|
348
|
+
if (val) {
|
|
349
|
+
this.modelval = this.bodyData
|
|
350
|
+
} else {
|
|
351
|
+
this.modelval = defaultPrint.config
|
|
352
|
+
this.put()
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
'modelval.length' () {
|
|
356
|
+
this.put()
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
computed:{
|
|
360
|
+
getCondition(){
|
|
361
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.CondtionStr}
|
|
362
|
+
},
|
|
363
|
+
getfield(){
|
|
364
|
+
let data = {}
|
|
365
|
+
this.bodyData.forEach((value, index)=>{
|
|
366
|
+
data[this.bodyData[index]] = this.headData[index]
|
|
367
|
+
})
|
|
368
|
+
//合计字段打印
|
|
369
|
+
this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
|
|
370
|
+
if(this.sumsmodel){
|
|
371
|
+
Object.keys(this.sumsmodel).forEach((key) => {
|
|
372
|
+
this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
|
|
373
|
+
})
|
|
374
|
+
}else{
|
|
375
|
+
this.tfoot += '暂无'
|
|
376
|
+
}
|
|
377
|
+
this.tfoot += '</th></tr>'
|
|
378
|
+
return data
|
|
379
|
+
},
|
|
380
|
+
getExportField () {
|
|
381
|
+
return exportConfig.userConfig
|
|
382
|
+
},
|
|
383
|
+
userstates () {
|
|
384
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
|
|
385
|
+
},
|
|
386
|
+
sliceArea () {
|
|
387
|
+
let rs = new Array()
|
|
388
|
+
for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
|
|
389
|
+
let temp = {
|
|
390
|
+
label: this.$login.f.f_allArea[i].label,
|
|
391
|
+
value: this.$login.f.f_allArea[i].label
|
|
392
|
+
}
|
|
393
|
+
rs.push(temp)
|
|
394
|
+
}
|
|
395
|
+
return [{label: '全部', value: ''}, ...rs]
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
</script>
|