Commit be835c20 authored by jisiyu's avatar jisiyu

fix:修改is_normal

parent a42db4be
...@@ -331,7 +331,7 @@ ...@@ -331,7 +331,7 @@
// 获取商家 // 获取商家
async getBusinessListMet() { async getBusinessListMet() {
let params = { ota_name: "", offset: "", limit: "" }; let params = { ota_name: "", offset: "", limit: "", is_normal: 1 };
try { try {
const res = await getBusinessList(params); const res = await getBusinessList(params);
this.businessOpt = [{ ota_id: "", ota_name: "全部" }, ...res.result.list]; this.businessOpt = [{ ota_id: "", ota_name: "全部" }, ...res.result.list];
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
this.merchantAdd = true; this.merchantAdd = true;
}, },
async getOtaList() { async getOtaList() {
const { result, code, reason } = await otaList({ is_normal: 1 }); const { result, code, reason } = await otaList();
if (code !== 0) return this.$message.error(reason); if (code !== 0) return this.$message.error(reason);
this.merchantList = result.list; this.merchantList = result.list;
}, },
......
...@@ -122,6 +122,7 @@ export async function updateOta(params) { ...@@ -122,6 +122,7 @@ export async function updateOta(params) {
// 商家列表-取消禁用 // 商家列表-取消禁用
export async function undeleteOta(params) { export async function undeleteOta(params) {
const res = await axios.post("/api/v1/undeleteOta", params); const res = await axios.post("/api/v1/undeleteOta", params);
return res;
} }
// 团长列表 // 团长列表
export async function ColoneList(params) { export async function ColoneList(params) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment