shuishen
2021-11-05 3a2d7d729aaeada800616ebd60eec5f42066670f
删除无用信息
18 files modified
174 ■■■■■ changed files
src/components/Subjects/Choices/index.vue 5 ●●●●● patch | view | raw | blame | history
src/components/Subjects/PracticalOperation/index.vue 4 ●●●● patch | view | raw | blame | history
src/page/index/tags.vue 1 ●●●● patch | view | raw | blame | history
src/page/login/codelogin.vue 2 ●●●●● patch | view | raw | blame | history
src/views/accreditationRecords/accreditationRecords.vue 1 ●●●● patch | view | raw | blame | history
src/views/applydetailed/index.vue 3 ●●●● patch | view | raw | blame | history
src/views/applydetailed/papers.vue 1 ●●●● patch | view | raw | blame | history
src/views/applyexam/index.vue 87 ●●●●● patch | view | raw | blame | history
src/views/dispatch/dispatch.vue 4 ●●●● patch | view | raw | blame | history
src/views/dispatch/dispatchChildoperable.vue 8 ●●●●● patch | view | raw | blame | history
src/views/dispatch/dispatchChildoperableSee.vue 7 ●●●●● patch | view | raw | blame | history
src/views/dispatchChild/index.vue 7 ●●●●● patch | view | raw | blame | history
src/views/exam/addsubject.vue 2 ●●●●● patch | view | raw | blame | history
src/views/exam/examSubjects.vue 4 ●●● patch | view | raw | blame | history
src/views/exam/examination.vue 3 ●●●● patch | view | raw | blame | history
src/views/exam/papers.vue 1 ●●●● patch | view | raw | blame | history
src/views/exam/performance.vue 1 ●●●● patch | view | raw | blame | history
src/views/securityGuard/securityGuardDetail.vue 33 ●●●● patch | view | raw | blame | history
src/components/Subjects/Choices/index.vue
@@ -57,16 +57,11 @@
            this.subjectInfo = subject
            if (subject.hasOwnProperty('examSubjectOptions')) {
                this.options = subject.examSubjectOptions
                console.log(this.options)
            }
            if (subject.hasOwnProperty('answer')) {
                console.log(subject.answer);
                this.setAnswer(subject.answer)
            }
            this.index = index + '.'
            console.log(subject, subjectCount, index, this.options, 5656565656)
        },
        getSubjectInfo () {
            this.subjectInfo.options = this.options
src/components/Subjects/PracticalOperation/index.vue
@@ -54,7 +54,6 @@
            return this.userAnswer
        },
        setAnswer (answer, option) {
            console.log(answer);
            if (answer != '') {
                this.userAnswer = answer
@@ -136,9 +135,6 @@
                    }
                })
            }
            console.log(this.userAnswer)
        },
src/page/index/tags.vue
@@ -98,7 +98,6 @@
          path = "";
        for (var k in d) {
          if (d[k].peixun == true) {
            // console.log(d[k]);
            path = d[k].path;
          }
        }
src/page/login/codelogin.vue
@@ -166,7 +166,6 @@
  mounted() {
    var that = this;
    ss().then((res) => {
      console.log(that.ergodicData(res.data.data), 898989);
      that.dic = that.ergodicData(res.data.data);
    });
  },
@@ -236,7 +235,6 @@
    },
    async allmedia() {
      ss().then((res) => {
        console.log(res, 1323);
        res.data.data.forEach((element) => {
          this.options.push({
            deptname: element.dept_name,
src/views/accreditationRecords/accreditationRecords.vue
@@ -489,7 +489,6 @@
        type: "warning",
      }).then(() => {
        //获取查询条件
        // console.log(this.questionBankSearch, 456);
        const { releaseTimeRange } = this.questionBankSearch;
        if (releaseTimeRange) {
            this.questionBankSearch['startTime'] = releaseTimeRange[0];
src/views/applydetailed/index.vue
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-07-19 19:39:45
 * @Last Modified time: 2021-11-05 12:02:28
 * menu-name 报名考试
 */
<template>
@@ -475,7 +475,6 @@
    };
  },
  created() {
    console.log(this.userInfo);
    // if (this.userInfo.role_name.indexOf("ksxtadmin") != -1) {
    //   this.questionBankOption.column[0].dicUrl =
src/views/applydetailed/papers.vue
@@ -14,7 +14,6 @@
  created(){
      var d = this.$route.query;
      this.url += "?data=" + JSON.stringify(d);
      console.log(d,11);
  },
  mounted() {
    var flag = false,
src/views/applyexam/index.vue
@@ -2,16 +2,16 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-07-19 19:39:45
 * @Last Modified time: 2021-11-05 12:02:26
 * menu-name 报名考试
 */
<template>
  <el-row class="morpheus-box-apply-exam">
    <el-col :span="24" class="hasButOne">
        <el-col :span="24"
                class="hasButOne">
      <el-card>
        <div class="exam-card-body">
          <avue-crud
            v-model="obj"
                    <avue-crud v-model="obj"
            class="company-box"
            :option="questionBankOption"
            :search.sync="questionBankSearch"
@@ -26,8 +26,7 @@
            @current-change="questionBankCurrentChange"
            @size-change="questionBankSizeChange"
            @row-save="questionBankRowSave"
            @row-del="questionBankRowDel"
          >
                               @row-del="questionBankRowDel">
            <!-- 自定义按钮 -->
            <!-- <template slot="menuLeft">
                            <el-button type="danger"
@@ -59,110 +58,91 @@
                        </template> -->
            <!-- 自定义按钮 -->
            <template slot="menuLeft">
              <el-button
                type="primary"
                            <el-button type="primary"
                size="small"
                plain
                icon="el-icon-folder-checked"
                @click="handleBatchExam"
                v-if="permission.applyexam_exam"
                >生成考试
                                       v-if="permission.applyexam_exam">生成考试
              </el-button>
              <!-- v-if="examPersission" -->
              <el-button
                type="primary"
                            <el-button type="primary"
                size="small"
                plain
                icon="el-icon-folder-checked"
                v-if="permission.applyexam_import"
               @click="handleImport"
                >批量报名
                                       @click="handleImport">批量报名
              </el-button>
            </template>
            <template slot-scope="{ type, row }" slot="menu">
              <el-button
                :type="type"
                        <template slot-scope="{ type, row }"
                                  slot="menu">
                            <el-button :type="type"
                size="small"
                icon="el-icon-refresh-left"
                v-if="permission.applyexam_cancel"
                :disabled="row.isApply == 2"
                @click="handleCancel(row)"
                >取消报名
                                       @click="handleCancel(row)">取消报名
              </el-button>
              <el-button
                style="display: none"
                            <el-button style="display: none"
                :type="type"
                size="small"
                icon="el-icon-folder-checked"
                :disabled="row.applyStatus == 4"
                @click="handleAudit(row)"
                >审核
                                       @click="handleAudit(row)">审核
              </el-button>
              <el-button
                :type="type"
                            <el-button :type="type"
                size="small"
                icon="el-icon-receiving"
                v-if="permission.applyexam_print && row.candidateNo!=''"
                @click="handlePrint(row)"
                >准考证打印
                                       @click="handlePrint(row)">准考证打印
              </el-button>
            </template>
            <template slot-scope="{ row }" slot="age">
                        <template slot-scope="{ row }"
                                  slot="age">
              {{ row.age == -1 ? "" : row.age }}
            </template>
          </avue-crud>
          <el-dialog
            title="考试资格审核"
                    <el-dialog title="考试资格审核"
            :visible.sync="dialogFormVisible"
            modal-append-to-body="false"
            append-to-body="true"
            :close-on-click-model="true"
          >
            <avue-form
              ref="formAudit"
                               :close-on-click-model="true">
                        <avue-form ref="formAudit"
              v-model="Audit"
              :option="optionAudit"
              @reset-change="emptytChange"
              @submit="submit"
            ></avue-form>
                                   @submit="submit"></avue-form>
          </el-dialog>
          <el-dialog
            title="批量报名导入"
                    <el-dialog title="批量报名导入"
            append-to-body
            :visible.sync="excelBox"
            width="555px"
          >
            <avue-form
              :option="excelOption"
                               width="555px">
                        <avue-form :option="excelOption"
              v-model="excelForm"
              :upload-after="uploadAfter"
            >
                                   :upload-after="uploadAfter">
              <template slot="excelTemplate">
                <el-button type="primary" @click="handleTemplate">
                                <el-button type="primary"
                                           @click="handleTemplate">
                  点击下载<i class="el-icon-download el-icon--right"></i>
                </el-button>
              </template>
            </avue-form>
          </el-dialog>
          <el-dialog
            title="考试生成"
                    <el-dialog title="考试生成"
            append-to-body
            :visible.sync="dialogExamFormVisible"
            width="900px"
            @close="closeDialog"
          >
            <avue-form
              ref="formExamApply"
                               @close="closeDialog">
                        <avue-form ref="formExamApply"
              v-model="examApply"
              :option="optionExamApply"
              @reset-change="emptytChange"
              @submit="submitExamApply"
            ></avue-form>
                                   @submit="submitExamApply"></avue-form>
          </el-dialog>
        </div>
      </el-card>
@@ -868,7 +848,6 @@
    },
  },
  created() {
    console.log(this.userInfo);
    if (this.userInfo.role_name.indexOf("ksxtadmin") != -1) {
      this.examPersission = true;
src/views/dispatch/dispatch.vue
@@ -615,7 +615,6 @@
      this.onLoad(this.page, this.query);
    },
    rowClick(row) {
      // console.log(row);
      window.localStorage.setItem("paqiandata", JSON.stringify(row));
      this.$router.push({
        path: "/dispatchChild",
@@ -668,18 +667,15 @@
      if (this.useifid != 266) {
        values["deptId"] = this.useifid;
      }
      // console.log(values);
      if (this.userInfo.role_name == "公安管理员") {
        values["jurisdiction"] = that.userInfo.jurisdiction;
      }
      console.log(params);
      getdata(
        page.currentPage,
        page.pageSize,
        // Object.assign(params, this.query)
        values
      ).then((res) => {
        // console.log(res);
        const data = res.data.data;
        this.page.total = data.total;
        this.data = data.records;
src/views/dispatch/dispatchChildoperable.vue
@@ -281,7 +281,6 @@
  created() {
    var that = this;
    if (this.userInfo.role_name == "保安公司管理员") {
      console.log("保安公司管理员登入");
      const deptColumn = this.findObject(this.option1.column, "deptId");
      deptColumn.search = false;
      deptColumn.hide = true;
@@ -329,7 +328,6 @@
        // this.onLoad(this.page);
      } else if (column.prop == "tab2") {
        // this.loading = false;
        console.log(document.getElementsByClassName("el-card__body")[0]);
        this.onLoad1(this.page1); //第二个表格不会自动执行
      }
      // this.$message.success(JSON.stringify(column));
@@ -423,10 +421,8 @@
    },
    selectionChange1(list) {
      this.selectionList1 = list;
      // console.log(this.selectionList1.length);
    },
    handleDelete1() {
      console.log(this.selectionList1);
      if (this.selectionList1.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
@@ -449,7 +445,6 @@
        });
    },
    refreshChange1() {
      // console.log(4534)
      this.onLoad1(this.page1, this.query1);
    },
@@ -527,7 +522,6 @@
        this.data1 = data.records;
        this.loading1 = false;
        // this.$nextTick(() => this.$refs.crudrec1.dicInit("cascader"));
        console.log(this.form, 111111);
      });
    },
    initData(type) {
@@ -538,7 +532,6 @@
            this.option1.column,
            "dispatcherUnitId"
          );
          // console.log(res.data.data, 111);
          dispatcherUnitIdColumn.dicData = res.data.data;
        });
      }
@@ -562,7 +555,6 @@
  //   //   this.initData();
  //   // }
  //   deps(){
  //     console.log(this.deps,5646646)
  //   }
  // },
  mounted() {
src/views/dispatch/dispatchChildoperableSee.vue
@@ -281,12 +281,10 @@
    };
  },
  created() {
    console.log(this.userInfo);
    this.option1.column[1]["value"] = this.userInfo.dept_id;
    this.option1.column[3]["value"] = this.userInfo.Id;
    this.option1.column[4]["value"] = this.userInfo.nick_name;
    if (this.userInfo.role_name == "保安公司管理员") {
      console.log("保安公司管理员登入");
      const deptColumn = this.findObject(this.option1.column, "deptId");
      deptColumn.search = false;
    } else {
@@ -411,10 +409,8 @@
    },
    selectionChange1(list) {
      this.selectionList1 = list;
      // console.log(this.selectionList1.length);
    },
    handleDelete1() {
      console.log(this.selectionList1);
      if (this.selectionList1.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
@@ -437,7 +433,6 @@
        });
    },
    refreshChange1() {
      // console.log(4534)
      this.onLoad1(this.page1, this.query1);
    },
@@ -520,7 +515,6 @@
            this.option1.column,
            "dispatcherUnitId"
          );
          // console.log(res.data.data, 111);
          dispatcherUnitIdColumn.dicData = res.data.data;
        });
      }
@@ -544,7 +538,6 @@
  //   //   this.initData();
  //   // }
  //   deps(){
  //     console.log(this.deps,5646646)
  //   }
  // },
  mounted() {
src/views/dispatchChild/index.vue
@@ -164,7 +164,6 @@
        // this.onLoad(this.page);
      } else if (column.prop == "tab2") {
        // this.loading = false;
        // console.log(document.getElementsByClassName("el-card__body")[0]);
        this.onLoad1(this.page1); //第二个表格不会自动执行
      }
      // this.$message.success(JSON.stringify(column));
@@ -285,7 +284,6 @@
        });
    },
    refreshChange1() {
      // console.log(4534)
      this.onLoad1(this.page1, this.query1);
    },
@@ -296,13 +294,11 @@
      // params["name"] = this.name;
      // params["dispatcherCompany"] = this.dispatcherCompany;
      params["dispatcherUnitId"] = this.id;
      // console.log(params, "get");
      getdata1(
        page.currentPage,
        page.pageSize,
        Object.assign(params, this.query)
      ).then((res) => {
        // console.log(res);
        const data = res.data.data;
        this.page1.total = data.total;
        this.data1 = data.records;
@@ -310,7 +306,6 @@
        //   this.data1[k].securityName = this.data1[k].securityName.split(",");
        //   this.data1[k].securityName = this.data1[k].securityName.join(" | ");
        // }
        console.log(this.data1, 1);
        this.loading1 = false;
      });
    },
@@ -344,7 +339,6 @@
        if (i == 1) {
          // console.log("存在");
        } else {
          // console.log("已删除");
          this.obj0 = {};
          this.obj0.name = row.name + " 该派遣单位已删除";
@@ -353,7 +347,6 @@
        }
      }
    } else {
      // console.log("no");
      this.obj0.name = " 未选择派遣单位";
    }
  },
src/views/exam/addsubject.vue
@@ -787,8 +787,6 @@
        data: this.index,
      });
      this.inputs[`input${this.index + 1}`] = "";
      console.log(this.inputs);
      console.log(this.list, 111);
    },
    //减一行
    deleteRows(index) {
src/views/exam/examSubjects.vue
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-07-18 15:47:06
 * @Last Modified time: 2021-11-05 12:02:20
 * menu-name 题目管理
 */
<template>
@@ -88,7 +88,6 @@
    data () {
        var validatePass = (rule, value, callback) => {
            console.log(value)
            if (value == undefined || value == '') {
                callback(new Error('请输入分数'));
                return;
@@ -291,7 +290,6 @@
        },
        questionBankRowSave (row, done, loading) {
            console.log(row, 898989);
            add(row).then(() => {
                this.initFlag = false;
src/views/exam/examination.vue
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: Morpheus
 * @Last Modified time: 2021-07-18 17:11:18
 * @Last Modified time: 2021-11-05 12:02:20
 * menu-name 试卷管理
 */
<template>
@@ -96,7 +96,6 @@
    data () {
        var validatePass = (rule, value, callback) => {
            console.log(value)
            if (value == undefined || value == '') {
                callback(new Error('请输入分数'));
                return;
src/views/exam/papers.vue
@@ -16,7 +16,6 @@
  created(){
      var d = this.$route.query;
      this.url += "?data=" + JSON.stringify(d);
      console.log(d,11);
  },
  mounted() {
    var flag = false,
src/views/exam/performance.vue
@@ -120,7 +120,6 @@
export default {
  data() {
    var validatePass = (rule, value, callback) => {
      console.log(value);
      if (value == undefined || value == "") {
        callback(new Error("请输入实操成绩"));
        return;
src/views/securityGuard/securityGuardDetail.vue
@@ -1,12 +1,14 @@
<template>
  <div class="dispatch">
    <avue-tabs :option="optionTABS" @change="handleChangeTABS"></avue-tabs>
        <avue-tabs :option="optionTABS"
                   @change="handleChangeTABS"></avue-tabs>
    <span v-if="typeTABS.prop === 'tab1'">
      <avue-form ref="form" v-model="obj0" :option="option0"> </avue-form>
            <avue-form ref="form"
                       v-model="obj0"
                       :option="option0"> </avue-form>
    </span>
    <span v-else-if="typeTABS.prop === 'tab2'">
      <avue-crud
        :option="option1"
            <avue-crud :option="option1"
        :data="data1"
        :page.sync="page1"
        :table-loading="loading1"
@@ -15,13 +17,11 @@
        @row-del="rowDel1"
        @current-change="CurrentChange1"
        @refresh-change="refreshchange1"
        @size-change="SizeChange1"
      >
                       @size-change="SizeChange1">
      </avue-crud>
    </span>
    <span v-else-if="typeTABS.prop === 'tab3'">
      <avue-crud
        :option="option2"
            <avue-crud :option="option2"
        :data="data2"
        :page.sync="page2"
        @row-save="rowSave2"
@@ -30,8 +30,7 @@
        :table-loading="loading2"
        @current-change="CurrentChange2"
        @size-change="SizeChange2"
        @refresh-change="refreshchange2"
      >
                       @refresh-change="refreshchange2">
      </avue-crud>
    </span>
    <span v-else-if="typeTABS.prop === 'tab4'">
@@ -72,14 +71,18 @@
          </span>
        </div>
      </div> -->
      <baoanz :data="obj0" v-if="hold == 1"></baoanz>
      <div v-else style="width: 100%; text-align: center; padding-top: 20px">
            <baoanz :data="obj0"
                    v-if="hold == 1"></baoanz>
            <div v-else
                 style="width: 100%; text-align: center; padding-top: 20px">
        无上岗证
      </div>
    </span>
    <span v-else-if="typeTABS.prop === 'tab5'">
      <securityCertificate :data="obj0" v-if="hold == 1"></securityCertificate>
      <div v-else style="width: 100%; text-align: center; padding-top: 20px">
            <securityCertificate :data="obj0"
                                 v-if="hold == 1"></securityCertificate>
            <div v-else
                 style="width: 100%; text-align: center; padding-top: 20px">
        无保安员证
      </div>
    </span>
@@ -514,7 +517,7 @@
.baz-m-body {
  width: 750px;
  height: 550px;
  background-image: url("/img/register/bazbj1.png");
    background-image: url('/img/register/bazbj1.png');
  background-size: 100% 100%;
  .bmb-heard {
    font-size: 4rem;