| | |
| | | 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> |
| | |
| | | examEndTime: '', |
| | | pageNum: 1, |
| | | pageSize: 10 |
| | | } |
| | | }, |
| | | roles: [] |
| | | }; |
| | | }, |
| | | created() { |
| | | this.roles = store.getters && store.getters.roles |
| | | console.log(this.roles,'role') |
| | | // if (roles.includes('mk')) { |
| | | // this.form.isCm = 1 |
| | | // } |
| | | this.getList() |
| | | this.getTypeList() |
| | | this.getArea() |