From 80be8d5e31d82456481512c1631b09bd432edc21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E7=93=9C=E4=B8=80=E5=9D=97=E5=85=AB?= <2523890936@qq.com> Date: Wed, 20 Aug 2025 16:06:09 +0800 Subject: [PATCH 1/2] bugfix --- f/web-kboss/src/api/ncmatch/index.js | 19 +++ .../ncmatch/mainPage/menuAside/index.vue | 53 ++++++++- .../ncmatch/supplyAndDemandSquare/index.vue | 111 +++++++++++++----- 3 files changed, 150 insertions(+), 33 deletions(-) diff --git a/f/web-kboss/src/api/ncmatch/index.js b/f/web-kboss/src/api/ncmatch/index.js index 5d41f5e..86a39d5 100644 --- a/f/web-kboss/src/api/ncmatch/index.js +++ b/f/web-kboss/src/api/ncmatch/index.js @@ -200,4 +200,23 @@ export function reqHomepageCategoryTreeDelete(data){ headers: { 'Content-Type': 'application/json' }, data }) +} + +//供需一级分类 +export function reqSupplyAndDemandFirstCategory(data){ + return request({ + url: '/product/product_category_search.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} +//供需二级分类 +export function reqSupplyAndDemandSecondCategory(data){ + return request({ + url: '/product/supply_and_demand_first_category.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) } \ No newline at end of file diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/menuAside/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/menuAside/index.vue index 8de5cba..f0830af 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/menuAside/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/menuAside/index.vue @@ -47,7 +47,7 @@