| | |
| | | savePunish, |
| | | } from "@/api/securityCompany/security"; |
| | | import { mapGetters } from "vuex"; |
| | | import { companyColimn } from "./column"; |
| | | import { confessColumn } from "./column"; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | calcHeight: 30, |
| | | tip: false, |
| | | searchShow: true, |
| | | menuWidth: 175, |
| | | menuWidth: 210, |
| | | searchMenuSpan: 6, |
| | | index: true, |
| | | viewBtn: true, |
| | | dialogClickModal: false, |
| | | |
| | | column: companyColimn, |
| | | ...this.$store.state.control.clearOtherBut, |
| | | |
| | | column: confessColumn, |
| | | group: [ |
| | | { |
| | | label: "详细信息", |
| | |
| | | }); |
| | | 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; |
| | | }, |
| | | mounted() { |
| | | this.$store.commit("setWindowSizeHeightAdd"); |
| | |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | | // console.log(this.data); |
| | | this.loading = false; |
| | | this.$store.commit("setWindowSizeHeightAdd"); |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | }); |
| | | }, |
| | |
| | | // 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 }, |
| | | }); |
| | | }, |
| | | }, |