| | |
| | | viewBtn: this.vaildData(null, false), |
| | | delBtn: this.vaildData(null, false), |
| | | editBtn: this.vaildData(this.permission.performance__edit, false), |
| | | excelBtn: this.vaildData(this.permission.performance_export, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | viewBtn: this.vaildData(null, false), |
| | | delBtn: this.vaildData(null, false), |
| | | editBtn: this.vaildData(this.permission.user_edit, false), |
| | | excelBtn: this.vaildData(this.permission.singleperformance_export, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | viewBtn: this.vaildData(this.permission.subject_view, false), |
| | | delBtn: this.vaildData(this.permission.subject_delete, false), |
| | | editBtn: this.vaildData(this.permission.subject_edit, false), |
| | | excelBtn: this.vaildData(this.permission.subject_report, false), |
| | | }; |
| | | }, |
| | | ids() { |
| | |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(null, false), |
| | | viewBtn: this.vaildData(this.permission.trainExam_performance_view |
| | | , false), |
| | | viewBtn: this.vaildData(this.permission.trainExam_performance_view, false), |
| | | delBtn: this.vaildData(null, false), |
| | | editBtn: this.vaildData(this.permission.trainExam_performance_edit, false), |
| | | excelBtn: this.vaildData(this.permission.trainExam_performance_export, false), |
| | | }; |
| | | }, |
| | | }, |
| | |
| | | :table-loading="questionBankLoading" |
| | | :data="questionBankData" |
| | | ref="questionBankCrud" |
| | | :permission="permissionList" |
| | | :page.sync="questionBankPage" |
| | | @on-load="questionBankOnLoad" |
| | | @selection-change="questionBankSelectionChange" |
| | |
| | | |
| | | <script> |
| | | import { getList, update } from "@/api/examapi/performance"; |
| | | |
| | | import { mapGetters } from "vuex"; |
| | | export default { |
| | | data() { |
| | | var validatePass = (rule, value, callback) => { |
| | |
| | | }, |
| | | created() {}, |
| | | mounted() {}, |
| | | computed:{ |
| | | ...mapGetters(["userInfo", "permission"]), |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(null, false), |
| | | viewBtn: this.vaildData(null, false), |
| | | delBtn: this.vaildData(null, false), |
| | | editBtn: this.vaildData(null, false), |
| | | excelBtn: this.vaildData(this.permission.trainExam_performance_export, false), |
| | | }; |
| | | }, |
| | | }, |
| | | methods: { |
| | | //保安证证查看 |
| | | securityPrint(row) { |