| | |
| | | savePunish, |
| | | } from "@/api/securityCompany/security"; |
| | | import { mapGetters } from "vuex"; |
| | | import { companyColimn } from "./column"; |
| | | import { crossColumn } from "./column"; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | viewBtn: true, |
| | | dialogClickModal: false, |
| | | |
| | | column: companyColimn, |
| | | column: crossColumn, |
| | | group: [ |
| | | { |
| | | label: "详细信息", |
| | |
| | | }); |
| | | return ids.join(","); |
| | | }, |
| | | }, |
| | | created() { |
| | | //列控制 |
| | | const representativecolumn = this.findObject( |
| | | this.option.column, |
| | | "representative" |
| | | ); |
| | | const representativecellcolumn = this.findObject( |
| | | this.option.column, |
| | | "representativecell" |
| | | ); |
| | | //法人及电话,办公地址不可见 |
| | | representativecolumn.label = "分公司负责人"; |
| | | representativecellcolumn.label = "分公司负责人电话"; |
| | | }, |
| | | methods: { |
| | | rowClickSelf(val) { |
| | |
| | | |
| | | // 行单击 |
| | | handleRowClick(row) { |
| | | // 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}, |
| | | }); |
| | | }, |
| | | }, |