diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js index cd10ffe..79496f9 100644 --- a/f/web-kboss/src/router/index.js +++ b/f/web-kboss/src/router/index.js @@ -301,89 +301,7 @@ export const asyncRoutes = [ // name: 'productHome', // meta: {title: "概览", fullPath: "/productHome", noCache: true} // }, - { - hidden: true, - path: "/approveMangement", - component:Layout, - name: "approveMangement", - redirect: "/approveMangement/index", - meta: { fullPath: "/approveMangement", title: "审核管理", noCache: true, icon: 'el-icon-s-home' }, - children: [ - { - path: "pendingPro", - component: () => import("@/views/customer/approveMangement/pendingPro.vue"), - name: "pendingPro", - meta: { title: "待审清单", fullPath: "/approveMangement/index" }, - }, - { - path: "approvedPro", - component: () => import("@/views/customer/approveMangement/approvedPro.vue"), - name: "approvedPro", - meta: { title: "已审清单", fullPath: "/approveMangement/approvedPro" }, - }, - ] - }, - { - hidden: 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: "rejectedPro", - component: () => import("@/views/customer/productMangement/rejectedPro/index.vue"), - name: "rejectedPro", - meta: { title: "商品未通过清单", fullPath: "/productMangement/index" }, - }, - ] - }, - { - hidden: true, - path: "/menuMangement", - component:Layout, - name: "menuMangement", - redirect: "/menuMangement/index", - meta: { fullPath: "/menuMangement", title: "菜单管理", noCache: true, icon: 'el-icon-s-home' }, - children: [ - { - path: "index", - component: () => import("@/views/operation/menuMangement/index.vue"), - name: "menuMangement", - meta: { title: "菜单管理", fullPath: "/menuMangement/index" }, - }, - ] - }, - { - hidden: true, - path: "/demandMangement", - component:Layout, - name: "demandMangement", - redirect: "/demandMangement/index", - meta: { fullPath: "/demandMangement", title: "需求管理", noCache: true, icon: 'el-icon-s-home' }, - children: [ - { - path: "index", - component: () => import("@/views/customer/demand/demandList.vue"), - name: "demandList", - meta: { title: "需求发布清单", fullPath: "/demandMangement/index" }, - }, - { - path: "rejectDemand", - component: () => import("@/views/customer/demand/rejectDemand.vue"), - name: "rejectDemand", - meta: { title: "需求未通过清单", fullPath: "/demandMangement/rejectDemand" }, - }, - ] - }, { path: getHomePath() == '/ncmatchHome/index' ? "/ncmatchHome" : "/homePage", @@ -936,7 +854,90 @@ export const asyncRoutes = [ name: "ProductIndex", meta: { title: "产品最新页", fullPath: "/product/productHome/productIndex", noCache: true }, },], - }, { + }, + + { + path: "/approveMangement", + component:Layout, + name: "approveMangement", + redirect: "/approveMangement/index", + meta: { fullPath: "/approveMangement", title: "审核管理", noCache: true, icon: 'el-icon-s-home' }, + children: [ + { + path: "pendingPro", + component: () => import("@/views/customer/approveMangement/pendingPro.vue"), + name: "pendingPro", + meta: { title: "待审清单", fullPath: "/approveMangement/index" }, + }, + { + path: "approvedPro", + component: () => import("@/views/customer/approveMangement/approvedPro.vue"), + name: "approvedPro", + meta: { title: "已审清单", fullPath: "/approveMangement/approvedPro" }, + }, + + ] + }, + { + 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: "rejectedPro", + component: () => import("@/views/customer/productMangement/rejectedPro/index.vue"), + name: "rejectedPro", + meta: { title: "商品未通过清单", fullPath: "/productMangement/index" }, + }, + ] + }, + { + hidden: true, + path: "/menuMangement", + component:Layout, + name: "menuMangement", + redirect: "/menuMangement/index", + meta: { fullPath: "/menuMangement", title: "菜单管理", noCache: true, icon: 'el-icon-s-home' }, + children: [ + { + path: "index", + component: () => import("@/views/operation/menuMangement/index.vue"), + name: "menuMangement", + meta: { title: "菜单管理", fullPath: "/menuMangement/index" }, + }, + ] + }, + { + path: "/demandMangement", + component:Layout, + name: "demandMangement", + redirect: "/demandMangement/index", + meta: { fullPath: "/demandMangement", title: "需求管理", noCache: true, icon: 'el-icon-s-home' }, + children: [ + { + path: "index", + component: () => import("@/views/customer/demand/demandList.vue"), + name: "demandList", + meta: { title: "需求发布清单", fullPath: "/demandMangement/index" }, + }, + { + path: "rejectDemand", + component: () => import("@/views/customer/demand/rejectDemand.vue"), + name: "rejectDemand", + meta: { title: "需求未通过清单", fullPath: "/demandMangement/rejectDemand" }, + }, + ] + }, + + { path: "/sales", component: Layout, meta: { diff --git a/f/web-kboss/src/views/customer/approveMangement/pendingPro.vue b/f/web-kboss/src/views/customer/approveMangement/pendingPro.vue index be376cc..ee5452c 100644 --- a/f/web-kboss/src/views/customer/approveMangement/pendingPro.vue +++ b/f/web-kboss/src/views/customer/approveMangement/pendingPro.vue @@ -14,7 +14,8 @@ export default { return { role:{ role_type:'customer', - audit_status:'pending' + audit_status:'pending', + type:'app' } } }, 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 02a9ebe..ec2ed6b 100644 --- a/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue +++ b/f/web-kboss/src/views/customer/productMangement/commonBox/index.vue @@ -22,7 +22,7 @@
- {{ item.label }} @@ -32,24 +32,24 @@ 添加{{ searchData.radioType === '1' || searchData.radioType === '3' ? '需求' : '商品' }} --> -
- - + - + @@ -82,7 +82,7 @@ - +