+
liuyg
2021-11-23 137cbcae361e4cbcee770e0ea7e259ae95e789c4
src/views/securityGuard/securityGuard.vue
@@ -14,7 +14,11 @@
      </div>
    </el-col>
    <el-col :span="24">
      <basic-container>
      <basic-container
        :class="[
          $store.state.control.windowWidth >= 1024 ? 'tooRowSearch' : '',
        ]"
      >
        <avue-crud
          :option="option"
          :search.sync="search"
@@ -509,7 +513,7 @@
      }
    };
    return {
      nowCell: "1", //1为手动,2为身份证设备读取
      nowCell: "", //空为手动,2为身份证设备读取
      // 表格数据
      defaults: {},
      // 身份证设备数据
@@ -598,9 +602,10 @@
      loading: true,
      platformLoading: false,
      page: {
        pageSize: 10,
        pageSize: 15,
        currentPage: 1,
        total: 0,
        pageSizes: [15, 30, 50, 100],
      },
      roleId: "1412226235153731586",
      deptId: "1413470343230877697",
@@ -681,6 +686,7 @@
        //dialogType: 'drawer',
        dialogClickModal: false,
        column: securityFormPageColumn,
        ...this.$store.state.control.clearOtherBut,
        group: [
          {
            label: "基础信息",
@@ -819,8 +825,8 @@
                  text: " ",
                  ratio: 0.1,
                },
                action: "/api/blade-resource/oss/endpoint/put-files",
                tip: "上传二代身份证一寸近期彩色正面免冠图象, (358像素(宽) × 441像素(高)、分辨率350dpi)且不超过500kb",
                action: "/api/blade-resource/oss/endpoint/put-file-user-avatar",
                tip: "上传身份证一寸近期彩色正面免冠图象, (358像素(宽) × 441像素(高)、分辨率350dpi)且不超过500kb",
                span: 12,
                // row: true,
                prop: "avatar",
@@ -2040,7 +2046,7 @@
      }
    },
    olondSFZ() {
      console.log(123456);
      // console.log(123456);
      var that = this;
      try {
        // 开始连接设备
@@ -2125,12 +2131,12 @@
                console.log("读卡器未连接");
                that.closeSFZ();
              } else {
                console.log(resultObj.errorMsg);
                console.log("无卡片提醒-1", resultObj.errorMsg);
                //无卡片提醒
                // that.closeSFZ();
              }
            } else if (resultObj.resultFlag == "-2") {
              console.log(resultObj.errorMsg);
              console.log("异常-2", resultObj.errorMsg);
              that.closeSFZ();
            }
          }
@@ -2176,7 +2182,7 @@
        //可以编辑
      }
      this.openClosegroup(false);
      this.nowCell = "1";
      this.nowCell = "";
    },
    beforeOpen(done, type) {
      var that = this;