address-client 3.2.103 → 3.2.104
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 +185 -174
- package/build/versionCheck.js +31 -0
- package/package.json +4 -3
- package/src/components/AddAreaMsg.vue +7 -7
- package/src/components/AddCommunityManageMsg.vue +3 -3
- package/src/components/AddStreetManageMsg.vue +3 -3
- package/src/components/AddStreetOrPcd.vue +16 -21
- package/src/components/AddressAddAddress.vue +14 -14
- package/src/components/AddressFiles.vue +1 -1
- package/src/components/AddressList.vue +9 -9
- package/src/components/AddressTree.vue +5 -5
- package/src/components/AreaFiles.vue +1 -1
- package/src/components/AreaList.vue +5 -5
- package/src/components/AreaTree.vue +5 -5
- package/src/components/Basch.vue +1 -1
- package/src/components/BatchOrders.vue +6 -6
- package/src/components/BuildingList.vue +2 -2
- package/src/components/CityList.vue +3 -3
- package/src/components/CommunityAreaList.vue +1 -1
- package/src/components/CommunityManageList.vue +4 -4
- package/src/components/NewAddressInfo.vue +4 -4
- package/src/components/StreetList.vue +241 -240
- package/src/components/StreetManageList.vue +4 -4
- package/src/components/UserAddress.vue +903 -903
- package/src/components/UserAddressChange.vue +1 -1
- package/src/components/selectAddress/BatchList.vue +6 -6
- package/src/filiale/WEINAN/AddAreaMsg.vue +5 -5
- package/src/filiale/WEINAN/AddressList.vue +9 -9
- package/src/filiale/WEINAN/AreaList.vue +435 -435
- package/src/filiale/WEINAN/AreaUserList.vue +3 -3
- package/src/filiale/WEINAN/UserAddress.vue +5 -5
- package/src/filiale/chengtou/UserAddress.vue +6 -6
- package/src/filiale/dongguan/AddStreetOrPcd.vue +6 -6
- package/src/filiale/gaomi/AddressList.vue +6 -6
- package/src/filiale/gaomi/UserAddress.vue +5 -5
- package/src/filiale/gongyi/AddAreaMsg.vue +4 -4
- package/src/filiale/gongyi/UserAddress.vue +5 -5
- package/src/filiale/haile/AddressList.vue +9 -9
- package/src/filiale/jingwei/UserAddress.vue +5 -5
- package/src/filiale/lixianV3/AreaList.vue +416 -416
- package/src/filiale/lixianV3/sale.js +12 -12
- package/src/filiale/macheng/AddAreaMsg.vue +4 -4
- package/src/filiale/macheng/AddStreetOrPcd.vue +3 -3
- package/src/filiale/macheng/AddressList.vue +9 -9
- package/src/filiale/macheng/AreaList.vue +4 -4
- package/src/filiale/macheng/StreetList.vue +3 -3
- package/src/filiale/macheng/UserAddress.vue +5 -5
- package/src/filiale/meihekou/UserAddress.vue +6 -6
- package/src/filiale/qianneng/AddAreaMsg.vue +7 -7
- package/src/filiale/qianneng/AddStreetOrPcd.vue +5 -5
- package/src/filiale/qianneng/AddressList.vue +10 -10
- package/src/filiale/qianneng/AreaList.vue +6 -6
- package/src/filiale/qianneng/UserAddress.vue +7 -7
- package/src/filiale/qinhua/AddAreaMsg.vue +7 -7
- package/src/filiale/qinhua/AddressList.vue +9 -9
- package/src/filiale/qinhua/AreaList.vue +6 -6
- package/src/filiale/qinhua/StreetList.vue +4 -4
- package/src/filiale/qinhua/UserAddress.vue +6 -6
- package/src/filiale/rizhao/UserAddress.vue +6 -6
- package/src/filiale/rongcheng/AddressList.vue +5 -5
- package/src/filiale/rongcheng/UserAddress.vue +5 -5
- package/src/filiale/shanggao/AddAreaMsg.vue +7 -7
- package/src/filiale/shanggao/AddStreetOrPcd.vue +5 -5
- package/src/filiale/shanggao/AddressList.vue +9 -9
- package/src/filiale/shanggao/AreaList.vue +6 -6
- package/src/filiale/shanggao/BuildingList.vue +2 -2
- package/src/filiale/shanggao/StreetList.vue +4 -4
- package/src/filiale/shanggao/UserAddress.vue +7 -7
- package/src/filiale/shanxian/AddAreaMsg.vue +7 -7
- package/src/filiale/shanxian/AddressList.vue +9 -9
- package/src/filiale/shanxian/AreaList.vue +6 -6
- package/src/filiale/shanxian/UserAddress.vue +6 -6
- package/src/filiale/shaoguan/AddAreaMsg.vue +4 -4
- package/src/filiale/shaoguan/UserAddress.vue +5 -5
- package/src/filiale/tongchuan/AddAreaMsg.vue +4 -4
- package/src/filiale/tongchuan/AddStreetOrPcd.vue +6 -6
- package/src/filiale/tongchuan/AddressList.vue +5 -5
- package/src/filiale/tongchuan/AreaList.vue +4 -4
- package/src/filiale/tongchuan/CityList.vue +3 -3
- package/src/filiale/tongchuan/StreetList.vue +4 -4
- package/src/filiale/tongchuan/UserAddress.vue +6 -6
- package/src/filiale/wuhai/UserAddress.vue +5 -5
- package/src/filiale/xinkang/AddAreaMsg.vue +8 -8
- package/src/filiale/xinkang/AreaList.vue +5 -5
- package/src/filiale/yangchun/AddAreaMsg.vue +756 -756
- package/src/filiale/yangchun/sale.js +7 -7
- package/src/filiale/zhongsheng/AddressList.vue +10 -10
- package/src/filiale/zhongsheng/AreaList.vue +7 -7
- package/src/filiale/zhongyi/AddAreaMsg.vue +7 -7
- package/src/filiale/zhoukou/AddAreaMsg.vue +5 -5
- package/src/filiale/zhoukou/AddressList.vue +5 -5
- package/src/filiale/zhoukou/AreaList.vue +4 -4
- package/src/filiale/zhoukou/UserAddress.vue +6 -6
- package/src/main.js +3 -2
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
46
46
|
<export-excel :data="$parent.$parent.getCondition"
|
|
47
47
|
:field="$parent.$parent.getfield"
|
|
48
|
-
sqlurl="
|
|
48
|
+
sqlurl="api/af-revenue/logic/exportfile"
|
|
49
49
|
sql-name="manage_getarealist"
|
|
50
50
|
template-name='小区信息查询导出'
|
|
51
51
|
:choose-col="true"></export-excel>
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
data () {
|
|
176
176
|
return {
|
|
177
177
|
criteriaShow: false,
|
|
178
|
-
model: new PagedList('
|
|
178
|
+
model: new PagedList('api/af-revenue/sql/address_getarealist',20),
|
|
179
179
|
addflag: false,
|
|
180
180
|
addtitle:'',
|
|
181
181
|
getfield: {},
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
async delete(row){
|
|
232
232
|
if(row.id >= 0){
|
|
233
233
|
var id = row.id
|
|
234
|
-
let useraredss = await this.$resetpost('
|
|
234
|
+
let useraredss = await this.$resetpost('api/af-revenue/sql/address_singleTable',
|
|
235
235
|
{data: {
|
|
236
236
|
items: 'f_residential_area_id',
|
|
237
237
|
tablename: 't_user_address',
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
if(useraredss.data.length>0){
|
|
242
242
|
this.$showAlert('该小区下已有地址信息,无法删除!','warning',1000)
|
|
243
243
|
}else{
|
|
244
|
-
this.$resetdelete('
|
|
244
|
+
this.$resetdelete('api/af-revenue/entity/t_area', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
245
245
|
this.$dispatch('cancel')
|
|
246
246
|
})
|
|
247
247
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
export default {
|
|
58
58
|
data () {
|
|
59
59
|
return {
|
|
60
|
-
model: new PagedList('
|
|
60
|
+
model: new PagedList('api/af-revenue/sql/address_getcitylist',20),
|
|
61
61
|
addflag: false,
|
|
62
62
|
getfield: {},
|
|
63
63
|
f_orgid: ''
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
async delete(row){
|
|
80
80
|
if(row.id >= 0 ){
|
|
81
81
|
var id = row.id
|
|
82
|
-
let useraredss = await this.$resetpost('
|
|
82
|
+
let useraredss = await this.$resetpost('api/af-revenue/sql/address_singleTable',
|
|
83
83
|
{data: {
|
|
84
84
|
items: 'f_pcd_id',
|
|
85
85
|
tablename: 't_street',
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
if(useraredss.data.length>0){
|
|
90
90
|
this.$showAlert('该区县下已有街道信息,无法删除!','warning',1000)
|
|
91
91
|
}else{
|
|
92
|
-
this.$resetdelete('
|
|
92
|
+
this.$resetdelete('api/af-revenue/entity/t_pcd', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
93
93
|
this.$dispatch('cancel')
|
|
94
94
|
})
|
|
95
95
|
}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
24
24
|
<export-excel :data="$parent.$parent.getCondition"
|
|
25
25
|
:field="$parent.$parent.getfield"
|
|
26
|
-
sqlurl="
|
|
26
|
+
sqlurl="api/af-revenue/logic/exportfile"
|
|
27
27
|
sql-name="manage_getstreetlist"
|
|
28
28
|
template-name='街道信息查询导出'
|
|
29
29
|
:choose-col="true"></export-excel>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
data () {
|
|
117
117
|
return {
|
|
118
118
|
criteriaShow: false,
|
|
119
|
-
model: new PagedList('
|
|
119
|
+
model: new PagedList('api/af-revenue/sql/address_getstreetlist',20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_city,f_district,f_iscity,f_street desc'`}),
|
|
120
120
|
addflag: false,
|
|
121
121
|
getfield: {},
|
|
122
122
|
addtitle:'',
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
async delete(row){
|
|
160
160
|
if(row.id >= 0 ){
|
|
161
161
|
var id = row.id
|
|
162
|
-
let useraredss = await this.$resetpost('
|
|
162
|
+
let useraredss = await this.$resetpost('api/af-revenue/sql/address_singleTable',
|
|
163
163
|
{data: {
|
|
164
164
|
items: 'f_street_id',
|
|
165
165
|
tablename: 't_area',
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
if(useraredss.data.length>0){
|
|
170
170
|
this.$showAlert('该街道下已有小区信息,无法删除!','warning',1000)
|
|
171
171
|
}else{
|
|
172
|
-
this.$resetdelete('
|
|
172
|
+
this.$resetdelete('api/af-revenue/entity/t_street', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
173
173
|
this.$dispatch('cancel')
|
|
174
174
|
})
|
|
175
175
|
}
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
async changecity(){
|
|
395
395
|
this.areaslist = []
|
|
396
396
|
let condition = `isnull(f_iscity,'') = isnull('${this.model.f_iscity}','') and a.f_orgid = '${this.f_filialeids}'`
|
|
397
|
-
let req = await this.$resetpost('
|
|
397
|
+
let req = await this.$resetpost('api/af-revenue/sql/address_getresidential', {
|
|
398
398
|
data: {
|
|
399
399
|
condition: condition
|
|
400
400
|
}
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
async initpcds(pconditon){
|
|
458
458
|
this.pcdslist = []
|
|
459
459
|
let HttpReset = new HttpResetClass()
|
|
460
|
-
let req = await HttpReset.load('POST', '
|
|
460
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
461
461
|
data: {
|
|
462
462
|
items: '*',
|
|
463
463
|
tablename: 't_pcd',
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
async initstreets(pconditon){
|
|
481
481
|
this.streetslist = []
|
|
482
482
|
let HttpReset = new HttpResetClass()
|
|
483
|
-
let req = await HttpReset.load('POST', '
|
|
483
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
484
484
|
data: {
|
|
485
485
|
items: '*',
|
|
486
486
|
tablename: 't_street',
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
// }
|
|
507
507
|
this.areaslist = []
|
|
508
508
|
let HttpReset = new HttpResetClass()
|
|
509
|
-
let req = await HttpReset.load('POST', '
|
|
509
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
510
510
|
data: {
|
|
511
511
|
items: '*',
|
|
512
512
|
tablename: 't_area',
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
}
|
|
685
685
|
this.$showMessage('确定要批量添加'+this.addresslist.length+'户地址吗?,如有已经存在的,将会重复添加!!!', ['confirm', 'cancel']).then((res) => {
|
|
686
686
|
if (res === 'confirm') {
|
|
687
|
-
this.$resetpost('
|
|
687
|
+
this.$resetpost('api/af-revenue/logic/address_adduserlist',{data: {addlist:this.addresslist}},msg).then((req) => {
|
|
688
688
|
this.cleardara()
|
|
689
689
|
this.$dispatch('confirm')
|
|
690
690
|
})
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
this.model.f_residential_area=this.findbyid(this.areaslist,this.model.f_residential_area_id).f_residential_area
|
|
738
738
|
this.model.f_address = this.model.f_street + this.model.f_residential_area + (this.model.f_building?this.model.f_building +this.model.f_building_suffix:'') + (this.model.f_unit?this.model.f_unit +this.model.f_unit_suffix:'') + (this.model.f_floor?this.model.f_floor +this.model.f_floor_suffix:'') + this.model.f_room + this.model.f_room_suffix
|
|
739
739
|
}
|
|
740
|
-
await this.$resetpost('
|
|
740
|
+
await this.$resetpost('api/af-revenue/logic/address_updateuseraddress', this.model)
|
|
741
741
|
},
|
|
742
742
|
cancel(){
|
|
743
743
|
this.cleardara()
|
|
@@ -430,7 +430,7 @@
|
|
|
430
430
|
async initpcds(pconditon){
|
|
431
431
|
this.pcdslist = []
|
|
432
432
|
let HttpReset = new HttpResetClass()
|
|
433
|
-
let req = await HttpReset.load('POST', '
|
|
433
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
434
434
|
data: {
|
|
435
435
|
items: '*',
|
|
436
436
|
tablename: 't_pcd',
|
|
@@ -453,7 +453,7 @@
|
|
|
453
453
|
async initstreets(pconditon){
|
|
454
454
|
this.streetslist = []
|
|
455
455
|
let HttpReset = new HttpResetClass()
|
|
456
|
-
let req = await HttpReset.load('POST', '
|
|
456
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
457
457
|
data: {
|
|
458
458
|
items: '*',
|
|
459
459
|
tablename: 't_street',
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
// }
|
|
480
480
|
this.areaslist = []
|
|
481
481
|
let HttpReset = new HttpResetClass()
|
|
482
|
-
let req = await HttpReset.load('POST', '
|
|
482
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
483
483
|
data: {
|
|
484
484
|
items: '*',
|
|
485
485
|
tablename: 't_area',
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
}
|
|
658
658
|
this.$showMessage('确定要批量添加'+this.addresslist.length+'户地址吗?,如有已经存在的,将会重复添加!!!', ['confirm', 'cancel']).then((res) => {
|
|
659
659
|
if (res === 'confirm') {
|
|
660
|
-
this.$resetpost('
|
|
660
|
+
this.$resetpost('api/af-revenue/logic/address_adduserlist',{data: {addlist:this.addresslist}},msg).then((req) => {
|
|
661
661
|
this.cleardara()
|
|
662
662
|
this.$dispatch('confirm')
|
|
663
663
|
})
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
this.model.f_residential_area=this.findbyid(this.areaslist,this.model.f_residential_area_id).f_residential_area
|
|
711
711
|
this.model.f_address = this.model.f_street + this.model.f_residential_area + (this.model.f_building?this.model.f_building +this.model.f_building_suffix:'') + (this.model.f_unit?this.model.f_unit +this.model.f_unit_suffix:'') + (this.model.f_floor?this.model.f_floor +this.model.f_floor_suffix:'') + this.model.f_room + this.model.f_room_suffix
|
|
712
712
|
}
|
|
713
|
-
await this.$resetpost('
|
|
713
|
+
await this.$resetpost('api/af-revenue/logic/address_updateuseraddress', this.model)
|
|
714
714
|
},
|
|
715
715
|
cancel(){
|
|
716
716
|
this.cleardara()
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
// }
|
|
413
413
|
this.areaslist = []
|
|
414
414
|
let HttpReset = new HttpResetClass()
|
|
415
|
-
let req = await HttpReset.load('POST', '
|
|
415
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
416
416
|
data: {
|
|
417
417
|
items: '*',
|
|
418
418
|
tablename: 't_area',
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
async initpcds(pconditon){
|
|
437
437
|
this.pcdslist = []
|
|
438
438
|
let HttpReset = new HttpResetClass()
|
|
439
|
-
let req = await HttpReset.load('POST', '
|
|
439
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
440
440
|
data: {
|
|
441
441
|
items: '*',
|
|
442
442
|
tablename: 't_pcd',
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
async initcommunitys(conditon){
|
|
461
461
|
this.communitys = []
|
|
462
462
|
let HttpReset = new HttpResetClass()
|
|
463
|
-
let req = await HttpReset.load('POST', '
|
|
463
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
464
464
|
data: {
|
|
465
465
|
items: 'id,f_community_name',
|
|
466
466
|
tablename: 't_community',
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
async initstreets(pconditon){
|
|
484
484
|
this.streetslist = []
|
|
485
485
|
let HttpReset = new HttpResetClass()
|
|
486
|
-
let req = await HttpReset.load('POST', '
|
|
486
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
487
487
|
data: {
|
|
488
488
|
items: '*',
|
|
489
489
|
tablename: 't_street',
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
this.$showAlert('请输入正确的位数', 'warning', 2000)
|
|
509
509
|
this.areamodel.f_area_id = ''
|
|
510
510
|
}else{
|
|
511
|
-
let res =await this.$resetpost('
|
|
511
|
+
let res =await this.$resetpost('api/af-revenue/sql/address_singleTableOrderBy', {
|
|
512
512
|
data: {
|
|
513
513
|
items: '*',
|
|
514
514
|
tablename: 't_area',
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
f_filialeid: this.f_filialeids
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
-
let res = await this.$resetpost('
|
|
536
|
+
let res = await this.$resetpost('api/af-revenue/logic/address_validateAreaID', param, {resolveMsg: null,rejectMsg: '小区编号验证失败!!'})
|
|
537
537
|
console.log('验证小区是否存在', res)
|
|
538
538
|
if (res.data) {
|
|
539
539
|
this.$showAlert('这个小区编号已存在!!!请核实', 'warning', 3000)
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
this.buildingmodel.f_orgname = this.$login.f.orgs
|
|
611
611
|
this.buildingmodel.f_depid = this.$login.f.depids
|
|
612
612
|
this.buildingmodel.f_depname = this.$login.f.deps
|
|
613
|
-
await this.$resetpost('
|
|
613
|
+
await this.$resetpost('api/af-revenue/logic/address_savebuilding', this.buildingmodel)
|
|
614
614
|
this.$refs.buildinglist.search()
|
|
615
615
|
},
|
|
616
616
|
//保存小区
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
}
|
|
638
638
|
this.areamodel.f_street=this.findbyid(this.streetslist,this.areamodel.f_street_id).f_street
|
|
639
639
|
|
|
640
|
-
await this.$resetpost('
|
|
640
|
+
await this.$resetpost('api/af-revenue/logic/address_updatearea', this.areamodel)
|
|
641
641
|
},
|
|
642
642
|
cleardara(){
|
|
643
643
|
this.areamodel= {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
47
47
|
<export-excel :data="$parent.$parent.getCondition"
|
|
48
48
|
:field="$parent.$parent.getfield"
|
|
49
|
-
sqlurl="
|
|
49
|
+
sqlurl="api/af-revenue/logic/exportfile"
|
|
50
50
|
sql-name="manage_getarealist"
|
|
51
51
|
template-name='小区信息查询导出'
|
|
52
52
|
:choose-col="true"></export-excel>
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
return {
|
|
194
194
|
showDelete: false,
|
|
195
195
|
criteriaShow: false,
|
|
196
|
-
model: new PagedList('
|
|
196
|
+
model: new PagedList('api/af-revenue/sql/address_getarealist',20),
|
|
197
197
|
selectDataLen: 0,
|
|
198
198
|
addflag: false,
|
|
199
199
|
addtitle:'',
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
async delete(row){
|
|
255
255
|
if(row.id >= 0){
|
|
256
256
|
var id = row.id
|
|
257
|
-
let useraredss = await this.$resetpost('
|
|
257
|
+
let useraredss = await this.$resetpost('api/af-revenue/sql/address_singleTable',
|
|
258
258
|
{data: {
|
|
259
259
|
items: 'f_residential_area_id',
|
|
260
260
|
tablename: 't_user_address',
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
if(useraredss.data.length>0){
|
|
265
265
|
this.$showAlert('该小区下已有地址信息,无法删除!','warning',1000)
|
|
266
266
|
}else{
|
|
267
|
-
this.$resetdelete('
|
|
267
|
+
this.$resetdelete('api/af-revenue/entity/t_area', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
268
268
|
this.$dispatch('cancel')
|
|
269
269
|
})
|
|
270
270
|
}
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
}
|
|
336
336
|
let oldAreaIds = this.getRowData
|
|
337
337
|
console.log('所选中的小区信息:=======' + JSON.stringify(oldAreaIds))
|
|
338
|
-
this.$resetpost('
|
|
338
|
+
this.$resetpost('api/af-revenue/logic/batchDelete',{
|
|
339
339
|
data:{
|
|
340
340
|
oldAreaIds:oldAreaIds,
|
|
341
341
|
f_operator: this.$login.f.name,
|