+
liuyg
2021-11-26 e810a0bc9726ecb475658ac7fa1695b8c942af6b
+
2 files modified
39 ■■■■■ changed files
src/views/qualificationExamination/qualificationExamination.vue 34 ●●●● patch | view | raw | blame | history
src/views/securityGuardManagement/registerOnce.vue 5 ●●●●● patch | view | raw | blame | history
src/views/qualificationExamination/qualificationExamination.vue
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-07-07 17:30:05
 * @Last Modified by: liu
 * @Last Modified time: 2021-10-22 17:27:47
 * @Last Modified time: 2021-11-26 09:53:14
 * menu-name 监管信息
 */
<template>
@@ -234,6 +234,17 @@
            prop: "examinationType",
            // overHidden: true,
            sortable: true,
            type: "select",
            dicData: [
              {
                label: "正常",
                value: "0",
              },
              {
                label: "异常",
                value: "1",
              },
            ],
            // type: "date",
            // format: "yyyy-MM-dd",
            // valueFormat: "yyyy-MM-dd",
@@ -242,8 +253,8 @@
            //   labelWidth: 120,
            //   format: "yyyy-MM-dd",
            // },
            // // search: true,
            // searchSpan: 4,
            search: true,
            searchSpan: 4,
            // // display: false,
            // width: 180,
          },
@@ -513,16 +524,19 @@
        this.page.total = data.total;
        var d = data.records;
        for (var k in d) {
          if (d[k]["examinationType"] == "0") {
            d[k]["examinationMx"] = "正常";
            d[k]["examinationType"] = "正常";
          } else {
            // console.log(d[k]);
            d[k]["examinationType"] = "异常";
          }
          // if (d[k]["examinationType"] == "0") {
          //   d[k]["examinationMx"] = "正常";
          //   d[k]["examinationType"] = "正常";
          // } else {
          //   // console.log(d[k]);
          //   d[k]["examinationType"] = "异常";
          // }
          // if (d[k]["examinationType"] == "") {
          //   d[k]["examinationType"] = "正常";
          // }
          if (!d[k].examinationType) {
            d[k].examinationType = "0";
          }
          var sfz = d[k].cardid.substring(6, 10);
          d[k]["age"] = this.getyears() - sfz;
        }
src/views/securityGuardManagement/registerOnce.vue
@@ -2,7 +2,7 @@
 * @Author: Morpheus
 * @Date: 2021-07-05 16:31:54
 * @Last Modified by: liu
 * @Last Modified time: 2021-09-17 17:21:15
 * @Last Modified time: 2021-11-26 10:07:06
 * menu-name 保安员注册查询
 */
<template>
@@ -26,6 +26,7 @@
            @current-change="currentChange"
            @size-change="sizeChange"
            @refresh-change="refreshChange"
            @on-load="onLoad"
          >
            <template slot-scope="{ row }" slot="deptId">
              <el-tag
@@ -654,7 +655,7 @@
      var d = this.option.column;
      d[1]["search"] = true;
    }
    this.onLoad(this.page);
    // this.onLoad(this.page);
  },
  methods: {
    rowClickSelf(row) {