diff --git a/api/routingInspection.js b/api/routingInspection.js new file mode 100644 index 00000000..605e7516 --- /dev/null +++ b/api/routingInspection.js @@ -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", //巡检任务提交 +}; diff --git a/packages/localLife/classify/index.vue b/packages/localLife/classify/index.vue index 48e650b0..424ccaed 100644 --- a/packages/localLife/classify/index.vue +++ b/packages/localLife/classify/index.vue @@ -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个一组