address-client 3.0.34-aodeToV4 → 3.0.36-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.
Files changed (35) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/AddressClient.iml +12 -12
  3. package/CHANGELOG.md +12 -12
  4. package/build/dev-server.js +128 -128
  5. package/build/webpack.base.conf.js +81 -81
  6. package/examples/showAdd/App.vue +40 -40
  7. package/index.html +40 -40
  8. package/package.json +105 -105
  9. package/src/address.js +58 -58
  10. package/src/components/AddAreaMsg.vue +599 -599
  11. package/src/components/AddStreetOrPcd.vue +231 -231
  12. package/src/components/AddressAddAddress.vue +479 -479
  13. package/src/components/AddressFiles.vue +156 -156
  14. package/src/components/AddressList.vue +323 -323
  15. package/src/components/AddressManage.vue +117 -117
  16. package/src/components/AddressTree.vue +501 -501
  17. package/src/components/AreaFiles.vue +73 -73
  18. package/src/components/AreaList.vue +357 -357
  19. package/src/components/AreaManage.vue +101 -101
  20. package/src/components/AreaTree.vue +508 -508
  21. package/src/components/Basch.vue +72 -72
  22. package/src/components/BatchOrders.vue +328 -328
  23. package/src/components/CityManage.vue +76 -76
  24. package/src/components/NewAddressInfo.vue +432 -432
  25. package/src/components/OneCodeList.vue +251 -251
  26. package/src/components/StreetList.vue +184 -184
  27. package/src/components/UserAddress.vue +781 -780
  28. package/src/components/UserAddressChange.vue +58 -58
  29. package/src/components/addressts/AddressListts.vue +307 -307
  30. package/src/components/addressts/AddressManagets.vue +117 -117
  31. package/src/components/addressts/UserAddressChangets.vue +58 -58
  32. package/src/components/addressts/UserAddressts.vue +740 -739
  33. package/src/components/areauser/AreaUser.vue +233 -233
  34. package/src/components/selectAddress/BatchList.vue +326 -326
  35. package/src/main.js +23 -23
@@ -1,76 +1,76 @@
1
- <template>
2
- <div id="unit" class="flex-row " :class="{'binary':areaShow}">
3
- <div :class="{'basic-main':!areaShow,'binary-left':areaShow}">
4
- <street-list @select-changed="selected" :f_filialeids.sync="f_filialeids" v-ref:arealist></street-list>
5
- </div>
6
- <div v-show="areaShow" class="binary-right">
7
- <add-street-pcd v-ref:addstreetpcd :areatype.sync="areatype" :operation='operation' :f_filialeids.sync="f_filialeids" :row="row"></add-street-pcd>
8
- </div>
9
- </div>
10
- </template>
11
-
12
- <script>
13
- export default {
14
- title: '城市管理',
15
- components:{
16
- },
17
- data () {
18
- return {
19
- //分公司id串
20
- f_filialeids: this.$login.f.orgid,
21
- areaShow:false,
22
- areatype:'街道'
23
-
24
- }
25
- },
26
- props:{
27
-
28
- },
29
- methods:{
30
- selected(obj){
31
- if(obj.val&&obj.val.id){
32
- if (obj.val.f_filialeid != this.f_filialeids) {
33
- this.refresh()
34
- return
35
- }
36
- this.$refs.addstreetpcd.cleardara()
37
- this.areatype = '街道'
38
- this.areaShow=true
39
- this.$refs.addstreetpcd.operation='modify'
40
- this.$refs.addstreetpcd.streetmodel=Object.assign({},obj.val)
41
- this.$refs.addstreetpcd.initdata()
42
- }
43
- },
44
- async refresh () {
45
- this.areaShow = false
46
- await this.$refs.arealist.$refs.paged.$refs.cri.search()
47
- }
48
- },
49
- events:{
50
- 'add'(areatype){
51
- this.style='col-sm-3 '
52
- this.areaShow=true
53
- this.$refs.addstreetpcd.cleardara()
54
- this.$refs.addstreetpcd.operation='add'
55
- this.$refs.addstreetpcd.areatype=areatype
56
- this.$refs.addstreetpcd.initdata()
57
- },
58
- 'modify'(area){
59
- this.style='col-sm-2 '
60
- },
61
- 'confirm' () {
62
- this.style='col-sm-2 '
63
-
64
- this.refresh()
65
- },
66
- 'cancel' () {
67
- this.style='col-sm-2 '
68
-
69
- this.areaShow = false
70
- this.$refs.arealist.$refs.paged.$refs.cri.search()
71
- },
72
- }
73
- }
74
- </script>
75
-
76
-
1
+ <template>
2
+ <div id="unit" class="flex-row " :class="{'binary':areaShow}">
3
+ <div :class="{'basic-main':!areaShow,'binary-left':areaShow}">
4
+ <street-list @select-changed="selected" :f_filialeids.sync="f_filialeids" v-ref:arealist></street-list>
5
+ </div>
6
+ <div v-show="areaShow" class="binary-right">
7
+ <add-street-pcd v-ref:addstreetpcd :areatype.sync="areatype" :operation='operation' :f_filialeids.sync="f_filialeids" :row="row"></add-street-pcd>
8
+ </div>
9
+ </div>
10
+ </template>
11
+
12
+ <script>
13
+ export default {
14
+ title: '城市管理',
15
+ components:{
16
+ },
17
+ data () {
18
+ return {
19
+ //分公司id串
20
+ f_filialeids: this.$login.f.orgid,
21
+ areaShow:false,
22
+ areatype:'街道'
23
+
24
+ }
25
+ },
26
+ props:{
27
+
28
+ },
29
+ methods:{
30
+ selected(obj){
31
+ if(obj.val&&obj.val.id){
32
+ if (obj.val.f_filialeid != this.f_filialeids) {
33
+ this.refresh()
34
+ return
35
+ }
36
+ this.$refs.addstreetpcd.cleardara()
37
+ this.areatype = '街道'
38
+ this.areaShow=true
39
+ this.$refs.addstreetpcd.operation='modify'
40
+ this.$refs.addstreetpcd.streetmodel=Object.assign({},obj.val)
41
+ this.$refs.addstreetpcd.initdata()
42
+ }
43
+ },
44
+ async refresh () {
45
+ this.areaShow = false
46
+ await this.$refs.arealist.$refs.paged.$refs.cri.search()
47
+ }
48
+ },
49
+ events:{
50
+ 'add'(areatype){
51
+ this.style='col-sm-3 '
52
+ this.areaShow=true
53
+ this.$refs.addstreetpcd.cleardara()
54
+ this.$refs.addstreetpcd.operation='add'
55
+ this.$refs.addstreetpcd.areatype=areatype
56
+ this.$refs.addstreetpcd.initdata()
57
+ },
58
+ 'modify'(area){
59
+ this.style='col-sm-2 '
60
+ },
61
+ 'confirm' () {
62
+ this.style='col-sm-2 '
63
+
64
+ this.refresh()
65
+ },
66
+ 'cancel' () {
67
+ this.style='col-sm-2 '
68
+
69
+ this.areaShow = false
70
+ this.$refs.arealist.$refs.paged.$refs.cri.search()
71
+ },
72
+ }
73
+ }
74
+ </script>
75
+
76
+