From 9f2b89d0be2c3d856c48b3c9ba9be3fe7d23ce9c Mon Sep 17 00:00:00 2001 From: dragon <3013557874@qq.com> Date: Fri, 30 Aug 2024 18:50:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=97=B6=E9=97=B4=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/guildOperationManagement/agentSendSalary.vue | 5 +++-- .../guildOperationManagement/officialWithdrawRecord.vue | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/guildOperationManagement/agentSendSalary.vue b/src/views/guildOperationManagement/agentSendSalary.vue index 87c30d5..2610a61 100644 --- a/src/views/guildOperationManagement/agentSendSalary.vue +++ b/src/views/guildOperationManagement/agentSendSalary.vue @@ -113,6 +113,7 @@ import { chargeAgentList, chargeAgentSum } from "@/api/relAgency/relAgency.js"; import TablePagination from "@/components/common/TablePagination"; import { formatDate, formatDateYMD } from "@/utils/relDate"; +import { dateFormat } from "@/utils/system-helper"; // @ts-ignore import { ElMessage } from "element-plus"; import { ref } from "vue"; @@ -176,8 +177,8 @@ export default { this.tableLoading = true; let { pageParams, searchForm } = this; - searchForm.startTime = formatDate(searchForm.startTime ) - searchForm.endTime = formatDate(searchForm.endTime ) + searchForm.startTime = dateFormat(searchForm.startTime,'yyyy-MM-dd hh:mm:ss'); + searchForm.endTime = dateFormat(searchForm.endTime,'yyyy-MM-dd hh:mm:ss'); searchForm = JSON.parse(JSON.stringify(searchForm)); pageParams = JSON.parse(JSON.stringify(pageParams)); Object.keys(searchForm).forEach((item) => { diff --git a/src/views/guildOperationManagement/officialWithdrawRecord.vue b/src/views/guildOperationManagement/officialWithdrawRecord.vue index 08c6d9f..73e8936 100644 --- a/src/views/guildOperationManagement/officialWithdrawRecord.vue +++ b/src/views/guildOperationManagement/officialWithdrawRecord.vue @@ -158,6 +158,7 @@ import { } from "@/api/relAgency/relAgency.js"; import TablePagination from "@/components/common/TablePagination"; import { formatDate, formatDateYMD } from "@/utils/relDate"; +import { dateFormat } from "@/utils/system-helper"; import { ElMessage } from "element-plus"; import { ElMessageBox } from 'element-plus'; // 正确引入 ElM // 混入 @@ -225,8 +226,8 @@ export default { this.tableLoading = true; let { pageParams, searchForm } = this; - searchForm.startTime = formatDate(searchForm.startTime ) - searchForm.endTime = formatDate(searchForm.endTime ) + searchForm.startTime = dateFormat(searchForm.startTime,'yyyy-MM-dd hh:mm:ss'); + searchForm.endTime = dateFormat(searchForm.endTime,'yyyy-MM-dd hh:mm:ss'); searchForm = JSON.parse(JSON.stringify(searchForm)); pageParams = JSON.parse(JSON.stringify(pageParams)); Object.keys(searchForm).forEach((item) => {