| | |
| | | plain |
| | | icon="el-icon-download" |
| | | @click="handleExport" |
| | | >清册生成 |
| | | >清册打印 |
| | | </el-button> |
| | | <el-button |
| | | style="display:none" |
| | | type="success" |
| | | size="small" |
| | | plain |
| | | icon="el-icon-receiving" |
| | | @click="handleImport" |
| | | >清册打印 |
| | | >清册导入 |
| | | </el-button> |
| | | </template> |
| | | |
| | |
| | | :type="type" |
| | | size="small" |
| | | icon="el-icon-receiving" |
| | | :disabled="row.applyStatus == 4" |
| | | :disabled="row.candidateNo==''" |
| | | @click="handlePrint(row)" |
| | | >准考证打印 |
| | | </el-button> |
| | |
| | | |
| | | export default { |
| | | data() { |
| | | var examId = this.$route.query.id; |
| | | return { |
| | | obj: { |
| | | name: "张三", |
| | |
| | | menuWidth: 200, |
| | | |
| | | column: [ |
| | | { |
| | | label: "保安姓名", |
| | | prop: "userId", |
| | | type: "tree", |
| | | dicUrl: "", |
| | | hide: true, |
| | | slot: true, |
| | | searchSpan: 4, |
| | | // 表单新增时是否禁止 |
| | | addDisabled: false, |
| | | // 表单新增时是否可见 |
| | | addDisplay: true, |
| | | // 表单新增时是否为查看模式 |
| | | addDetail: false, |
| | | // 表单编辑时是否禁止 |
| | | editDisabled: true, |
| | | viewDisabled: false, |
| | | // 表单编辑时是否可见 |
| | | editDisplay: true, |
| | | viewDisplay: false, |
| | | // 表单编辑时是否为查看模式 |
| | | editDetail: false, |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | rules: [ |
| | | { |
| | | required: true, |
| | | message: "请选择保安姓名", |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | width: 80, |
| | | }, |
| | | // { |
| | | // label: "保安姓名", |
| | | // prop: "userId", |
| | | // type: "tree", |
| | | // dicUrl: "", |
| | | // hide: true, |
| | | // slot: true, |
| | | // searchSpan: 4, |
| | | // // 表单新增时是否禁止 |
| | | // addDisabled: false, |
| | | // // 表单新增时是否可见 |
| | | // addDisplay: true, |
| | | // // 表单新增时是否为查看模式 |
| | | // addDetail: false, |
| | | // // 表单编辑时是否禁止 |
| | | // editDisabled: true, |
| | | // viewDisabled: false, |
| | | // // 表单编辑时是否可见 |
| | | // editDisplay: true, |
| | | // viewDisplay: false, |
| | | // // 表单编辑时是否为查看模式 |
| | | // editDetail: false, |
| | | // props: { |
| | | // label: "title", |
| | | // value: "id", |
| | | // }, |
| | | // rules: [ |
| | | // { |
| | | // required: true, |
| | | // message: "请选择保安姓名", |
| | | // trigger: "blur", |
| | | // }, |
| | | // ], |
| | | // width: 80, |
| | | // }, |
| | | { |
| | | label: "保安姓名", |
| | | prop: "realName", |
| | |
| | | res: "data", |
| | | }, |
| | | tip: "请上传 .xls,.xlsx 标准格式文件", |
| | | action: "/api/apply/import-apply", |
| | | action: "/api/apply/import-applys?examId="+examId, |
| | | }, |
| | | { |
| | | label: "模板下载", |
| | |
| | | created() { |
| | | console.log(this.userInfo); |
| | | |
| | | if (this.userInfo.role_name.indexOf("ksxtadmin") != -1) { |
| | | this.questionBankOption.column[0].dicUrl = |
| | | "/api/blade-system/dept/lazy-tree-user?parentId="; |
| | | } else { |
| | | this.questionBankOption.column[0].dicUrl = |
| | | "/api/blade-system/dept/lazy-tree-user?parentId=" + |
| | | this.userInfo.dept_id; |
| | | } |
| | | // if (this.userInfo.role_name.indexOf("ksxtadmin") != -1) { |
| | | // this.questionBankOption.column[0].dicUrl = |
| | | // "/api/blade-system/dept/lazy-tree-user?parentId="; |
| | | // } else { |
| | | // this.questionBankOption.column[0].dicUrl = |
| | | // "/api/blade-system/dept/lazy-tree-user?parentId=" + |
| | | // this.userInfo.dept_id; |
| | | // } |
| | | }, |
| | | mounted() { |
| | | var flag = false, |
| | |
| | | questionBankOnLoad(page, params = {}) { |
| | | // debugger; |
| | | params["examId"] = this.$route.query.id; |
| | | // params["applyStatus"] = 2; |
| | | this.questionBankLoading = false; |
| | | getApplyList( |
| | | page.currentPage, |