From cc1c0a396698648256c350f6f0fe2cb2f0b02c7e Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Wed, 27 Mar 2024 15:44:10 +0800
Subject: [PATCH] 许可按钮放出,备案审批按钮放出
---
src/views/securityCompany/securityCrossRegion.vue | 55 +++++++++++++++++++++++++++++++++++++------------------
1 files changed, 37 insertions(+), 18 deletions(-)
diff --git a/src/views/securityCompany/securityCrossRegion.vue b/src/views/securityCompany/securityCrossRegion.vue
index ce685a6..cf2bb8e 100644
--- a/src/views/securityCompany/securityCrossRegion.vue
+++ b/src/views/securityCompany/securityCrossRegion.vue
@@ -1,13 +1,14 @@
-/*
- * @Author: Morpheus
- * @Date: 2021-07-07 17:30:05
- * @Last Modified by: liu
- * @Last Modified time: 2021-09-18 09:14:43
- * menu-name 保安服务公司查询
- */
+/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by: liu *
+@Last Modified time: 2021-09-18 09:14:43 * menu-name 保安服务公司查询 */
<template>
- <basic-container>
+ <basic-container
+ :class="[
+ $store.state.control.screenSize == 1366 ? 'smallSize' : 'normalSize',
+ $store.state.control.windowWidth >= 1024 ? 'tooRowSearch1' : '',
+ ]"
+ >
<avue-crud
+ class="tablesss"
:option="option"
:table-loading="loading"
:data="data"
@@ -99,7 +100,7 @@
savePunish,
} from "@/api/securityCompany/security";
import { mapGetters } from "vuex";
-import { companyColimn } from "./column";
+import { crossColumn } from "./column";
export default {
data() {
@@ -174,6 +175,7 @@
pageSize: 10,
currentPage: 1,
total: 0,
+ ...this.$store.state.control.changePageSize,
},
selectionList: [],
option: {
@@ -190,13 +192,14 @@
calcHeight: 30,
tip: false,
searchShow: true,
- menuWidth: 160,
+ menuWidth: 210,
searchMenuSpan: 6,
index: true,
viewBtn: true,
dialogClickModal: false,
+ ...this.$store.state.control.clearOtherBut,
- column: companyColimn,
+ column: crossColumn,
group: [
{
label: "详细信息",
@@ -245,9 +248,26 @@
return ids.join(",");
},
},
+ created() {
+ //列控制
+ const representativecolumn = this.findObject(
+ this.option.column,
+ "representative"
+ );
+ const representativecellcolumn = this.findObject(
+ this.option.column,
+ "representativecell"
+ );
+ //法人及电话,办公地址不可见
+ representativecolumn.label = "分公司负责人";
+ representativecellcolumn.label = "分公司负责人电话";
+ },
+ mounted() {
+ this.$store.commit("setWindowSizeHeightAdd");
+ },
methods: {
rowClickSelf(val) {
- console.log(val.departmentid);
+ // console.log(val.departmentid);
this.$router.push({
path: "/securityGuardManagement/registerOnce",
query: { departmentid: val.departmentid },
@@ -264,7 +284,7 @@
};
},
submitf(form, done) {
- console.log(form);
+ // console.log(form);
var that = this;
savePunish(form).then((res) => {
this.$message({
@@ -402,6 +422,7 @@
this.page.total = data.total;
this.data = data.records;
// console.log(this.data);
+ this.$store.commit("setWindowSizeHeightAdd");
this.loading = false;
this.selectionClear();
});
@@ -409,18 +430,16 @@
// 行单击
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 },
});
},
},
};
</script>
-<style lang="scss">
-</style>
+<style lang="scss"></style>
--
Gitblit v1.9.3