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,117 +1,117 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}">
4
- <address-list-ts @select-changed="selected" v-ref:addresslist :style="style" :f_filialeids.sync="f_filialeids"></address-list-ts>
5
- </div>
6
- <div v-show="useraddressShow" class="binary-right">
7
- <div class="flex">
8
- <user-address-ts v-ref:useraddressmsg
9
- :f_filialeids.sync="f_filialeids" :row="row"></user-address-ts>
10
-
11
- <user-address-change-ts v-if="addressId" :address_id="addressId"></user-address-change-ts>
12
- </div>
13
- </div>
14
- </div>
15
- </template>
16
-
17
- <script>
18
- export default {
19
- title: '地址管理(未整合用户)',
20
- components:{
21
- },
22
- data () {
23
- return {
24
- //分公司id串
25
- f_filialeids: this.$login.f.orgid,
26
- area: [],
27
- street: [],
28
- residential: [],
29
- row: {},
30
- useraddressShow: false,
31
- addressId: null,
32
- style:'col-sm-2 form-group'
33
- }
34
- },
35
- props:{
36
-
37
- },
38
- methods:{
39
- selected(obj){
40
- this.$refs.addresslist.showrightchange=false;
41
- this.style='col-sm-3 form-group'
42
- if(obj.val&&obj.val.id){
43
- if (obj.val.f_filialeid != this.f_filialeids) {
44
- this.refresh()
45
- return
46
- }
47
- // 呼叫中心需要
48
- this.$dispatch('re-ref', obj.val)
49
- this.addressId=obj.val.id
50
- this.useraddressShow=true
51
- this.$refs.useraddressmsg.cleardara()
52
- this.$refs.useraddressmsg.initdata()
53
- this.$refs.useraddressmsg.usertype=obj.val.f_user_type
54
- this.$refs.useraddressmsg.operation='modify'
55
- this.$refs.useraddressmsg.onedata='one'
56
- this.$refs.useraddressmsg.model=Object.assign({},obj.val)
57
- if(obj.val.f_special=='1'){
58
- this.$refs.useraddressmsg.usertype = true
59
- }else{
60
- this.$refs.useraddressmsg.usertype = false
61
- }
62
- if (obj.val.f_slice_area) {
63
- this.$refs.useraddressmsg.model.slice_area = [{
64
- name: this.$refs.useraddressmsg.model.f_slice_area,
65
- code: this.$refs.useraddressmsg.model.f_area_code
66
- }]
67
- }
68
- }
69
- },
70
- refresh () {
71
- this.addressId=null
72
- this.useraddressShow = false
73
- this.$refs.addresslist.$refs.paged.$refs.cri.search()
74
- }
75
- },
76
- events:{
77
- 'add'(val){
78
- this.style='col-sm-3 form-group'
79
- this.useraddressShow = true
80
- this.$refs.useraddressmsg.cleardara()
81
- this.addressId=null
82
- //true为新增特殊地址
83
- if (val!='民用') {
84
- //非民用
85
- this.$refs.useraddressmsg.usertype = true
86
- this.$refs.useraddressmsg.onedata = 'one'
87
- }else{
88
- this.$refs.useraddressmsg.usertype = false
89
- }
90
- this.$refs.useraddressmsg.operation='add'
91
- this.$refs.useraddressmsg.pcdslist=[]
92
- this.$refs.useraddressmsg.streetslist=[]
93
- this.$refs.useraddressmsg.areaslist=[]
94
- this.$refs.useraddressmsg.initdata()
95
- },
96
- 'confirm' () {
97
- this.style='col-sm-2 form-group'
98
- this.addressId=null
99
- this.$refs.addresslist.$refs.paged.$refs.cri.search()
100
- this.useraddressShow = false
101
- this.$refs.addresslist.showrightchange=true;
102
- },
103
- 'modify'(area){
104
- this.style='col-sm-2 form-group'
105
- },
106
- 'cancel' () {
107
- this.style='col-sm-2 form-group'
108
- this.addressId=null
109
- this.$refs.addresslist.showrightchange=true;
110
- this.$refs.addresslist.$refs.paged.$refs.cri.search()
111
- this.useraddressShow = false
112
- },
113
- }
114
- }
115
- </script>
116
- <style>
117
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}">
4
+ <address-list-ts @select-changed="selected" v-ref:addresslist :style="style" :f_filialeids.sync="f_filialeids"></address-list-ts>
5
+ </div>
6
+ <div v-show="useraddressShow" class="binary-right">
7
+ <div class="flex">
8
+ <user-address-ts v-ref:useraddressmsg
9
+ :f_filialeids.sync="f_filialeids" :row="row"></user-address-ts>
10
+
11
+ <user-address-change-ts v-if="addressId" :address_id="addressId"></user-address-change-ts>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </template>
16
+
17
+ <script>
18
+ export default {
19
+ title: '地址管理(未整合用户)',
20
+ components:{
21
+ },
22
+ data () {
23
+ return {
24
+ //分公司id串
25
+ f_filialeids: this.$login.f.orgid,
26
+ area: [],
27
+ street: [],
28
+ residential: [],
29
+ row: {},
30
+ useraddressShow: false,
31
+ addressId: null,
32
+ style:'col-sm-2 form-group'
33
+ }
34
+ },
35
+ props:{
36
+
37
+ },
38
+ methods:{
39
+ selected(obj){
40
+ this.$refs.addresslist.showrightchange=false;
41
+ this.style='col-sm-3 form-group'
42
+ if(obj.val&&obj.val.id){
43
+ if (obj.val.f_filialeid != this.f_filialeids) {
44
+ this.refresh()
45
+ return
46
+ }
47
+ // 呼叫中心需要
48
+ this.$dispatch('re-ref', obj.val)
49
+ this.addressId=obj.val.id
50
+ this.useraddressShow=true
51
+ this.$refs.useraddressmsg.cleardara()
52
+ this.$refs.useraddressmsg.initdata()
53
+ this.$refs.useraddressmsg.usertype=obj.val.f_user_type
54
+ this.$refs.useraddressmsg.operation='modify'
55
+ this.$refs.useraddressmsg.onedata='one'
56
+ this.$refs.useraddressmsg.model=Object.assign({},obj.val)
57
+ if(obj.val.f_special=='1'){
58
+ this.$refs.useraddressmsg.usertype = true
59
+ }else{
60
+ this.$refs.useraddressmsg.usertype = false
61
+ }
62
+ if (obj.val.f_slice_area) {
63
+ this.$refs.useraddressmsg.model.slice_area = [{
64
+ name: this.$refs.useraddressmsg.model.f_slice_area,
65
+ code: this.$refs.useraddressmsg.model.f_area_code
66
+ }]
67
+ }
68
+ }
69
+ },
70
+ refresh () {
71
+ this.addressId=null
72
+ this.useraddressShow = false
73
+ this.$refs.addresslist.$refs.paged.$refs.cri.search()
74
+ }
75
+ },
76
+ events:{
77
+ 'add'(val){
78
+ this.style='col-sm-3 form-group'
79
+ this.useraddressShow = true
80
+ this.$refs.useraddressmsg.cleardara()
81
+ this.addressId=null
82
+ //true为新增特殊地址
83
+ if (val!='民用') {
84
+ //非民用
85
+ this.$refs.useraddressmsg.usertype = true
86
+ this.$refs.useraddressmsg.onedata = 'one'
87
+ }else{
88
+ this.$refs.useraddressmsg.usertype = false
89
+ }
90
+ this.$refs.useraddressmsg.operation='add'
91
+ this.$refs.useraddressmsg.pcdslist=[]
92
+ this.$refs.useraddressmsg.streetslist=[]
93
+ this.$refs.useraddressmsg.areaslist=[]
94
+ this.$refs.useraddressmsg.initdata()
95
+ },
96
+ 'confirm' () {
97
+ this.style='col-sm-2 form-group'
98
+ this.addressId=null
99
+ this.$refs.addresslist.$refs.paged.$refs.cri.search()
100
+ this.useraddressShow = false
101
+ this.$refs.addresslist.showrightchange=true;
102
+ },
103
+ 'modify'(area){
104
+ this.style='col-sm-2 form-group'
105
+ },
106
+ 'cancel' () {
107
+ this.style='col-sm-2 form-group'
108
+ this.addressId=null
109
+ this.$refs.addresslist.showrightchange=true;
110
+ this.$refs.addresslist.$refs.paged.$refs.cri.search()
111
+ this.useraddressShow = false
112
+ },
113
+ }
114
+ }
115
+ </script>
116
+ <style>
117
+ </style>
@@ -1,58 +1,58 @@
1
- <template>
2
- <div class="span" style="width: auto;">
3
- <p class="bg-info text-center" style="padding: 8px;" >{{'地址变更记录'}}</p>
4
- <partial-view v-ref:pv @condition-changed="search">
5
- <criteria-paged :model="model" v-ref:paged :pager="false">
6
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
7
- <template partial='head'>
8
- <tr>
9
- <th>序号</th>
10
- <th>变更内容</th>
11
- <th>旧值</th>
12
- <th>新值</th>
13
- <th>变更人</th>
14
- <th>变更日期</th>
15
- </tr>
16
- </template>
17
- <template partial='body'>
18
- <td style="text-align: center;">{{$index + 1}}</td>
19
- <td style="text-align:center">{{row.f_field_name}}</td>
20
- <td style="text-align:center">{{row.f_used_content}}</td>
21
- <td style="text-align:center">{{row.f_new_content}}</td>
22
- <td style="text-align:center">{{row.f_operator}}</td>
23
- <td style="text-align:center">{{row.f_operate_date}}</td>
24
- </template>
25
- </data-grid>
26
- </criteria-paged>
27
- </partial-view>
28
- </div>
29
- </template>
30
-
31
- <script>
32
- import { PagedList } from 'vue-client'
33
-
34
- export default {
35
- title: '地址变更列表',
36
- data () {
37
- return {
38
- model: new PagedList('api/af-revenue/sql/address_singleTableOrderBy',20, {
39
- tablename: `'t_address_change_ts'`,items: `'*'`,
40
- orderitem: `'f_operate_date desc'`}),
41
- }
42
- },
43
- props: ['address_id'],
44
- ready () {
45
- this.search()
46
- },
47
- methods: {
48
- search() {
49
- this.model.search(`f_address_id = '${this.address_id}'`)
50
- }
51
- },
52
- watch: {
53
- 'address_id' () {
54
- this.search()
55
- }
56
- }
57
- }
58
- </script>
1
+ <template>
2
+ <div class="span" style="width: auto;">
3
+ <p class="bg-info text-center" style="padding: 8px;" >{{'地址变更记录'}}</p>
4
+ <partial-view v-ref:pv @condition-changed="search">
5
+ <criteria-paged :model="model" v-ref:paged :pager="false">
6
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
7
+ <template partial='head'>
8
+ <tr>
9
+ <th>序号</th>
10
+ <th>变更内容</th>
11
+ <th>旧值</th>
12
+ <th>新值</th>
13
+ <th>变更人</th>
14
+ <th>变更日期</th>
15
+ </tr>
16
+ </template>
17
+ <template partial='body'>
18
+ <td style="text-align: center;">{{$index + 1}}</td>
19
+ <td style="text-align:center">{{row.f_field_name}}</td>
20
+ <td style="text-align:center">{{row.f_used_content}}</td>
21
+ <td style="text-align:center">{{row.f_new_content}}</td>
22
+ <td style="text-align:center">{{row.f_operator}}</td>
23
+ <td style="text-align:center">{{row.f_operate_date}}</td>
24
+ </template>
25
+ </data-grid>
26
+ </criteria-paged>
27
+ </partial-view>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+ import { PagedList } from 'vue-client'
33
+
34
+ export default {
35
+ title: '地址变更列表',
36
+ data () {
37
+ return {
38
+ model: new PagedList('api/af-revenue/sql/address_singleTableOrderBy',20, {
39
+ tablename: `'t_address_change_ts'`,items: `'*'`,
40
+ orderitem: `'f_operate_date desc'`}),
41
+ }
42
+ },
43
+ props: ['address_id'],
44
+ ready () {
45
+ this.search()
46
+ },
47
+ methods: {
48
+ search() {
49
+ this.model.search(`f_address_id = '${this.address_id}'`)
50
+ }
51
+ },
52
+ watch: {
53
+ 'address_id' () {
54
+ this.search()
55
+ }
56
+ }
57
+ }
58
+ </script>