Administrator
2021-12-16 7434e5ccf889189d24e7f4e655fbf752a0883d5b
src/views/trainExam/singleperformance.vue
@@ -2,14 +2,19 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: liu
 * @Last Modified time: 2021-10-26 15:38:19
 * @Last Modified time: 2021-12-10 10:01:11
 * menu-name 成绩查看
 */
<template>
  <el-row class="morpheus-box-score">
    <el-col :span="24">
      <el-card>
        <div class="exam-card-body">
        <div
          :class="[
            'exam-card-body',
            $store.state.control.windowWidth >= 1024 ? 'tooRowSearch' : '',
          ]"
        >
          <avue-crud
            v-model="obj"
            class="company-box"
@@ -156,6 +161,7 @@
        menu: false,
        menuWidth: 136,
        labelWidth: 120,
        ...this.$store.state.control.clearOtherBut,
        column: [
          {
            label: "考试时间",
@@ -187,6 +193,7 @@
            prop: "examName",
            search: true,
            searchSpan: 5,
            searchLabelWidth: 80,
            slot: true,
            viewDisplay: false,
            // 表单新增时是否禁止
@@ -216,6 +223,7 @@
            prop: "securityName",
            search: true,
            searchSpan: 3,
            searchLabelWidth: 50,
            slot: true,
            viewDisplay: true,
            // 表单新增时是否禁止
@@ -245,7 +253,7 @@
            label: "身份证号",
            prop: "account",
            search: true,
            searchSpan: 4,
            searchSpan: 5,
            slot: true,
            // 表单新增时是否禁止
            addDisabled: false,
@@ -378,7 +386,7 @@
            type: "select",
            slot: true,
            search: true,
            searchSpan: 3,
            searchSpan: 4,
            dicData: [
              {
                label: "发布成绩",
@@ -480,8 +488,8 @@
            type: "select",
            slot: true,
            search: true,
            searchSpan: 3,
            width: 110,
            searchSpan: 4,
            // width: 110,
            width: 68,
            dicData: [
              {
@@ -525,7 +533,8 @@
      questionBankPage: {
        pageSize: 10,
        currentPage: 1,
        total: 16,
        total: 0,
        ...this.$store.state.control.changePageSize,
      },
      questionBankQuery: {},
      questionBankSelectionList: [],
@@ -570,7 +579,11 @@
      roleIds.forEach((roleId) => {
        getRoleDetail(roleId).then((res) => {
          var roleAlias = res.data.data.roleAlias;
          if (roleAlias == "保安公司管理员" || roleAlias == "保安") {
          if (
            roleAlias == "保安公司管理员" ||
            roleAlias == "保安" ||
            roleAlias == "分公司管理员"
          ) {
            //如果是保安公司管理员
            params["deptId"] = that.userInfo.dept_id;
          }