From b7eb1da8220f5b72f6891c3c6471ca386604cce4 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 19 八月 2026 10:38:21 +0800
Subject: [PATCH] feat(dashboard): 添加一袋一码首页并重构相关枚举常量
---
src/views/basicData/mdm/index.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/views/basicData/mdm/index.vue b/src/views/basicData/mdm/index.vue
index 8995f78..7d92251 100644
--- a/src/views/basicData/mdm/index.vue
+++ b/src/views/basicData/mdm/index.vue
@@ -78,20 +78,20 @@
/** 瀵煎嚭琛ㄦ牸 */
// async function handleExport() {
// const data = await exportItem(await gridApi.formApi.getValues());
-// downloadFileFromBlobPart({ fileName: '鐗╂枡.xls', source: data });
+// downloadFileFromBlobPart({ fileName: '鍝佺.xls', source: data });
// }
-/** 鍒涘缓鐗╂枡 */
+/** 鍒涘缓鍝佺 */
function handleCreate() {
formModalApi.setData(null).open();
}
-/** 缂栬緫鐗╂枡 */
+/** 缂栬緫鍝佺 */
function handleEdit(row: MdmItemApi.Item) {
formModalApi.setData(row).open();
}
-/** 鍒犻櫎鐗╂枡 */
+/** 鍒犻櫎鍝佺 */
async function handleDelete(row: MdmItemApi.Item) {
const hideLoading = message.loading({
content: $t('ui.actionMessage.deleting', [row.name]),
@@ -106,7 +106,7 @@
}
}
-/** 鎵归噺鍒犻櫎鐗╂枡 */
+/** 鎵归噺鍒犻櫎鍝佺 */
async function handleDeleteBatch() {
await confirm($t('ui.actionMessage.deleteBatchConfirm'));
const hideLoading = message.loading({
@@ -141,10 +141,10 @@
const syncingId = ref<number | null>(null);
-/** 鍒囨崲鍚屾鐘舵�侊細鍏抽棴寮�鍏充細浠� MES 鍒犻櫎鐗╂枡锛岄渶纭 */
+/** 鍒囨崲鍚屾鐘舵�侊細鍏抽棴寮�鍏充細浠� MES 鍒犻櫎鍝佺锛岄渶纭 */
async function handleSyncChange(row: MdmItemApi.Item, checked: boolean) {
if (!checked) {
- await confirm('鍏抽棴鍚屾灏嗕粠 MES 鍒犻櫎璇ョ墿鏂欏強鍏宠仈閰嶇疆锛圔OM/SOP/SIP/鎵规閰嶇疆锛夛紝纭缁х画锛�');
+ await confirm('鍏抽棴鍚屾灏嗕粠 MES 鍒犻櫎璇ュ搧绉嶅強鍏宠仈閰嶇疆锛圔OM/SOP/SIP/鎵规閰嶇疆锛夛紝纭缁х画锛�');
}
syncingId.value = row.id!;
try {
@@ -211,12 +211,12 @@
<template>
<Page auto-content-height>
<FormModal @success="handleRefresh" />
- <Grid table-title="鐗╂枡鍒楄〃">
+ <Grid table-title="鍝佺鍒楄〃">
<template #toolbar-tools>
<TableAction
:actions="[
{
- label: $t('ui.actionTitle.create', ['鐗╂枡']),
+ label: $t('ui.actionTitle.create', ['鍝佺']),
type: 'primary',
icon: ACTION_ICON.ADD,
auth: ['mdm:item:create'],
--
Gitblit v1.9.3