address-client 3.2.113-yangchun → 3.2.113
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/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/file-system.probe +0 -0
- package/build/dev-server.js +14 -3
- package/build/versionCheck.js +31 -0
- package/package.json +5 -4
- package/src/components/AddAreaMsg.vue +481 -470
- package/src/components/AddCommunityManageMsg.vue +3 -3
- package/src/components/AddStreetManageMsg.vue +3 -3
- package/src/components/AddStreetOrPcd.vue +17 -21
- package/src/components/AddressAddAddress.vue +14 -14
- package/src/components/AddressFiles.vue +1 -1
- package/src/components/AddressList.vue +16 -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/AreaManage.vue +1 -1
- 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 +4 -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 +5 -4
- package/src/components/StreetManageList.vue +4 -4
- package/src/components/UserAddress.vue +33 -44
- 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 +5 -5
- package/src/filiale/WEINAN/AreaUserList.vue +3 -3
- package/src/filiale/WEINAN/UserAddress.vue +5 -5
- package/src/filiale/bayan/AddAreaMsg.vue +782 -0
- package/src/filiale/bayan/AddStreetOrPcd.vue +348 -0
- package/src/filiale/bayan/AddressList.vue +641 -0
- package/src/filiale/bayan/AreaList.vue +431 -0
- package/src/filiale/bayan/StreetList.vue +245 -0
- package/src/filiale/bayan/UserAddress.vue +924 -0
- package/src/filiale/bayan/sale.js +17 -0
- 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 +5 -5
- 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 +11 -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 +22 -22
- 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/xihu/AreaList.vue +409 -0
- package/src/filiale/xihu/StreetList.vue +238 -0
- package/src/filiale/xihu/sale.js +14 -0
- package/src/filiale/xinkang/AddAreaMsg.vue +8 -8
- package/src/filiale/xinkang/AreaList.vue +5 -5
- package/src/filiale/yangchun/AddAreaMsg.vue +11 -11
- 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 -3
|
@@ -415,7 +415,7 @@
|
|
|
415
415
|
// }
|
|
416
416
|
this.areaslist = []
|
|
417
417
|
let HttpReset = new HttpResetClass()
|
|
418
|
-
let req = await HttpReset.load('POST', '
|
|
418
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
419
419
|
data: {
|
|
420
420
|
items: '*',
|
|
421
421
|
tablename: 't_area',
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
async initpcds(pconditon){
|
|
440
440
|
this.pcdslist = []
|
|
441
441
|
let HttpReset = new HttpResetClass()
|
|
442
|
-
let req = await HttpReset.load('POST', '
|
|
442
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
443
443
|
data: {
|
|
444
444
|
items: '*',
|
|
445
445
|
tablename: 't_pcd',
|
|
@@ -463,7 +463,7 @@
|
|
|
463
463
|
async initstreets(pconditon){
|
|
464
464
|
this.streetslist = []
|
|
465
465
|
let HttpReset = new HttpResetClass()
|
|
466
|
-
let req = await HttpReset.load('POST', '
|
|
466
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
467
467
|
data: {
|
|
468
468
|
items: '*',
|
|
469
469
|
tablename: 't_street',
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
this.$showAlert('请输入正确的位数', 'warning', 2000)
|
|
489
489
|
this.areamodel.f_area_id = ''
|
|
490
490
|
}else{
|
|
491
|
-
let res =await this.$resetpost('
|
|
491
|
+
let res =await this.$resetpost('api/af-revenue/sql/address_singleTableOrderBy', {
|
|
492
492
|
data: {
|
|
493
493
|
items: '*',
|
|
494
494
|
tablename: 't_area',
|
|
@@ -513,7 +513,7 @@
|
|
|
513
513
|
f_filialeid: this.f_filialeids
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
let res = await this.$resetpost('
|
|
516
|
+
let res = await this.$resetpost('api/af-revenue/logic/address_validateAreaID', param, {resolveMsg: null,rejectMsg: '小区编号验证失败!!'})
|
|
517
517
|
console.log('验证小区是否存在', res)
|
|
518
518
|
if (res.data) {
|
|
519
519
|
this.$showAlert('这个小区编号已存在!!!请核实', 'warning', 3000)
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
this.buildingmodel.f_orgname = this.$login.f.orgs
|
|
591
591
|
this.buildingmodel.f_depid = this.$login.f.depids
|
|
592
592
|
this.buildingmodel.f_depname = this.$login.f.deps
|
|
593
|
-
await this.$resetpost('
|
|
593
|
+
await this.$resetpost('api/af-revenue/logic/address_savebuilding', this.buildingmodel)
|
|
594
594
|
this.$refs.buildinglist.search()
|
|
595
595
|
},
|
|
596
596
|
//保存小区
|
|
@@ -614,7 +614,7 @@
|
|
|
614
614
|
this.areamodel.f_pcd=this.findbyid(this.pcdslist,this.areamodel.f_pcd_id).f_pcd
|
|
615
615
|
this.areamodel.f_street=this.findbyid(this.streetslist,this.areamodel.f_street_id).f_street
|
|
616
616
|
|
|
617
|
-
await this.$resetpost('
|
|
617
|
+
await this.$resetpost('api/af-revenue/logic/address_updatearea', this.areamodel)
|
|
618
618
|
},
|
|
619
619
|
cleardara(){
|
|
620
620
|
this.areamodel= {
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
async initpcds(pconditon){
|
|
373
373
|
this.pcdslist = []
|
|
374
374
|
let HttpReset = new HttpResetClass()
|
|
375
|
-
let req = await HttpReset.load('POST', '
|
|
375
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
376
376
|
data: {
|
|
377
377
|
items: '*',
|
|
378
378
|
tablename: 't_pcd',
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
async initstreets(pconditon){
|
|
397
397
|
this.streetslist = []
|
|
398
398
|
let HttpReset = new HttpResetClass()
|
|
399
|
-
let req = await HttpReset.load('POST', '
|
|
399
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
400
400
|
data: {
|
|
401
401
|
items: '*',
|
|
402
402
|
tablename: 't_street',
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
this.$showAlert('请输入正确的位数', 'warning', 2000)
|
|
422
422
|
this.areamodel.f_area_id = ''
|
|
423
423
|
}else{
|
|
424
|
-
let res =await this.$resetpost('
|
|
424
|
+
let res =await this.$resetpost('api/af-revenue/sql/address_singleTableOrderBy', {
|
|
425
425
|
data: {
|
|
426
426
|
items: '*',
|
|
427
427
|
tablename: 't_area',
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
f_filialeid: this.f_filialeids
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
-
let res = await this.$resetpost('
|
|
449
|
+
let res = await this.$resetpost('api/af-revenue/logic/address_validateAreaID', param, {resolveMsg: null,rejectMsg: '小区编号验证失败!!'})
|
|
450
450
|
console.log('验证小区是否存在', res)
|
|
451
451
|
if (res.data) {
|
|
452
452
|
this.$showAlert('这个小区编号已存在!!!请核实', 'warning', 3000)
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
this.areamodel.f_pcd=this.findbyid(this.pcdslist,this.areamodel.f_pcd_id).f_pcd
|
|
531
531
|
this.areamodel.f_street=this.findbyid(this.streetslist,this.areamodel.f_street_id).f_street
|
|
532
532
|
|
|
533
|
-
await this.$resetpost('
|
|
533
|
+
await this.$resetpost('api/af-revenue/logic/address_updateareazk', this.areamodel)
|
|
534
534
|
},
|
|
535
535
|
cleardara(){
|
|
536
536
|
this.areamodel= {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
@click="$parent.$parent.importAddress('完善')">完善地址</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="addressGetAddress"
|
|
51
51
|
template-name='地址管理查询导出'
|
|
52
52
|
:choose-col="true"></export-excel>
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
data () {
|
|
214
214
|
return {
|
|
215
215
|
criteriaShow: false,
|
|
216
|
-
model: new PagedList('
|
|
216
|
+
model: new PagedList('api/af-revenue/sql/address_getAddress',20,{tablename: `'t_user_address'`,items: `'*'`,orderitem: `'f_create_date desc'`}),
|
|
217
217
|
config: {
|
|
218
218
|
// 导出列要和查询列相同
|
|
219
219
|
excelHeaders: {
|
|
@@ -313,11 +313,11 @@
|
|
|
313
313
|
async delete(row){
|
|
314
314
|
if(row.id){
|
|
315
315
|
var id = row.id
|
|
316
|
-
let userfiles = await this.$resetpost('
|
|
316
|
+
let userfiles = await this.$resetpost('api/af-revenue/sql/address_singleTable', {data: {items: 'f_useraddress_id',tablename: 't_userfiles',condition: `f_useraddress_id='${id}' and f_table_state = '正常'`}},{resolveMsg: null, rejectMsg: null})
|
|
317
317
|
if(userfiles.data.length){
|
|
318
318
|
this.$showAlert('该地址下已有正常表具档案,无法删除!','warning',1000)
|
|
319
319
|
}else{
|
|
320
|
-
this.$resetdelete('
|
|
320
|
+
this.$resetdelete('api/af-revenue/entity/t_user_address', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
321
321
|
this.$dispatch('cancel')
|
|
322
322
|
})
|
|
323
323
|
}
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
type :this.imptype
|
|
358
358
|
}
|
|
359
359
|
console.log("filepath="+JSON.stringify(data))
|
|
360
|
-
await this.$resetpost(`
|
|
360
|
+
await this.$resetpost(`api/af-revenue/logic/address_useraddressimport`,data, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0).then((res)=>{
|
|
361
361
|
this.isbusy = false
|
|
362
362
|
if(res.data.type=="success"){
|
|
363
363
|
this.$showAlert("导入信息:"+res.data.msg, res.data.type, 2000);
|
|
@@ -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="address_getarealist"
|
|
50
50
|
template-name='小区信息查询导出'
|
|
51
51
|
:choose-col="true"></export-excel>
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
data () {
|
|
180
180
|
return {
|
|
181
181
|
criteriaShow: false,
|
|
182
|
-
model: new PagedList('
|
|
182
|
+
model: new PagedList('api/af-revenue/sql/address_getarealist',20),
|
|
183
183
|
addflag: false,
|
|
184
184
|
addtitle:'',
|
|
185
185
|
getfield: {},
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
async delete(row){
|
|
236
236
|
if(row.id >= 0){
|
|
237
237
|
var id = row.id
|
|
238
|
-
let useraredss = await this.$resetpost('
|
|
238
|
+
let useraredss = await this.$resetpost('api/af-revenue/sql/address_singleTable',
|
|
239
239
|
{data: {
|
|
240
240
|
items: 'f_residential_area_id',
|
|
241
241
|
tablename: 't_user_address',
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
if(useraredss.data.length>0){
|
|
246
246
|
this.$showAlert('该小区下已有地址信息,无法删除!','warning',1000)
|
|
247
247
|
}else{
|
|
248
|
-
this.$resetdelete('
|
|
248
|
+
this.$resetdelete('api/af-revenue/entity/t_area', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
249
249
|
this.$dispatch('cancel')
|
|
250
250
|
})
|
|
251
251
|
}
|
|
@@ -495,7 +495,7 @@ export default {
|
|
|
495
495
|
async initpcds(pconditon) {
|
|
496
496
|
this.pcdslist = []
|
|
497
497
|
let HttpReset = new HttpResetClass()
|
|
498
|
-
let req = await HttpReset.load('POST', '
|
|
498
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
499
499
|
data: {
|
|
500
500
|
items: '*',
|
|
501
501
|
tablename: 't_pcd',
|
|
@@ -518,7 +518,7 @@ export default {
|
|
|
518
518
|
async initstreets(pconditon) {
|
|
519
519
|
this.streetslist = []
|
|
520
520
|
let HttpReset = new HttpResetClass()
|
|
521
|
-
let req = await HttpReset.load('POST', '
|
|
521
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy', {
|
|
522
522
|
data: {
|
|
523
523
|
items: '*',
|
|
524
524
|
tablename: 't_street',
|
|
@@ -544,7 +544,7 @@ export default {
|
|
|
544
544
|
// }
|
|
545
545
|
this.areaslist = []
|
|
546
546
|
let HttpReset = new HttpResetClass()
|
|
547
|
-
let req = await HttpReset.load('POST', '
|
|
547
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_singleTableOrderBy?pageNo=1&pageSize=9999999', {
|
|
548
548
|
data: {
|
|
549
549
|
items: '*',
|
|
550
550
|
tablename: 't_area',
|
|
@@ -722,7 +722,7 @@ export default {
|
|
|
722
722
|
}
|
|
723
723
|
this.$showMessage('确定要批量添加' + this.addresslist.length + '户地址吗?,如有已经存在的,将会重复添加!!!', ['confirm', 'cancel']).then((res) => {
|
|
724
724
|
if (res === 'confirm') {
|
|
725
|
-
this.$resetpost('
|
|
725
|
+
this.$resetpost('api/af-revenue/logic/address_adduserlist', {data: {addlist: this.addresslist}}, msg).then((req) => {
|
|
726
726
|
this.cleardara()
|
|
727
727
|
this.$dispatch('confirm')
|
|
728
728
|
})
|
|
@@ -775,7 +775,7 @@ export default {
|
|
|
775
775
|
this.model.f_residential_area = this.findbyid(this.areaslist, this.model.f_residential_area_id).f_residential_area
|
|
776
776
|
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
|
|
777
777
|
}
|
|
778
|
-
await this.$resetpost('
|
|
778
|
+
await this.$resetpost('api/af-revenue/logic/address_updateuseraddress', this.model)
|
|
779
779
|
},
|
|
780
780
|
cancel() {
|
|
781
781
|
this.cleardara()
|
|
@@ -879,7 +879,7 @@ export default {
|
|
|
879
879
|
condition = `f_iscity = '${this.model.f_iscity}' and a.f_orgid = '${this.f_filialeids}'`
|
|
880
880
|
}
|
|
881
881
|
let HttpReset = new HttpResetClass()
|
|
882
|
-
let req = await HttpReset.load('POST', '
|
|
882
|
+
let req = await HttpReset.load('POST', 'api/af-revenue/sql/address_getresidential', {
|
|
883
883
|
data: {
|
|
884
884
|
condition: condition
|
|
885
885
|
}
|
package/src/main.js
CHANGED
|
@@ -3,17 +3,17 @@ import App from './App'
|
|
|
3
3
|
import { all } from 'vue-client'
|
|
4
4
|
import { system } from 'system-clients'
|
|
5
5
|
import { ldap } from 'ldap-clients'
|
|
6
|
+
import { sale } from 'sale-client'
|
|
6
7
|
import address from './address'
|
|
7
8
|
|
|
8
9
|
Vue.config.silent = true
|
|
9
10
|
|
|
10
11
|
/** **************************通用组件******************************/
|
|
11
12
|
all()
|
|
12
|
-
|
|
13
|
-
address('yangchun')
|
|
13
|
+
address()
|
|
14
14
|
system(false)
|
|
15
15
|
ldap()
|
|
16
|
-
|
|
16
|
+
sale()
|
|
17
17
|
require('system-clients/src/styles/less/bootstrap.less')
|
|
18
18
|
|
|
19
19
|
|