From e553bf03da95027fc26ac06384e17ef43dd3ccf4 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 26 三月 2025 11:33:56 +0800
Subject: [PATCH] 上片模块整体接口更改。控制台报错及警告
---
UI-Project/src/views/hollow/hellowquipthreehistory.vue | 17 +++--------------
1 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/UI-Project/src/views/hollow/hellowquipthreehistory.vue b/UI-Project/src/views/hollow/hellowquipthreehistory.vue
index 965d48f..25c8491 100644
--- a/UI-Project/src/views/hollow/hellowquipthreehistory.vue
+++ b/UI-Project/src/views/hollow/hellowquipthreehistory.vue
@@ -51,8 +51,8 @@
<el-table-column prop="formattedUpdateTime" align="center" :label="$t('reportmanage.endtime')" min-width="100" />
<el-table-column fixed="right" :label="$t('film.operate')" align="center">
<template #default="scope">
- <!-- <el-button size="mini" type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> -->
- <el-button size="mini" type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button>
+ <!-- <el-button type="text" plain @click="handleptask(scope.row)">{{ $t('hellow.listFormula') }}</el-button> -->
+ <el-button type="text" plain @click="handlecagedetails(scope.row)">{{ $t('hellow.HollowGlass') }}</el-button>
</template>
</el-table-column>
</el-table>
@@ -89,7 +89,7 @@
</el-dialog>
<el-dialog v-model="dialogFormVisiblea" top="23vh" width="55%" :title="$t('hellow.listFormula')" >
<div style="margin-left: 50px;margin-top: 10px;margin-bottom: 10px;">
- <el-form size="mini" label-width="150px">
+ <el-form label-width="150px">
<el-form label-width="150px" label-position="right">
<el-row style="margin-top: 10px;">
<el-col :span="8">
@@ -227,19 +227,16 @@
formattedUpdateTime: formatTimestamp(record.updateTime),
}));
tableDatax.value = formattedData;
- console.log(response.data.pages);
totalRecords.value = response.data.total/2 || 0
} else {
ElMessage.error(response.message);
}
}
catch (error) {
- console.error(error);
}
}
const handlePageChange2 = (newPage) => {
currentPage2.value = newPage;
-console.log(currentPage2.value);
window.localStorage.setItem('pagenumber', currentPage2.value)
historicala(currentPage2.value);
};
@@ -283,7 +280,6 @@
}
}
catch (error) {
- console.error(error);
}
}
// 閰嶆柟淇℃伅
@@ -333,8 +329,6 @@
}
}
catch (error) {
- // 澶勭悊閿欒
- console.error(error);
}
}
// 闃熷垪淇℃伅
@@ -360,8 +354,6 @@
}
}
catch (error) {
- // 澶勭悊閿欒
- console.error(error);
}
}
// 鍘嗗彶鏌ヨ鐐瑰嚮
@@ -407,7 +399,6 @@
}
}
catch (error) {
- console.error(error);
}
}
// 鏍煎紡鍖栨椂闂存埑涓哄勾鏈堟棩鏃堕棿瀛楃涓茬殑鍑芥暟
@@ -427,8 +418,6 @@
const backendTime = new Date(getglobalDate);
const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 鍑忓幓7澶�
oneWeekAgo.setHours(0, 0, 0, 0);
- console.log(formatTimestamp(oneWeekAgo));
-console.log(oneWeekAgo);
timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)];
window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo))
}
--
Gitblit v1.8.0