Просмотр исходного кода

fix: 对权限和表格样式的修改

wyf 7 месяцев назад
Родитель
Сommit
8ba35ab3a4

+ 2 - 2
src/views/security-confidentiality/confidentiality-regulation-notice/ConfidentialityRegulationNotice.vue

@@ -16,7 +16,7 @@
   import { ref, computed, defineAsyncComponent, onUnmounted } from 'vue';
   import { REGULATION_SUBPAGES } from './constants';
 
-  const activeName = ref(sessionStorage.getItem('traffic-regulation-active') || REGULATION_SUBPAGES[0].value);
+  const activeName = ref(sessionStorage.getItem('confidentiality-regulation-active') || REGULATION_SUBPAGES[0].value);
 
   const dynamicComponent = computed(() => {
     switch (activeName.value) {
@@ -28,7 +28,7 @@
   });
 
   onUnmounted(() => {
-    sessionStorage.setItem('traffic-regulation-active', activeName.value);
+    sessionStorage.setItem('confidentiality-regulation-active', activeName.value);
   });
 </script>
 

+ 5 - 5
src/views/security-confidentiality/confidentiality-regulation-notice/configs/tables.ts

@@ -45,7 +45,7 @@ export const REGULATION_TABLE_COLUMNS: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '200px',
+    width: '180px',
     align: 'left',
   },
 ];
@@ -118,7 +118,7 @@ export const NOTICE_TABLE_COLUMNS: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '260px',
+    width: '230px',
     align: 'left',
   },
 ];
@@ -141,8 +141,8 @@ export const NOTICE_TABLE_COLUMNS_CHECKONLY: TableColumnProps[] = [
     label: '通知文件',
     prop: 'attachment',
     slot: 'attachment',
-    align: 'center',
-    minWidth: '120px',
+    align: 'left',
+    minWidth: '360px',
   },
   {
     label: '发布时间',
@@ -156,7 +156,7 @@ export const NOTICE_TABLE_COLUMNS_CHECKONLY: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '200px',
+    width: '160px',
     align: 'center',
   },
 ];

+ 2 - 2
src/views/security-confidentiality/security-regulation-notice/SecurityRegulationNotice.vue

@@ -16,7 +16,7 @@
   import { ref, computed, defineAsyncComponent, onUnmounted } from 'vue';
   import { REGULATION_SUBPAGES } from './constants';
 
-  const activeName = ref(sessionStorage.getItem('traffic-regulation-active') || REGULATION_SUBPAGES[0].value);
+  const activeName = ref(sessionStorage.getItem('security-regulation-active') || REGULATION_SUBPAGES[0].value);
 
   const dynamicComponent = computed(() => {
     switch (activeName.value) {
@@ -28,7 +28,7 @@
   });
 
   onUnmounted(() => {
-    sessionStorage.setItem('traffic-regulation-active', activeName.value);
+    sessionStorage.setItem('security-regulation-active', activeName.value);
   });
 </script>
 

+ 5 - 5
src/views/security-confidentiality/security-regulation-notice/configs/tables.ts

@@ -45,7 +45,7 @@ export const REGULATION_TABLE_COLUMNS: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '200px',
+    width: '180px',
     align: 'left',
   },
 ];
@@ -118,7 +118,7 @@ export const NOTICE_TABLE_COLUMNS: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '260px',
+    width: '230px',
     align: 'left',
   },
 ];
@@ -141,8 +141,8 @@ export const NOTICE_TABLE_COLUMNS_CHECKONLY: TableColumnProps[] = [
     label: '通知文件',
     prop: 'attachment',
     slot: 'attachment',
-    align: 'center',
-    minWidth: '120px',
+    align: 'left',
+    minWidth: '360px',
   },
   {
     label: '发布时间',
@@ -156,7 +156,7 @@ export const NOTICE_TABLE_COLUMNS_CHECKONLY: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '200px',
+    width: '160px',
     align: 'center',
   },
 ];

+ 2 - 2
src/views/traffic/regulation/configs/tables.ts

@@ -141,8 +141,8 @@ export const NOTICE_TABLE_COLUMNS_CHECKONLY: TableColumnProps[] = [
     label: '通知文件',
     prop: 'attachment',
     slot: 'attachment',
-    align: 'center',
-    minWidth: '120px',
+    align: 'left',
+    minWidth: '360px',
   },
   {
     label: '发布时间',