diff --git a/f/web-kboss/src/api/ncmatch/index.js b/f/web-kboss/src/api/ncmatch/index.js index 46a70b7..d65504d 100644 --- a/f/web-kboss/src/api/ncmatch/index.js +++ b/f/web-kboss/src/api/ncmatch/index.js @@ -48,3 +48,44 @@ export function reqGetSupplyAndDemandSquareList(data) { data }) } + +//获取商品详情 +export function reqGetProductDetail(data) { + return request({ + url: '/product/publish_product_search_detail.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} +//提交审批 ///user/enterprise_audit_info_add.dspy +export function reqApproveUser(data){ + return request({ + url: '/user/enterprise_audit_info_add.dspy', + method: 'post', + headers: { 'Content-Type': 'multipart/form-data' }, + data + }) +} + +//获取菜单ncmatch菜单 menu + +export function reqNcMatchMenu(data){ + return request({ + url: '/product/homepage_category_tree_search.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + + }) +} +//运营查找商品|需求 +export function reqSearchByMangement(data){ + return request({ + url: '/product/publish_product_search.dspy', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + + }) +} diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index e72795b..6b074fb 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -64,7 +64,27 @@ export const constantRoutes = [ title: 'beforeLogin', component: () => import('@/views/beforeLogin/index.vue'), hidden: true - }, { + }, + { + alwaysShow: true, + path: "/productMangement", + component:Layout, + name: "productMangement", + redirect: "/productMangement/index", + meta: { fullPath: "/productMangement", title: "商品管理", noCache: true, icon: 'el-icon-s-home' }, + children: [ + { + path: "index", + component: () => import("@/views/customer/productMangement/productList/index.vue"), + name: "productList", + meta: { title: "商品清单", fullPath: "/productMangement/index" }, + }, + + ] + }, + + + { path: '/wxPage', name: 'wxPage', title: '热门产品', @@ -153,34 +173,34 @@ export const constantRoutes = [ component: () => import("@/views/registrationPage/indexNew.vue"), name: "registrationPage", hidden: true, - meta: {title: "注册"}, + meta: { title: "注册" }, }, { path: "/registrationPage/mobile", component: () => import("@/views/registrationPageMobile/index.vue"), name: "registrationPage", hidden: true, - meta: {title: "注册"}, + meta: { title: "注册" }, }, { path: "/ncmatchHome", component: () => import("@/views/homePage/ncmatch/index.vue"), name: "ncmatchHome", redirect: "/ncmatchHome/index", - meta: {fullPath: "/ncmatchHome/index", title: "官网首页", noCache: true, icon: 'el-icon-s-home'}, + meta: { fullPath: "/ncmatchHome/index", title: "官网首页", noCache: true, icon: 'el-icon-s-home' }, children: [ { path: "index", component: () => import("@/views/homePage/ncmatch/mainPage/index.vue"), name: "ncmatchPageIndex", hidden: true, - meta: {title: "首页", fullPath: "/ncmatch/mainPage/index"}, + meta: { title: "首页", fullPath: "/ncmatch/mainPage/index" }, }, { path: "supplyAndDemandSquare", component: () => import("@/views/homePage/ncmatch/supplyAndDemandSquare/index.vue"), name: "supplyAndDemandSquare", hidden: true, - meta: {title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare"}, + meta: { title: "算力供需广场", fullPath: "/ncmatch/supplyAndDemandSquare" }, }, ] }, @@ -189,57 +209,57 @@ export const constantRoutes = [ component: () => import("@/views/homePage/indexLast.vue"), name: "homePage", hidden: true, - meta: {title: "首页", noCache: true}, + meta: { title: "首页", noCache: true }, children: [{ path: "index", component: () => import("@/views/homePage/mainPage/index.vue"), name: "homePageIndex", hidden: true, - meta: {title: "首页", onCache: true}, + meta: { title: "首页", onCache: true }, }, { path: "detail", component: () => import("@/views/homePage/detail/index.vue"), name: "detail", hidden: true, - meta: {title: "详情", onCache: true}, + meta: { title: "详情", onCache: true }, + }, + { + path: "new", + component: () => import("@/views/homePage/components/topBox/new/index.vue"), + name: "new", + hidden: true, + meta: { title: "政策解读", onCache: true }, + }, + { + path: "sale", + component: () => import("@/views/homePage/components/topBox/sale/index.vue"), + name: "sale", + hidden: true, + meta: { title: "促销活动", onCache: true }, }, - { - path: "new", - component: () => import("@/views/homePage/components/topBox/new/index.vue"), - name: "new", - hidden: true, - meta: {title: "政策解读", onCache: true}, - }, - { - path: "sale", - component: () => import("@/views/homePage/components/topBox/sale/index.vue"), - name: "sale", - hidden: true, - meta: {title: "促销活动", onCache: true}, - }, - { - path: "hospital", - component: () => import("@/views/homePage/solve/hospital/index.vue"), - name: "hospital", - hidden: true, - meta: {title: "灵医智能体"}, - }, { - path: "customerService", - component: () => import("@/views/homePage/solve/customerService/index.vue"), - name: "customerService", - hidden: true, - meta: {title: "客悦"}, + { + path: "hospital", + component: () => import("@/views/homePage/solve/hospital/index.vue"), + name: "hospital", + hidden: true, + meta: { title: "灵医智能体" }, + }, { + path: "customerService", + component: () => import("@/views/homePage/solve/customerService/index.vue"), + name: "customerService", + hidden: true, + meta: { title: "客悦" }, - }, { - path: "about", - component: () => import("@/views/homePage/about/index.vue"), - name: "about", - hidden: true, - meta: {title: "关于"}, + }, { + path: "about", + component: () => import("@/views/homePage/about/index.vue"), + name: "about", + hidden: true, + meta: { title: "关于" }, - }] + }] }, // { // path: "/homePage/mobile", @@ -254,19 +274,19 @@ export const constantRoutes = [ component: () => import("@/views/homePageImage/index"), name: "homePageImage", hidden: true, - meta: {title: "备案信息"}, + meta: { title: "备案信息" }, }, { path: "/paySuccess", component: () => import("@/views/paySuccess/index"), name: "paySuccess", hidden: true, - meta: {title: "支付成功"}, + meta: { title: "支付成功" }, }, { path: "/payPage", component: () => import("@/views/payPage/index"), name: "payPage", hidden: true, - meta: {title: "立即支付页面"}, + meta: { title: "立即支付页面" }, }, { path: "/auth-redirect", component: () => import("@/views/login/auth-redirect"), hidden: true, }, { @@ -293,44 +313,44 @@ export const asyncRoutes = [ // }, { - path: getHomePath()=='/ncmatchHome/index' ? "/ncmatchHome" : "/homePage", + path: getHomePath() == '/ncmatchHome/index' ? "/ncmatchHome" : "/homePage", component: () => import("@/views/homePage/indexLast.vue"), name: "homePage", redirect: "/homePage/index", - meta: {fullPath: "/homePage/index", title: "官网首页", noCache: true, icon: 'el-icon-s-home'}, + meta: { fullPath: "/homePage/index", title: "官网首页", noCache: true, icon: 'el-icon-s-home' }, children: [ { path: "index", component: () => import("@/views/homePage/mainPage/index.vue"), name: "homePageIndex", hidden: true, - meta: {title: "首页", fullPath: "/homePage/index"}, + meta: { title: "首页", fullPath: "/homePage/index" }, }, { path: "detail", component: () => import("@/views/homePage/detail/index.vue"), name: "detail", hidden: true, - meta: {title: "详情", cache: true}, + meta: { title: "详情", cache: true }, }, { path: "hospital", component: () => import("@/views/homePage/solve/hospital/index.vue"), name: "hospital", hidden: true, - meta: {title: "灵医智能体"}, + meta: { title: "灵医智能体" }, }, { path: "customerService", component: () => import("@/views/homePage/solve/customerService/index.vue"), name: "customerService", hidden: true, - meta: {title: "客悦"}, + meta: { title: "客悦" }, }, { path: "about", component: () => import("@/views/homePage/about/index.vue"), name: "about", hidden: true, - meta: {title: "关于"}, + meta: { title: "关于" }, }] }, @@ -339,370 +359,370 @@ export const asyncRoutes = [ name: 'product', component: Layout, redirect: "/product/productHome", - meta: {title: "", fullPath: "/product", noCache: true, icon: "el-icon-s-platform"}, + meta: { title: "", fullPath: "/product", noCache: true, icon: "el-icon-s-platform" }, children: [{ path: "productHome", component: () => import('@/views/product/productHome/productIndex/index.vue'), name: 'baiduProduct', - meta: {title: "概览", fullPath: "/product/productHome", noCache: true} + meta: { title: "概览", fullPath: "/product/productHome", noCache: true } }, - // { - // path: '/external-link', - // name: 'External Link', - // // 使用 meta 字段来标记这是一个外部链接 - // meta: {title: "首页", external: true, url: 'https://www.baidu.com'}, - // }, - // { - // - // path: "productHome", - // component: () => import('@/views/product/productHome/productIndex/index.vue'), - // name: 'baiduProduct', - // meta: {title: "首页", fullPath: "/product/productHome", noCache: true} - // }, - { - hidden: true, - path: "baiduProduct", - component: () => import('@/views/product/productHome/baiduProduct/index.vue'), - name: 'baiduProduct', - meta: {title: "百度智能云", fullPath: "/product/baiduProduct", noCache: true} - }, { - hidden: true, - path: "productHome/k8s/createK8s", - component: () => import('@/views/product/productHome/k8s/createK8s/index.vue'), - name: 'superComputingDomestic', - meta: {title: "容器云", fullPath: "/product/productHome/k8s/createK8s", noCache: true} - }, // { - // - // path: "jdProduct", - // component: () => import('@/views/product/productHome/jdProduct/index.vue'), - // name: 'jdProduct', - // meta: {title: "京东云", fullPath: "/product/jdProduct"} - // }, - { - hidden: true, - path: "productHome", - name: 'productHome', - component: () => import("@/views/product/productHome/productIndex/index.vue"), - meta: { - title: "产品", icon: "el-icon-s-data", fullPath: "/product/productHome/productIndex", - }, - }, { - hidden: true, - path: "superComputingCommon", - component: () => import('@/views/product/productHome/superComputingCommon/index.vue'), - name: 'superComputingCommon', - meta: {title: "通用计算", fullPath: "/product/superComputingCommon", noCache: true} - }, { - hidden: true, - path: "newPage", - component: () => import('@/views/product/productHome/productIndex/newPage'), - name: 'newPage', - meta: {title: "AI智算", fullPath: "/product/superComputingCommon", noCache: true} - }, { - hidden: true, - path: "superComputingDomestic", - component: () => import('@/views/product/productHome/superComputingDomestic/index.vue'), - name: 'superComputingDomestic', - meta: {title: "国产计算", fullPath: "/product/superComputingDomestic", noCache: true} - }, { - hidden: true, - path: "productHome/k8s/createK8s", - component: () => import('@/views/product/productHome/k8s/createK8s/index.vue'), - name: 'superComputingDomestic', - meta: {title: "k8s", fullPath: "/product/productHome/k8s/createK8s", noCache: true} + // { + // path: '/external-link', + // name: 'External Link', + // // 使用 meta 字段来标记这是一个外部链接 + // meta: {title: "首页", external: true, url: 'https://www.baidu.com'}, + // }, + // { + // + // path: "productHome", + // component: () => import('@/views/product/productHome/productIndex/index.vue'), + // name: 'baiduProduct', + // meta: {title: "首页", fullPath: "/product/productHome", noCache: true} + // }, + { + hidden: true, + path: "baiduProduct", + component: () => import('@/views/product/productHome/baiduProduct/index.vue'), + name: 'baiduProduct', + meta: { title: "百度智能云", fullPath: "/product/baiduProduct", noCache: true } + }, { + hidden: true, + path: "productHome/k8s/createK8s", + component: () => import('@/views/product/productHome/k8s/createK8s/index.vue'), + name: 'superComputingDomestic', + meta: { title: "容器云", fullPath: "/product/productHome/k8s/createK8s", noCache: true } + }, // { + // + // path: "jdProduct", + // component: () => import('@/views/product/productHome/jdProduct/index.vue'), + // name: 'jdProduct', + // meta: {title: "京东云", fullPath: "/product/jdProduct"} + // }, + { + hidden: true, + path: "productHome", + name: 'productHome', + component: () => import("@/views/product/productHome/productIndex/index.vue"), + meta: { + title: "产品", icon: "el-icon-s-data", fullPath: "/product/productHome/productIndex", }, + }, { + hidden: true, + path: "superComputingCommon", + component: () => import('@/views/product/productHome/superComputingCommon/index.vue'), + name: 'superComputingCommon', + meta: { title: "通用计算", fullPath: "/product/superComputingCommon", noCache: true } + }, { + hidden: true, + path: "newPage", + component: () => import('@/views/product/productHome/productIndex/newPage'), + name: 'newPage', + meta: { title: "AI智算", fullPath: "/product/superComputingCommon", noCache: true } + }, { + hidden: true, + path: "superComputingDomestic", + component: () => import('@/views/product/productHome/superComputingDomestic/index.vue'), + name: 'superComputingDomestic', + meta: { title: "国产计算", fullPath: "/product/superComputingDomestic", noCache: true } + }, { + hidden: true, + path: "productHome/k8s/createK8s", + component: () => import('@/views/product/productHome/k8s/createK8s/index.vue'), + name: 'superComputingDomestic', + meta: { title: "k8s", fullPath: "/product/productHome/k8s/createK8s", noCache: true } + }, - // { - // hidden: true, - // path: "jdProduct", - // component: () => import('@/views/product/productHome/jdProduct/index.vue'), - // name: 'jdProduct', - // meta: {title: "京东产品列表", fullPath: "/product/jdProduct", noCache: true} - // }, - { - hidden: true, - path: "capProduct", - component: () => import('@/views/product/productHome/capitalOnline/index.vue'), - name: 'capProduct', - meta: {title: "集群节点一产品列表", fullPath: "/product/productHome/capitalOnlineTwo", noCache: true}, - children: [{ - path: "capProductTwo", - component: () => import('@/views/product/productHome/capitalOnline/capitalOnlineTwo/index.vue'), - name: 'capProductTwo', - meta: {title: "集群节点一产品", fullPath: "/product/productHome/capitalOnlineTwo", noCache: true}, - }, { - path: "gpuProduct", - component: () => import('@/views/product/productHome/capitalOnline/productItem/GpuProduct/index.vue'), - name: 'gpuProduct', - meta: { - title: "GPU产品", fullPath: "/product/productHome/capitalOnline/productItem/GpuProduct", noCache: true - }, - }] + // { + // hidden: true, + // path: "jdProduct", + // component: () => import('@/views/product/productHome/jdProduct/index.vue'), + // name: 'jdProduct', + // meta: {title: "京东产品列表", fullPath: "/product/jdProduct", noCache: true} + // }, + { + hidden: true, + path: "capProduct", + component: () => import('@/views/product/productHome/capitalOnline/index.vue'), + name: 'capProduct', + meta: { title: "集群节点一产品列表", fullPath: "/product/productHome/capitalOnlineTwo", noCache: true }, + children: [{ + path: "capProductTwo", + component: () => import('@/views/product/productHome/capitalOnline/capitalOnlineTwo/index.vue'), + name: 'capProductTwo', + meta: { title: "集群节点一产品", fullPath: "/product/productHome/capitalOnlineTwo", noCache: true }, }, { - path: 'gpu', - name: 'Gpu', - title: '4090配置A', - meta: {title: '4090配置A', noCache: true, fullpath: '/gpu'}, - component: () => import('@/views/product/productHome/capitalOnline/Gpu/index.vue'), - children: [{ - path: 'showGpu', - name: 'showGpu', - component: ShowGpu, - meta: {title: 'Gpu', noCache: true, fullpath: '/gpu/showGpu'}, - }, { - path: 'createGpu', - name: 'createGpu', - component: GpuProduct, - meta: {title: '创建实例', noCache: true, fullpath: '/gpu/gpuIndex'}, - }, { - path: 'securityGroup', - name: 'securityGroup', - component: SecurityGroup, - meta: {title: '安全组', noCache: true, fullpath: '/net/securityGroup'}, - }, { - path: 'createSecurityGroup', - name: 'createSecurityGroup', - component: CreateSecurityGroup, - meta: {title: '创建安全组', noCache: true, fullpath: '/net/createSecurityGroup'}, - }, { - path: 'securityGroupDetail', - name: 'securityGroupDetail', - component: SecurityGroupDetail, - meta: {title: '安全组详情', noCache: true, fullpath: '/net/securityGroupDetail'}, - },], - hidden: true - }, { - path: 'net', - name: 'net', - title: '网络', - meta: {title: '私有网络', noCache: true, fullpath: '/net'}, - component: () => import('@/views/product/productHome/capitalOnline/Net/index.vue'), - children: [{ - path: 'netIndex', - name: 'netIndex', - component: CreatePrivateNet, - meta: {title: '创建私有网络', noCache: true, fullpath: '/net/netIndex'}, - }, - - { - path: 'showPrivateNet', - name: 'showPrivateNet', - component: ShowPrivateNet, - meta: {title: '网络列表', noCache: true, fullpath: '/net/showPrivateNet'}, - }, { - path: 'privateNetDetail', - name: 'privateNetDetail', - component: PrivateNetDetail, - meta: {title: '私有网络详情', noCache: true, fullpath: '/net/privateNetDetail'}, - }, { - path: 'childCreate', - name: 'childCreate', - component: CreateChildNet, - meta: {title: '创建子网', noCache: true, fullpath: '/net/childCreate'}, - }, { - path: 'showChildNet', - name: 'showChildNet', - component: ShowChildNet, - meta: {title: '展示子网', noCache: true, fullpath: '/net/showChildNet'}, - }, { - path: 'childDetail', - name: 'childDetail', - component: ChildDetail, - meta: {title: '子网详情', noCache: true, fullpath: '/net/childDetail'}, - }, { - path: 'showUEip', - name: 'showUEip', - component: ShowEip, - meta: {title: 'EIP列表', noCache: true, fullpath: '/net/showUEip'}, - }, { - path: 'createUEip', - name: 'createUEip', - component: CreateEip, - meta: {title: '创建EIP', noCache: true, fullpath: '/net/createUEip'}, - },], - hidden: true - }, { - hidden: true, - path: "ucloudProduct", - component: () => import('@/views/product/productHome/ucloud/index.vue'), - name: 'ucloudProduct', - meta: {title: "集群节点二产品列表", fullPath: "/product/productHome/ucloud", noCache: true}, - children: [{ - path: "ucloudProductTwo", - component: () => import('@/views/product/productHome/ucloud/ucloudTwo/index.vue'), - name: 'ucloudProductTwo', - meta: {title: "集群节点二产品列表", fullPath: "/product/productHome/ucloud/ucloudTwo", noCache: true}, - }, { - path: "showCloudHost", - component: () => import('@/views/product/productHome/ucloud/showCloudHost/index.vue'), - name: 'showUcloudProduct', - meta: {title: "集群节点二产品", fullPath: "/product/productHome/ucloud/showCloudHost", noCache: true}, - }, { - path: "createCloudHost", - component: () => import('@/views/product/productHome/ucloud/createCloudHost/index.vue'), - name: 'createCloudHost', - meta: {title: "集群节点二-购买", fullPath: "/product/productHome/ucloud/createCloudHost", noCache: true}, - }, { - path: "showFireWall", - component: () => import('@/views/product/productHome/ucloud/fireWall/showFireWall/index.vue'), - name: 'showFireWall', - meta: {title: "防火墙列表", fullPath: "/product/productHome/ucloud/fireWall/showFireWall", noCache: true}, - }, { - path: "detailFireWall", - component: () => import('@/views/product/productHome/ucloud/fireWall/detailFireWall/index.vue'), - name: 'detailFireWall', - meta: {title: "防火墙详情", fullPath: "/product/productHome/ucloud/fireWall/detailFireWall", noCache: true}, - }, { - path: "createUEip", - component: () => import('@/views/product/productHome/ucloud/Eip/createUEip'), - name: 'createUEip', - meta: {title: "创建Eip", fullPath: "/product/productHome/ucloud/Eip/createUEip", noCache: true}, - }, { - path: "showUEip", - component: () => import('@/views/product/productHome/ucloud/Eip/showUEip'), - name: 'showUEip', - meta: {title: "Eip列表", fullPath: "/product/productHome/ucloud/Eip/showUEip", noCache: true}, - },] - }, // { - // hidden: true, - // path: "baiduProduct", - // component: () => import('@/views/product/productHome/baiduProduct/index.vue'), - // name: 'baiduProduct', - // meta: {title: "百度产品列表", fullPath: "/product/baiduProduct", noCache: true} - // }, - { - hidden: true, - path: "baiduProductShow", - component: () => import('@/views/product/productHome/baiduProductShow/index.vue'), - name: 'baiduProductShow', - meta: {title: "资源购买", fullPath: "/product/baiduProductShow", noCache: true,} - }, { - path: "index", name: 'index', hidden: true, component: () => import("@/views/product/index.vue"), meta: { - title: "产品", icon: "el-icon-s-data", fullPath: "/product/index", - }, - }, { - hidden: true, - path: "cloudDatabaseMysql", - component: () => import("@/views/operation/volcanoSystem/cloudDatabaseMysql"), - name: "cloudDatabaseMysql", + path: "gpuProduct", + component: () => import('@/views/product/productHome/capitalOnline/productItem/GpuProduct/index.vue'), + name: 'gpuProduct', meta: { - title: "云数据库 Mysql版", fullPath: "/product/volcanoSystem/cloudDatabaseMysql", + title: "GPU产品", fullPath: "/product/productHome/capitalOnline/productItem/GpuProduct", noCache: true }, + }] + }, { + path: 'gpu', + name: 'Gpu', + title: '4090配置A', + meta: { title: '4090配置A', noCache: true, fullpath: '/gpu' }, + component: () => import('@/views/product/productHome/capitalOnline/Gpu/index.vue'), + children: [{ + path: 'showGpu', + name: 'showGpu', + component: ShowGpu, + meta: { title: 'Gpu', noCache: true, fullpath: '/gpu/showGpu' }, }, { - hidden: true, - path: "cloudDatabaseRedis", - component: () => import("@/views/operation/volcanoSystem/cloudDatabaseRedis"), - name: "cloudDatabaseRedis", - meta: { - title: "缓存数据库 Redis版", fullPath: "/product/volcanoSystem/cloudDatabaseRedis", - }, + path: 'createGpu', + name: 'createGpu', + component: GpuProduct, + meta: { title: '创建实例', noCache: true, fullpath: '/gpu/gpuIndex' }, }, { - hidden: true, - path: "cloudDatabaseMongoDB", - component: () => import("@/views/operation/volcanoSystem/cloudDatabaseMongoDB"), - name: "cloudDatabaseMongoDB", - meta: { - title: "文档数据库 MongoDB 版", fullPath: "/product/volcanoSystem/cloudDatabaseMongoDB", - }, + path: 'securityGroup', + name: 'securityGroup', + component: SecurityGroup, + meta: { title: '安全组', noCache: true, fullpath: '/net/securityGroup' }, + }, { + path: 'createSecurityGroup', + name: 'createSecurityGroup', + component: CreateSecurityGroup, + meta: { title: '创建安全组', noCache: true, fullpath: '/net/createSecurityGroup' }, + }, { + path: 'securityGroupDetail', + name: 'securityGroupDetail', + component: SecurityGroupDetail, + meta: { title: '安全组详情', noCache: true, fullpath: '/net/securityGroupDetail' }, + },], + hidden: true + }, { + path: 'net', + name: 'net', + title: '网络', + meta: { title: '私有网络', noCache: true, fullpath: '/net' }, + component: () => import('@/views/product/productHome/capitalOnline/Net/index.vue'), + children: [{ + path: 'netIndex', + name: 'netIndex', + component: CreatePrivateNet, + meta: { title: '创建私有网络', noCache: true, fullpath: '/net/netIndex' }, }, { - hidden: true, - path: "cloudServer", - component: () => import("@/views/operation/volcanoSystem/cloudServer"), - name: "cloudServer", - meta: { - title: "云数据库", fullPath: "/product/volcanoSystem/cloudServer", - }, + path: 'showPrivateNet', + name: 'showPrivateNet', + component: ShowPrivateNet, + meta: { title: '网络列表', noCache: true, fullpath: '/net/showPrivateNet' }, }, { - path: "shoppingCart", - component: () => import("@/views/management/shoppingCart"), - name: 'shoppingCart', - hidden: true, - meta: { - title: "购物车", fullPath: "/management/shoppingCart", - }, - }, // 智算 - // 产品-智算-a100 - { - hidden: true, - path: "a100Product", - component: () => import("@/views/product/productHome/intelligentCalculation/a100Product/index.vue"), - name: "a100Product", - meta: { - title: "a100", fullPath: "/product/productHome/intelligentCalculation/a100Product", noCache: true - }, + path: 'privateNetDetail', + name: 'privateNetDetail', + component: PrivateNetDetail, + meta: { title: '私有网络详情', noCache: true, fullpath: '/net/privateNetDetail' }, }, { - hidden: true, - path: "intelligentCalculation", - component: () => import("@/views/product/productHome/intelligentCalculation/index.vue"), - name: "intelligentCalculation", - meta: { - title: "智算", fullPath: "/product/productHome/intelligentCalculation", noCache: true - }, - }, // 产品-智算-a200 - { - hidden: true, - path: "a200Product", - component: () => import("@/views/product/productHome/intelligentCalculation/a200Product/index.vue"), - name: "a200Product", - meta: { - title: "a100", fullPath: "/product/productHome/intelligentCalculation/a200Product", noCache: true - }, - }, // 产品-智算-a800 - { - hidden: true, - path: "a800Product", - component: () => import("@/views/product/productHome/intelligentCalculation/a800Product/index.vue"), - name: "a800Product", - meta: { - title: "a800", fullPath: "/product/productHome/intelligentCalculation/a800Product", noCache: true - - }, - }, // 产品-超算-a - // H800 - { - hidden: true, - path: "h800Product", - component: () => import("@/views/product/productHome/intelligentCalculation/h800Product/index.vue"), - name: "h800Product", - meta: { - title: "h800", fullPath: "/product/productHome/intelligentCalculation/h800Product", noCache: true - }, + path: 'childCreate', + name: 'childCreate', + component: CreateChildNet, + meta: { title: '创建子网', noCache: true, fullpath: '/net/childCreate' }, + }, { + path: 'showChildNet', + name: 'showChildNet', + component: ShowChildNet, + meta: { title: '展示子网', noCache: true, fullpath: '/net/showChildNet' }, + }, { + path: 'childDetail', + name: 'childDetail', + component: ChildDetail, + meta: { title: '子网详情', noCache: true, fullpath: '/net/childDetail' }, + }, { + path: 'showUEip', + name: 'showUEip', + component: ShowEip, + meta: { title: 'EIP列表', noCache: true, fullpath: '/net/showUEip' }, + }, { + path: 'createUEip', + name: 'createUEip', + component: CreateEip, + meta: { title: '创建EIP', noCache: true, fullpath: '/net/createUEip' }, + },], + hidden: true + }, { + hidden: true, + path: "ucloudProduct", + component: () => import('@/views/product/productHome/ucloud/index.vue'), + name: 'ucloudProduct', + meta: { title: "集群节点二产品列表", fullPath: "/product/productHome/ucloud", noCache: true }, + children: [{ + path: "ucloudProductTwo", + component: () => import('@/views/product/productHome/ucloud/ucloudTwo/index.vue'), + name: 'ucloudProductTwo', + meta: { title: "集群节点二产品列表", fullPath: "/product/productHome/ucloud/ucloudTwo", noCache: true }, + }, { + path: "showCloudHost", + component: () => import('@/views/product/productHome/ucloud/showCloudHost/index.vue'), + name: 'showUcloudProduct', + meta: { title: "集群节点二产品", fullPath: "/product/productHome/ucloud/showCloudHost", noCache: true }, + }, { + path: "createCloudHost", + component: () => import('@/views/product/productHome/ucloud/createCloudHost/index.vue'), + name: 'createCloudHost', + meta: { title: "集群节点二-购买", fullPath: "/product/productHome/ucloud/createCloudHost", noCache: true }, + }, { + path: "showFireWall", + component: () => import('@/views/product/productHome/ucloud/fireWall/showFireWall/index.vue'), + name: 'showFireWall', + meta: { title: "防火墙列表", fullPath: "/product/productHome/ucloud/fireWall/showFireWall", noCache: true }, + }, { + path: "detailFireWall", + component: () => import('@/views/product/productHome/ucloud/fireWall/detailFireWall/index.vue'), + name: 'detailFireWall', + meta: { title: "防火墙详情", fullPath: "/product/productHome/ucloud/fireWall/detailFireWall", noCache: true }, + }, { + path: "createUEip", + component: () => import('@/views/product/productHome/ucloud/Eip/createUEip'), + name: 'createUEip', + meta: { title: "创建Eip", fullPath: "/product/productHome/ucloud/Eip/createUEip", noCache: true }, + }, { + path: "showUEip", + component: () => import('@/views/product/productHome/ucloud/Eip/showUEip'), + name: 'showUEip', + meta: { title: "Eip列表", fullPath: "/product/productHome/ucloud/Eip/showUEip", noCache: true }, + },] + }, // { + // hidden: true, + // path: "baiduProduct", + // component: () => import('@/views/product/productHome/baiduProduct/index.vue'), + // name: 'baiduProduct', + // meta: {title: "百度产品列表", fullPath: "/product/baiduProduct", noCache: true} + // }, + { + hidden: true, + path: "baiduProductShow", + component: () => import('@/views/product/productHome/baiduProductShow/index.vue'), + name: 'baiduProductShow', + meta: { title: "资源购买", fullPath: "/product/baiduProductShow", noCache: true, } + }, { + path: "index", name: 'index', hidden: true, component: () => import("@/views/product/index.vue"), meta: { + title: "产品", icon: "el-icon-s-data", fullPath: "/product/index", }, + }, { + hidden: true, + path: "cloudDatabaseMysql", + component: () => import("@/views/operation/volcanoSystem/cloudDatabaseMysql"), + name: "cloudDatabaseMysql", + meta: { + title: "云数据库 Mysql版", fullPath: "/product/volcanoSystem/cloudDatabaseMysql", + }, + }, { + hidden: true, + path: "cloudDatabaseRedis", + component: () => import("@/views/operation/volcanoSystem/cloudDatabaseRedis"), + name: "cloudDatabaseRedis", + meta: { + title: "缓存数据库 Redis版", fullPath: "/product/volcanoSystem/cloudDatabaseRedis", + }, + }, { + hidden: true, + path: "cloudDatabaseMongoDB", + component: () => import("@/views/operation/volcanoSystem/cloudDatabaseMongoDB"), + name: "cloudDatabaseMongoDB", + meta: { + title: "文档数据库 MongoDB 版", fullPath: "/product/volcanoSystem/cloudDatabaseMongoDB", + }, + }, - //网络 - //网络 - { - hidden: true, - path: "networkItem", - component: () => import("@/views/product/productHome/network/networkItem/index.vue"), - name: "networkItem", - meta: { - title: "网络", fullPath: "/product/productHome/network/networkItem", - }, - - }, //超算专用网络 - { - hidden: true, - path: "hypercomputingPrivateNetwork", - component: () => import("@/views/product/productHome/network/hypercomputingPrivateNetwork/index.vue"), - name: "networkItem", - meta: { - title: "超算专用网络", fullPath: "/product/productHome/network/hypercomputingPrivateNetwork", - }, - - }, //传输 - { - hidden: true, - path: "transmission", - component: () => import("@/views/product/productHome/network/transmission/index.vue"), - name: "transmission", - meta: { - title: "传输", fullPath: "/product/productHome/network/transmission", - }, + { + hidden: true, + path: "cloudServer", + component: () => import("@/views/operation/volcanoSystem/cloudServer"), + name: "cloudServer", + meta: { + title: "云数据库", fullPath: "/product/volcanoSystem/cloudServer", + }, + }, { + path: "shoppingCart", + component: () => import("@/views/management/shoppingCart"), + name: 'shoppingCart', + hidden: true, + meta: { + title: "购物车", fullPath: "/management/shoppingCart", + }, + }, // 智算 + // 产品-智算-a100 + { + hidden: true, + path: "a100Product", + component: () => import("@/views/product/productHome/intelligentCalculation/a100Product/index.vue"), + name: "a100Product", + meta: { + title: "a100", fullPath: "/product/productHome/intelligentCalculation/a100Product", noCache: true + }, + }, { + hidden: true, + path: "intelligentCalculation", + component: () => import("@/views/product/productHome/intelligentCalculation/index.vue"), + name: "intelligentCalculation", + meta: { + title: "智算", fullPath: "/product/productHome/intelligentCalculation", noCache: true + }, + }, // 产品-智算-a200 + { + hidden: true, + path: "a200Product", + component: () => import("@/views/product/productHome/intelligentCalculation/a200Product/index.vue"), + name: "a200Product", + meta: { + title: "a100", fullPath: "/product/productHome/intelligentCalculation/a200Product", noCache: true + }, + }, // 产品-智算-a800 + { + hidden: true, + path: "a800Product", + component: () => import("@/views/product/productHome/intelligentCalculation/a800Product/index.vue"), + name: "a800Product", + meta: { + title: "a800", fullPath: "/product/productHome/intelligentCalculation/a800Product", noCache: true }, + }, // 产品-超算-a + // H800 + { + hidden: true, + path: "h800Product", + component: () => import("@/views/product/productHome/intelligentCalculation/h800Product/index.vue"), + name: "h800Product", + meta: { + title: "h800", fullPath: "/product/productHome/intelligentCalculation/h800Product", noCache: true + }, + }, + + //网络 + //网络 + { + hidden: true, + path: "networkItem", + component: () => import("@/views/product/productHome/network/networkItem/index.vue"), + name: "networkItem", + meta: { + title: "网络", fullPath: "/product/productHome/network/networkItem", + }, + + }, //超算专用网络 + { + hidden: true, + path: "hypercomputingPrivateNetwork", + component: () => import("@/views/product/productHome/network/hypercomputingPrivateNetwork/index.vue"), + name: "networkItem", + meta: { + title: "超算专用网络", fullPath: "/product/productHome/network/hypercomputingPrivateNetwork", + }, + + }, //传输 + { + hidden: true, + path: "transmission", + component: () => import("@/views/product/productHome/network/transmission/index.vue"), + name: "transmission", + meta: { + title: "传输", fullPath: "/product/productHome/network/transmission", + }, + + }, ], }, @@ -722,25 +742,31 @@ export const asyncRoutes = [ path: "workOrderManagement", component: () => import("@/views/customer/workOrderManagement"), name: "WorkOrderManagement", - meta: {title: "工单管理", fullPath: "/customer/workOrderManagement"}, + meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" }, + }, + { + path: 'approve', + component: () => import('@/views/customer/ncApprove/index.vue'), + name: "Approve", + meta: { title: "信息审核", fullPath: "/customer/ncApprove" }, }, { hidden: true, path: "channelMangement", component: () => import("@/views/customer/channelMangement/index.vue"), name: "ChannelMangement", - meta: {title: "渠道管理", fullPath: "/customer/channelMangement"}, + meta: { title: "渠道管理", fullPath: "/customer/channelMangement" }, }, { hidden: true, path: "channelProductMangement", component: () => import("@/views/customer/channelMangement/channelProductMangement/index.vue"), name: "channelProductMangement", - meta: {title: "渠道产品管理", fullPath: "/customer/channelMangement/channelProductMangement", noCache: true}, + meta: { title: "渠道产品管理", fullPath: "/customer/channelMangement/channelProductMangement", noCache: true }, }, { hidden: true, path: "noChannelPermission", component: () => import("@/views/customer/channelMangement/noChannelPermission/index.vue"), name: "noChannelPermission", - meta: {title: "无权限", fullPath: "/customer/channelMangement/noChannelPermission", noCache: true}, + meta: { title: "无权限", fullPath: "/customer/channelMangement/noChannelPermission", noCache: true }, }, { hidden: true, path: "chat", @@ -750,93 +776,93 @@ export const asyncRoutes = [ title: "聊天", fullPath: "/product/productHome/chat", noCache: true }, }, // { - // path: "workOrderManagement/mobile", - // component: () => import("@/views/customer/mobile_workOrderManagement"), - // name: "mobile_workOrderManagement", - // meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" , isMobile: true }, - // }, - { - hidden: true, - path: "customerInformation", - component: () => import("@/views/customer/customerInformation"), - name: "customerInformation", - meta: {title: "个人中心", fullPath: "/customer/customerInformation"}, - }, { - path: "rechargeRecord", - component: () => import("@/views/customer/rechargeRecord"), - name: "RechargeRecord", - meta: {title: "充值管理", fullPath: "/customer/rechargeRecord"}, - }, { - path: "orderManagement", - component: () => import("@/views/customer/orderManagement"), - name: "OrderManagement", - meta: {title: "产品订单", fullPath: "/customer/orderManagement", noCache: true,}, - }, { - path: "orderDetil", - component: () => import("@/views/customer/orderDetil"), - name: "orderDetil", - hidden: true, - meta: {title: "订单详情", fullPath: "/customer/orderDetil", noCache: true,}, - }, { - hidden: true, - path: "promotionalInvitationCode", - component: () => import("@/views/customer/promotionalInvitationCode"), - name: "PromotionalInvitationCode", - meta: {title: "促销邀请码", fullPath: "/customer/promotionalInvitationCode"}, - }, + // path: "workOrderManagement/mobile", + // component: () => import("@/views/customer/mobile_workOrderManagement"), + // name: "mobile_workOrderManagement", + // meta: { title: "工单管理", fullPath: "/customer/workOrderManagement" , isMobile: true }, + // }, + { + hidden: true, + path: "customerInformation", + component: () => import("@/views/customer/customerInformation"), + name: "customerInformation", + meta: { title: "个人中心", fullPath: "/customer/customerInformation" }, + }, { + path: "rechargeRecord", + component: () => import("@/views/customer/rechargeRecord"), + name: "RechargeRecord", + meta: { title: "充值管理", fullPath: "/customer/rechargeRecord" }, + }, { + path: "orderManagement", + component: () => import("@/views/customer/orderManagement"), + name: "OrderManagement", + meta: { title: "产品订单", fullPath: "/customer/orderManagement", noCache: true, }, + }, { + path: "orderDetil", + component: () => import("@/views/customer/orderDetil"), + name: "orderDetil", + hidden: true, + meta: { title: "订单详情", fullPath: "/customer/orderDetil", noCache: true, }, + }, { + hidden: true, + path: "promotionalInvitationCode", + component: () => import("@/views/customer/promotionalInvitationCode"), + name: "PromotionalInvitationCode", + meta: { title: "促销邀请码", fullPath: "/customer/promotionalInvitationCode" }, + }, - // { - // path: "bpmn", - // component: () => - // import( - // "@/views/customer/bpmn" - // ), - // name: "bpmn", - // meta: { title: "bpmn", fullPath: "/customer/bpmn" }, - // }, - // { - // path: "panel", - // component: () => - // import( - // "@/views/customer/panel" - // ), - // name: "panel", - // meta: { title: "panel", fullPath: "/customer/panel" }, - // }, - { - path: "userResource", component: () => import( - // "@/views/customer/userResource/iframeJiNan.vue"//iframe报错 - "@/views/customer/userResource" - ), name: "userResource", meta: {title: "资源实例", fullPath: "/customer/userResource", noCache: true}, - }, - { + // { + // path: "bpmn", + // component: () => + // import( + // "@/views/customer/bpmn" + // ), + // name: "bpmn", + // meta: { title: "bpmn", fullPath: "/customer/bpmn" }, + // }, + // { + // path: "panel", + // component: () => + // import( + // "@/views/customer/panel" + // ), + // name: "panel", + // meta: { title: "panel", fullPath: "/customer/panel" }, + // }, + { + path: "userResource", component: () => import( + // "@/views/customer/userResource/iframeJiNan.vue"//iframe报错 + "@/views/customer/userResource" + ), name: "userResource", meta: { title: "资源实例", fullPath: "/customer/userResource", noCache: true }, + }, + { - path: "sshTerminal", - component: () => import( - // "@/views/customer/userResource/iframeJiNan.vue"//iframe报错 - "@/views/customer/userResource/SshTerminal.vue" - ), - name: "sshTerminal", - meta: {title: "ssh登录", fullPath: "/customer/SshTerminal", noCache: true}, - }, + path: "sshTerminal", + component: () => import( + // "@/views/customer/userResource/iframeJiNan.vue"//iframe报错 + "@/views/customer/userResource/SshTerminal.vue" + ), + name: "sshTerminal", + meta: { title: "ssh登录", fullPath: "/customer/SshTerminal", noCache: true }, + }, - { - hidden: true, path: "approvalRecord", component: () => import( - // "@/views/customer/approvalRecord/iframeJiNan.vue"//iframe报错 - "@/views/customer/approvalRecord" - ), name: "approvalRecord", meta: {title: "审批记录", fullPath: "/customer/approvalRecord"}, - }, { - path: "invoice", - component: () => import("@/views/customer/invoice"), - name: "Invoice", - meta: {title: "发票管理", fullPath: "/customer/invoice"}, - }, { - hidden: true, - path: "productIndex", - component: () => import("@/views/product/productHome/productIndex/index.vue"), - name: "ProductIndex", - meta: {title: "产品最新页", fullPath: "/product/productHome/productIndex", noCache: true}, - },], + { + hidden: true, path: "approvalRecord", component: () => import( + // "@/views/customer/approvalRecord/iframeJiNan.vue"//iframe报错 + "@/views/customer/approvalRecord" + ), name: "approvalRecord", meta: { title: "审批记录", fullPath: "/customer/approvalRecord" }, + }, { + path: "invoice", + component: () => import("@/views/customer/invoice"), + name: "Invoice", + meta: { title: "发票管理", fullPath: "/customer/invoice" }, + }, { + hidden: true, + path: "productIndex", + component: () => import("@/views/product/productHome/productIndex/index.vue"), + name: "ProductIndex", + meta: { title: "产品最新页", fullPath: "/product/productHome/productIndex", noCache: true }, + },], }, { path: "/sales", component: Layout, @@ -846,12 +872,12 @@ export const asyncRoutes = [ path: "distributorManagement", component: () => import("@/views/sales/distributorManagement"), // component: () => import("@/views/sales/distributorManagement/lodIndex.vue"), name: "Distributor", - meta: {title: "分销商管理", fullPath: "/sales/distributorManagement"}, // hidden: true, + meta: { title: "分销商管理", fullPath: "/sales/distributorManagement" }, // hidden: true, }, { path: "intelligentNetworkConfig", component: () => import("@/views/sales/IntelligentNetworkConfig"), name: "intelligentNetworkConfig", - meta: {title: "智算网络配置", fullPath: "/sales/IntelligentNetworkConfig"}, + meta: { title: "智算网络配置", fullPath: "/sales/IntelligentNetworkConfig" }, }, { path: "chat", component: () => import("@/views/product/productHome/chat/index.vue"), name: "chat", meta: { title: "聊天", fullPath: "/sales/chat", noCache: true @@ -861,34 +887,34 @@ export const asyncRoutes = [ hidden: true, component: () => import("@/views/sales/rpRebate"), name: "rpRebate", - meta: {title: "返佣设置", fullPath: "/sales/rpRebate"}, + meta: { title: "返佣设置", fullPath: "/sales/rpRebate" }, }, { path: "rpDiscount", hidden: true, component: () => import("@/views/sales/rpDiscount"), name: "rpDiscount", - meta: {title: "折扣设置", fullPath: "/sales/rpDiscount"}, + meta: { title: "折扣设置", fullPath: "/sales/rpDiscount" }, }, { path: "floorPrice", hidden: true, component: () => import("@/views/sales/floorPrice"), name: "floorPrice", - meta: {title: "底价设置", fullPath: "/sales/floorPrice"}, + meta: { title: "底价设置", fullPath: "/sales/floorPrice" }, }, { path: "bdUserMangement", component: () => import("@/views/sales/BdUserMangement"), name: "floorPrice", - meta: {title: "百度用户管理", fullPath: "/sales/BdUserMangement"}, + meta: { title: "百度用户管理", fullPath: "/sales/BdUserMangement" }, children: [{ path: "orderManagement", component: () => import( "@/views/sales/BdUserMangement/orderMangement" - ), name: "orderManagement", meta: { + ), name: "orderManagement", meta: { title: "订单管理", fullPath: "/sales/BdUserMangement/orderManagement", }, }, { path: "billMangement", component: () => import( "@/views/sales/BdUserMangement/billMangement" - ), name: "billMangement", meta: { + ), name: "billMangement", meta: { title: "账单管理", fullPath: "/sales/BdUserMangement/billMangement", }, },] @@ -896,87 +922,87 @@ export const asyncRoutes = [ path: "customerManagement", component: () => import("@/views/sales/customerManagement"), name: "Customer", - meta: {title: "客户管理", fullPath: "/sales/customerManagement"}, + meta: { title: "客户管理", fullPath: "/sales/customerManagement" }, redirect: "/customerManagement/customerInformationList", children: [{ path: "intendedCustomers", component: () => import( "@/views/sales/customerManagement/intendedCustomers/index.vue" - ), name: "intendedCustomers", meta: { + ), name: "intendedCustomers", meta: { title: "意向客户", fullPath: "/sales/customerManagement/intendedCustomers", }, }, { path: "customerInformationList", component: () => import( "@/views/sales/customerManagement/customerInformationList" - ), name: "customerInformationList", meta: { + ), name: "customerInformationList", meta: { title: "客户信息列表", fullPath: "/sales/customerManagement/customerInformationList", }, }, { path: "zjUserList", hidden: true, component: () => import( "@/views/sales/customerManagement/zjUserList" - ), name: "zjUserList", meta: { + ), name: "zjUserList", meta: { title: "中金客户列表", fullPath: "/sales/customerManagement/zjUserList", }, }, - { - path: "jiNanChaoSuanUserList", component: () => import( - "@/views/sales/customerManagement/jiNanChaoSuanUserList" - ), // name: "jiNanChaoSuanUserList", - meta: { - title: "超算用户账号分配", fullPath: "/sales/customerManagement/jiNanChaoSuanUserList", + { + path: "jiNanChaoSuanUserList", component: () => import( + "@/views/sales/customerManagement/jiNanChaoSuanUserList" + ), // name: "jiNanChaoSuanUserList", + meta: { + title: "超算用户账号分配", fullPath: "/sales/customerManagement/jiNanChaoSuanUserList", + }, + }, { + path: "jiNanChaoSuanTonBu", component: () => import( + "@/views/sales/customerManagement/jiNanChaoSuanTonBu" + ), // name: "jiNanChaoSuanTonBu", + meta: { + title: "超算用户账号同步", fullPath: "/sales/customerManagement/jiNanChaoSuanTonBu", + }, + }, { + path: "promotion", + component: () => import("@/views/sales/customerManagement/promotion"), + name: "Promotion", + meta: { + title: "生成邀请码", fullPath: "/sales/customerManagement/promotion", + }, + }, { + path: "customerManagement", + component: () => import("@/views/sales/customerManagement/customerManagement"), + name: "customerManagement", + meta: { + title: "客户折扣设置", fullPath: "/sales/customerManagement/customerManagement", + }, + }, { + path: "clientPriceSet", component: () => import( + "@/views/sales/customerManagement/clientPriceSet" + ), name: "clientPriceSet", meta: { + title: "客户售价设置", fullPath: "/sales/customerManagement/clientPriceSet", + }, + }, { + path: "invoiceManage", component: () => import( + "@/views/sales/customerManagement/invoiceManage" + ), name: "InvoiceManage", meta: { + title: "发票管理", fullPath: "/sales/customerManagement/invoiceAndContract", + }, redirect: "/sales/customerManagement/invoiceManage/invoiceAndContract", children: [{ + path: "invoiceAndContract", component: () => import( + "@/views/sales/customerManagement/invoiceManage/children/invoiceAndContract" + ), name: "InvoiceAndContract", meta: { + title: "发票与合同", fullPath: "/sales/customerManagement/invoiceManage/invoiceAndContract", }, }, { - path: "jiNanChaoSuanTonBu", component: () => import( - "@/views/sales/customerManagement/jiNanChaoSuanTonBu" - ), // name: "jiNanChaoSuanTonBu", - meta: { - title: "超算用户账号同步", fullPath: "/sales/customerManagement/jiNanChaoSuanTonBu", + path: "historyBilling", component: () => import( + "@/views/sales/customerManagement/invoiceManage/children/historyBilling" + ), name: "HistoryBilling", meta: { + title: "审批记录", fullPath: "/sales/customerManagement/invoiceManage/historyBilling", }, - }, { - path: "promotion", - component: () => import("@/views/sales/customerManagement/promotion"), - name: "Promotion", - meta: { - title: "生成邀请码", fullPath: "/sales/customerManagement/promotion", - }, - }, { - path: "customerManagement", - component: () => import("@/views/sales/customerManagement/customerManagement"), - name: "customerManagement", - meta: { - title: "客户折扣设置", fullPath: "/sales/customerManagement/customerManagement", - }, - }, { - path: "clientPriceSet", component: () => import( - "@/views/sales/customerManagement/clientPriceSet" - ), name: "clientPriceSet", meta: { - title: "客户售价设置", fullPath: "/sales/customerManagement/clientPriceSet", - }, - }, { - path: "invoiceManage", component: () => import( - "@/views/sales/customerManagement/invoiceManage" - ), name: "InvoiceManage", meta: { - title: "发票管理", fullPath: "/sales/customerManagement/invoiceAndContract", - }, redirect: "/sales/customerManagement/invoiceManage/invoiceAndContract", children: [{ - path: "invoiceAndContract", component: () => import( - "@/views/sales/customerManagement/invoiceManage/children/invoiceAndContract" - ), name: "InvoiceAndContract", meta: { - title: "发票与合同", fullPath: "/sales/customerManagement/invoiceManage/invoiceAndContract", - }, - }, { - path: "historyBilling", component: () => import( - "@/views/sales/customerManagement/invoiceManage/children/historyBilling" - ), name: "HistoryBilling", meta: { - title: "审批记录", fullPath: "/sales/customerManagement/invoiceManage/historyBilling", - }, - },] - },], + },] + },], }, { path: "salesAnalysis", hidden: true, component: () => import("@/views/sales/salesAnalysis"), name: "salesAnalysis", - meta: {title: "销售分析", fullPath: "/sales/salesAnalysis"}, + meta: { title: "销售分析", fullPath: "/sales/salesAnalysis" }, },], }, @@ -997,38 +1023,38 @@ export const asyncRoutes = [ children: [{ path: "sustomerDiscountApproval", component: () => import( "@/views/operation/examinationManagement/sustomerDiscountApproval" - ), name: "MyOrganization", meta: { + ), name: "MyOrganization", meta: { title: "客户折扣审批", fullPath: "/operation/examinationManagement/sustomerDiscountApproval", }, }, { path: "supplierTransferApproval", component: () => import( "@/views/operation/examinationManagement/supplierTransferApproval" - ), name: "supplierTransferApproval", meta: { + ), name: "supplierTransferApproval", meta: { title: "供应商销售收入转账审批", fullPath: "/operation/examinationManagement/supplierTransferApproval", }, }, - { - path: "distributorDiscountSetting", component: () => import( - "@/views/operation/examinationManagement/distributorDiscountSetting" - ), name: "DistributorDiscountSetting", meta: { - title: "分销商折扣设置审批", fullPath: "/operation/examinationManagement/distributorDiscountSetting", - }, + { + path: "distributorDiscountSetting", component: () => import( + "@/views/operation/examinationManagement/distributorDiscountSetting" + ), name: "DistributorDiscountSetting", meta: { + title: "分销商折扣设置审批", fullPath: "/operation/examinationManagement/distributorDiscountSetting", }, - { - path: "distributorRebateSetUp", component: () => import( - "@/views/operation/examinationManagement/distributorRebateSetUp" - ), name: "DistributorRebateSetUp", meta: { - title: "分销商回佣率设置审批", fullPath: "/operation/examinationManagement/DistributorRebateSetUp", - }, + }, + { + path: "distributorRebateSetUp", component: () => import( + "@/views/operation/examinationManagement/distributorRebateSetUp" + ), name: "DistributorRebateSetUp", meta: { + title: "分销商回佣率设置审批", fullPath: "/operation/examinationManagement/DistributorRebateSetUp", }, - { - path: "distributorCommissionTransferApproval", component: () => import( - "@/views/operation/examinationManagement/distributorCommissionTransferApproval" - ), name: "DistributorCommissionTransferApproval", meta: { - title: "分销商回佣转账审批", - fullPath: "/operation/examinationManagement/distributorCommissionTransferApproval", - }, - },], + }, + { + path: "distributorCommissionTransferApproval", component: () => import( + "@/views/operation/examinationManagement/distributorCommissionTransferApproval" + ), name: "DistributorCommissionTransferApproval", meta: { + title: "分销商回佣转账审批", + fullPath: "/operation/examinationManagement/distributorCommissionTransferApproval", + }, + },], }, { path: "supplierManagement", title: "供应商管理", @@ -1193,12 +1219,12 @@ export const asyncRoutes = [ path: "saleActives", component: () => import("@/views/operation/saleActives"), name: "SaleActives", - meta: {title: "促销活动", fullPath: "/operation/saleActives"}, + meta: { title: "促销活动", fullPath: "/operation/saleActives" }, }, { path: "voucher", component: () => import("@/views/operation/voucher"), name: "voucher", - meta: {title: "算力券管理", fullPath: "/operation/voucher"}, + meta: { title: "算力券管理", fullPath: "/operation/voucher" }, }, { path: "customerTransfer", component: () => import("@/views/operation/customerTransfer"), @@ -1223,7 +1249,7 @@ export const asyncRoutes = [ { path: "bill", component: () => import( "@/views/operation/analyze/bill/index.vue" - ), name: "bill", meta: { + ), name: "bill", meta: { title: "消费KPI分析", fullPath: "/operation/analyze/bill", }, }, @@ -1231,31 +1257,31 @@ export const asyncRoutes = [ { path: "operationalAnalysis", component: () => import( "@/views/operation/analyze/operationalAnalysis" - ), name: "operationalAnalysis", meta: { + ), name: "operationalAnalysis", meta: { title: "运营KPI分析", fullPath: "/operation/analyze/operationalAnalysis", }, }, { path: "depementAnalysis", component: () => import( "@/views/operation/analyze/depementAnalysis" - ), name: "depementAnalysis", meta: { + ), name: "depementAnalysis", meta: { title: "部门KPI分析", fullPath: "/operation/analyze/depementAnalysis", }, }, { path: "saleAnalysis", component: () => import( "@/views/operation/analyze/saleAnalysis" - ), name: "saleAnalysis", meta: { + ), name: "saleAnalysis", meta: { title: "销售KPI分析", fullPath: "/operation/analyze/saleAnalysis", }, }, { path: "incomeAnalysis", component: () => import( "@/views/operation/analyze/incomeAnalysis" - ), name: "incomeAnalysis", meta: { + ), name: "incomeAnalysis", meta: { title: "收入分析", fullPath: "/operation/analyze/incomeAnalysis", }, }, { path: "profitAnalysis", component: () => import( "@/views/operation/analyze/profitAnalysis" - ), name: "profitAnalysis", meta: { + ), name: "profitAnalysis", meta: { title: "利润分析", fullPath: "/operation/analyze/profitAnalysis", }, }, @@ -1290,25 +1316,25 @@ export const asyncRoutes = [ children: [{ path: "device", component: () => import( "@/views/operation/deviceMangement/device/index.vue" - ), name: "device", meta: { + ), name: "device", meta: { title: "设备管理", fullPath: "/operation/deviceMangement/device", }, }, { path: "deviceBillList", component: () => import( "@/views/operation/deviceMangement/deviceBillList/index.vue" - ), name: "deviceBillList", meta: { + ), name: "deviceBillList", meta: { title: "设备订单", fullPath: "/operation/deviceMangement/deviceBillList", }, }, { path: "machineRoom", component: () => import( "@/views/operation/deviceMangement/machineRoom/index.vue" - ), name: "machineRoom", meta: { + ), name: "machineRoom", meta: { title: "机房信息", fullPath: "/operation/deviceMangement/machineRoom", }, }, { path: "deviceGrid", component: () => import( "@/views/operation/deviceMangement/deviceGrid/index.vue" - ), name: "deviceGrid", meta: { + ), name: "deviceGrid", meta: { title: "统计分析", fullPath: "/operation/deviceMangement/deviceGrid", }, children: [{ path: "machineRoomGrid", @@ -1338,7 +1364,7 @@ export const asyncRoutes = [ }, { hidden: true, path: "deviceContract", component: () => import( "@/views/operation/deviceMangement/deviceContract/index.vue" - ), name: "deviceContract", // beforeRouteEnter(to, from, next) { + ), name: "deviceContract", // beforeRouteEnter(to, from, next) { // // 在路由进入前执行逻辑 // // 可以访问组件实例 `this`,但是此时还无法访问到组件实例本身 // next(vm => { @@ -1363,32 +1389,32 @@ export const asyncRoutes = [ } }, - // { - // path: "approvalBusinessConfig", - // component: () => import("@/views/operation/approval/approveBusinessConfig"), - // name: "approvalBusinessConfig", - // meta: { - // title: "业务模板配置", - // fullPath: "/operation/approval/approveBusinessConfig" - // } - // }, + // { + // path: "approvalBusinessConfig", + // component: () => import("@/views/operation/approval/approveBusinessConfig"), + // name: "approvalBusinessConfig", + // meta: { + // title: "业务模板配置", + // fullPath: "/operation/approval/approveBusinessConfig" + // } + // }, - { - path: "approvalConfig", - component: () => import("@/views/operation/approval/approvalConfig"), - name: "approvalConfig", - meta: { - title: "审核人配置", fullPath: "/operation/approval/approvalConfig" - } - }, { - path: "approvalList", - component: () => import("@/views/operation/approval/approvalList"), - name: "approvalList", - meta: { - title: "流程列表", fullPath: "/operation/approval/approvalList" - } - }] + { + path: "approvalConfig", + component: () => import("@/views/operation/approval/approvalConfig"), + name: "approvalConfig", + meta: { + title: "审核人配置", fullPath: "/operation/approval/approvalConfig" + } + }, { + path: "approvalList", + component: () => import("@/views/operation/approval/approvalList"), + name: "approvalList", + meta: { + title: "流程列表", fullPath: "/operation/approval/approvalList" + } + }] }, { path: "test", name: 'test', component: () => import("@/views/Test/index"), meta: { title: "Test", icon: "el-icon-shopping-cart-2", noCache: true, fullPath: "/Test/index", @@ -1430,13 +1456,13 @@ export const asyncRoutes = [ hidden: true, component: () => import( "@/views/finance/supplierSettlement" - ), + ), name: "SupplierSettlement", - meta: {title: "供应商结算", fullPath: "/finance/supplierSettlement"}, + meta: { title: "供应商结算", fullPath: "/finance/supplierSettlement" }, children: [{ path: "supplierSalesReconciliation", component: () => import( "@/views/finance/supplierSettlement/supplierSalesReconciliation" - ), name: "SupplierSalesReconciliation", meta: { + ), name: "SupplierSalesReconciliation", meta: { title: "供应商销售对账", fullPath: "/finance/supplierSettlement/supplierSalesReconciliation", }, }, { @@ -1451,47 +1477,47 @@ export const asyncRoutes = [ path: "supplierSettlementStatistics", component: () => import("@/views/endDay/supplierSettlementStatistics"), name: "supplierSettlementStatistics", - meta: {title: "供应商结算统计", fullPath: "/endDay/supplierSettlementStatistics"}, + meta: { title: "供应商结算统计", fullPath: "/endDay/supplierSettlementStatistics" }, }, // { - // path: "supplierSettlementStatistics/mobile", - // component: () => - // import("@/views/endDay/mobile_supplierSettlementStatistics"), - // name: "mbile_supplierSettlementStatistics", - // meta: { title: "供应商结算统计", fullPath: "/endDay/supplierSettlementStatistics", isMobile: true }, - // }, - { - path: "customerRechargeManagement", - component: () => import("@/views/finance/customerRechargeManagement"), - name: "CustomerRechargeManagement", - meta: { - title: "客户充值管理", fullPath: "/finance/customerRechargeManagement", - }, - children: [{ - path: "customersRechargeOnffline", component: () => import( - "@/views/finance/customerRechargeManagement/customersRechargeOnffline" - ), name: "CustomersRechargeOnffline", meta: { - title: "客户线下充值入账", fullPath: "/finance/customerRechargeManagement/customersRechargeOnffline", - }, - }, // { - // path: "customersRechargeOnline", - // component: () => - // import( - // "@/views/finance/customerRechargeManagement/customersRechargeOnline" - // ), - // name: "CustomersRechargeOnline", - // meta: { - // title: "客户线上充值核对入账", - // fullPath: - // "/finance/customerRechargeManagement/customersRechargeOnline", - // }, - // }, - ], - }, { - path: "financialAnalysis", - hidden: true, - component: () => import("@/views/finance/financialAnalysis"), - meta: {title: "财务分析", fullPath: "/finance/financialAnalysis"}, + // path: "supplierSettlementStatistics/mobile", + // component: () => + // import("@/views/endDay/mobile_supplierSettlementStatistics"), + // name: "mbile_supplierSettlementStatistics", + // meta: { title: "供应商结算统计", fullPath: "/endDay/supplierSettlementStatistics", isMobile: true }, + // }, + { + path: "customerRechargeManagement", + component: () => import("@/views/finance/customerRechargeManagement"), + name: "CustomerRechargeManagement", + meta: { + title: "客户充值管理", fullPath: "/finance/customerRechargeManagement", }, + children: [{ + path: "customersRechargeOnffline", component: () => import( + "@/views/finance/customerRechargeManagement/customersRechargeOnffline" + ), name: "CustomersRechargeOnffline", meta: { + title: "客户线下充值入账", fullPath: "/finance/customerRechargeManagement/customersRechargeOnffline", + }, + }, // { + // path: "customersRechargeOnline", + // component: () => + // import( + // "@/views/finance/customerRechargeManagement/customersRechargeOnline" + // ), + // name: "CustomersRechargeOnline", + // meta: { + // title: "客户线上充值核对入账", + // fullPath: + // "/finance/customerRechargeManagement/customersRechargeOnline", + // }, + // }, + ], + }, { + path: "financialAnalysis", + hidden: true, + component: () => import("@/views/finance/financialAnalysis"), + meta: { title: "财务分析", fullPath: "/finance/financialAnalysis" }, + }, ], }, @@ -1590,31 +1616,31 @@ export const asyncRoutes = [ children: [{ path: "userManagement", component: () => import("@/views/management/userRightsManagement"), - meta: {title: "用户权限管理", fullPath: "/management/userManagement"}, + meta: { title: "用户权限管理", fullPath: "/management/userManagement" }, redirect: "/management/userManagement/accountManagement", children: [{ path: "accountManagement", component: () => import( "@/views/management/userRightsManagement/accountManagement" - ), name: "accountManagement", meta: { + ), name: "accountManagement", meta: { title: "用户管理", fullPath: "/management/userManagement/accountManagement", }, }, { path: "authorityManagement", component: () => import( "@/views/management/userRightsManagement/authorityManagement" - ), name: "AuthorityManagement", meta: { + ), name: "AuthorityManagement", meta: { title: "权限管理", fullPath: "/management/userManagement/authorityManagement", }, }, { path: "organizationManagement", component: () => import( "@/views/management/userRightsManagement/organizationManagement" - ), name: "OrganizationManagement", meta: { + ), name: "OrganizationManagement", meta: { title: "组织管理", fullPath: "/management/userManagement/organizationManagement", }, },], }, { path: "serviceManagement", component: () => import("@/views/management/serviceManagement"), - meta: {title: "业务管理", fullPath: "/management/serviceManagement"}, + meta: { title: "业务管理", fullPath: "/management/serviceManagement" }, redirect: "/management/serviceManagement/orderManagement", children: [{ path: "billingManagement", @@ -1626,7 +1652,7 @@ export const asyncRoutes = [ }, { path: "financialManagement", component: () => import( "@/views/management/serviceManagement/financialManagement" - ), name: "FinancialManagement", meta: { + ), name: "FinancialManagement", meta: { title: "财务管理", fullPath: "/management/serviceManagement/financialManagement", }, },], @@ -1645,7 +1671,7 @@ export const asyncRoutes = [ title: "日末管理", component: () => import("@/views/management/dayDispose"), name: "dayDispose", - meta: {title: "日末管理", fullPath: "/management/dayDispose"}, + meta: { title: "日末管理", fullPath: "/management/dayDispose" }, },], }, @@ -1657,7 +1683,7 @@ export const asyncRoutes = [ path: "endDay", component: () => import("@/views/endDay/endDay"), name: "endDay", - meta: {title: "日末", fullPath: "/endDay/endDay"}, + meta: { title: "日末", fullPath: "/endDay/endDay" }, }, // { diff --git a/f/web-kboss/src/store/modules/ncmatch.js b/f/web-kboss/src/store/modules/ncmatch.js new file mode 100644 index 0000000..0354e74 --- /dev/null +++ b/f/web-kboss/src/store/modules/ncmatch.js @@ -0,0 +1,33 @@ + +const state = { + showProductDetail: false, + // 产品详情 + productDetail: { }, + //是否是审核 + isAudit: false, +} + +const mutations = { + SETPRODUCTDETAIL(state, productDetail) { + state.productDetail = productDetail + }, + GETPRODUCTDETAIL(state) { + return state.productDetail + }, + SHOWPRODUCTDETAIL(state, showProductDetail) { + state.showProductDetail = showProductDetail + }, + GETSHOWPRODUCTDETAIL(state) { + return state.showProductDetail + } +} +const actions = { + +} +const getters = {} +export default { + state, + actions, + mutations, + getters +} diff --git a/f/web-kboss/src/views/customer/ncApprove/index.vue b/f/web-kboss/src/views/customer/ncApprove/index.vue new file mode 100644 index 0000000..98eb162 --- /dev/null +++ b/f/web-kboss/src/views/customer/ncApprove/index.vue @@ -0,0 +1,945 @@ + + + + diff --git a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue new file mode 100644 index 0000000..a7d7278 --- /dev/null +++ b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue @@ -0,0 +1,350 @@ + + + diff --git a/f/web-kboss/src/views/customer/productMangement/commonDetail/index.vue b/f/web-kboss/src/views/customer/productMangement/commonDetail/index.vue new file mode 100644 index 0000000..84f428b --- /dev/null +++ b/f/web-kboss/src/views/customer/productMangement/commonDetail/index.vue @@ -0,0 +1,92 @@ + + + + + diff --git a/f/web-kboss/src/views/customer/productMangement/index.vue b/f/web-kboss/src/views/customer/productMangement/index.vue new file mode 100644 index 0000000..1a1cfd4 --- /dev/null +++ b/f/web-kboss/src/views/customer/productMangement/index.vue @@ -0,0 +1,46 @@ + + \ No newline at end of file diff --git a/f/web-kboss/src/views/customer/productMangement/productList/index.vue b/f/web-kboss/src/views/customer/productMangement/productList/index.vue new file mode 100644 index 0000000..691ee2b --- /dev/null +++ b/f/web-kboss/src/views/customer/productMangement/productList/index.vue @@ -0,0 +1,26 @@ + + diff --git a/f/web-kboss/src/views/homePage/ncmatch/index.vue b/f/web-kboss/src/views/homePage/ncmatch/index.vue index d338866..7e8585c 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/index.vue @@ -1,21 +1,32 @@