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,73 +1,73 @@
1
- <template>
2
- <div style="width: auto;">
3
- <criteria-paged :model="model" v-ref:paged :pager="false">
4
- <criteria partial='criteria' @condition-changed='$parent.selfsearch' v-ref:criteria >
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="col-sm-9 ">
7
- <input type="text" class="input_search button_spacing" v-model="model.f_residential_area"
8
- condition="f_residential_area like '%{}%'" placeholder='小区名称'>
9
- </div>
10
- <div class="span" style="float:right;"id='filesArea'>
11
- <button class="button_search button_spacing" @click="search()">查询</button>
12
- </div>
13
- </div>
14
- </criteria>
15
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" >
16
- <template partial='head'>
17
- <tr>
18
- <th>序号</th>
19
- <th>小区详细地址</th>
20
- <th>操作</th>
21
- </tr>
22
- </template>
23
- <template partial='body'>
24
- <td id = "1" style="text-align: center;">{{$index + 1}}</td>
25
- <td>{{row.f_area_address}}-{{row.f_residential_area}}-{{row.f_comments}}</td>
26
- <td style="text-align: center;">
27
- <button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.foundFile(row)">建档</button>
28
- </td>
29
- </template>
30
- </data-grid>
31
- </criteria-paged>
32
- </div>
33
- </template>
34
-
35
- <script>
36
- import { PagedList } from 'vue-client'
37
- export default {
38
- title: '小区列表',
39
- data () {
40
- return {
41
- model: new PagedList('api/af-revenue/sql/address_getArea', 20)
42
- }
43
- },
44
- props: ['f_filialeid'],
45
- // ready () {
46
- // this.search()
47
- // },
48
- watch: {
49
- 'f_filialeid' (val) {
50
- this.search()
51
- }
52
- },
53
- methods: {
54
- foundFile (row) {
55
- console.log('小区建档', row)
56
- this.$emit('re-ref', row)
57
- },
58
- search () {
59
- this.$refs.paged.$refs.criteria.search()
60
- },
61
- selfsearch (datas) {
62
- console.log('查询小区', this.f_filialeid)
63
- datas.condition += ` and a.f_filialeid = '${this.f_filialeid}'`
64
- this.$refs.paged.$refs.grid.$el.scrollTop = 0
65
- this.model.search(datas.condition, this.model)
66
- },
67
- // 主要提供外部组件调用,刷新数据
68
- reflash () {
69
- this.$refs.paged.$refs.criteria.search()
70
- }
71
- }
72
- }
73
- </script>
1
+ <template>
2
+ <div style="width: auto;">
3
+ <criteria-paged :model="model" v-ref:paged :pager="false">
4
+ <criteria partial='criteria' @condition-changed='$parent.selfsearch' v-ref:criteria >
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="col-sm-9 ">
7
+ <input type="text" class="input_search button_spacing" v-model="model.f_residential_area"
8
+ condition="f_residential_area like '%{}%'" placeholder='小区名称'>
9
+ </div>
10
+ <div class="span" style="float:right;"id='filesArea'>
11
+ <button class="button_search button_spacing" @click="search()">查询</button>
12
+ </div>
13
+ </div>
14
+ </criteria>
15
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" >
16
+ <template partial='head'>
17
+ <tr>
18
+ <th>序号</th>
19
+ <th>小区详细地址</th>
20
+ <th>操作</th>
21
+ </tr>
22
+ </template>
23
+ <template partial='body'>
24
+ <td id = "1" style="text-align: center;">{{$index + 1}}</td>
25
+ <td>{{row.f_area_address}}-{{row.f_residential_area}}-{{row.f_comments}}</td>
26
+ <td style="text-align: center;">
27
+ <button type="button" name="button" class="btn btn-link" @click.stop="$parent.$parent.$parent.foundFile(row)">建档</button>
28
+ </td>
29
+ </template>
30
+ </data-grid>
31
+ </criteria-paged>
32
+ </div>
33
+ </template>
34
+
35
+ <script>
36
+ import { PagedList } from 'vue-client'
37
+ export default {
38
+ title: '小区列表',
39
+ data () {
40
+ return {
41
+ model: new PagedList('api/af-revenue/sql/address_getArea', 20)
42
+ }
43
+ },
44
+ props: ['f_filialeid'],
45
+ // ready () {
46
+ // this.search()
47
+ // },
48
+ watch: {
49
+ 'f_filialeid' (val) {
50
+ this.search()
51
+ }
52
+ },
53
+ methods: {
54
+ foundFile (row) {
55
+ console.log('小区建档', row)
56
+ this.$emit('re-ref', row)
57
+ },
58
+ search () {
59
+ this.$refs.paged.$refs.criteria.search()
60
+ },
61
+ selfsearch (datas) {
62
+ console.log('查询小区', this.f_filialeid)
63
+ datas.condition += ` and a.f_filialeid = '${this.f_filialeid}'`
64
+ this.$refs.paged.$refs.grid.$el.scrollTop = 0
65
+ this.model.search(datas.condition, this.model)
66
+ },
67
+ // 主要提供外部组件调用,刷新数据
68
+ reflash () {
69
+ this.$refs.paged.$refs.criteria.search()
70
+ }
71
+ }
72
+ }
73
+ </script>