diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 46ac686..07b1cf8 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -106,27 +106,27 @@ const remainingRouter: AppRouteRecordRaw[] = [ } ] }, - { - path: '/Basic', - component: Layout, - name: 'Basic', - meta: {}, - redirect: '/Basic/menu', - children: [ - { - path: 'menu', - component: () => import('@/views/Basic/Menu/index.vue'), - name: 'Menu', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ep:user', - title: '菜单管理' - } - } - ] - }, + // { + // path: '/Basic', + // component: Layout, + // name: 'Basic', + // meta: {}, + // redirect: '/Basic/menu', + // children: [ + // { + // path: 'menu', + // component: () => import('@/views/Basic/Menu/index.vue'), + // name: 'Menu', + // meta: { + // canTo: true, + // hidden: true, + // noTagsView: false, + // icon: 'ep:user', + // title: '菜单管理' + // } + // } + // ] + // }, { path: '/login', component: () => import('@/views/Login/Login.vue'), diff --git a/src/views/Home/Salary/index.vue b/src/views/Home/Salary/index.vue index 5e4dbd9..1ff308f 100644 --- a/src/views/Home/Salary/index.vue +++ b/src/views/Home/Salary/index.vue @@ -15,9 +15,13 @@ /> - 查询 - 生成工资条 - 导入历史工资条 + 查询 + 生成工资条 + 导入历史工资条 @@ -256,6 +260,7 @@ style="padding: 0" v-if="!row.edit && row.yearmonth" text + v-hasPermi="['home:salary:update']" @click="handleEdit(row)" > 修改 @@ -265,6 +270,7 @@ v-else-if="row.edit && row.yearmonth" text style="padding: 0" + v-hasPermi="['home:salary:update']" @click="handleSave(row)" > 保存 @@ -274,6 +280,7 @@ v-if="row.yearmonth" style="padding: 0" text + v-hasPermi="['home:salary:sealup']" @click="handleSave(row)" > 封存