address-client 3.2.7 → 3.2.8-gongyi
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/dependencies-accessors/gc.properties +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{4.4 → 8.5}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/8.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build/dev-server.js +1 -1
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/gradlew +249 -0
- package/gradlew.bat +92 -0
- package/package.json +99 -99
- package/src/components/AddressList.vue +5 -5
- package/src/components/StreetList.vue +2 -1
- package/src/components/UserAddress.vue +896 -894
- package/src/filiale/WEINAN/AddAreaMsg.vue +1 -1
- package/src/filiale/WEINAN/AddressList.vue +351 -588
- package/src/filiale/WEINAN/AreaList.vue +275 -388
- package/src/filiale/gongyi/AddAreaMsg.vue +4 -1
- package/src/filiale/gongyi/UserAddress.vue +50 -38
- package/src/main.js +21 -21
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/AddressClient.iml +0 -13
- /package/.gradle/{4.4 → 8.5}/fileChanges/last-build.bin +0 -0
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
<input type="text" style="width:60%" class="input_search" v-show="false" v-model="$refs.slice.selectedItems"
|
|
55
55
|
v-validate:slice='{required: true }'>
|
|
56
56
|
<v-select :value.sync="areamodel.slice_area" v-model="areamodel.slice_area"
|
|
57
|
-
:options='
|
|
57
|
+
:options='sliceAreaConfig' placeholder='片区/管理站' filer-key="name"
|
|
58
58
|
close-on-select v-ref:slice>
|
|
59
59
|
</v-select>
|
|
60
60
|
</div>
|
|
@@ -569,6 +569,9 @@ export default {
|
|
|
569
569
|
}
|
|
570
570
|
},
|
|
571
571
|
computed: {
|
|
572
|
+
sliceAreaConfig() {
|
|
573
|
+
return this.$appdata.getParam('小区片区')
|
|
574
|
+
},
|
|
572
575
|
metertypes() {
|
|
573
576
|
return this.$appdata.getParam('气表类型')
|
|
574
577
|
},
|
|
@@ -460,34 +460,37 @@
|
|
|
460
460
|
if (!this.usertype) {
|
|
461
461
|
return
|
|
462
462
|
}
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
463
|
+
let pcdId = this.model.f_pcd_id
|
|
464
|
+
console.log("省/市/区变化,原始val:",val, "实际使用的pcdId:", pcdId)
|
|
465
|
+
if(!pcdId){
|
|
466
|
+
console.log("省市区ID为空,不执行后续操作")
|
|
467
|
+
return
|
|
468
|
+
}
|
|
469
|
+
//那就把[小区,街道]重新组织一下
|
|
470
|
+
await this.initstreets(` f_pcd_id ='${pcdId}' `)
|
|
471
|
+
if(this.model.f_street_id){
|
|
472
|
+
if (this.findbyid(this.streetslist,this.model.f_street_id)) {
|
|
473
|
+
let pcd_id=this.findbyid(this.streetslist,this.model.f_street_id).f_pcd_id
|
|
474
|
+
if(pcd_id!=pcdId){
|
|
474
475
|
this.model.f_street_id=''
|
|
475
476
|
}
|
|
477
|
+
} else {
|
|
478
|
+
this.model.f_street_id=''
|
|
479
|
+
}
|
|
476
480
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
this.model.f_residential_area_id=''
|
|
485
|
-
}
|
|
486
|
-
} else {
|
|
481
|
+
//那就把[小区,街道]重新组织一下
|
|
482
|
+
if (this.model.f_street_id) {
|
|
483
|
+
await this.initareas(` f_street_id ='${this.model.f_street_id}' `)
|
|
484
|
+
if(this.model.f_residential_area_id){
|
|
485
|
+
if (this.findbyid(this.areaslist,this.model.f_residential_area_id)) {
|
|
486
|
+
let pcd_id=this.findbyid(this.areaslist,this.model.f_residential_area_id).f_pcd_id
|
|
487
|
+
if(pcd_id!=pcdId){
|
|
487
488
|
this.model.f_residential_area_id=''
|
|
488
489
|
}
|
|
489
|
-
|
|
490
|
+
} else {
|
|
491
|
+
this.model.f_residential_area_id=''
|
|
490
492
|
}
|
|
493
|
+
|
|
491
494
|
}
|
|
492
495
|
}
|
|
493
496
|
}
|
|
@@ -495,11 +498,16 @@
|
|
|
495
498
|
},
|
|
496
499
|
//小区变化
|
|
497
500
|
areaChange(val){
|
|
498
|
-
|
|
501
|
+
let areaId = this.model.f_residential_area_id
|
|
502
|
+
console.log("小区变化,原始val:",val, "实际使用的areaId:", areaId)
|
|
503
|
+
if(!areaId){
|
|
504
|
+
console.log("小区ID为空,不执行后续操作")
|
|
505
|
+
return
|
|
506
|
+
}
|
|
499
507
|
// 选择小区后级联出省市区和街道
|
|
500
508
|
let selectArea // 选中的小区数据
|
|
501
509
|
for (let row of this.areaslist) {
|
|
502
|
-
if (
|
|
510
|
+
if (areaId == row.value) {
|
|
503
511
|
selectArea = row.data
|
|
504
512
|
break
|
|
505
513
|
}
|
|
@@ -519,29 +527,33 @@
|
|
|
519
527
|
},
|
|
520
528
|
//街道变化
|
|
521
529
|
async streetChange(val){
|
|
522
|
-
|
|
530
|
+
let streetId = this.model.f_street_id
|
|
531
|
+
console.log("街道变化,原始val:",val, "实际使用的streetId:", streetId)
|
|
532
|
+
if(!streetId){
|
|
533
|
+
console.log("街道ID为空,不执行后续操作")
|
|
534
|
+
return
|
|
535
|
+
}
|
|
523
536
|
if(this.streetslist[0]) {
|
|
524
537
|
var street=''
|
|
525
538
|
this.streetslist.forEach((item)=>{
|
|
526
|
-
if(item.id===
|
|
539
|
+
if(item.id===streetId){
|
|
527
540
|
street=item.label
|
|
528
541
|
}
|
|
529
542
|
})
|
|
530
|
-
|
|
543
|
+
if(street){
|
|
544
|
+
this.model.f_address = street
|
|
545
|
+
}
|
|
531
546
|
}
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
if(this.model.f_residential_area_id){
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
if(street_id!=val){
|
|
539
|
-
this.model.f_residential_area_id=''
|
|
540
|
-
}
|
|
541
|
-
} else {
|
|
547
|
+
//那就把[小区]重新组织一下
|
|
548
|
+
await this.initareas(` f_street_id ='${streetId}' `)
|
|
549
|
+
if(this.model.f_residential_area_id){
|
|
550
|
+
if (this.findbyid(this.areaslist,this.model.f_residential_area_id)) {
|
|
551
|
+
let street_id=this.findbyid(this.areaslist,this.model.f_residential_area_id).f_street_id
|
|
552
|
+
if(street_id!=streetId){
|
|
542
553
|
this.model.f_residential_area_id=''
|
|
543
554
|
}
|
|
544
|
-
|
|
555
|
+
} else {
|
|
556
|
+
this.model.f_residential_area_id=''
|
|
545
557
|
}
|
|
546
558
|
}
|
|
547
559
|
this.$resetValidation()
|
package/src/main.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
import { system } from 'system-clients'
|
|
5
|
-
import { sale } from 'sale-client'
|
|
6
|
-
import address from './address'
|
|
7
|
-
|
|
8
|
-
Vue.config.silent = true
|
|
9
|
-
|
|
10
|
-
/** **************************通用组件******************************/
|
|
11
|
-
all()
|
|
12
|
-
address(
|
|
13
|
-
system(false)
|
|
14
|
-
sale()
|
|
15
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
new Vue({
|
|
19
|
-
el: 'body',
|
|
20
|
-
components: { App }
|
|
21
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
import { system } from 'system-clients'
|
|
5
|
+
import { sale } from 'sale-client'
|
|
6
|
+
import address from './address'
|
|
7
|
+
|
|
8
|
+
Vue.config.silent = true
|
|
9
|
+
|
|
10
|
+
/** **************************通用组件******************************/
|
|
11
|
+
all()
|
|
12
|
+
address()
|
|
13
|
+
system(false)
|
|
14
|
+
sale()
|
|
15
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
new Vue({
|
|
19
|
+
el: 'body',
|
|
20
|
+
components: { App }
|
|
21
|
+
})
|
|
Binary file
|
package/AddressClient.iml
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module external.linked.project.id="AddressClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="1.7.0" type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$">
|
|
6
|
-
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
|
|
7
|
-
<excludeFolder url="file://$MODULE_DIR$/build" />
|
|
8
|
-
<excludeFolder url="file://$MODULE_DIR$/out" />
|
|
9
|
-
</content>
|
|
10
|
-
<orderEntry type="inheritedJdk" />
|
|
11
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
12
|
-
</component>
|
|
13
|
-
</module>
|
|
File without changes
|