address-client 3.2.31 → 3.2.33-1
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/build/dev-server.js +52 -15
- package/package.json +1 -1
- package/src/components/AddressList.vue +19 -4
- package/src/components/AddressModel.vue +95 -95
- package/src/components/AreaList.vue +1 -1
- package/src/components/UserAddress.vue +4 -4
- package/src/filiale/dongguan/AddStreetOrPcd.vue +3 -3
- package/src/filiale/qianneng/AddressList.vue +21 -4
- package/src/filiale/qianneng/UserAddress.vue +1036 -984
- package/src/filiale/zhongyi/AddAreaMsg.vue +757 -757
- package/src/filiale/zhongyi/sale.js +12 -12
- package/src/main.js +21 -21
package/build/dev-server.js
CHANGED
|
@@ -10,36 +10,73 @@ var proxy = httpProxy.createProxyServer()
|
|
|
10
10
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
var str = '
|
|
13
|
+
var str = 'https://qnjtkf.cn:8400', str2= 'https://qnjtkf.cn:8400'
|
|
14
|
+
var str3= 'https://qnjtkf.cn:8400'
|
|
14
15
|
var proxyTable = {
|
|
15
|
-
|
|
16
|
+
'/rs/sql':{
|
|
17
|
+
target: str3,
|
|
18
|
+
secure:true,
|
|
19
|
+
changeOrigin:true
|
|
20
|
+
// target: 'http://127.0.0.1:8080'
|
|
21
|
+
},
|
|
22
|
+
'/webapps':{
|
|
23
|
+
target: str3,
|
|
24
|
+
secure:true,
|
|
25
|
+
changeOrigin:true
|
|
26
|
+
// target: 'http://127.0.0.1:8080'
|
|
27
|
+
},
|
|
16
28
|
'/rs/logic/getLogin': {
|
|
17
|
-
target:
|
|
29
|
+
target: str3,
|
|
30
|
+
secure:true,
|
|
31
|
+
changeOrigin:true
|
|
32
|
+
},
|
|
33
|
+
'/rs/logic/getInitData': {
|
|
34
|
+
target: str3,
|
|
35
|
+
secure:true,
|
|
36
|
+
changeOrigin:true,
|
|
37
|
+
},
|
|
38
|
+
'/rs/logic/getSaleInitData': {
|
|
39
|
+
target: str3,
|
|
40
|
+
secure:true,
|
|
41
|
+
changeOrigin:true
|
|
42
|
+
},
|
|
43
|
+
'/rs/logic':{
|
|
44
|
+
target: str3,
|
|
45
|
+
secure:true,
|
|
46
|
+
changeOrigin:true
|
|
47
|
+
// target: 'http://127.0.0.1:8080'
|
|
18
48
|
},
|
|
19
49
|
'/rs/vue': {
|
|
20
|
-
target:
|
|
50
|
+
target: str3,
|
|
51
|
+
secure:true,
|
|
52
|
+
changeOrigin:true
|
|
21
53
|
},
|
|
22
54
|
'/rs/user': {
|
|
23
|
-
target:
|
|
55
|
+
target: str3,
|
|
56
|
+
secure:true,
|
|
57
|
+
changeOrigin:true
|
|
24
58
|
},
|
|
25
59
|
'/rs/db': {
|
|
26
|
-
target:
|
|
60
|
+
target: str3,
|
|
61
|
+
secure:true,
|
|
62
|
+
changeOrigin:true
|
|
27
63
|
},
|
|
28
64
|
'/rs/search': {
|
|
29
|
-
target:
|
|
65
|
+
target: str3,
|
|
66
|
+
secure:true,
|
|
67
|
+
changeOrigin:true
|
|
68
|
+
// target: 'http://127.0.0.1:8080'
|
|
30
69
|
},
|
|
31
70
|
'/rs/data': {
|
|
32
|
-
target:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
target: str2
|
|
36
|
-
},
|
|
37
|
-
'/rs/logic/getSaleInitData': {
|
|
38
|
-
target: str2
|
|
71
|
+
target: str3,
|
|
72
|
+
secure:true,
|
|
73
|
+
changeOrigin:true
|
|
39
74
|
},
|
|
40
75
|
'/rs': {
|
|
41
76
|
// target: 'http://192.168.50.199:8300'
|
|
42
|
-
target:
|
|
77
|
+
target: str3,
|
|
78
|
+
secure:true,
|
|
79
|
+
changeOrigin:true
|
|
43
80
|
}
|
|
44
81
|
}
|
|
45
82
|
|
package/package.json
CHANGED
|
@@ -183,14 +183,16 @@
|
|
|
183
183
|
</criteria-paged>
|
|
184
184
|
</div>
|
|
185
185
|
<work-busy :is-busy='isbusy'></work-busy>
|
|
186
|
-
<modal :show.sync="showFile" width="
|
|
186
|
+
<modal :show.sync="showFile" width="600px" v-ref:modal backdrop="true">
|
|
187
187
|
<header slot="modal-header" class="modal-header">
|
|
188
188
|
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
189
189
|
<h4 class="modal-title">选择文件</h4>
|
|
190
190
|
</header>
|
|
191
191
|
<article slot="modal-body" class="modal-body">
|
|
192
192
|
<div class="form-group">
|
|
193
|
-
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
193
|
+
<file-upload class="my-file-uploader col-sm-9" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
194
|
+
<button class="button_clear btn-gn" style="margin-top: 10px;background-color: #6aa6e2;" @click="downloadFiles()">模板下载
|
|
195
|
+
</button>
|
|
194
196
|
</div>
|
|
195
197
|
</article>
|
|
196
198
|
<footer slot="modal-footer" class="modal-footer" style="display: none"></footer>
|
|
@@ -327,6 +329,19 @@
|
|
|
327
329
|
//this.$refs.paged.$refs.grid.selectInit()
|
|
328
330
|
},
|
|
329
331
|
methods: {
|
|
332
|
+
downloadFiles(){
|
|
333
|
+
let downurl='rs/downloadfile/file?filename=地址导入Excel模板';
|
|
334
|
+
this.$resetget(downurl,{}).then(res=>{
|
|
335
|
+
var link = document.createElement('a');
|
|
336
|
+
link.target="_blank"
|
|
337
|
+
link.href =downurl ;
|
|
338
|
+
link.setAttribute("download", "地址导入Excel模板.xlsx"); //指定下载后的文件名,防跳转
|
|
339
|
+
document.body.appendChild(link);
|
|
340
|
+
link.click();
|
|
341
|
+
})
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
},
|
|
330
345
|
getotherfooter() {
|
|
331
346
|
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
332
347
|
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
@@ -421,11 +436,11 @@
|
|
|
421
436
|
this.userInfos = []
|
|
422
437
|
this.$refs.paged.$refs.grid.getRowData().forEach((row,n) => {
|
|
423
438
|
this.userInfos[n] = {
|
|
424
|
-
|
|
439
|
+
addressid: row.id,
|
|
425
440
|
f_residential_area: row.f_residential_area,
|
|
426
441
|
f_street: row.f_street,
|
|
427
442
|
f_address: row.f_address,
|
|
428
|
-
f_address_rest:
|
|
443
|
+
f_address_rest: (row.f_building?row.f_building+row.f_building_suffix:'') + (row.f_unit?row.f_unit+row.f_unit_suffix:'') + (row.f_floor?row.f_floor+row.f_floor_suffix:'') + (row.f_room?row.f_room+row.f_room_suffix:'')
|
|
429
444
|
}
|
|
430
445
|
})
|
|
431
446
|
let modifyBatchData = {
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<modal :show.sync="isshow" :width='width' v-ref:modal backdrop="false">
|
|
3
|
-
<header slot="modal-header" class="modal-header">
|
|
4
|
-
<button type="button" class="close" @click="closeTree"><span>×</span></button>
|
|
5
|
-
<h4 class="modal-title">地址管理</h4>
|
|
6
|
-
</header>
|
|
7
|
-
<article slot="modal-body" class="modal-body">
|
|
8
|
-
<div class="from-group" style="height: 450px;overflow: auto;">
|
|
9
|
-
<address-tree :f_location="f_location" :isquery="isquery" :isinspect="true" :isbasch="isbasch" v-ref:addresstree></address-tree>
|
|
10
|
-
<!--<address-select v-if="isselect" :f_location="f_location" v-ref:addressSelect :show="showType" :value="value" @re-ref="selectclick"></address-select>-->
|
|
11
|
-
</div>
|
|
12
|
-
</article>
|
|
13
|
-
<footer slot="modal-footer">
|
|
14
|
-
<button type="button" class="btn btn-success" @click='confirm'>确认</button>
|
|
15
|
-
</footer>
|
|
16
|
-
</modal>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<script>
|
|
20
|
-
export default {
|
|
21
|
-
name: "AddressModel",
|
|
22
|
-
title: '地址管理弹窗',
|
|
23
|
-
props: {
|
|
24
|
-
// 地址查询方式
|
|
25
|
-
isquery: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: true,
|
|
28
|
-
},
|
|
29
|
-
//位置信息
|
|
30
|
-
f_location: {
|
|
31
|
-
type: Object,
|
|
32
|
-
default: {
|
|
33
|
-
f_locationId: '1535',
|
|
34
|
-
f_locationType: 't_organization',
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
//是否显示
|
|
38
|
-
isshow: {
|
|
39
|
-
type: Boolean,
|
|
40
|
-
default : false,
|
|
41
|
-
},
|
|
42
|
-
// 是否选中
|
|
43
|
-
isselect: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: false,
|
|
46
|
-
},
|
|
47
|
-
// 默认显示地址
|
|
48
|
-
value:{
|
|
49
|
-
type: Object
|
|
50
|
-
},
|
|
51
|
-
// 下拉选择 || 树选择
|
|
52
|
-
showType: {
|
|
53
|
-
type: Boolean,
|
|
54
|
-
default: false
|
|
55
|
-
},
|
|
56
|
-
// 是否显示批量添加
|
|
57
|
-
isbasch: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: true,
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
data(){
|
|
63
|
-
return{
|
|
64
|
-
width: '90%'
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
methods:{
|
|
68
|
-
confirm(){
|
|
69
|
-
this.$emit('addressno')
|
|
70
|
-
},
|
|
71
|
-
// 关闭 弹窗
|
|
72
|
-
closeTree() {
|
|
73
|
-
this.isshow = false
|
|
74
|
-
this.$emit('addressno')
|
|
75
|
-
}
|
|
76
|
-
// 选中
|
|
77
|
-
// selectclick(newobj, address) {
|
|
78
|
-
// this.$emit('re-ref', newobj, address)
|
|
79
|
-
// }
|
|
80
|
-
},
|
|
81
|
-
watch:{
|
|
82
|
-
//显示改变且为true
|
|
83
|
-
'isshow'(val){
|
|
84
|
-
if(val){
|
|
85
|
-
//刷新数据
|
|
86
|
-
this.$refs.addresstree.init()
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
</script>
|
|
92
|
-
|
|
93
|
-
<style scoped>
|
|
94
|
-
|
|
95
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<modal :show.sync="isshow" :width='width' v-ref:modal backdrop="false">
|
|
3
|
+
<header slot="modal-header" class="modal-header">
|
|
4
|
+
<button type="button" class="close" @click="closeTree"><span>×</span></button>
|
|
5
|
+
<h4 class="modal-title">地址管理</h4>
|
|
6
|
+
</header>
|
|
7
|
+
<article slot="modal-body" class="modal-body">
|
|
8
|
+
<div class="from-group" style="height: 450px;overflow: auto;">
|
|
9
|
+
<address-tree :f_location="f_location" :isquery="isquery" :isinspect="true" :isbasch="isbasch" v-ref:addresstree></address-tree>
|
|
10
|
+
<!--<address-select v-if="isselect" :f_location="f_location" v-ref:addressSelect :show="showType" :value="value" @re-ref="selectclick"></address-select>-->
|
|
11
|
+
</div>
|
|
12
|
+
</article>
|
|
13
|
+
<footer slot="modal-footer">
|
|
14
|
+
<button type="button" class="btn btn-success" @click='confirm'>确认</button>
|
|
15
|
+
</footer>
|
|
16
|
+
</modal>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script>
|
|
20
|
+
export default {
|
|
21
|
+
name: "AddressModel",
|
|
22
|
+
title: '地址管理弹窗',
|
|
23
|
+
props: {
|
|
24
|
+
// 地址查询方式
|
|
25
|
+
isquery: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: true,
|
|
28
|
+
},
|
|
29
|
+
//位置信息
|
|
30
|
+
f_location: {
|
|
31
|
+
type: Object,
|
|
32
|
+
default: {
|
|
33
|
+
f_locationId: '1535',
|
|
34
|
+
f_locationType: 't_organization',
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
//是否显示
|
|
38
|
+
isshow: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default : false,
|
|
41
|
+
},
|
|
42
|
+
// 是否选中
|
|
43
|
+
isselect: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: false,
|
|
46
|
+
},
|
|
47
|
+
// 默认显示地址
|
|
48
|
+
value:{
|
|
49
|
+
type: Object
|
|
50
|
+
},
|
|
51
|
+
// 下拉选择 || 树选择
|
|
52
|
+
showType: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: false
|
|
55
|
+
},
|
|
56
|
+
// 是否显示批量添加
|
|
57
|
+
isbasch: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: true,
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
data(){
|
|
63
|
+
return{
|
|
64
|
+
width: '90%'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
methods:{
|
|
68
|
+
confirm(){
|
|
69
|
+
this.$emit('addressno')
|
|
70
|
+
},
|
|
71
|
+
// 关闭 弹窗
|
|
72
|
+
closeTree() {
|
|
73
|
+
this.isshow = false
|
|
74
|
+
this.$emit('addressno')
|
|
75
|
+
}
|
|
76
|
+
// 选中
|
|
77
|
+
// selectclick(newobj, address) {
|
|
78
|
+
// this.$emit('re-ref', newobj, address)
|
|
79
|
+
// }
|
|
80
|
+
},
|
|
81
|
+
watch:{
|
|
82
|
+
//显示改变且为true
|
|
83
|
+
'isshow'(val){
|
|
84
|
+
if(val){
|
|
85
|
+
//刷新数据
|
|
86
|
+
this.$refs.addresstree.init()
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
</script>
|
|
92
|
+
|
|
93
|
+
<style scoped>
|
|
94
|
+
|
|
95
|
+
</style>
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
if (this.f_filialeids) {
|
|
322
322
|
if (this.$refs.paged.$refs.grid.getRowData().length != 0) {
|
|
323
323
|
this.showDelete = true
|
|
324
|
-
let condition = `a.f_orgid = '${this.
|
|
324
|
+
let condition = `a.f_orgid = '${this.$login.f.orgid}'`
|
|
325
325
|
let req = await this.$resetpost('rs/sql/address_getresidential', {
|
|
326
326
|
data: {
|
|
327
327
|
condition: condition
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
this.areaslist = []
|
|
432
432
|
// this.model.f_residential_area_id = null
|
|
433
433
|
// this.model.f_residential_area = null
|
|
434
|
-
let condition = `isnull(f_iscity,'') = isnull('${this.model.f_iscity}','') and a.f_orgid = '${this.
|
|
434
|
+
let condition = `isnull(f_iscity,'') = isnull('${this.model.f_iscity}','') and a.f_orgid = '${this.$login.f.orgid}'`
|
|
435
435
|
let req = await this.$resetpost('rs/sql/address_getresidential', {
|
|
436
436
|
data: {
|
|
437
437
|
condition: condition
|
|
@@ -466,9 +466,9 @@
|
|
|
466
466
|
this.model.f_address_state = '已通气'
|
|
467
467
|
this.initAreas(this.f_filialeids)
|
|
468
468
|
// 添加特殊地址选省市区
|
|
469
|
-
this.initpcds(` f_orgid = '${this.
|
|
470
|
-
this.initstreets(` f_orgid = '${this.
|
|
471
|
-
this.initareas(` f_orgid = '${this.
|
|
469
|
+
this.initpcds(` f_orgid = '${this.$login.f.orgid}'`)
|
|
470
|
+
this.initstreets(` f_orgid = '${this.$login.f.orgid}' `)
|
|
471
|
+
this.initareas(` f_orgid = '${this.$login.f.orgid}'`)
|
|
472
472
|
|
|
473
473
|
},
|
|
474
474
|
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
tablename: 'divisions_of_china',
|
|
246
246
|
condition: 'areaCode is null'
|
|
247
247
|
}
|
|
248
|
-
}).then(res => {
|
|
248
|
+
},{resolveMsg: null,rejectMsg: null}).then(res => {
|
|
249
249
|
this.provinceOptions = this.handleTree(res.data, 'code', 'parentcode')
|
|
250
250
|
})
|
|
251
251
|
},
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
this.pcdmodel.f_depid = this.$login.f.depids
|
|
365
365
|
this.pcdmodel.f_depname = this.$login.f.deps
|
|
366
366
|
this.pcdmodel.f_pcd = this.pcdmodel.f_province+this.pcdmodel.f_city+this.pcdmodel.f_district
|
|
367
|
-
await this.$resetpost('rs/logic/address_updatepcd', this.pcdmodel)
|
|
367
|
+
await this.$resetpost('rs/logic/address_updatepcd', this.pcdmodel,{resolveMsg: null,rejectMsg: null})
|
|
368
368
|
},
|
|
369
369
|
//保存街道
|
|
370
370
|
async savestreet(){
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
this.streetmodel.f_depname = this.$login.f.deps
|
|
378
378
|
this.streetmodel.f_pcd=this.findbyid(this.pcdslist,this.streetmodel.f_pcd_id).f_pcd
|
|
379
379
|
console.log('获取街道model', this.streetmodel)
|
|
380
|
-
await this.$resetpost('rs/logic/address_updatestreet', this.streetmodel)
|
|
380
|
+
await this.$resetpost('rs/logic/address_updatestreet', this.streetmodel,{resolveMsg: null,rejectMsg: null})
|
|
381
381
|
},
|
|
382
382
|
cancel(){
|
|
383
383
|
this.cleardara()
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
<div class="col-sm-4 form-group button-range" >
|
|
36
36
|
<button class="button_search button_spacing" @click="search()" >查询</button>
|
|
37
|
-
<button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('民用')"
|
|
38
|
-
<button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('非民用')">添加特殊地址</button
|
|
37
|
+
<button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('民用')">添加地址</button>
|
|
38
|
+
<!-- <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('非民用')">添加特殊地址</button>-->
|
|
39
39
|
<button class="button_new button_spacing" style="width: max-content" v-show="this.$login.r.includes('批量修改')" @click="$parent.$parent.modifyBatch()">批量修改</button>
|
|
40
40
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
41
41
|
<button class="button_export button_spacing" @click="$parent.$parent.importAddress('导入')">模板导入</button>
|
|
@@ -122,6 +122,17 @@
|
|
|
122
122
|
close-on-select>
|
|
123
123
|
</v-select>
|
|
124
124
|
</div>
|
|
125
|
+
<div :class="$parent.$parent.style">
|
|
126
|
+
<label class="font_normal_body">地区类型</label>
|
|
127
|
+
<v-select
|
|
128
|
+
class="select_list select"
|
|
129
|
+
:value.sync="model.f_iscity"
|
|
130
|
+
v-model="model.f_iscity"
|
|
131
|
+
:options='$parent.$parent.iscity' placeholder='地区类型'
|
|
132
|
+
condition="a.f_iscity = '{}'"
|
|
133
|
+
close-on-select>
|
|
134
|
+
</v-select>
|
|
135
|
+
</div>
|
|
125
136
|
<div :class="$parent.$parent.style" >
|
|
126
137
|
<label class="font_normal_body">状  态</label>
|
|
127
138
|
<v-select :value.sync="model.f_state"
|
|
@@ -154,6 +165,7 @@
|
|
|
154
165
|
<th v-show="!$parent.$parent.$parent.$parent.useraddressShow"><nobr>楼层</nobr></th>
|
|
155
166
|
<th v-show="!$parent.$parent.$parent.$parent.useraddressShow"><nobr>门牌号</nobr></th>
|
|
156
167
|
<th><nobr>详细地址</nobr></th>
|
|
168
|
+
<th><nobr>地区类型</nobr></th>
|
|
157
169
|
<th><nobr>地址状态</nobr></th>
|
|
158
170
|
<th><nobr>状态</nobr></th>
|
|
159
171
|
<th><nobr>入户证号</nobr></th>
|
|
@@ -172,6 +184,7 @@
|
|
|
172
184
|
<td v-show="!$parent.$parent.$parent.$parent.useraddressShow" style="text-align:center"><nobr>{{row.f_floor}}{{row.f_floor_suffix}}</nobr></td>
|
|
173
185
|
<td v-show="!$parent.$parent.$parent.$parent.useraddressShow" style="text-align:center"><nobr>{{row.f_room}}{{row.f_room_suffix}}</nobr></td>
|
|
174
186
|
<td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
|
|
187
|
+
<td style="text-align:center"><nobr>{{row.f_iscity}}</nobr></td>
|
|
175
188
|
<td style="text-align:center"><nobr>{{row.f_address_state}}</nobr></td>
|
|
176
189
|
<td style="text-align:center"><nobr>{{row.f_state ==='作废'?'作废':'有效'}}</nobr></td>
|
|
177
190
|
<td style="text-align:center"><nobr>{{row.f_enter_number}}</nobr></td>
|
|
@@ -261,7 +274,9 @@
|
|
|
261
274
|
data () {
|
|
262
275
|
return {
|
|
263
276
|
criteriaShow: false,
|
|
277
|
+
// rs/sql/address_singleTableOrderBy
|
|
264
278
|
model: new PagedList('rs/sql/address_getAddress',20,{tablename: `'t_user_address'`,items: `'*'`,orderitem: `'id desc'`}),
|
|
279
|
+
//address_getAddress params:{tablename: `'t_user_address'`,items: `'*'`,orderitem: `'id desc'`}
|
|
265
280
|
config: {
|
|
266
281
|
// 导出列要和查询列相同
|
|
267
282
|
excelHeaders: {
|
|
@@ -277,11 +292,13 @@
|
|
|
277
292
|
'f_floor':'楼层',
|
|
278
293
|
'f_room':'门牌号',
|
|
279
294
|
'f_address':'详细地址',
|
|
295
|
+
'f_iscity':'地区类型',
|
|
280
296
|
'f_address_state':'地址状态',
|
|
281
297
|
'f_create_date':'时间',
|
|
282
298
|
'f_state':'状态'
|
|
283
299
|
},
|
|
284
300
|
},
|
|
301
|
+
iscity:[{label:'市区',value:'市区'},{label:'乡镇',value:'乡镇'},{label:'全部',value:''}],
|
|
285
302
|
isbusy:false,
|
|
286
303
|
addflag: false,
|
|
287
304
|
addtitle:'',
|
|
@@ -398,7 +415,7 @@
|
|
|
398
415
|
if (!this.f_orgid) {
|
|
399
416
|
this.getorg([this.$login.f.orgid])
|
|
400
417
|
}
|
|
401
|
-
args.condition = `${args.condition} and
|
|
418
|
+
args.condition = `${args.condition} and f_filialeid = '${this.f_filialeids}'`
|
|
402
419
|
this.model.search(args.condition, args.model)
|
|
403
420
|
},
|
|
404
421
|
|
|
@@ -613,7 +630,7 @@
|
|
|
613
630
|
},
|
|
614
631
|
getCondition() {
|
|
615
632
|
return {
|
|
616
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + `and
|
|
633
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + `and f_filialeid = '${this.f_filialeids}'`}
|
|
617
634
|
}
|
|
618
635
|
}
|
|
619
636
|
|