From 3209e7e26a1f2492823b5a3964d80aef1851ca70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Mon, 22 Sep 2025 11:34:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=A0=E4=B8=BA=E5=95=86?= =?UTF-8?q?=E5=AE=B6=E5=88=86=E7=B1=BB=E6=8E=A5=E5=8F=A3=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/routingInspection.js | 5 +++++ packages/localLife/classify/index.vue | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 api/routingInspection.js 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个一组