| | |
| | | @click="openExamApply({},'add')" |
| | | v-hasPermi="['system:experts:add']" |
| | | >考试计划申请</el-button> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | size="mini" |
| | | @click="openExamRegist()" |
| | | >考试报名</el-button> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | size="mini" |
| | | @click="openGrades()" |
| | | >成绩查询</el-button> |
| | | </el-col> |
| | | <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> |
| | | </el-row> |
| | |
| | | @pagination="getList" |
| | | /> |
| | | <examApply-dialog ref="examApplyDialog" @getList="getList" :typeList="typeList"></examApply-dialog> |
| | | <exam-regist-dialog ref="examRegistDialog" @getList="getList" :typeList="typeList"></exam-regist-dialog> |
| | | <exam-grades-dialog ref="examGradesDialog" @getList="getList" :typeList="typeList"></exam-grades-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import examApplyDialog from "@/views/commonMod/examApply/components/examApplyDialog"; |
| | | import examRegistDialog from '@/views/commonMod/examApply/components/examRegistDialog.vue' |
| | | import examGradesDialog from '@/views/commonMod/examApply/components/examGradesDialog.vue' |
| | | import {getOperatePage} from "@/api/coalMine/operateType"; |
| | | import {delExamApply, getExamPage} from "@/api/commonMod/examApply"; |
| | | import {getAreaList} from "@/api/coalMine/placeManage/train"; |
| | | import store from '@/store' |
| | | export default { |
| | | name: "examApply", |
| | | dicts: [], |
| | | components: { |
| | | examApplyDialog |
| | | examApplyDialog, |
| | | examRegistDialog, |
| | | examGradesDialog |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | openExamApply(data,type){ |
| | | this.$refs.examApplyDialog.openDialog(data,type); |
| | | }, |
| | | openExamRegist() { |
| | | const data = {} |
| | | const userInfo = store.getters && store.getters.userInfo |
| | | data.name = userInfo.nickName |
| | | data.sex = userInfo.sex == 0 ? '男':'女' |
| | | |
| | | this.$refs.examRegistDialog.openDialog(data); |
| | | }, |
| | | openGrades() { |
| | | this.$refs.examGradesDialog.openDialog(); |
| | | }, |
| | | alpop(value){ |
| | | alert(value) |
| | | } |