diff --git a/src/router/route.js b/src/router/route.js index 24daa85..022bf98 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -12,7 +12,6 @@ * } */ - /** * 定义动态路由 * @description 未开启 isRequestRoutes 为 true 时使用(前端控制路由),开启时第一个顶级 children 的路由将被替换成接口请求回来的路由数据 @@ -58,7 +57,7 @@ export const dynamicRoutes = [ isAffix: false, isIframe: false, roles: ['admin', 'chief'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-Bell', zh: '响应管理', }, children: [ @@ -67,14 +66,14 @@ export const dynamicRoutes = [ name: 'pending', component: () => import('/@/views/responseManagement/pending/index.vue'), meta: { - title: 'pending', + title: 'Pending', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'pending', }, }, @@ -83,14 +82,14 @@ export const dynamicRoutes = [ name: 'responding', component: () => import('/@/views/responseManagement/responding/index.vue'), meta: { - title: 'responding', + title: 'Responding', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'responding', }, }, @@ -99,14 +98,14 @@ export const dynamicRoutes = [ name: 'responded', component: () => import('/@/views/responseManagement/responded/index.vue'), meta: { - title: 'responded', + title: 'Responded', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'responded', }, }, @@ -115,14 +114,14 @@ export const dynamicRoutes = [ name: 'rejected', component: () => import('/@/views/responseManagement/rejected/index.vue'), meta: { - title: 'rejected', + title: 'Rejected', isLink: '', isHide: false, isKeepAlive: true, isAffix: false, isIframe: false, roles: ['admin'], - icon: 'ele-WarnTriangleFilled', + icon: 'ele-List', zh: 'rejected', }, }, @@ -197,7 +196,7 @@ export const dynamicRoutes = [ name: 'role', component: () => import('/@/views/systemManagement/role/index.vue'), meta: { - title: 'role', + title: 'Role', isLink: '', isHide: false, isKeepAlive: true, @@ -212,7 +211,7 @@ export const dynamicRoutes = [ name: 'menu', component: () => import('/@/views/systemManagement/menu/index.vue'), meta: { - title: 'menu', + title: 'Menu', isLink: '', isHide: false, isKeepAlive: true, diff --git a/src/views/responseManagement/responding/component/selectUserNew.vue b/src/views/responseManagement/responding/component/selectUserNew.vue index c79bbd5..076b841 100644 --- a/src/views/responseManagement/responding/component/selectUserNew.vue +++ b/src/views/responseManagement/responding/component/selectUserNew.vue @@ -202,11 +202,9 @@ const sendToLeft = (index,row) => { }; const sendToRight = (index,row,type) => { - console.log(state.selectType) if (type==0){ let userStatus =row.userStatus==0?'1793193529859244033':'1123598816738675203' - console.log(userStatus) - if (state.tableDataNew.data.length>0){ + if (state.selectData.length>0){ if (state.selectData.length==1){ if (state.selectData[0].roleId==userStatus){ state.tableDataNew.data.splice(index, 1) @@ -349,6 +347,7 @@ const save = async () => { adminId: state.selectData[i].userId, adminName: state.selectData[i].userName, allocation: 'YES', + applyForCount: 0, }; let res = await submitNew(params).then((da) => { ElMessage.success('B2 success');