From 3ce715a4e66955eac86dcd2f5c8afcfdf8becb6d Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 29 十月 2026 16:46:47 +0800
Subject: [PATCH] Merge origin/dev_项目管理 into dev_项目管理
---
src/components/PIMTable/PIMTable.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/components/PIMTable/PIMTable.vue b/src/components/PIMTable/PIMTable.vue
index d4104f0..7940f1a 100644
--- a/src/components/PIMTable/PIMTable.vue
+++ b/src/components/PIMTable/PIMTable.vue
@@ -179,15 +179,19 @@
class="cell link"
style="width: 100%"
@click="goLink(scope.row, item.linkMethod)">
- <span v-if="!item.formatData">{{ scope.row[item.prop] }}</span>
+ <span v-if="!item.formatData">{{
+ toDateOnly(scope.row[item.prop])
+ }}</span>
</div>
<!-- 榛樿绾睍绀烘暟鎹� -->
<div v-else
class="cell"
style="width: 100%">
- <span v-if="!item.formatData">{{ scope.row[item.prop] }}</span>
+ <span v-if="!item.formatData">{{
+ toDateOnly(scope.row[item.prop])
+ }}</span>
<span v-else>{{
- formatters(scope.row[item.prop], item.formatData)
+ toDateOnly(formatters(scope.row[item.prop], item.formatData))
}}</span>
</div>
</template>
@@ -205,6 +209,7 @@
import pagination from "./Pagination.vue";
import { computed, ref, inject, getCurrentInstance } from "vue";
import { ElMessage } from "element-plus";
+ import { toDateOnly } from "@/utils/dateDisplay";
// 鑾峰彇鍏ㄥ眬鐨� uploadHeader
const { proxy } = getCurrentInstance();
--
Gitblit v1.9.3