| | |
| | | <el-table-column label="职务" prop="duty" align="center"/> |
| | | <el-table-column label="一人一档" prop="duty" align="center" width="120"> |
| | | <template #default="scope"> |
| | | <el-button link type="primary">培训考试记录</el-button> |
| | | <el-button link type="primary" @click="openRecord(scope.row)">培训考试记录</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180"> |
| | |
| | | /> |
| | | |
| | | <stu-dialog ref="dialogRef" @getList=getList></stu-dialog> |
| | | <record ref="recordRef" @getList=getList></record> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import {ElMessage, ElMessageBox} from "element-plus"; |
| | | import {delCompany, getCompany} from "@/api/onlineEducation/company"; |
| | | import stuDialog from "./components/stuDialog.vue" |
| | | import record from './components/trainRecord.vue' |
| | | import {delUser, getUser} from "@/api/onlineEducation/user"; |
| | | import Cookies from "js-cookie"; |
| | | import {delStudent, getStudent} from "@/api/onlineEducation/student"; |
| | |
| | | const { proxy } = getCurrentInstance(); |
| | | const loading = ref(false); |
| | | const dialogRef = ref(); |
| | | const recordRef =ref(); |
| | | const data = reactive({ |
| | | queryParams: { |
| | | pageNum: 1, |
| | |
| | | } |
| | | }) |
| | | } |
| | | const openRecord = (val) => { |
| | | recordRef.value.openDialog(val) |
| | | } |
| | | |
| | | </script> |