From 344a8a9d99bf5bac3666c8ef2cdc890983a6d27c Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期四, 08 十月 2026 11:21:03 +0800
Subject: [PATCH] 员工台账列表隐藏籍贯/民族/婚姻状况三列

---
 src/views/system/post/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/system/post/index.vue b/src/views/system/post/index.vue
index 2608669..50b9804 100644
--- a/src/views/system/post/index.vue
+++ b/src/views/system/post/index.vue
@@ -90,7 +90,7 @@
          </el-table-column>
          <el-table-column label="鍒涘缓鏃堕棿" align="center" prop="createTime" width="180">
             <template #default="scope">
-               <span>{{ parseTime(scope.row.createTime) }}</span>
+               <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
             </template>
          </el-table-column>
          <el-table-column label="鎿嶄綔" width="180" align="center" class-name="small-padding fixed-width">
@@ -146,6 +146,7 @@
 
 <script setup name="Post">
 import { listPost, addPost, delPost, getPost, updatePost } from "@/api/system/post"
+import {onMounted} from "vue";
 
 const { proxy } = getCurrentInstance()
 const { sys_normal_disable } = proxy.useDict("sys_normal_disable")
@@ -283,5 +284,7 @@
   }, `post_${new Date().getTime()}.xlsx`)
 }
 
-getList()
+onMounted(() => {
+	getList();
+});
 </script>

--
Gitblit v1.9.3