项目管理界面显示异常优化

This commit is contained in:
Cheng Zhou
2025-12-18 22:16:48 +08:00
parent 7137665410
commit 8fc8bb88d2
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -16,7 +16,9 @@
<el-tag type="danger" v-else>已禁用</el-tag>
</template>
</el-table-column>
<el-table-column prop="created_at" label="创建时间" width="200" />
<el-table-column prop="created_at" label="创建时间" width="200">
<template #default="scope">{{ displayDateTime(scope.row.created_at) }}</template>
</el-table-column>
<el-table-column label="操作" width="320" fixed="right">
<template #default="scope">
<el-button link type="primary" size="small" @click="openEdit(scope.row)">编辑</el-button>
@@ -65,6 +67,7 @@ import type { UserInfo } from "../../types/api";
import UserForm from "./UserForm.vue";
import UserResetPassword from "./UserResetPassword.vue";
import { useAuthStore } from "../../store/auth";
import { displayDateTime } from "../../utils/display";
const users = ref<UserInfo[]>([]);
const total = ref(0);