address-client 3.0.44-aodeToV4 → 3.0.45-aodeToV4
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.9/checksums/checksums.lock +0 -0
- package/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.9/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/vcs-1/gc.properties +0 -0
- package/examples/showAdd/comp.js +1 -1
- package/package.json +1 -1
- package/src/App.vue +1 -1
- package/src/components/AddAreaMsg.vue +1 -1
- package/src/components/AddressAddAddress.vue +1 -1
- package/src/components/AddressTree.vue +1 -1
- package/src/components/AreaList.vue +1 -1
- package/src/components/AreaTree.vue +1 -1
- package/src/components/OneCodeList.vue +1 -1
- package/src/components/UserAddress.vue +1 -1
- package/src/components/addressts/UserAddressts.vue +1 -1
- package/src/components/areauser/AreaUser.vue +1 -1
- package/test/unit/specs/components/AddressAddAddress.spec.js +4 -4
- package/test/unit/specs/components/AddressTree.spec.js +2 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
- /package/.gradle/{buildOutputCleanup/built.bin → 8.9/dependencies-accessors/gc.properties} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Thu May 14 16:23:28 CST 2026
|
|
2
|
+
gradle.version=8.9
|
|
File without changes
|
package/examples/showAdd/comp.js
CHANGED
|
@@ -62,7 +62,7 @@ export default class Comp {
|
|
|
62
62
|
async searchTower(f){
|
|
63
63
|
await this.tower.searchList('/rs/sql/address_getAddress',{
|
|
64
64
|
'id':" 1=1 and a.f_filialeid = '{}'",
|
|
65
|
-
'com':" a.f_residential_area_id = {} "
|
|
65
|
+
'com':" a.f_residential_area_id = '{}' "
|
|
66
66
|
},{})
|
|
67
67
|
while(this.tower.list.loadMoreState){
|
|
68
68
|
await this.tower.list.loadMore()
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
} else {
|
|
82
82
|
// 子地址 || 根地址
|
|
83
83
|
if(val.f_parentId == null) {
|
|
84
|
-
data = {data: {f_parentId: null, condition: `f_locationId
|
|
84
|
+
data = {data: {f_parentId: null, condition: `f_locationId='${val.f_locationId}' and f_locationType='${val.f_locationType}' and f_name='${val.f_name}'`}}
|
|
85
85
|
} else {
|
|
86
86
|
data = {data: {f_parentId: val.f_parentId.id, condition: `f_name='${val.f_name}'`}}
|
|
87
87
|
}
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
let asyncGetRoot = async function(self) {
|
|
449
449
|
let condition = ""
|
|
450
450
|
if(self.f_location) {
|
|
451
|
-
condition = `f_locationId
|
|
451
|
+
condition = `f_locationId='${self.f_location.f_locationId}' and f_locationType='${self.f_location.f_locationType}'`
|
|
452
452
|
} else {
|
|
453
453
|
condition = " 1=1 "
|
|
454
454
|
}
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
if(this.f_special){
|
|
1005
1005
|
args.condition = `${args.condition} and s.f_special='1' and s.f_filialeid = '${this.f_filialeids}'`
|
|
1006
1006
|
}else{
|
|
1007
|
-
args.condition = `${args.condition} and s.f_filialeid = ${this.f_orgid}`
|
|
1007
|
+
args.condition = `${args.condition} and s.f_filialeid = '${this.f_orgid}'`
|
|
1008
1008
|
}
|
|
1009
1009
|
this.condition = args.condition
|
|
1010
1010
|
this.model.search(args.condition, args.model)
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
let asyncGetRoot = async function(self) {
|
|
456
456
|
let condition = ""
|
|
457
457
|
if(self.f_location) {
|
|
458
|
-
condition = `f_locationId
|
|
458
|
+
condition = `f_locationId='${self.f_location.f_locationId}' and f_locationType='${self.f_location.f_locationType}'`
|
|
459
459
|
} else {
|
|
460
460
|
condition = " 1=1 "
|
|
461
461
|
}
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
this.$refs.paged.$refs.cri.search()
|
|
222
222
|
},
|
|
223
223
|
selfSearch(args) {
|
|
224
|
-
args.condition = `${args.condition}
|
|
224
|
+
args.condition = `${args.condition} and f_orgid = '${this.f_filialeid}'`;
|
|
225
225
|
// args.condition = `${args.condition} `;
|
|
226
226
|
this.model.search(args.condition, args.model);
|
|
227
227
|
},
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
this.$showAlert("请选择组织进行操作!!",'warning',2000);
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
args.condition = `${args.condition} and id = '${this.f_residential_area_id}' and f_orgid = ${this.f_filialeid}`
|
|
198
|
+
args.condition = `${args.condition} and id = '${this.f_residential_area_id}' and f_orgid = '${this.f_filialeid}'`
|
|
199
199
|
this.condition = args.condition
|
|
200
200
|
this.model.search(args.condition, args.model)
|
|
201
201
|
},
|
|
@@ -24,7 +24,7 @@ describe('AddressAddAddress: 添加地址', () => {
|
|
|
24
24
|
vm.model.f_type = '楼'
|
|
25
25
|
let res = await vm.addChild()
|
|
26
26
|
// 检查数据是否正确
|
|
27
|
-
res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {condition: `id
|
|
27
|
+
res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {condition: `id='${res.data.id}'`}})
|
|
28
28
|
assert.equal(res.data[0].f_name, '1号楼')
|
|
29
29
|
assert.equal(res.data[0].f_type, '楼')
|
|
30
30
|
})
|
|
@@ -36,20 +36,20 @@ describe('AddressAddAddress: 添加地址', () => {
|
|
|
36
36
|
vm.model.f_type = '单元'
|
|
37
37
|
let res = await vm.addChild()
|
|
38
38
|
// 检查数据是否正确
|
|
39
|
-
res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {f_parentId: 1, condition: `id
|
|
39
|
+
res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {f_parentId: 1, condition: `id='${res.data.id}'`}})
|
|
40
40
|
assert.equal(res.data[0].f_name, '2单元')
|
|
41
41
|
assert.equal(res.data[0].f_type, '单元')
|
|
42
42
|
})
|
|
43
43
|
|
|
44
44
|
it('修改地址', async function() {
|
|
45
45
|
// 取到要修改的数据
|
|
46
|
-
let res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {condition: `id=2`}})
|
|
46
|
+
let res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {condition: `id='2'`}})
|
|
47
47
|
vm = TestUtil.createTest(AddressAddAddress, {row: res.data[0]})
|
|
48
48
|
assert.include(vm.$el.innerText, '位置类型:')
|
|
49
49
|
vm.model.f_name = '8号楼'
|
|
50
50
|
await vm.addChild()
|
|
51
51
|
// 检查数据是否正确
|
|
52
|
-
res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {condition: `id=2`}})
|
|
52
|
+
res = await vm.$resetpost(`rs/sql/address_getAddress`, {data: {condition: `id='2'`}})
|
|
53
53
|
assert.equal(res.data[0].f_name, '8号楼')
|
|
54
54
|
assert.equal(res.data[0].f_type, '楼')
|
|
55
55
|
})
|
|
@@ -44,7 +44,7 @@ describe('AddressTree: 地址树', () => {
|
|
|
44
44
|
addNode.model.f_type = '单元'
|
|
45
45
|
let res = await addNode.addChild()
|
|
46
46
|
// 检查数据是否正确
|
|
47
|
-
res = await addNode.$resetpost(`rs/path/address_getRoot`, {data: {f_parentId: 1, condition: `id
|
|
47
|
+
res = await addNode.$resetpost(`rs/path/address_getRoot`, {data: {f_parentId: 1, condition: `id='${res.data.id}'`}})
|
|
48
48
|
assert.equal(res.data[0].f_name, '2单元')
|
|
49
49
|
assert.equal(res.data[0].f_type, '单元')
|
|
50
50
|
})
|
|
@@ -72,7 +72,7 @@ describe('AddressTree: 地址树', () => {
|
|
|
72
72
|
addNode.model.f_type = '单元'
|
|
73
73
|
let res = await addNode.addChild()
|
|
74
74
|
// 检查数据是否正确
|
|
75
|
-
res = await addNode.$resetpost(`rs/path/address_getRoot`, {data: {f_parentId: null, condition: `id
|
|
75
|
+
res = await addNode.$resetpost(`rs/path/address_getRoot`, {data: {f_parentId: null, condition: `id='${res.data.id}'`}})
|
|
76
76
|
assert.equal(res.data[0].f_name, '2单元')
|
|
77
77
|
assert.equal(res.data[0].f_type, '单元')
|
|
78
78
|
})
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
File without changes
|