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/workreport/workreply.vue | 24 +++++++++++++++++-------
1 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/src/views/workreport/workreply.vue b/src/views/workreport/workreply.vue
index f92d0e5..16da4fb 100644
--- a/src/views/workreport/workreply.vue
+++ b/src/views/workreport/workreply.vue
@@ -1,6 +1,12 @@
<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"
@@ -69,6 +75,7 @@
pageSize: 10,
currentPage: 1,
total: 0,
+ ...this.$store.state.control.changePageSize,
},
selectionList: [],
option: {
@@ -77,7 +84,7 @@
dialogWidth: 1000,
tip: false,
searchShow: true,
- searchBtn: false,
+ searchBtn: true,
searchMenuSpan: 6,
editBtnText: "回复",
searchShowBtn: false,
@@ -91,6 +98,7 @@
excelBtn: false,
menuWidth: 320,
dialogClickModal: false,
+ ...this.$store.state.control.clearOtherBut,
column: workreplyColumn,
},
data: [],
@@ -101,9 +109,9 @@
permissionList() {
return {
addBtn: this.vaildData(null, false),
- viewBtn: this.vaildData(this.permission.notice_view, false),
+ viewBtn: this.vaildData(this.permission.workreply_view, false),
delBtn: this.vaildData(null, false),
- editBtn: this.vaildData(this.permission.notice_edit, false),
+ editBtn: this.vaildData(this.permission.workreply_say, false),
};
},
ids() {
@@ -114,7 +122,9 @@
return ids.join(",");
},
},
- mounted() {},
+ mounted() {
+ this.$store.commit("setWindowSizeHeightAdd");
+ },
methods: {
rowSave(row, done, loading) {
row.category = 1;
@@ -262,6 +272,7 @@
const data = res.data.data;
this.page.total = data.total;
this.data = data.records;
+ this.$store.commit("setWindowSizeHeightAdd");
this.loading = false;
this.selectionClear();
}
@@ -272,5 +283,4 @@
};
</script>
-<style>
-</style>
+<style></style>
--
Gitblit v1.9.3