address-client 3.0.25 → 3.0.27-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.
@@ -38,6 +38,16 @@
38
38
  <input type="text" class="input_search" style="width:60%" v-model="model.f_street"
39
39
  condition="f_street like '%{}%'" placeholder="街道"/>
40
40
  </div>
41
+ <div :class="$parent.$parent.style" v-if="!$parent.$parent.$parent.areaShow">
42
+ <label class="font_normal_body">户数大于</label>
43
+ <input type="text" class="input_search" style="width:60%" v-model="model.areacount"
44
+ condition="isnull(resi.areacount,0) >= '{}'" placeholder="使用人数大于等于"/>
45
+ </div>
46
+ <div :class="$parent.$parent.style" v-if="!$parent.$parent.$parent.areaShow">
47
+ <label class="font_normal_body">户数小于</label>
48
+ <input type="text" class="input_search" style="width:60%" v-model="model.areacount_end"
49
+ condition="isnull(resi.areacount,0) <='{}'" placeholder="使用人数小于等于"/>
50
+ </div>
41
51
  <div class="col-sm-4 form-group button-range">
42
52
  <button class="button_search button_spacing" @click="search()" >查询</button>
43
53
  <button v-if="!$parent.$parent.f_special" class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('小区')">添加小区</button>
@@ -97,6 +107,8 @@
97
107
  <th v-if="$parent.$parent.$parent.f_special"><nobr>联系电话</nobr></th>
98
108
  <!--非民用单位信息结束-->
99
109
  <th><nobr>片区/管理站 </nobr></th>
110
+ <th><nobr>使用人数 </nobr></th>
111
+ <th><nobr>关联地址 </nobr></th>
100
112
  <th><nobr>操作人</nobr></th>
101
113
  <th><nobr>操作日期</nobr></th>
102
114
  <th><nobr>操作</nobr></th>
@@ -118,12 +130,14 @@
118
130
  <td v-if="$parent.$parent.$parent.f_special" style="text-align:center"><nobr>{{row.f_linkphone}}</nobr></td>
119
131
  <!--非民用单位信息结束-->
120
132
  <td style="text-align:center"><nobr>{{row.f_slice_area}}</nobr></td>
133
+ <td style="text-align:center"><button @click.stop="$parent.$parent.$parent.operate(row.id,row.f_residential_area)" class="btn btn-link">{{row.areacount}}</button></td>
134
+ <td style="text-align:center"><nobr>{{row.addresscount}}</nobr></td>
121
135
  <td style="text-align:center"><nobr>{{row.f_operator}}</nobr></td>
122
136
  <td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
123
137
  <td><nobr>
124
138
  <!--<button type="button" name="button" class="btn btn-link"
125
139
  @click.stop="$parent.$parent.$parent.modify(row)">修改</button>-->
126
- <button type="button" name="button" class="btn btn-link"
140
+ <button type="button" name="button" class="btn btn-link" v-if="row.areacount===0"
127
141
  @click.stop="$parent.$parent.$parent.delete(row)">删除</button>
128
142
  </nobr></td>
129
143
  </tr>
@@ -168,6 +182,12 @@
168
182
  this.search()
169
183
  },
170
184
  methods: {
185
+ operate (f_residential_area_id,f_residential_area) {
186
+ this.$parent.areaShow = false;
187
+ this.$parent.usershow=true
188
+ this.$parent.f_residential_area_id=f_residential_area_id
189
+ this.$parent.f_residential_area=f_residential_area
190
+ },
171
191
  hidden() {
172
192
  this.criteriaShow = !this.criteriaShow
173
193
  },
@@ -207,7 +227,8 @@
207
227
  this.$dispatch('modify',val)
208
228
  },
209
229
  selfSearch (args) {
210
-
230
+ this.$parent.usershow = false;
231
+ this.$parent.areaShow = false;
211
232
  if (!this.f_orgid) {
212
233
  this.getorg([this.$login.f.orgid])
213
234
  }
@@ -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,6 +46,7 @@
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) {
@@ -58,6 +68,7 @@
58
68
  }
59
69
  },
60
70
  refresh() {
71
+ this.usershow =false
61
72
  this.areaShow = false
62
73
  this.$refs.arealist.$refs.paged.$refs.cri.search()
63
74
  }
@@ -66,6 +77,7 @@
66
77
  'add'(){
67
78
  this.style='col-sm-3 form-group'
68
79
  this.areaShow=true
80
+ this.usershow =false
69
81
  this.$refs.addareamsg.cleardara()
70
82
  this.$refs.addareamsg.operation='add'
71
83
  this.$refs.addareamsg.areatype='小区'
@@ -74,12 +86,14 @@
74
86
  'confirm' () {
75
87
  this.style='col-sm-2 form-group'
76
88
  this.areaShow = false
89
+ this.usershow =false
77
90
  this.$refs.arealist.$refs.paged.$refs.cri.search()
78
91
  },
79
92
  'cancel' () {
80
93
  this.style='col-sm-2 form-group'
81
94
  this.$refs.arealist.$refs.paged.$refs.cri.search()
82
95
  this.areaShow = false
96
+ this.usershow =false
83
97
  }
84
98
  }
85
99
  }