修改因为商家分类接口报错的bug
This commit is contained in:
parent
0eed1e96bb
commit
3209e7e26a
5
api/routingInspection.js
Normal file
5
api/routingInspection.js
Normal file
@ -0,0 +1,5 @@
|
||||
export const apiArr = {
|
||||
routingInspectionList: "/api/v2/wechat/inspection-task/list", //巡检任务列表
|
||||
routingInspectionInfo: "/api/v2/wechat/inspection-task/info", //巡检任务详情
|
||||
routingInspectionSubmit: "/api/v2/wechat/inspection-task/submit", //巡检任务提交
|
||||
};
|
||||
@ -158,7 +158,10 @@ export default {
|
||||
//查询商家分类
|
||||
async getCateList() {
|
||||
let that = this;
|
||||
await request(apiArr.getMerChantCateList, "POST").then((res) => {
|
||||
const params = {
|
||||
isShop: 1,
|
||||
}
|
||||
await request(apiArr.getMerChantCateList, "POST",params).then((res) => {
|
||||
res.rows = res.rows.filter((item) => item.is_visible == 1)
|
||||
console.log(res);
|
||||
// 将数据分成每10个一组
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user