Administrator
2022-01-12 21c7375b7b38ebf2c8a2ca8fbf6fe9fb4f28250f
src/views/securityUnitChild/manager.vue
@@ -157,8 +157,8 @@
            row:true,
            hide:true,
            rules: [{
                required: false,
                message: "请输入车辆类型",
                required: true,
                message: "请选择学历",
                trigger: "blur"
            }],
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationTypes",
@@ -220,7 +220,7 @@
  created() {
    this.option.height = this.windowHeight - 320;
    if (this.stats == "1") {
        //分公司
        //学校
        const educationcolumn = this.findObject(
            this.option.column,
            "education"
@@ -229,7 +229,7 @@
            this.option.column,
            "paper"
          );
          //法人及电话不可见
          //学历证书
          educationcolumn.display = true;
          educationcolumn.hide = false;
          educationcolumn.search = true;
@@ -258,6 +258,9 @@
  methods: {
    rowSave(row, done, loading) {
      row['deptId'] = this.deptid;
      if(this.stats != "1"){
        delete row.paper;
      }
      adddata2(row).then(
        () => {
          this.onLoad(this.page);
@@ -275,6 +278,9 @@
    },
    rowUpdate(row, index, done, loading) {
      row['deptId'] = this.deptid;
      if(this.stats != "1"){
        delete row.paper;
      }
      update2(row).then(
        () => {
          this.onLoad(this.page);