address-client 3.2.104 → 3.2.105-ls
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 +174 -185
- package/package.json +3 -4
- 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 +22 -16
- 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 +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 +240 -241
- 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/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 +392 -379
- 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 +2 -3
- package/build/versionCheck.js +0 -31
- package/src/filiale/lixianV3/AreaList.vue +0 -416
- package/src/filiale/lixianV3/sale.js +0 -12
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
title: '地址变更列表',
|
|
36
36
|
data () {
|
|
37
37
|
return {
|
|
38
|
-
model: new PagedList('
|
|
38
|
+
model: new PagedList('rs/sql/address_singleTableOrderBy',20, {
|
|
39
39
|
tablename: `'t_address_change'`,items: `'*'`,
|
|
40
40
|
orderitem: `'f_operate_date desc'`}),
|
|
41
41
|
}
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
data () {
|
|
129
129
|
return {
|
|
130
130
|
criteriaShow: false,
|
|
131
|
-
model: new PagedList('
|
|
131
|
+
model: new PagedList('rs/sql/address_getUserAddress',15,{}),
|
|
132
132
|
addflag: false,
|
|
133
133
|
addtitle:'',
|
|
134
134
|
|
|
@@ -188,12 +188,12 @@
|
|
|
188
188
|
async delete(row){
|
|
189
189
|
if(row.id){
|
|
190
190
|
var id = row.id
|
|
191
|
-
let service = await this.$resetpost('
|
|
192
|
-
let userfiles = await this.$resetpost('
|
|
191
|
+
let service = await this.$resetpost('rs/sql/address_singleTable', {data: {items: 'f_addressid',tablename: 't_service',condition: `f_addressid='${id}'`}},{resolveMsg: null, rejectMsg: null})
|
|
192
|
+
let userfiles = await this.$resetpost('rs/sql/address_singleTable', {data: {items: 'f_useraddress_id',tablename: 't_userfiles',condition: `f_useraddress_id='${id}' and f_table_state = '正常'`}},{resolveMsg: null, rejectMsg: null})
|
|
193
193
|
if(service.data.length || userfiles.data.length){
|
|
194
194
|
this.$showAlert('该地址下已有工单或档案,无法删除!','warning',1000)
|
|
195
195
|
}else{
|
|
196
|
-
this.$resetdelete('
|
|
196
|
+
this.$resetdelete('rs/entity/t_user_address', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
197
197
|
this.$dispatch('cancel')
|
|
198
198
|
})
|
|
199
199
|
}
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
this.all = true
|
|
239
239
|
console.log(this.$refs.paged.$refs.cri.condition,"=============")
|
|
240
240
|
let HttpReset = new HttpResetClass()
|
|
241
|
-
await HttpReset.load('POST', '
|
|
241
|
+
await HttpReset.load('POST', 'rs/sql/address_getUserAddress?pageNo=1&pageSize=9999999', {
|
|
242
242
|
data: {
|
|
243
243
|
condition: `${this.$refs.paged.$refs.cri.condition} and a.f_filialeid = '${this.f_filialeids}' `
|
|
244
244
|
}
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
user:this.$login.f
|
|
291
291
|
}
|
|
292
292
|
console.log("filepath="+JSON.stringify(data))
|
|
293
|
-
await this.$resetpost(`
|
|
293
|
+
await this.$resetpost(`rs/logic/address_useraddressimport`,data, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0).then((res)=>{
|
|
294
294
|
this.$showAlert("成功导入"+res.data+'条地址', 'success', 2000)
|
|
295
295
|
//关闭上传框
|
|
296
296
|
this.closeFile()
|
|
@@ -433,7 +433,7 @@ export default {
|
|
|
433
433
|
orderitem: 'id',
|
|
434
434
|
condition: `f_orgid=${this.$login.f.orgid}`
|
|
435
435
|
}
|
|
436
|
-
let ret = await this.$resetpost('
|
|
436
|
+
let ret = await this.$resetpost('rs/sql/address_singleTableOrderBy',{data: data},{resolveMsg: null, rejectMsg: null,newly:true})
|
|
437
437
|
ret.data.forEach(item => {
|
|
438
438
|
this.safeCheckArea.push({label: item.f_check_book_name, value: item.id})
|
|
439
439
|
})
|
|
@@ -470,7 +470,7 @@ export default {
|
|
|
470
470
|
async initpcds(pconditon){
|
|
471
471
|
this.pcdslist = []
|
|
472
472
|
let HttpReset = new HttpResetClass()
|
|
473
|
-
let req = await HttpReset.load('POST', '
|
|
473
|
+
let req = await HttpReset.load('POST', 'rs/sql/address_singleTable', {
|
|
474
474
|
data: {
|
|
475
475
|
items: '*',
|
|
476
476
|
tablename: 't_pcd',
|
|
@@ -492,7 +492,7 @@ export default {
|
|
|
492
492
|
async initstreets(pconditon){
|
|
493
493
|
this.streetslist = []
|
|
494
494
|
let HttpReset = new HttpResetClass()
|
|
495
|
-
let req = await HttpReset.load('POST', '
|
|
495
|
+
let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy', {
|
|
496
496
|
data: {
|
|
497
497
|
items: '*',
|
|
498
498
|
tablename: 't_street',
|
|
@@ -518,7 +518,7 @@ export default {
|
|
|
518
518
|
f_area_id: this.areamodel.f_area_id,
|
|
519
519
|
f_filialeid: this.f_filialeids
|
|
520
520
|
}
|
|
521
|
-
let res = await this.$resetpost('
|
|
521
|
+
let res = await this.$resetpost('rs/logic/address_validateAreaID', param, {resolveMsg: null,rejectMsg: '小区编号验证失败!!'})
|
|
522
522
|
console.log('验证小区是否存在', res)
|
|
523
523
|
if (res.data) {
|
|
524
524
|
this.$showAlert('这个小区编号已存在!!!请核实', 'warning', 3000)
|
|
@@ -600,7 +600,7 @@ export default {
|
|
|
600
600
|
this.areamodel.f_pcd=this.findbyid(this.pcdslist,this.areamodel.f_pcd_id).f_pcd
|
|
601
601
|
this.areamodel.f_street=this.findbyid(this.streetslist,this.areamodel.f_street_id).f_street
|
|
602
602
|
|
|
603
|
-
await this.$resetpost('
|
|
603
|
+
await this.$resetpost('rs/logic/address_updatearea', this.areamodel)
|
|
604
604
|
},
|
|
605
605
|
cleardara(){
|
|
606
606
|
this.areamodel= {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<button class="button_export button_spacing" @click="$parent.$parent.importAddress">导入地址</button>
|
|
45
45
|
<export-excel :data="$parent.$parent.getCondition"
|
|
46
46
|
:field="$parent.$parent.getfield"
|
|
47
|
-
sqlurl="
|
|
47
|
+
sqlurl="rs/logic/exportfile"
|
|
48
48
|
sql-name="addressGetAddress"
|
|
49
49
|
template-name='地址管理查询导出'
|
|
50
50
|
:choose-col="true"></export-excel>
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
data () {
|
|
233
233
|
return {
|
|
234
234
|
criteriaShow: false,
|
|
235
|
-
model: new PagedList('
|
|
235
|
+
model: new PagedList('rs/sql/address_getAddress',20,{tablename: `'t_user_address'`,items: `'*'`,orderitem: `'id desc'`}),
|
|
236
236
|
config: {
|
|
237
237
|
// 导出列要和查询列相同
|
|
238
238
|
excelHeaders: {
|
|
@@ -348,11 +348,11 @@
|
|
|
348
348
|
async delete(row){
|
|
349
349
|
if(row.id){
|
|
350
350
|
var id = row.id
|
|
351
|
-
let userfiles = await this.$resetpost('
|
|
351
|
+
let userfiles = await this.$resetpost('rs/sql/address_singleTable', {data: {items: 'f_useraddress_id',tablename: 't_userfiles',condition: `f_useraddress_id='${id}' and f_table_state = '正常'`}},{resolveMsg: null, rejectMsg: null})
|
|
352
352
|
if(userfiles.data.length){
|
|
353
353
|
this.$showAlert('该地址下已有正常表具档案,无法删除!','warning',1000)
|
|
354
354
|
}else{
|
|
355
|
-
this.$resetdelete('
|
|
355
|
+
this.$resetdelete('rs/entity/t_user_address', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
356
356
|
this.$dispatch('cancel')
|
|
357
357
|
})
|
|
358
358
|
}
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
f_depname: this.$login.f.deps,
|
|
419
419
|
f_filialeid: this.f_filialeids
|
|
420
420
|
}
|
|
421
|
-
this.$resetpost('
|
|
421
|
+
this.$resetpost('rs/logic/modifyBatch',modifyBatchData)
|
|
422
422
|
this.initpcds(`f_filialeid = '${this.f_filialeids}'`)
|
|
423
423
|
this.showModify = false
|
|
424
424
|
this.$refs.paged.$refs.grid.selectInit()
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
async initpcds(pconditon){
|
|
435
435
|
this.pcdslist = []
|
|
436
436
|
let HttpReset = new HttpResetClass()
|
|
437
|
-
let req = await HttpReset.load('POST', '
|
|
437
|
+
let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy', {
|
|
438
438
|
data: {
|
|
439
439
|
items: '*',
|
|
440
440
|
tablename: 't_pcd',
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
async initstreets(pconditon){
|
|
459
459
|
this.streetslist = []
|
|
460
460
|
let HttpReset = new HttpResetClass()
|
|
461
|
-
let req = await HttpReset.load('POST', '
|
|
461
|
+
let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy', {
|
|
462
462
|
data: {
|
|
463
463
|
items: '*',
|
|
464
464
|
tablename: 't_street',
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
async initareas(pconditon){
|
|
482
482
|
this.areaslist = []
|
|
483
483
|
let HttpReset = new HttpResetClass()
|
|
484
|
-
let req = await HttpReset.load('POST', '
|
|
484
|
+
let req = await HttpReset.load('POST', 'rs/sql/address_singleTableOrderBy', {
|
|
485
485
|
data: {
|
|
486
486
|
items: '*',
|
|
487
487
|
tablename: 't_area',
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
user:this.$login.f
|
|
557
557
|
}
|
|
558
558
|
console.log("filepath="+JSON.stringify(data))
|
|
559
|
-
await this.$resetpost(`
|
|
559
|
+
await this.$resetpost(`rs/logic/address_useraddressimport`,data, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0).then((res)=>{
|
|
560
560
|
if(res.data.type=="success"){
|
|
561
561
|
this.$showAlert("导入信息:"+res.data.msg, res.data.type, 2000);
|
|
562
562
|
}else{
|