代客下单修改,登录页面修改,部分页面调整,请求封装调整
This commit is contained in:
@@ -188,7 +188,7 @@ async function getTable() {
|
||||
// let state=status.list[status.active].key
|
||||
// state=state?(state=='all'?'':state):''
|
||||
const areaId = area.list[area.defaultCateIndex].id || "";
|
||||
let { data } = await $table.get({
|
||||
let data = await $table.get({
|
||||
...query,
|
||||
areaId,
|
||||
name: searchValue.value,
|
||||
@@ -203,13 +203,11 @@ async function getTable() {
|
||||
tables.originList = data.records;
|
||||
}
|
||||
async function getArea() {
|
||||
const { data } = await $tableArea.get({
|
||||
const data = await $tableArea.get({
|
||||
page: 0,
|
||||
size: 300,
|
||||
});
|
||||
data.records.unshift({
|
||||
name: "全部",
|
||||
});
|
||||
|
||||
area.list = data.records.map((v) => {
|
||||
return {
|
||||
...v,
|
||||
|
||||
Reference in New Issue
Block a user