address-client 3.2.2 → 3.2.3-zk

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 (66) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/build/dev-server.js +133 -125
  3. package/package.json +2 -2
  4. package/src/address.js +55 -55
  5. package/src/components/AddAreaMsg.vue +675 -669
  6. package/src/components/AddressList.vue +391 -611
  7. package/src/components/AddressManage.vue +110 -117
  8. package/src/components/AreaList.vue +137 -135
  9. package/src/components/AreaManage.vue +101 -100
  10. package/src/components/CityList.vue +133 -133
  11. package/src/components/StreetList.vue +210 -210
  12. package/src/components/UserAddress.vue +905 -896
  13. package/src/main.js +21 -21
  14. package/yarn-error.log +7619 -0
  15. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  16. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  17. package/.gradle/buildOutputCleanup/built.bin +0 -0
  18. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  19. package/AddressClient.iml +0 -13
  20. package/src/filiale/WEINAN/AddAreaMsg.vue +0 -656
  21. package/src/filiale/WEINAN/AddressList.vue +0 -351
  22. package/src/filiale/WEINAN/AddressManage.vue +0 -122
  23. package/src/filiale/WEINAN/AreaList.vue +0 -275
  24. package/src/filiale/WEINAN/UserAddress.vue +0 -783
  25. package/src/filiale/WEINAN/sale.js +0 -16
  26. package/src/filiale/gaomi/AddressList.vue +0 -430
  27. package/src/filiale/gaomi/UserAddress.vue +0 -832
  28. package/src/filiale/gaomi/sale.js +0 -14
  29. package/src/filiale/gongyi/AddAreaMsg.vue +0 -640
  30. package/src/filiale/gongyi/AreaManage.vue +0 -100
  31. package/src/filiale/gongyi/UserAddress.vue +0 -751
  32. package/src/filiale/gongyi/sale.js +0 -14
  33. package/src/filiale/jingwei/UserAddress.vue +0 -764
  34. package/src/filiale/jingwei/sale.js +0 -12
  35. package/src/filiale/macheng/AddAreaMsg.vue +0 -635
  36. package/src/filiale/macheng/AddStreetOrPcd.vue +0 -231
  37. package/src/filiale/macheng/AddressList.vue +0 -306
  38. package/src/filiale/macheng/AreaList.vue +0 -279
  39. package/src/filiale/macheng/CityManage.vue +0 -76
  40. package/src/filiale/macheng/StreetList.vue +0 -186
  41. package/src/filiale/macheng/UserAddress.vue +0 -743
  42. package/src/filiale/macheng/sale.js +0 -17
  43. package/src/filiale/rongcheng/AddressList.vue +0 -363
  44. package/src/filiale/rongcheng/UserAddress.vue +0 -799
  45. package/src/filiale/rongcheng/sale.js +0 -11
  46. package/src/filiale/shaoguan/AddAreaMsg.vue +0 -631
  47. package/src/filiale/shaoguan/UserAddress.vue +0 -764
  48. package/src/filiale/shaoguan/sale.js +0 -11
  49. package/src/filiale/tongchuan/AddAreaMsg.vue +0 -635
  50. package/src/filiale/tongchuan/AddStreetOrPcd.vue +0 -308
  51. package/src/filiale/tongchuan/AddressList.vue +0 -379
  52. package/src/filiale/tongchuan/AreaList.vue +0 -315
  53. package/src/filiale/tongchuan/AreaManage.vue +0 -100
  54. package/src/filiale/tongchuan/CityList.vue +0 -133
  55. package/src/filiale/tongchuan/StreetList.vue +0 -208
  56. package/src/filiale/tongchuan/UserAddress.vue +0 -822
  57. package/src/filiale/tongchuan/sale.js +0 -19
  58. package/src/filiale/wuhai/UserAddress.vue +0 -795
  59. package/src/filiale/wuhai/sale.js +0 -12
  60. package/src/filiale/zhoukou/AddAreaMsg.vue +0 -673
  61. package/src/filiale/zhoukou/AddressList.vue +0 -391
  62. package/src/filiale/zhoukou/AddressManage.vue +0 -115
  63. package/src/filiale/zhoukou/AreaList.vue +0 -319
  64. package/src/filiale/zhoukou/AreaManage.vue +0 -100
  65. package/src/filiale/zhoukou/UserAddress.vue +0 -925
  66. package/src/filiale/zhoukou/sale.js +0 -23
@@ -1,275 +0,0 @@
1
- <template>
2
- <div class="flex" @keyup.enter="search">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div :class="$parent.$parent.style">
8
- <label class="font_normal_body">组织机构</label>
9
- <res-select restype='organization'
10
- @res-select="$parent.$parent.getorg"
11
- is-mul="false"
12
- :initresid='$parent.$parent.curorgid'>
13
- </res-select>
14
- </div>
15
- <div :class="$parent.$parent.style">
16
- <label class="font_normal_body">小区编号</label>
17
- <input type="text" class="input_search" style="width:60%" v-model="model.f_area_id"
18
- condition="f_area_id = '{}'" placeholder="小区编号"/>
19
- </div>
20
- <div :class="$parent.$parent.style" v-if="false">
21
- <label class="font_normal_body">省&emsp;&emsp;份</label>
22
- <input type="text" class="input_search" style="width:60%" v-model="model.f_province"
23
- condition="f_province like '%{}%'" placeholder="省份"/>
24
- </div>
25
- <!--<div :class="$parent.$parent.style" v-if="!$parent.$parent.$parent.areaShow">-->
26
- <div :class="$parent.$parent.style" v-if="false">
27
- <label class="font_normal_body">城&emsp;&emsp;市</label>
28
- <input type="text" class="input_search" style="width:60%" v-model="model.f_city"
29
- condition="f_city like '%{}%'" placeholder="城市"/>
30
- </div>
31
- <div :class="$parent.$parent.style" v-if="!$parent.$parent.$parent.areaShow">
32
- <label class="font_normal_body">区&emsp;&emsp;县</label>
33
- <input type="text" class="input_search" style="width:60%" v-model="model.f_district"
34
- condition="f_district like '%{}%'" placeholder="区县"/>
35
- </div>
36
- <div :class="$parent.$parent.style" v-if="!$parent.$parent.$parent.areaShow">
37
- <label class="font_normal_body">街&emsp;&emsp;道</label>
38
- <input type="text" class="input_search" style="width:60%" v-model="model.f_street"
39
- condition="f_street like '%{}%'" placeholder="街道"/>
40
- </div>
41
- <div class="col-sm-4 form-group button-range">
42
- <button class="button_search button_spacing" @click="search()" >查询</button>
43
- <button v-if="!$parent.$parent.f_special" class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('小区')">添加小区</button>
44
- <button v-if="$parent.$parent.f_special"class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('单位')">添加单位</button>
45
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
46
- <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>
47
- </div>
48
- </div>
49
- <div class="row" v-if="$parent.$parent.criteriaShow">
50
- <div :class="$parent.$parent.style" v-if="$parent.$parent.$parent.areaShow">
51
- <label class="font_normal_body">城&emsp;&emsp;市</label>
52
- <input type="text" class="input_search" style="width:60%" v-model="model.f_city"
53
- condition="f_city like '%{}%'" placeholder="城市"
54
- :size="model.f_city ? model.f_city.length*2 : 6"/>
55
- </div>
56
- <div :class="$parent.$parent.style" v-if="$parent.$parent.$parent.areaShow">
57
- <label class="font_normal_body">区&emsp;&emsp;县</label>
58
- <input type="text" class="input_search" style="width:60%" v-model="model.f_district"
59
- condition="f_district like '%{}%'" placeholder="区县"
60
- :size="model.f_district ? model.f_district.length*2 : 6"/>
61
- </div>
62
- <div :class="$parent.$parent.style" v-if="$parent.$parent.$parent.areaShow">
63
- <label class="font_normal_body">街&emsp;&emsp;道</label>
64
- <input type="text" class="input_search" style="width:60%" v-model="model.f_street"
65
- condition="f_street like '%{}%'" placeholder="街道"
66
- :size="model.f_street ? model.f_street.length*2 : 6"/>
67
- </div>
68
- <div :class="$parent.$parent.style">
69
- <label class="font_normal_body">小&emsp;&emsp;区</label>
70
- <input type="text" class="input_search" style="width:60%" v-model="model.f_residential_area"
71
- condition="f_residential_area like '%{}%'" placeholder="小区"
72
- :size="model.f_residential_area ? model.f_residential_area.length*2 : 6"/>
73
- </div>
74
- <div :class="$parent.$parent.style">
75
- <label class="font_normal_body">房屋类型</label>
76
- <v-select :options='$parent.$parent.housetype' :value.sync="model.f_house_type"
77
- close-on-select condition="f_house_type='{}'"
78
- placeholder='房屋类型' v-model="model.f_house_type"></v-select>
79
- </div>
80
- <div :class="$parent.$parent.style">
81
- <label class="font_normal_body">安装位置</label>
82
- <v-select :options='$parent.$parent.position' :value.sync="model.f_position"
83
- close-on-select condition="f_position='{}'"
84
- placeholder='安装位置' v-model="model.f_position"></v-select>
85
- </div>
86
- <div :class="$parent.$parent.style">
87
- <label class="font_normal_body">&emsp;抄表员</label>
88
- <v-select :options='$parent.$parent.inputtores' :value.sync="model.f_inputtor"
89
- close-on-select condition="f_inputtor='{}'"
90
- placeholder='抄表员' v-model="model.f_inputtor"></v-select>
91
- </div>
92
- </div>
93
- </div>
94
-
95
-
96
- </criteria>
97
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
98
- <template partial='head'>
99
- <tr>
100
- <th><nobr>序号</nobr></th>
101
- <th v-if="false"><nobr>省份</nobr></th>
102
- <th v-if="false"><nobr>城市</nobr></th>
103
- <th v-show="!$parent.$parent.$parent.$parent.areaShow"><nobr>区/县</nobr></th>
104
- <th><nobr>街道名称</nobr></th>
105
- <!--民用小区信息开始-->
106
- <th v-if="!$parent.$parent.$parent.f_special"><nobr>小区名称</nobr></th>
107
- <th v-if="!$parent.$parent.$parent.f_special"><nobr>详细地址</nobr></th>
108
- <th v-if="!$parent.$parent.$parent.f_special && !$parent.$parent.$parent.$parent.areaShow"><nobr>小区备注</nobr></th>
109
- <!--民用小区信息结束-->
110
- <!--非民用单位信息开始-->
111
- <th v-if="$parent.$parent.$parent.f_special"><nobr>单位名称</nobr></th>
112
- <th v-if="$parent.$parent.$parent.f_special"><nobr>单位地址</nobr></th>
113
- <th v-if="$parent.$parent.$parent.f_special"><nobr>联系人</nobr></th>
114
- <th v-if="$parent.$parent.$parent.f_special"><nobr>联系电话</nobr></th>
115
- <!--非民用单位信息结束-->
116
- <th v-show="!$parent.$parent.$parent.$parent.areaShow"><nobr>安装位置</nobr></th>
117
- <th v-show="!$parent.$parent.$parent.$parent.areaShow"><nobr>片区/管理站 </nobr></th>
118
- <th><nobr>操作人</nobr></th>
119
- <th><nobr>操作日期</nobr></th>
120
- <th><nobr>操作</nobr></th>
121
-
122
- </tr>
123
- </template>
124
- <template partial='body'>
125
- <tr>
126
- <td style="text-align:center"><nobr>{{$index + 1}}</nobr></td>
127
- <td style="text-align:center" v-if="false"><nobr>{{row.f_province}}</nobr></td>
128
- <td style="text-align:center" v-if="false"><nobr>{{row.f_city}}</nobr></td>
129
- <td v-show="!$parent.$parent.$parent.$parent.areaShow" style="text-align:center"><nobr>{{row.f_district}}</nobr></td>
130
- <td style="text-align:center"><nobr>{{row.f_street}}</nobr></td>
131
- <td style="text-align:center"><nobr>{{row.f_residential_area}}</nobr></td>
132
- <td style="text-align:center"><nobr>{{row.f_area_address}}{{row.f_residential_area}}</nobr></td>
133
- <td v-show="!$parent.$parent.$parent.$parent.areaShow" style="text-align:center"><nobr>{{row.f_comments}}</nobr></td>
134
- <!--非民用单位信息开始-->
135
- <td v-if="$parent.$parent.$parent.f_special" style="text-align:center"><nobr>{{row.f_linkname}}</nobr></td>
136
- <td v-if="$parent.$parent.$parent.f_special" style="text-align:center"><nobr>{{row.f_linkphone}}</nobr></td>
137
- <!--非民用单位信息结束-->
138
- <td v-show="!$parent.$parent.$parent.$parent.areaShow" style="text-align:center"><nobr>{{row.f_position}}</nobr></td>
139
- <td v-show="!$parent.$parent.$parent.$parent.areaShow" style="text-align:center"><nobr>{{row.f_slice_area}}</nobr></td>
140
- <td style="text-align:center"><nobr>{{row.f_operator}}</nobr></td>
141
- <td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
142
- <td><nobr>
143
- <!--<button type="button" name="button" class="btn btn-link"
144
- @click.stop="$parent.$parent.$parent.modify(row)">修改</button>-->
145
- <button v-if="!row.f_residential_area_id" type="button" name="button" class="btn btn-danger"
146
- style="padding: 5px 12px"
147
- @click.stop="$parent.$parent.$parent.delete(row)">删除</button>
148
- </nobr></td>
149
- </tr>
150
- </template>
151
- <template partial='foot'></template>
152
- </data-grid>
153
- </criteria-paged>
154
- </div>
155
- </template>
156
-
157
- <script>
158
- import { PagedList } from 'vue-client'
159
-
160
- export default {
161
-
162
- data () {
163
- return {
164
- criteriaShow: false,
165
- model: new PagedList('rs/sql/address_getarealist',20),
166
- addflag: false,
167
- addtitle:'',
168
-
169
- // 公司下拉
170
- curorgid: [this.$login.f.orgid],
171
- f_orgid: '',
172
- handmonth:[{label:'全部',value:''},{label:'单月',value:'单月'},{label:'双月',value:'双月'}],
173
- housetype:[{label:'全部',value:''},{label: '楼房', value: '楼房'}, {label: '自建房', value: '自建房'}],
174
- position:this.$appdata.getParam('安装位置')?[{label:'全部',value:''},...this.$appdata.getParam('安装位置')]:[{label:'全部',value:''}]
175
- }
176
- },
177
- title: '小区管理',
178
- props:{
179
- f_filialeids:{
180
- type: String
181
- },
182
- style: {
183
- type: String,
184
- default: 'col-sm-2 form-group'
185
- },
186
- f_special:{
187
- type: String
188
- }
189
- },
190
- ready(){
191
- this.search()
192
- },
193
- methods: {
194
- hidden() {
195
- this.criteriaShow = !this.criteriaShow
196
- },
197
- search() {
198
- this.$refs.paged.$refs.cri.search()
199
- },
200
-
201
- async delete(row){
202
- if(row.id){
203
- var id = row.id
204
- let useraredss = await this.$resetpost('rs/sql/address_singleTable',
205
- {data: {
206
- items: 'f_residential_area_id',
207
- tablename: 't_user_address',
208
- condition: `f_residential_area_id='${id}'`}
209
- },
210
- {resolveMsg: null, rejectMsg: null})
211
- if(useraredss.data.length>0){
212
- this.$showAlert('该小区下已有地址信息,无法删除!','warning',1000)
213
- }else{
214
- this.$resetdelete('rs/entity/t_area', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
215
- this.$dispatch('cancel')
216
- })
217
- }
218
- }
219
- },
220
- add(val){
221
- if (this.f_filialeids) {
222
- this.$refs.paged.$refs.grid.selectStore.selected = null
223
- this.$dispatch('add')
224
- } else {
225
- this.$showAlert('请先选择左上角的所在分公司', 'warning', 2000)
226
- }
227
- },
228
- modify(val){
229
- this.$refs.paged.$refs.grid.selectStore.selected = null
230
- this.$dispatch('modify',val)
231
- },
232
- selfSearch (args) {
233
-
234
- if (!this.f_orgid) {
235
- this.getorg([this.$login.f.orgid])
236
- }
237
- console.log('查询。。。', this.f_orgid)
238
- if(this.f_special){
239
- args.condition = `${args.condition} and s.f_special='1' and s.f_filialeid = '${this.f_filialeids}'`
240
- }else{
241
- args.condition = `${args.condition} and s.f_filialeid = ${this.f_orgid}`
242
- }
243
- this.model.search(args.condition, args.model)
244
- },
245
- //清空
246
- clear(){
247
- this.$refs.paged.$refs.cri.model = {}
248
- },
249
- getorg (val) {
250
- this.f_orgid = this.$login.convertToIn(val)
251
- this.f_filialeids = val[0]
252
- }
253
- },
254
- watch:{
255
-
256
- },
257
- computed:{
258
- inputtores () {
259
- // 获取抄表员
260
- let rs = new Array()
261
- if (this.$login.f.f_gasman.length > 0) {
262
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
263
- let temp = {
264
- label: this.$login.f.f_gasman[i].name,
265
- value: this.$login.f.f_gasman[i].name
266
- }
267
- rs.push(temp)
268
- }
269
- }
270
- return rs
271
- }
272
- }
273
-
274
- }
275
- </script>