From db905ecd14f63dba9337b4f4715584ef2d7e8c7e Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 07 三月 2025 14:45:00 +0800 Subject: [PATCH] 修改 --- src/views/commonMod/examApply/index.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/commonMod/examApply/index.vue b/src/views/commonMod/examApply/index.vue index 4c38f58..e129276 100644 --- a/src/views/commonMod/examApply/index.vue +++ b/src/views/commonMod/examApply/index.vue @@ -41,19 +41,20 @@ plain size="mini" @click="openExamApply({},'add')" - v-hasPermi="['system:experts:add']" >考试计划申请</el-button> <el-button type="primary" plain size="mini" @click="openExamRegist()" + v-if="!roles.find(i=>i=='feimeiexam') && !roles.find(i=>i=='mkexam')" >考试报名</el-button> <el-button type="primary" plain size="mini" @click="openGrades()" + v-if="!roles.find(i=>i=='feimeiexam') && !roles.find(i=>i=='mkexam')" >成绩查询</el-button> </el-col> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> @@ -89,7 +90,7 @@ {{scope.row.siteContacts + '(' + scope.row.siteContactsPhone + ')'}} </template> </el-table-column> - <el-table-column label="申请提交时间" align="center" prop="updateTime" /> + <el-table-column label="考试申请时间" align="center" prop="updateTime" /> <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <template #default="scope"> <el-button @@ -174,10 +175,15 @@ examEndTime: '', pageNum: 1, pageSize: 10 - } + }, + roles: [] }; }, created() { + this.roles = store.getters && store.getters.roles + // if (roles.includes('mk')) { + // this.form.isCm = 1 + // } this.getList() this.getTypeList() this.getArea() -- Gitblit v1.9.2