address-client 3.0.24-78 → 3.0.24-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 (79) hide show
  1. package/.gradle/{5.2.1 → 5.5}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/{5.2.1 → 5.5}/gc.properties +0 -0
  4. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  5. package/.gradle/buildOutputCleanup/built.bin +0 -0
  6. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  7. package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
  8. package/CHANGELOG.md +0 -3
  9. package/build/dev-server.js +2 -2
  10. package/build/webpack.base.conf.js +2 -6
  11. package/examples/showAdd/App.vue +2 -2
  12. package/index.html +0 -4
  13. package/package.json +5 -6
  14. package/src/address.js +5 -11
  15. package/src/components/AddAreaMsg.vue +78 -148
  16. package/src/components/AddStreetOrPcd.vue +2 -79
  17. package/src/components/AddressList.vue +108 -182
  18. package/src/components/AddressManage.vue +1 -1
  19. package/src/components/AddressTree.vue +1 -1
  20. package/src/components/AreaList.vue +247 -317
  21. package/src/components/AreaManage.vue +18 -17
  22. package/src/components/CityManage.vue +1 -1
  23. package/src/components/NewAddressInfo.vue +1 -1
  24. package/src/components/StreetList.vue +26 -50
  25. package/src/components/UserAddress.vue +383 -509
  26. package/src/components/areauser/AreaUser.vue +233 -0
  27. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  28. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  29. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  30. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  31. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  32. package/gradle/wrapper/gradle-wrapper.jar +0 -0
  33. package/gradle/wrapper/gradle-wrapper.properties +0 -5
  34. package/gradlew +0 -172
  35. package/gradlew.bat +0 -84
  36. package/src/components/CityList.vue +0 -133
  37. package/src/filiale/WEINAN/AddAreaMsg.vue +0 -656
  38. package/src/filiale/WEINAN/AddressList.vue +0 -351
  39. package/src/filiale/WEINAN/AddressManage.vue +0 -122
  40. package/src/filiale/WEINAN/AreaList.vue +0 -275
  41. package/src/filiale/WEINAN/UserAddress.vue +0 -783
  42. package/src/filiale/WEINAN/sale.js +0 -16
  43. package/src/filiale/gaomi/AddressList.vue +0 -430
  44. package/src/filiale/gaomi/UserAddress.vue +0 -832
  45. package/src/filiale/gaomi/sale.js +0 -14
  46. package/src/filiale/gongyi/AddAreaMsg.vue +0 -640
  47. package/src/filiale/gongyi/AreaManage.vue +0 -100
  48. package/src/filiale/gongyi/UserAddress.vue +0 -751
  49. package/src/filiale/gongyi/sale.js +0 -14
  50. package/src/filiale/jingwei/UserAddress.vue +0 -764
  51. package/src/filiale/jingwei/sale.js +0 -12
  52. package/src/filiale/macheng/AddAreaMsg.vue +0 -635
  53. package/src/filiale/macheng/AddStreetOrPcd.vue +0 -231
  54. package/src/filiale/macheng/AddressList.vue +0 -306
  55. package/src/filiale/macheng/AreaList.vue +0 -279
  56. package/src/filiale/macheng/CityManage.vue +0 -76
  57. package/src/filiale/macheng/StreetList.vue +0 -186
  58. package/src/filiale/macheng/UserAddress.vue +0 -743
  59. package/src/filiale/macheng/sale.js +0 -17
  60. package/src/filiale/rongcheng/AddressList.vue +0 -363
  61. package/src/filiale/rongcheng/UserAddress.vue +0 -799
  62. package/src/filiale/rongcheng/sale.js +0 -11
  63. package/src/filiale/shaoguan/AddAreaMsg.vue +0 -631
  64. package/src/filiale/shaoguan/UserAddress.vue +0 -764
  65. package/src/filiale/shaoguan/sale.js +0 -11
  66. package/src/filiale/tongchuan/AddAreaMsg.vue +0 -635
  67. package/src/filiale/tongchuan/AddStreetOrPcd.vue +0 -308
  68. package/src/filiale/tongchuan/AddressList.vue +0 -379
  69. package/src/filiale/tongchuan/AreaList.vue +0 -315
  70. package/src/filiale/tongchuan/AreaManage.vue +0 -100
  71. package/src/filiale/tongchuan/CityList.vue +0 -133
  72. package/src/filiale/tongchuan/StreetList.vue +0 -208
  73. package/src/filiale/tongchuan/UserAddress.vue +0 -795
  74. package/src/filiale/tongchuan/sale.js +0 -19
  75. package/src/filiale/wuhai/UserAddress.vue +0 -795
  76. package/src/filiale/wuhai/sale.js +0 -12
  77. package/src/filiale/zhoukou/AddressList.vue +0 -391
  78. package/src/filiale/zhoukou/UserAddress.vue +0 -833
  79. package/src/filiale/zhoukou/sale.js +0 -13
@@ -1,8 +1,13 @@
1
1
  <template>
2
2
  <div id="unit" class="flex-row" :class="{'binary':areaShow}">
3
- <div :class="{'basic-main':!areaShow,'binary-left':areaShow}">
3
+ <div :class="{'basic-main':!areaShow && !usershow,'binary-left':areaShow|| usershow}">
4
4
  <area-list @select-changed="selected" v-ref:arealist :style="style" :f_filialeids.sync="f_filialeids"></area-list>
5
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>
6
11
  <div v-show="areaShow" style="width: 60%" class="binary-right">
7
12
  <div class="flex">
8
13
  <add-area-msg v-ref:addareamsg :areatype="areatype" :operation="operation"
@@ -21,10 +26,14 @@
21
26
  return {
22
27
  //分公司id串
23
28
  width:'100%',
24
- f_filialeids: this.$login.f.f_orgids,
29
+ f_filialeids: this.$login.f.orgid,
25
30
  areaShow:false,
26
31
  areatype:'小区',
32
+ f_filialeid:this.$login.f.orgid,
27
33
  arearow:{},
34
+ usershow:false,
35
+ f_residential_area_id:'',
36
+ f_residential_area:'',
28
37
  style:'col-sm-2 form-group'
29
38
  }
30
39
  },
@@ -37,13 +46,14 @@
37
46
  methods:{
38
47
  selected(obj){
39
48
  this.style='col-sm-3 form-group'
49
+ this.usershow =false
40
50
  if(obj.val&&obj.val.id){
41
51
  console.log('对比分公司', obj.val.f_filialeid, this.f_filialeids)
42
52
  if (obj.val.f_filialeid != this.f_filialeids) {
43
53
  this.refresh()
44
54
  return
45
55
  }
46
- this.areaShow = true
56
+ this.areaShow=true
47
57
  this.$refs.addareamsg.cleardara()
48
58
  this.$refs.addareamsg.operation='modify'
49
59
  this.$refs.addareamsg.areatype='小区'
@@ -54,23 +64,11 @@
54
64
  code: this.$refs.addareamsg.areamodel.f_area_code
55
65
  }]
56
66
  }
57
- if (obj.val.f_meter_book != null && obj.val.f_meter_book != '' && obj.val.f_meter_book instanceof Array) {
58
- this.$refs.addareamsg.areamodel.f_meter_book = parseInt(obj.val.f_meter_book[0])
59
- }
60
- if (obj.val.f_meter_book != null && obj.val.f_meter_book != '' && !(obj.val.f_meter_book instanceof Array)) {
61
- this.$refs.addareamsg.areamodel.f_meter_book = parseInt(obj.val.f_meter_book)
62
- }
63
- if (obj.val.f_adjustable_id != null && obj.val.f_adjustable_id != '' && obj.val.f_adjustable_id instanceof Array) {
64
- this.$refs.addareamsg.areamodel.f_adjustable_id = parseInt(obj.val.f_adjustable_id[0])
65
- }
66
- if (obj.val.f_adjustable_id != null && obj.val.f_adjustable_id != '' && !(obj.val.f_adjustable_id instanceof Array)) {
67
- this.$refs.addareamsg.areamodel.f_adjustable_id = parseInt(obj.val.f_adjustable_id)
68
- }
69
- // this.$refs.addareamsg.initdata(obj.val)
70
- // this.$refs.addareamsg.initrow(obj.val)
67
+ this.$refs.addareamsg.initdata(obj.val)
71
68
  }
72
69
  },
73
70
  refresh() {
71
+ this.usershow =false
74
72
  this.areaShow = false
75
73
  this.$refs.arealist.$refs.paged.$refs.cri.search()
76
74
  }
@@ -79,6 +77,7 @@
79
77
  'add'(){
80
78
  this.style='col-sm-3 form-group'
81
79
  this.areaShow=true
80
+ this.usershow =false
82
81
  this.$refs.addareamsg.cleardara()
83
82
  this.$refs.addareamsg.operation='add'
84
83
  this.$refs.addareamsg.areatype='小区'
@@ -87,12 +86,14 @@
87
86
  'confirm' () {
88
87
  this.style='col-sm-2 form-group'
89
88
  this.areaShow = false
89
+ this.usershow =false
90
90
  this.$refs.arealist.$refs.paged.$refs.cri.search()
91
91
  },
92
92
  'cancel' () {
93
93
  this.style='col-sm-2 form-group'
94
94
  this.$refs.arealist.$refs.paged.$refs.cri.search()
95
95
  this.areaShow = false
96
+ this.usershow =false
96
97
  }
97
98
  }
98
99
  }
@@ -11,7 +11,7 @@
11
11
 
12
12
  <script>
13
13
  export default {
14
- title: '街道管理',
14
+ title: '城市管理',
15
15
  components:{
16
16
  },
17
17
  data () {
@@ -11,7 +11,7 @@
11
11
  <div class="col-sm-3 average" :class="[$v.type.required ? 'select-error' : '']">
12
12
  <input type="text" v-show="false" v-model="$refs.type.selectedItems" v-validate:type='{required: true }'>
13
13
  <v-select :value.sync="model.f_user_type" v-model="model.f_user_type" :value-single="true"
14
- :options='usertypes' placeholder='客户类型' close-on-select v-ref:type></v-select>
14
+ :options='usertypes' placeholder='用户类型' close-on-select v-ref:type></v-select>
15
15
  </div>
16
16
  <div class="col-sm-3 average" :class="[$v.nature.required ? 'select-error' : '']">
17
17
  <input type="text" v-show="false" v-model="$refs.nature.selectedItems" v-validate:nature='{required: true }'>
@@ -12,21 +12,27 @@
12
12
  </res-select>
13
13
  </div>
14
14
  <div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
15
- <label class="font_normal_body">街道名称</label>
15
+ <label class="font_normal_body">街&emsp;&emsp;道</label>
16
16
  <input type="text" class="input_search" style="width:60%" v-model="model.f_street"
17
- condition="f_street like '%{}%'" placeholder="街道名称"/>
17
+ condition="f_street like '%{}%'" placeholder="街道"/>
18
+ </div>
19
+ <div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
20
+ <label class="font_normal_body">省&emsp;&emsp;份</label>
21
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_province"
22
+ condition="f_province like '%{}%'" placeholder="省份"
23
+ :size="model.f_province ? model.f_province.length*2 : 6"/>
24
+ </div>
25
+ <div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
26
+ <label class="font_normal_body">城&emsp;&emsp;市</label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_city"
28
+ condition="f_city like '%{}%'" placeholder="城市"
29
+ :size="model.f_city ? model.f_city.length*2 : 6"/>
18
30
  </div>
19
31
  <div class="col-sm-4 form-group button-range">
20
32
  <button class="button_search button_spacing" @click="search()" >查询</button>
21
- <button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('省市区')">省市区管理</button>
33
+ <button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('省市区')">添加省市区</button>
22
34
  <button class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('街道')">添加街道</button>
23
35
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
24
- <export-excel :data="$parent.$parent.getCondition"
25
- :field="$parent.$parent.getfield"
26
- sqlurl="rs/logic/exportfile"
27
- sql-name="address_getstreetlist"
28
- template-name='街道信息查询导出'
29
- :choose-col="true"></export-excel>
30
36
  <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
31
37
  </div>
32
38
  </div>
@@ -43,18 +49,6 @@
43
49
  condition="f_city like '%{}%'" placeholder="城市"
44
50
  :size="model.f_city ? model.f_city.length*2 : 6"/>
45
51
  </div>
46
- <div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
47
- <label class="font_normal_body">省&emsp;&emsp;份</label>
48
- <input type="text" style="width:60%" class="input_search" v-model="model.f_province"
49
- condition="f_province like '%{}%'" placeholder="省份"
50
- :size="model.f_province ? model.f_province.length*2 : 6"/>
51
- </div>
52
- <div class="form-group" v-if="!$parent.$parent.$parent.areaShow" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
53
- <label class="font_normal_body">城&emsp;&emsp;市</label>
54
- <input type="text" style="width:60%" class="input_search" v-model="model.f_city"
55
- condition="f_city like '%{}%'" placeholder="城市"
56
- :size="model.f_city ? model.f_city.length*2 : 6"/>
57
- </div>
58
52
  <div class="form-group" :class="{'col-sm-3':$parent.$parent.$parent.areaShow,'col-sm-2':!$parent.$parent.$parent.areaShow}">
59
53
  <label class="font_normal_body">区&emsp;&emsp;县</label>
60
54
  <input type="text" style="width:60%" class="input_search" v-model="model.f_district"
@@ -72,10 +66,8 @@
72
66
  <th><nobr>城市</nobr></th>
73
67
  <th><nobr>区/县</nobr></th>
74
68
  <th><nobr>街道名称</nobr></th>
75
- <th><nobr>街道编号</nobr></th>
76
69
  <th><nobr>详细地址</nobr></th>
77
70
  <th><nobr>分公司</nobr></th>
78
- <th title="该街道下现有的小区数"><nobr>小区数量</nobr></th>
79
71
  <th><nobr>操作</nobr></th>
80
72
  </tr>
81
73
  </template>
@@ -86,15 +78,12 @@
86
78
  <td style="text-align:center"><nobr>{{row.f_city}}</nobr></td>
87
79
  <td style="text-align:center"><nobr>{{row.f_district}}</nobr></td>
88
80
  <td style="text-align:center"><nobr>{{row.f_street}}</nobr></td>
89
- <td style="text-align:center"><nobr>{{row.f_street_number}}</nobr></td>
90
- <td style="text-align:center"><nobr>{{row.f_pcd}}{{row.f_street}}</nobr></td>
81
+ <td style="text-align:center"><nobr>{{row.f_pcd}}-{{row.f_street}}</nobr></td>
91
82
  <td style="text-align:center"><nobr>{{row.f_org_name}}</nobr></td>
92
- <td style="text-align:center"><nobr>{{row.streenum}}</nobr></td>
93
83
  <td style="text-align:center"><nobr>
94
84
  <!-- <button type="button" name="button" class="btn btn-link"
95
85
  @click.stop="$parent.$parent.$parent.modify(row)">修改</button>-->
96
- <button v-if="!row.streetid" type="button" name="button" class="btn btn-danger"
97
- style="padding: 5px 12px"
86
+ <button type="button" name="button" class="btn btn-link"
98
87
  @click.stop="$parent.$parent.$parent.delete(row)">删除</button>
99
88
  </nobr></td>
100
89
  </tr>
@@ -107,31 +96,19 @@
107
96
 
108
97
  <script>
109
98
  import { PagedList } from 'vue-client'
110
- let readyGen = async function (self) {
111
- self.getfield = self.config.excelHeaders
112
- }
99
+
113
100
  export default {
114
101
  data () {
115
102
  return {
116
103
  criteriaShow: false,
117
104
  model: new PagedList('rs/sql/address_getstreetlist',20),
118
105
  addflag: false,
119
- getfield: {},
120
106
  addtitle:'',
107
+
121
108
  // 公司下拉
122
109
  curorgid: [this.$login.f.orgid],
123
110
  f_orgid: '',
124
- config: {
125
- // 导出列要和查询列相同
126
- excelHeaders: {
127
- 'f_province':'省份',
128
- 'f_city':'城市',
129
- 'f_district':'区/县',
130
- 'f_street':'街道名称',
131
- 'f_org_name':'分公司',
132
- 'streenum':'小区数量'
133
- }
134
- }
111
+
135
112
  }
136
113
  },
137
114
  title: '街道管理',
@@ -141,7 +118,6 @@
141
118
  }
142
119
  },
143
120
  ready(){
144
- readyGen(this)
145
121
  this.search()
146
122
  },
147
123
  methods: {
@@ -151,8 +127,9 @@
151
127
  search () {
152
128
  this.$refs.paged.$refs.cri.search()
153
129
  },
130
+
154
131
  async delete(row){
155
- if(row.id >= 0 ){
132
+ if(row.id){
156
133
  var id = row.id
157
134
  let useraredss = await this.$resetpost('rs/sql/address_singleTable',
158
135
  {data: {
@@ -177,6 +154,7 @@
177
154
  } else {
178
155
  this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
179
156
  }
157
+
180
158
  },
181
159
  modify(val){
182
160
  this.$refs.paged.$refs.grid.selectStore.selected = null
@@ -198,11 +176,9 @@
198
176
  this.f_filialeids = val[0]
199
177
  }
200
178
  },
201
- computed: {
202
- getCondition() {
203
- return {
204
- condition: `${this.$refs.paged.$refs.cri.condition}` + `and s.f_filialeid = '${this.f_filialeids}'`}
205
- }
179
+ watch:{
180
+
206
181
  }
182
+
207
183
  }
208
184
  </script>