需求大厅调整区域条件传参
This commit is contained in:
parent
8c9082e503
commit
7abd4c2fe8
|
|
@ -15,7 +15,7 @@ export default {
|
|||
// request 触发前拼接 url
|
||||
args.url = 'https://www.opsoul.com:8881' + args.url;
|
||||
// args.url = 'http://127.0.0.1:80' + args.url;
|
||||
// args.url = 'http://192.168.10.105:80' + args.url;
|
||||
// args.url = 'http://192.168.10.106:80' + args.url;
|
||||
|
||||
if (!args.data) {
|
||||
args.data = {}
|
||||
|
|
|
|||
|
|
@ -355,12 +355,17 @@
|
|||
params.params[condition.code] = condition.value === 1 ? 'desc' : 'asc';
|
||||
}
|
||||
})
|
||||
params.streetIds = this.workerStreetIds;
|
||||
params.cityIds = this.workerCityIds;
|
||||
if (this.chosenArea.length === 1) {
|
||||
// 选中了区列表中的全部选项
|
||||
params.cityIds = [this.chosenArea[0].areaId]
|
||||
}
|
||||
if (this.chosenArea.length === 2) {
|
||||
} else if (this.chosenArea.length === 2) {
|
||||
// 选中了街道列表中的全部选项
|
||||
params.districtIds = [this.chosenArea[1].areaId]
|
||||
} else if (this.chosenArea.length === 3) {
|
||||
// 选中了某个具体的街道
|
||||
params.districtIds = [this.chosenArea[1].areaId];
|
||||
params.streetIds = [this.chosenArea[2].areaId];
|
||||
}
|
||||
|
||||
this.$refs.loadStatusBar.showLoading();
|
||||
|
|
|
|||
Loading…
Reference in New Issue