From 4ab2a5462f6cd0f4f646ca7eab6b3947ff8ca6d3 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: Mon, 18 Aug 2025 12:00:55 +0800
Subject: [PATCH] bugfix
---
f/web-kboss/BINARY_IMAGE_UPLOAD_FIX.md | 0
f/web-kboss/CHANGES_AFTER_PREVIEW_REMOVAL.md | 0
f/web-kboss/README_IMAGE_OPTIMIZATION.md | 0
f/web-kboss/src/api/ncmatch/index.js | 19 +
f/web-kboss/src/layout/components/Navbar.vue | 3 +-
f/web-kboss/src/router/index.js | 1 -
.../productMangement/commonBox/index.vue | 2 -
.../homePage/components/topBox/index.vue | 2 +-
.../views/homePage/ncmatch/mainPage/index.vue | 33 +-
.../views/operation/menuMangement/index.vue | 414 +++++++++++++++++-
10 files changed, 454 insertions(+), 20 deletions(-)
create mode 100644 f/web-kboss/BINARY_IMAGE_UPLOAD_FIX.md
create mode 100644 f/web-kboss/CHANGES_AFTER_PREVIEW_REMOVAL.md
create mode 100644 f/web-kboss/README_IMAGE_OPTIMIZATION.md
diff --git a/f/web-kboss/BINARY_IMAGE_UPLOAD_FIX.md b/f/web-kboss/BINARY_IMAGE_UPLOAD_FIX.md
new file mode 100644
index 0000000..e69de29
diff --git a/f/web-kboss/CHANGES_AFTER_PREVIEW_REMOVAL.md b/f/web-kboss/CHANGES_AFTER_PREVIEW_REMOVAL.md
new file mode 100644
index 0000000..e69de29
diff --git a/f/web-kboss/README_IMAGE_OPTIMIZATION.md b/f/web-kboss/README_IMAGE_OPTIMIZATION.md
new file mode 100644
index 0000000..e69de29
diff --git a/f/web-kboss/src/api/ncmatch/index.js b/f/web-kboss/src/api/ncmatch/index.js
index 19360c6..ce5a7ca 100644
--- a/f/web-kboss/src/api/ncmatch/index.js
+++ b/f/web-kboss/src/api/ncmatch/index.js
@@ -125,3 +125,22 @@ export function reqExportProduct(data){
data
})
}
+//产品添加子级和兄弟节点
+export function reqAddProductMenu(data){
+ return request({
+ url: '/product/homepage_category_tree_add.dspy',
+ method: 'post',
+ headers: { 'Content-Type': 'application/json' },
+ data
+ })
+}
+//资质查询
+export function reqEnterpriseAuditInfoSearch(data){
+ return request({
+ url: '/user/enterprise_audit_info_search.dspy',
+ method: 'post',
+ headers: { 'Content-Type': 'application/json' },
+ data
+ })
+}
+
diff --git a/f/web-kboss/src/layout/components/Navbar.vue b/f/web-kboss/src/layout/components/Navbar.vue
index 1696dbe..5bd0eb4 100644
--- a/f/web-kboss/src/layout/components/Navbar.vue
+++ b/f/web-kboss/src/layout/components/Navbar.vue
@@ -516,6 +516,7 @@ import PromotionalInvitationCode from "@/views/customer/promotionalInvitationCod
import {reqApplyChannel} from "@/api/customer/channel";
import {reqSearchProductList} from "@/api/product/product";
import {bdProducts, jdProducts} from "@/views/product/productionData";
+import { getHomePath } from "@/views/setting/tools";
export default {
data() {
@@ -1238,7 +1239,7 @@ export default {
sessionStorage.removeItem('userId')
this.$store.commit('setLoginState', false)
- await this.$router.push(`/homePage/index`);
+ await this.$router.push(getHomePath());
// window.location.reload()
},
diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js
index 79496f9..0191926 100644
--- a/f/web-kboss/src/router/index.js
+++ b/f/web-kboss/src/router/index.js
@@ -900,7 +900,6 @@ export const asyncRoutes = [
]
},
{
- hidden: true,
path: "/menuMangement",
component:Layout,
name: "menuMangement",
diff --git a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue
index 8dabc16..179751b 100644
--- a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue
+++ b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue
@@ -98,8 +98,6 @@
删除
-
-
diff --git a/f/web-kboss/src/views/homePage/components/topBox/index.vue b/f/web-kboss/src/views/homePage/components/topBox/index.vue
index 479c3aa..8219f95 100644
--- a/f/web-kboss/src/views/homePage/components/topBox/index.vue
+++ b/f/web-kboss/src/views/homePage/components/topBox/index.vue
@@ -405,7 +405,7 @@ export default Vue.extend({
localStorage.removeItem('userId')
if (!window.location.href.includes('homePage/index')) {
- await this.$router.push(`/homePage/index`);
+ await this.$router.push(getHomePath());
}
},
edituserPassword() {//修改密码
diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue
index ce66eee..7356ae4 100644
--- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue
+++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue
@@ -1,6 +1,6 @@
-