diff --git a/src/components/LowDesign/src/utils/defaultUseUtil.ts b/src/components/LowDesign/src/utils/defaultUseUtil.ts index ca02f84..b475414 100644 --- a/src/components/LowDesign/src/utils/defaultUseUtil.ts +++ b/src/components/LowDesign/src/utils/defaultUseUtil.ts @@ -19,7 +19,7 @@ export default { * @param options 请求配置 如:{ params:{ text:'测试' } } */ requestApi: (Method, url, options) => callApiFun(Method, url, options), - exportExcelCustom: (tableId, data) => exportExcelDataCustom(tableId, data), + exportExcelCustom: (explain,tableId, data) => exportExcelDataCustom(explain,tableId, data), cloneDeep, //深拷贝 listToTree,//列表转树结构 formatDate,//时间格式化 diff --git a/src/views/Home/Index10.vue b/src/views/Home/Index10.vue index b1a8fa4..053de84 100644 --- a/src/views/Home/Index10.vue +++ b/src/views/Home/Index10.vue @@ -26,12 +26,11 @@
-
+
👥 外协管理
-
@@ -53,12 +52,11 @@
-
+
🛡️ 风险管理
-
@@ -80,12 +78,11 @@
-
+
⚠️ 隐患管理
-
@@ -109,12 +106,11 @@
-
+
🚧 高危作业
-
@@ -146,12 +142,11 @@
-
+
📄 应急预案
-
@@ -186,12 +181,11 @@
-
+
📚 安全培训
-
@@ -866,6 +860,10 @@ const safetyTrainingChartOption = computed(() => { }) // 方法定义 +const navigateToModule = (path: string): void => { + router.push(path) +} + const openRegionSelector = (): void => { regionSelectorVisible.value = true } @@ -1430,7 +1428,7 @@ onMounted(async () => { .back-button { display: inline-flex; align-items: center; - padding: 8px 16px; + padding: 8px 30px; background: #409eff; border: 1px solid #e5e7eb; border-radius: 6px; @@ -1575,6 +1573,19 @@ onMounted(async () => { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e5e7eb; + cursor: pointer; + transition: all 0.3s; + + &:hover { + background-color: #f9fafb; + border-radius: 4px; + padding-left: 8px; + padding-right: 8px; + margin-left: -8px; + margin-right: -8px; + padding-top: 4px; + margin-top: -4px; + } .card-title { display: flex;