address-client 3.0.34-aode → 3.0.34-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 (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 +1 -1
  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 -307
  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 +28 -5
  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 +780 -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 +739 -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,72 +1,72 @@
1
- <template>
2
- <div class="auto">
3
- <div v-if="isBatch" class="auto">
4
- <div class="form-group"><span>楼号</span><input v-model="name_l" /></div>
5
- <div class="form-group">备注:例如1-5,10-18</div>
6
- <div class="form-group"><span>单元</span><input v-model="name_d"/></div>
7
- <div class="form-group">备注:例如1-4</div>
8
- <div class="form-group"><span>楼层</span><input v-model="name_c" /></div>
9
- <div class="form-group">备注:例如1-5,8-10</div>
10
- <div class="form-group"><span>门牌号</span><input v-model="name_m" /></div>
11
- <div class="form-group">备注:例如103-334,503-510</div>
12
- </div>
13
- <div class="form-group">
14
- <button type="button" class="btn btn-success" @click="addChild" >保存</button>
15
- <button type="button" class="btn btn-default" @click="this.$emit('signout')" >取消</button>
16
- </div>
17
- </div>
18
- </template>
19
-
20
- <script>
21
- export default {
22
- name: "basch",
23
- props: {
24
- // 是否批量
25
- isBatch: {
26
- default: true,
27
- },
28
- id: {
29
- type: String
30
- }
31
- },
32
- data() {
33
- return {
34
- // 楼号
35
- name_l: '',
36
- // 单元
37
- name_d: '',
38
- // 楼层
39
- name_c: '',
40
- // 门牌号
41
- name_m: '',
42
-
43
- }
44
- },
45
- methods: {
46
- async addChild() {
47
- if(this.isBatch) {
48
- let batchs = new Array()
49
- if(this.name_l != '') {
50
- batchs.push({type: '楼号', names: this.name_l})
51
- }
52
- if(this.name_d != '') {
53
- batchs.push({type: '单元', names: this.name_d})
54
- }
55
- if(this.name_c != '') {
56
- batchs.push({type: '楼层', names: this.name_c})
57
- }
58
- if(this.name_m != '') {
59
- batchs.push({type: '门牌号', names: this.name_m})
60
- }
61
- console.log(batchs)
62
- await this.$resetpost(`rs/logic/address_batch`, {id: this.id, json: batchs})
63
- this.$emit('addChild')
64
- }
65
- }
66
- },
67
- }
68
- </script>
69
-
70
- <style scoped>
71
-
72
- </style>
1
+ <template>
2
+ <div class="auto">
3
+ <div v-if="isBatch" class="auto">
4
+ <div class="form-group"><span>楼号</span><input v-model="name_l" /></div>
5
+ <div class="form-group">备注:例如1-5,10-18</div>
6
+ <div class="form-group"><span>单元</span><input v-model="name_d"/></div>
7
+ <div class="form-group">备注:例如1-4</div>
8
+ <div class="form-group"><span>楼层</span><input v-model="name_c" /></div>
9
+ <div class="form-group">备注:例如1-5,8-10</div>
10
+ <div class="form-group"><span>门牌号</span><input v-model="name_m" /></div>
11
+ <div class="form-group">备注:例如103-334,503-510</div>
12
+ </div>
13
+ <div class="form-group">
14
+ <button type="button" class="btn btn-success" @click="addChild" >保存</button>
15
+ <button type="button" class="btn btn-default" @click="this.$emit('signout')" >取消</button>
16
+ </div>
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ export default {
22
+ name: "basch",
23
+ props: {
24
+ // 是否批量
25
+ isBatch: {
26
+ default: true,
27
+ },
28
+ id: {
29
+ type: String
30
+ }
31
+ },
32
+ data() {
33
+ return {
34
+ // 楼号
35
+ name_l: '',
36
+ // 单元
37
+ name_d: '',
38
+ // 楼层
39
+ name_c: '',
40
+ // 门牌号
41
+ name_m: '',
42
+
43
+ }
44
+ },
45
+ methods: {
46
+ async addChild() {
47
+ if(this.isBatch) {
48
+ let batchs = new Array()
49
+ if(this.name_l != '') {
50
+ batchs.push({type: '楼号', names: this.name_l})
51
+ }
52
+ if(this.name_d != '') {
53
+ batchs.push({type: '单元', names: this.name_d})
54
+ }
55
+ if(this.name_c != '') {
56
+ batchs.push({type: '楼层', names: this.name_c})
57
+ }
58
+ if(this.name_m != '') {
59
+ batchs.push({type: '门牌号', names: this.name_m})
60
+ }
61
+ console.log(batchs)
62
+ await this.$resetpost(`api/af-revenue/logic/address_batch`, {id: this.id, json: batchs})
63
+ this.$emit('addChild')
64
+ }
65
+ }
66
+ },
67
+ }
68
+ </script>
69
+
70
+ <style scoped>
71
+
72
+ </style>