From 3c54462f78d53f91b1a8985a2cdbffb4062e644d Mon Sep 17 00:00:00 2001 From: lihuilin Date: Wed, 30 Apr 2025 16:52:36 +0800 Subject: [PATCH] =?UTF-8?q?0430=E9=BA=BB=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gold-system/src/views/usergold/index.vue | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/gold-system/src/views/usergold/index.vue b/gold-system/src/views/usergold/index.vue index 48fe283..1dd9126 100644 --- a/gold-system/src/views/usergold/index.vue +++ b/gold-system/src/views/usergold/index.vue @@ -128,31 +128,7 @@ const trimJwCode = () => { detailY.value.jwcode = detailY.value.jwcode.replace(/\s/g, ''); } } -// 今天 -const getToday = function () { - const today = moment() - const startDate = today.startOf('day').toDate() - const endDate = today.endOf('day').toDate() - getTime.value = [startDate, endDate] - search() -} - -// 昨天 -const getYesterday = function () { - const yesterday = moment().subtract(1, 'day') - const startDate = yesterday.startOf('day').toDate() - const endDate = yesterday.endOf('day').toDate() - getTime.value = [startDate, endDate] - search() -} -// 近7天 -const get7Days = function () { - const startDate = moment().subtract(6, 'day').startOf('day').toDate() - const endDate = moment().endOf('day').toDate() - getTime.value = [startDate, endDate] - search() -} // 搜索 const search = function () { trimJwCode();