address-client 3.2.27 → 3.2.29
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.
- package/build/dev-server.js +1 -1
- package/package.json +1 -1
- package/src/filiale/macheng/AddressList.vue +56 -0
- package/src/filiale/macheng/AreaList.vue +40 -1
- package/src/filiale/zhongsheng/AddressList.vue +671 -0
- package/src/filiale/zhongsheng/AreaList.vue +500 -0
- package/src/filiale/zhongsheng/sale.js +12 -0
- package/src/main.js +21 -21
package/build/dev-server.js
CHANGED
|
@@ -10,7 +10,7 @@ var proxy = httpProxy.createProxyServer()
|
|
|
10
10
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
var str = 'http://
|
|
13
|
+
var str = 'http://119.36.179.19:8000', str2= 'http://119.36.179.19:8000'
|
|
14
14
|
var proxyTable = {
|
|
15
15
|
|
|
16
16
|
'/rs/logic/getLogin': {
|
package/package.json
CHANGED
|
@@ -41,6 +41,12 @@
|
|
|
41
41
|
<button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('非民用')">添加特殊地址</button>
|
|
42
42
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
43
|
<button class="button_export button_spacing" @click="$parent.$parent.importAddress">导入地址</button>
|
|
44
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
45
|
+
:field="$parent.$parent.getfield"
|
|
46
|
+
sqlurl="rs/logic/exportfile"
|
|
47
|
+
sql-name="addressGetAddress"
|
|
48
|
+
template-name='地址管理查询导出'
|
|
49
|
+
:choose-col="true"></export-excel>
|
|
44
50
|
<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>
|
|
45
51
|
</div>
|
|
46
52
|
</div>
|
|
@@ -175,6 +181,9 @@
|
|
|
175
181
|
<script>
|
|
176
182
|
import { PagedList } from 'vue-client'
|
|
177
183
|
|
|
184
|
+
let readyGen = async function (self) {
|
|
185
|
+
self.getfield = self.config.excelHeaders
|
|
186
|
+
}
|
|
178
187
|
export default {
|
|
179
188
|
data () {
|
|
180
189
|
return {
|
|
@@ -183,6 +192,29 @@
|
|
|
183
192
|
addflag: false,
|
|
184
193
|
addtitle:'',
|
|
185
194
|
|
|
195
|
+
other: [],
|
|
196
|
+
footer: [],
|
|
197
|
+
getfield: {},
|
|
198
|
+
config: {
|
|
199
|
+
// 导出列要和查询列相同
|
|
200
|
+
excelHeaders: {
|
|
201
|
+
'f_user_name':'用户姓名',
|
|
202
|
+
'f_userinfo_code':'用户编号',
|
|
203
|
+
'id':'地址ID',
|
|
204
|
+
'f_pcd':'区/县',
|
|
205
|
+
'f_slice_area':'片区',
|
|
206
|
+
'f_street':'街道',
|
|
207
|
+
'f_residential_area':'小区',
|
|
208
|
+
'f_building':'楼号',
|
|
209
|
+
'f_unit':'单元',
|
|
210
|
+
'f_floor':'楼层',
|
|
211
|
+
'f_room':'门牌号',
|
|
212
|
+
'f_address':'详细地址',
|
|
213
|
+
'f_address_state':'地址状态',
|
|
214
|
+
'f_create_date':'时间',
|
|
215
|
+
'f_state':'状态'
|
|
216
|
+
},
|
|
217
|
+
},
|
|
186
218
|
// 公司下拉
|
|
187
219
|
curorgid: [this.$login.f.orgid],
|
|
188
220
|
f_orgid: '',
|
|
@@ -203,9 +235,29 @@
|
|
|
203
235
|
}
|
|
204
236
|
},
|
|
205
237
|
ready(){
|
|
238
|
+
readyGen(this)
|
|
206
239
|
this.search()
|
|
240
|
+
this.initpcds(`f_filialeid = '${this.f_filialeids}'`)
|
|
241
|
+
this.initareas(`f_filialeid = '${this.f_filialeids}'`)
|
|
207
242
|
},
|
|
208
243
|
methods: {
|
|
244
|
+
getotherfooter() {
|
|
245
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
246
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
247
|
+
this.other = [];
|
|
248
|
+
this.footer = [];
|
|
249
|
+
// let exportdata = this.getCondition;
|
|
250
|
+
let otherInData = [];
|
|
251
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
252
|
+
let footerData = [], exportfield = this.getfield;
|
|
253
|
+
footerData.push("合计");
|
|
254
|
+
let self = this;
|
|
255
|
+
for (var field in self.sumsmodel) {
|
|
256
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
257
|
+
}
|
|
258
|
+
this.footer.push(footerData);
|
|
259
|
+
this.other.push(otherInData);
|
|
260
|
+
},
|
|
209
261
|
hidden() {
|
|
210
262
|
this.criteriaShow = !this.criteriaShow
|
|
211
263
|
},
|
|
@@ -299,6 +351,10 @@
|
|
|
299
351
|
//地址状态下拉框
|
|
300
352
|
getaddresstate() {
|
|
301
353
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')]
|
|
354
|
+
},
|
|
355
|
+
getCondition() {
|
|
356
|
+
return {
|
|
357
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + `and a.f_filialeid = '${this.f_filialeids}'`}
|
|
302
358
|
}
|
|
303
359
|
}
|
|
304
360
|
|
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
<button v-if="!$parent.$parent.f_special" class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('小区')">添加小区</button>
|
|
44
44
|
<button v-if="$parent.$parent.f_special"class="button_new button_spacing" style="width: max-content;" @click="$parent.$parent.add('单位')">添加单位</button>
|
|
45
45
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
46
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
47
|
+
:field="$parent.$parent.getfield"
|
|
48
|
+
sqlurl="rs/logic/exportfile"
|
|
49
|
+
sql-name="manage_getarealist"
|
|
50
|
+
template-name='小区信息查询导出'
|
|
51
|
+
:choose-col="true"></export-excel>
|
|
46
52
|
<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
53
|
</div>
|
|
48
54
|
</div>
|
|
@@ -161,6 +167,10 @@
|
|
|
161
167
|
<script>
|
|
162
168
|
import { PagedList } from 'vue-client'
|
|
163
169
|
|
|
170
|
+
let readyGen = async function (self) {
|
|
171
|
+
self.getfield = self.config.excelHeaders
|
|
172
|
+
self.search()
|
|
173
|
+
}
|
|
164
174
|
export default {
|
|
165
175
|
|
|
166
176
|
data () {
|
|
@@ -170,6 +180,24 @@
|
|
|
170
180
|
addflag: false,
|
|
171
181
|
addtitle:'',
|
|
172
182
|
|
|
183
|
+
getfield: {},
|
|
184
|
+
config: {
|
|
185
|
+
// 导出列要和查询列相同
|
|
186
|
+
excelHeaders: {
|
|
187
|
+
'f_district':'区/县',
|
|
188
|
+
'f_street':'街道名称',
|
|
189
|
+
'f_residential_area':'小区名称',
|
|
190
|
+
'f_area_address':'小区地址',
|
|
191
|
+
'f_comments':'小区备注',
|
|
192
|
+
'f_inputtor':'抄表员',
|
|
193
|
+
'f_house_type':'房屋类型',
|
|
194
|
+
'f_position':'安装位置',
|
|
195
|
+
'f_slice_area':'片区/管理站',
|
|
196
|
+
'f_operator':'操作人',
|
|
197
|
+
'f_operate_date':'操作日期',
|
|
198
|
+
'addressnum':'地址数'
|
|
199
|
+
}
|
|
200
|
+
},
|
|
173
201
|
// 公司下拉
|
|
174
202
|
curorgid: [this.$login.f.orgid],
|
|
175
203
|
f_orgid: '',
|
|
@@ -192,7 +220,7 @@
|
|
|
192
220
|
}
|
|
193
221
|
},
|
|
194
222
|
ready(){
|
|
195
|
-
this
|
|
223
|
+
readyGen(this)
|
|
196
224
|
},
|
|
197
225
|
methods: {
|
|
198
226
|
hidden() {
|
|
@@ -259,6 +287,17 @@
|
|
|
259
287
|
|
|
260
288
|
},
|
|
261
289
|
computed:{
|
|
290
|
+
getCondition() {
|
|
291
|
+
var condition=''
|
|
292
|
+
if(this.f_special){
|
|
293
|
+
condition = `${this.$refs.paged.$refs.cri.condition} and s.f_special='1' and s.f_filialeid = '${this.f_filialeids}'`
|
|
294
|
+
}else{
|
|
295
|
+
condition = `${this.$refs.paged.$refs.cri.condition} and s.f_filialeid = ${this.f_orgid}`
|
|
296
|
+
}
|
|
297
|
+
return {
|
|
298
|
+
condition: condition
|
|
299
|
+
}
|
|
300
|
+
},
|
|
262
301
|
inputtores () {
|
|
263
302
|
// 获取抄表员
|
|
264
303
|
let rs = new Array()
|