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/security.vue | 37 +++++++++++++++++++++----------------
1 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/src/views/securityCompany/security.vue b/src/views/securityCompany/security.vue
index c14338d..a7443be 100644
--- a/src/views/securityCompany/security.vue
+++ b/src/views/securityCompany/security.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:42
- * menu-name 保安服务公司查询
- */
+/* * @Author: Morpheus * @Date: 2021-07-07 17:30:05 * @Last Modified by: liu *
+@Last Modified time: 2021-09-18 09:14:42 * 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"
@@ -181,6 +182,7 @@
pageSize: 10,
currentPage: 1,
total: 0,
+ ...this.$store.state.control.changePageSize,
},
selectionList: [],
option: {
@@ -197,13 +199,14 @@
calcHeight: 30,
tip: false,
searchShow: true,
- menuWidth: 160,
+ menuWidth: 175,
searchMenuSpan: 6,
index: true,
viewBtn: true,
dialogClickModal: false,
column: companyColimn,
+ ...this.$store.state.control.clearOtherBut,
group: [
{
label: "详细信息",
@@ -252,9 +255,12 @@
return ids.join(",");
},
},
+ 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 },
@@ -271,7 +277,7 @@
};
},
submitf(form, done) {
- console.log(form);
+ // console.log(form);
var that = this;
savePunish(form).then((res) => {
this.$message({
@@ -410,24 +416,23 @@
this.data = data.records;
// console.log(this.data);
this.loading = false;
+ this.$store.commit("setWindowSizeHeightAdd");
this.selectionClear();
});
},
// 行单击
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