diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index f7489e6..f3e96f8 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -19,6 +19,7 @@ import ShowGpu from "@/views/product/productHome/capitalOnline/productItem/GpuPr import ShowEip from "@/views/product/productHome/capitalOnline/Net/Eip/showEip/index.vue"; import CreateEip from "@/views/product/productHome/capitalOnline/Net/Eip/createEip/index.vue"; import { getHomePath } from '@/views/setting/tools' +import { h } from "vue"; Vue.use(Router); // const originalPush = Router.prototype.push @@ -192,7 +193,7 @@ export const constantRoutes = [ meta: { title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare" }, }, { - path: "search", + path: "search", component: () => import("@/views/homePage/ncmatch/searchBox/index.vue"), name: "search", hidden: true, @@ -200,18 +201,18 @@ export const constantRoutes = [ }, { path: "historyBox", - component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"), - name: "historyBox", - hidden: true, - meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" }, - }, - { - path: "favoriteBox", - component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"), - name: "favoriteBox", - hidden: true, - meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" }, - }, + component: () => import("@/views/homePage/ncmatch/historyBox/index.vue"), + name: "historyBox", + hidden: true, + meta: { title: "浏览记录", fullPath: "/ncmatch/historyBox" }, + }, + { + path: "favoriteBox", + component: () => import("@/views/homePage/ncmatch/favoriteBox/index.vue"), + name: "favoriteBox", + hidden: true, + meta: { title: "我的关注", fullPath: "/ncmatch/favoriteBox" }, + }, ] }, { @@ -369,13 +370,13 @@ export const asyncRoutes = [ path: "/consultingMangement", name: 'ConsultingMangement', component: Layout, - meta: { title: "咨询表单", fullPath: "/consultingMangement", noCache: true,icon: "el-icon-s-platform" }, + meta: { title: "咨询表单", fullPath: "/consultingMangement", noCache: true, icon: "el-icon-s-platform" }, children: [ { path: "index", component: () => import('@/views/operation/consultingMangement/index.vue'), name: 'ConsultingMangement', - meta: { title: "咨询表单", fullPath: "/consultingMangement/index", noCache: true,icon: "el-icon-s-platform" }, + meta: { title: "咨询表单", fullPath: "/consultingMangement/index", noCache: true, icon: "el-icon-s-platform" }, } ] }, @@ -769,6 +770,31 @@ export const asyncRoutes = [ name: "WorkOrderManagement", meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" }, }, + { + path: "unsubscribe", + // 不要写 component + component: () => import("@/views/customer/unsubscribe"), + name: "Unsubscribe", + meta: { + title: "退订管理", + alwaysShow: true + }, + children: [ + { + path: "BaiduNetdisk", + component: () => import("@/views/customer/unsubscribe/BaiduNetdisk.vue"), + name: "BaiduNetdisk", + meta: { title: "百度云" } + }, + { + path: "JDNetdisk", // 可选:默认子路由 + // component: () => import("@/views/customer/unsubscribe/JDNetdisk/index.vue"), + name: "JDNetdisk", + meta: { title: "其他" } + } + + ] + }, { path: 'approve', component: () => import('@/views/customer/ncApprove/index.vue'), @@ -891,7 +917,7 @@ export const asyncRoutes = [ }, { path: "/qualificationReview", - component:Layout, + component: Layout, name: "qualificationReview", redirect: "/qualificationReview/index", meta: { fullPath: "/qualificationReview", title: "资质审核", noCache: true, icon: 'el-icon-s-home' }, @@ -913,7 +939,7 @@ export const asyncRoutes = [ }, { path: "/approveMangement", - component:Layout, + component: Layout, name: "approveMangement", redirect: "/approveMangement/index", meta: { fullPath: "/approveMangement", title: "供需审核", noCache: true, icon: 'el-icon-s-home' }, @@ -935,7 +961,7 @@ export const asyncRoutes = [ }, { path: "/productMangement", - component:Layout, + component: Layout, name: "productMangement", redirect: "/productMangement/index", meta: { fullPath: "/productMangement", title: "商品管理", noCache: true, icon: 'el-icon-s-home' }, @@ -956,7 +982,7 @@ export const asyncRoutes = [ }, { path: "/menuMangement", - component:Layout, + component: Layout, name: "menuMangement", redirect: "/menuMangement/index", meta: { fullPath: "/menuMangement", title: "菜单管理", noCache: true, icon: 'el-icon-s-home' }, @@ -971,7 +997,7 @@ export const asyncRoutes = [ }, { path: "/demandMangement", - component:Layout, + component: Layout, name: "demandMangement", redirect: "/demandMangement/index", meta: { fullPath: "/demandMangement", title: "需求管理", noCache: true, icon: 'el-icon-s-home' }, @@ -990,7 +1016,7 @@ export const asyncRoutes = [ }, ] }, - + { path: "/sales", component: Layout, @@ -1028,7 +1054,8 @@ export const asyncRoutes = [ component: () => import("@/views/sales/floorPrice"), name: "floorPrice", meta: { title: "底价设置", fullPath: "/sales/floorPrice" }, - }, { + }, + { path: "bdUserMangement", component: () => import("@/views/sales/BdUserMangement"), name: "floorPrice", @@ -1046,7 +1073,8 @@ export const asyncRoutes = [ title: "账单管理", fullPath: "/sales/BdUserMangement/billMangement", }, },] - }, { + }, + { path: "customerManagement", component: () => import("@/views/sales/customerManagement"), name: "Customer", diff --git a/f/web-kboss/src/views/administrator/departmentManagement/index.vue b/f/web-kboss/src/views/administrator/departmentManagement/index.vue index 3e1d075..61e04c1 100644 --- a/f/web-kboss/src/views/administrator/departmentManagement/index.vue +++ b/f/web-kboss/src/views/administrator/departmentManagement/index.vue @@ -4,7 +4,7 @@ 请添加部门 - + @@ -349,6 +349,9 @@ export default { - diff --git a/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue new file mode 100644 index 0000000..93fc909 --- /dev/null +++ b/f/web-kboss/src/views/customer/unsubscribe/BaiduNetdisk.vue/index.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue b/f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue new file mode 100644 index 0000000..0429c77 --- /dev/null +++ b/f/web-kboss/src/views/customer/unsubscribe/JDNetdisk/index.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/f/web-kboss/src/views/customer/unsubscribe/index.vue b/f/web-kboss/src/views/customer/unsubscribe/index.vue new file mode 100644 index 0000000..4cb8388 --- /dev/null +++ b/f/web-kboss/src/views/customer/unsubscribe/index.vue @@ -0,0 +1,15 @@ + + + + + diff --git a/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue b/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue index a6ce1af..295ccf9 100644 --- a/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue +++ b/f/web-kboss/src/views/superAdministrator/permissionListManagement/index.vue @@ -231,6 +231,8 @@ export default { }) + + }, treeDelChange(obj) { delPermissionAPI({ id: obj.data.id }).then(res => { @@ -251,6 +253,7 @@ export default { }) }, treeUpdateChange(obj) { + console.log('obj.node:', obj.node); this.isDisabled = false this.form = JSON.parse(JSON.stringify(obj.node)) // console.log(obj);