address-client 3.0.34-aodeToV4 → 3.0.35-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.
Files changed (41) hide show
  1. package/AddressClient.iml +12 -12
  2. package/CHANGELOG.md +12 -12
  3. package/build/dev-server.js +128 -128
  4. package/build/webpack.base.conf.js +81 -81
  5. package/examples/showAdd/App.vue +40 -40
  6. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  7. package/gradle/wrapper/gradle-wrapper.properties +5 -0
  8. package/gradlew +234 -0
  9. package/gradlew.bat +89 -0
  10. package/index.html +40 -40
  11. package/package.json +1 -1
  12. package/src/address.js +58 -58
  13. package/src/components/AddAreaMsg.vue +599 -599
  14. package/src/components/AddStreetOrPcd.vue +231 -231
  15. package/src/components/AddressAddAddress.vue +479 -479
  16. package/src/components/AddressFiles.vue +156 -156
  17. package/src/components/AddressList.vue +323 -323
  18. package/src/components/AddressManage.vue +117 -117
  19. package/src/components/AddressTree.vue +501 -501
  20. package/src/components/AreaFiles.vue +73 -73
  21. package/src/components/AreaList.vue +357 -357
  22. package/src/components/AreaManage.vue +101 -101
  23. package/src/components/AreaTree.vue +508 -508
  24. package/src/components/Basch.vue +72 -72
  25. package/src/components/BatchOrders.vue +328 -328
  26. package/src/components/CityManage.vue +76 -76
  27. package/src/components/NewAddressInfo.vue +432 -432
  28. package/src/components/OneCodeList.vue +251 -251
  29. package/src/components/StreetList.vue +184 -184
  30. package/src/components/UserAddress.vue +780 -780
  31. package/src/components/UserAddressChange.vue +58 -58
  32. package/src/components/addressts/AddressListts.vue +307 -307
  33. package/src/components/addressts/AddressManagets.vue +117 -117
  34. package/src/components/addressts/UserAddressChangets.vue +58 -58
  35. package/src/components/addressts/UserAddressts.vue +739 -739
  36. package/src/components/areauser/AreaUser.vue +233 -233
  37. package/src/components/selectAddress/BatchList.vue +177 -174
  38. package/src/main.js +23 -23
  39. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  40. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  41. package/.gradle/buildOutputCleanup/cache.properties +0 -2
@@ -1,101 +1,101 @@
1
- <template>
2
- <div id="unit" class="flex-row" :class="{'binary':areaShow}">
3
- <div :class="{'basic-main':!areaShow && !usershow,'binary-left':areaShow|| usershow}">
4
- <area-list @select-changed="selected" v-ref:arealist :style="style" :f_filialeids.sync="f_filialeids"></area-list>
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>
11
- <div v-show="areaShow" style="width: 60%" class="binary-right">
12
- <div class="flex">
13
- <add-area-msg v-ref:addareamsg :areatype="areatype" :operation="operation"
14
- :f_filialeids.sync="f_filialeids" :row="arearow"></add-area-msg>
15
- </div>
16
- </div>
17
- </div>
18
- </template>
19
-
20
- <script>
21
- export default {
22
- title: '小区管理',
23
- components:{
24
- },
25
- data () {
26
- return {
27
- //分公司id串
28
- width:'100%',
29
- f_filialeids: this.$login.f.orgid,
30
- areaShow:false,
31
- areatype:'小区',
32
- f_filialeid:this.$login.f.orgid,
33
- arearow:{},
34
- usershow:false,
35
- f_residential_area_id:'',
36
- f_residential_area:'',
37
- style:'col-sm-2 form-group'
38
- }
39
- },
40
- ready(){
41
-
42
- },
43
- props:{
44
-
45
- },
46
- methods:{
47
- selected(obj){
48
- this.style='col-sm-3 form-group'
49
- this.usershow =false
50
- if(obj.val&&obj.val.id){
51
- console.log('对比分公司', obj.val.f_filialeid, this.f_filialeids)
52
- if (obj.val.f_filialeid != this.f_filialeids) {
53
- this.refresh()
54
- return
55
- }
56
- this.areaShow=true
57
- this.$refs.addareamsg.cleardara()
58
- this.$refs.addareamsg.operation='modify'
59
- this.$refs.addareamsg.areatype='小区'
60
- this.$refs.addareamsg.areamodel=Object.assign({},obj.val)
61
- if (obj.val.f_slice_area) {
62
- this.$refs.addareamsg.areamodel.slice_area = [{
63
- name: this.$refs.addareamsg.areamodel.f_slice_area,
64
- code: this.$refs.addareamsg.areamodel.f_area_code
65
- }]
66
- }
67
- this.$refs.addareamsg.initdata(obj.val)
68
- }
69
- },
70
- refresh() {
71
- this.usershow =false
72
- this.areaShow = false
73
- this.$refs.arealist.$refs.paged.$refs.cri.search()
74
- }
75
- },
76
- events:{
77
- 'add'(){
78
- this.style='col-sm-3 form-group'
79
- this.areaShow=true
80
- this.usershow =false
81
- this.$refs.addareamsg.cleardara()
82
- this.$refs.addareamsg.operation='add'
83
- this.$refs.addareamsg.areatype='小区'
84
- this.$refs.addareamsg.initdata()
85
- },
86
- 'confirm' () {
87
- this.style='col-sm-2 form-group'
88
- this.areaShow = false
89
- this.usershow =false
90
- this.$refs.arealist.$refs.paged.$refs.cri.search()
91
- },
92
- 'cancel' () {
93
- this.style='col-sm-2 form-group'
94
- this.$refs.arealist.$refs.paged.$refs.cri.search()
95
- this.areaShow = false
96
- this.usershow =false
97
- }
98
- }
99
- }
100
- </script>
101
-
1
+ <template>
2
+ <div id="unit" class="flex-row" :class="{'binary':areaShow}">
3
+ <div :class="{'basic-main':!areaShow && !usershow,'binary-left':areaShow|| usershow}">
4
+ <area-list @select-changed="selected" v-ref:arealist :style="style" :f_filialeids.sync="f_filialeids"></area-list>
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>
11
+ <div v-show="areaShow" style="width: 60%" class="binary-right">
12
+ <div class="flex">
13
+ <add-area-msg v-ref:addareamsg :areatype="areatype" :operation="operation"
14
+ :f_filialeids.sync="f_filialeids" :row="arearow"></add-area-msg>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ export default {
22
+ title: '小区管理',
23
+ components:{
24
+ },
25
+ data () {
26
+ return {
27
+ //分公司id串
28
+ width:'100%',
29
+ f_filialeids: this.$login.f.orgid,
30
+ areaShow:false,
31
+ areatype:'小区',
32
+ f_filialeid:this.$login.f.orgid,
33
+ arearow:{},
34
+ usershow:false,
35
+ f_residential_area_id:'',
36
+ f_residential_area:'',
37
+ style:'col-sm-2 form-group'
38
+ }
39
+ },
40
+ ready(){
41
+
42
+ },
43
+ props:{
44
+
45
+ },
46
+ methods:{
47
+ selected(obj){
48
+ this.style='col-sm-3 form-group'
49
+ this.usershow =false
50
+ if(obj.val&&obj.val.id){
51
+ console.log('对比分公司', obj.val.f_filialeid, this.f_filialeids)
52
+ if (obj.val.f_filialeid != this.f_filialeids) {
53
+ this.refresh()
54
+ return
55
+ }
56
+ this.areaShow=true
57
+ this.$refs.addareamsg.cleardara()
58
+ this.$refs.addareamsg.operation='modify'
59
+ this.$refs.addareamsg.areatype='小区'
60
+ this.$refs.addareamsg.areamodel=Object.assign({},obj.val)
61
+ if (obj.val.f_slice_area) {
62
+ this.$refs.addareamsg.areamodel.slice_area = [{
63
+ name: this.$refs.addareamsg.areamodel.f_slice_area,
64
+ code: this.$refs.addareamsg.areamodel.f_area_code
65
+ }]
66
+ }
67
+ this.$refs.addareamsg.initdata(obj.val)
68
+ }
69
+ },
70
+ refresh() {
71
+ this.usershow =false
72
+ this.areaShow = false
73
+ this.$refs.arealist.$refs.paged.$refs.cri.search()
74
+ }
75
+ },
76
+ events:{
77
+ 'add'(){
78
+ this.style='col-sm-3 form-group'
79
+ this.areaShow=true
80
+ this.usershow =false
81
+ this.$refs.addareamsg.cleardara()
82
+ this.$refs.addareamsg.operation='add'
83
+ this.$refs.addareamsg.areatype='小区'
84
+ this.$refs.addareamsg.initdata()
85
+ },
86
+ 'confirm' () {
87
+ this.style='col-sm-2 form-group'
88
+ this.areaShow = false
89
+ this.usershow =false
90
+ this.$refs.arealist.$refs.paged.$refs.cri.search()
91
+ },
92
+ 'cancel' () {
93
+ this.style='col-sm-2 form-group'
94
+ this.$refs.arealist.$refs.paged.$refs.cri.search()
95
+ this.areaShow = false
96
+ this.usershow =false
97
+ }
98
+ }
99
+ }
100
+ </script>
101
+