address-client 3.0.24-9 → 3.0.25-aode
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/CHANGELOG.md +0 -3
- package/build/dev-server.js +2 -2
- package/package.json +103 -97
- package/src/address.js +4 -8
- package/src/components/AddAreaMsg.vue +14 -10
- package/src/components/AddressList.vue +84 -83
- package/src/components/AreaList.vue +12 -1
- package/src/components/AreaManage.vue +16 -2
- package/src/components/UserAddress.vue +394 -393
- package/src/components/areauser/AreaUser.vue +233 -0
- package/src/main.js +1 -1
- package/.npmignore +0 -10
- package/AddressClient.iml +0 -9
- package/build/.npmignore +0 -1
- package/src/filiale/rongcheng/AddressList.vue +0 -308
- package/src/filiale/rongcheng/UserAddress.vue +0 -708
- package/src/filiale/rongcheng/sale.js +0 -11
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="unit" class="flex-row" :class="{'binary':areaShow}">
|
|
3
|
-
<div :class="{'basic-main':!areaShow,'binary-left':areaShow}">
|
|
3
|
+
<div :class="{'basic-main':!areaShow && !usershow,'binary-left':areaShow|| usershow}">
|
|
4
4
|
<area-list @select-changed="selected" v-ref:arealist :style="style" :f_filialeids.sync="f_filialeids"></area-list>
|
|
5
5
|
</div>
|
|
6
|
+
<div class="binary-right" v-if="usershow" style="width: 60%">
|
|
7
|
+
<div class="flex">
|
|
8
|
+
<area-user :f_residential_area_id="f_residential_area_id" :f_filialeid="f_filialeids" :f_residential_area="f_residential_area"></area-user>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
6
11
|
<div v-show="areaShow" style="width: 60%" class="binary-right">
|
|
7
12
|
<div class="flex">
|
|
8
13
|
<add-area-msg v-ref:addareamsg :areatype="areatype" :operation="operation"
|
|
@@ -21,10 +26,14 @@
|
|
|
21
26
|
return {
|
|
22
27
|
//分公司id串
|
|
23
28
|
width:'100%',
|
|
24
|
-
f_filialeids: this.$login.f.
|
|
29
|
+
f_filialeids: this.$login.f.orgid,
|
|
25
30
|
areaShow:false,
|
|
26
31
|
areatype:'小区',
|
|
32
|
+
f_filialeid:this.$login.f.orgid,
|
|
27
33
|
arearow:{},
|
|
34
|
+
usershow:false,
|
|
35
|
+
f_residential_area_id:'',
|
|
36
|
+
f_residential_area:'',
|
|
28
37
|
style:'col-sm-2 form-group'
|
|
29
38
|
}
|
|
30
39
|
},
|
|
@@ -37,6 +46,7 @@
|
|
|
37
46
|
methods:{
|
|
38
47
|
selected(obj){
|
|
39
48
|
this.style='col-sm-3 form-group'
|
|
49
|
+
this.usershow =false
|
|
40
50
|
if(obj.val&&obj.val.id){
|
|
41
51
|
console.log('对比分公司', obj.val.f_filialeid, this.f_filialeids)
|
|
42
52
|
if (obj.val.f_filialeid != this.f_filialeids) {
|
|
@@ -58,6 +68,7 @@
|
|
|
58
68
|
}
|
|
59
69
|
},
|
|
60
70
|
refresh() {
|
|
71
|
+
this.usershow =false
|
|
61
72
|
this.areaShow = false
|
|
62
73
|
this.$refs.arealist.$refs.paged.$refs.cri.search()
|
|
63
74
|
}
|
|
@@ -66,6 +77,7 @@
|
|
|
66
77
|
'add'(){
|
|
67
78
|
this.style='col-sm-3 form-group'
|
|
68
79
|
this.areaShow=true
|
|
80
|
+
this.usershow =false
|
|
69
81
|
this.$refs.addareamsg.cleardara()
|
|
70
82
|
this.$refs.addareamsg.operation='add'
|
|
71
83
|
this.$refs.addareamsg.areatype='小区'
|
|
@@ -74,12 +86,14 @@
|
|
|
74
86
|
'confirm' () {
|
|
75
87
|
this.style='col-sm-2 form-group'
|
|
76
88
|
this.areaShow = false
|
|
89
|
+
this.usershow =false
|
|
77
90
|
this.$refs.arealist.$refs.paged.$refs.cri.search()
|
|
78
91
|
},
|
|
79
92
|
'cancel' () {
|
|
80
93
|
this.style='col-sm-2 form-group'
|
|
81
94
|
this.$refs.arealist.$refs.paged.$refs.cri.search()
|
|
82
95
|
this.areaShow = false
|
|
96
|
+
this.usershow =false
|
|
83
97
|
}
|
|
84
98
|
}
|
|
85
99
|
}
|