Administrator
2022-01-06 9e1f4bdd90924d4e286c49275cad22b4b8f4cefe
src/views/securityCompany/confess.vue
@@ -99,7 +99,7 @@
  savePunish,
} from "@/api/securityCompany/security";
import { mapGetters } from "vuex";
import { companyColimn } from "./column";
import { confessColumn } from "./column";
export default {
  data() {
@@ -196,7 +196,7 @@
        viewBtn: true,
        dialogClickModal: false,
        column: companyColimn,
        column: confessColumn,
        group: [
          {
            label: "详细信息",
@@ -244,6 +244,42 @@
      });
      return ids.join(",");
    },
  },
  created() {
    //列控制
    const representativecolumn = this.findObject(
      this.option.column,
      "representative"
    );
    const representativecellcolumn = this.findObject(
      this.option.column,
      "representativecell"
    );
    //法人及电话,办公地址不可见
    representativecolumn.hide = true;
    representativecolumn.search = false;
    representativecellcolumn.hide = true;
    const contactscolumn = this.findObject(
      this.option.column,
      "contacts"
    );
    const contactscellcolumn = this.findObject(
      this.option.column,
      "contactscell"
    );
    const ftimecolumn = this.findObject(
      this.option.column,
      "ftime"
    );
    const fregioncolumn = this.findObject(
      this.option.column,
      "fregion"
    );
    ftimecolumn.hide = false;
    fregioncolumn.hide = false;
    contactscolumn.hide = false;
    contactscellcolumn.hide = false;
  },
  methods: {
    rowClickSelf(val) {
@@ -412,10 +448,10 @@
      // delete (row["name"]);
      var obj = row;
      obj["name"] = "保安公司详细信息";
      // console.log(obj, "obj");
      var data = JSON.stringify(obj);
      this.$router.push({
        path: `/securityCompany/index`,
        query: obj,
        query: {data:data},
      });
    },
  },