feat: terminology management

This commit is contained in:
dataeaseShu
2025-08-26 11:26:17 +08:00
parent a9f4b5c64e
commit 83b5d23dee
4 changed files with 29 additions and 9 deletions
+1
View File
@@ -95,6 +95,7 @@ const routerList = computed(() => {
.ed-sub-menu__title {
background-color: #fff !important;
color: var(--ed-color-primary) !important;
font-weight: 500;
}
}
+1 -1
View File
@@ -78,7 +78,7 @@ onMounted(async () => {
>
<template #reference>
<button class="workspace" :class="collapse && 'collapse'">
<el-icon size="16">
<el-icon size="18">
<icon_moments_categories_outlined></icon_moments_categories_outlined>
</el-icon>
<span v-if="!collapse" :title="currentWorkspace.name" class="name ellipsis">{{
+12
View File
@@ -372,3 +372,15 @@ strong {
background-color: var(--ed-color-primary-80);
}
}
.ed-table.ed-table.ed-table {
--ed-table-border-color: #1f232926;
}
.ed-input__password {
svg {
path {
fill: #646a73;
}
}
}
@@ -50,6 +50,7 @@ const pageInfo = reactive({
})
const dialogTitle = ref('')
const updateLoading = ref(false)
const defaultForm = {
id: null,
word: null,
@@ -225,14 +226,20 @@ const saveHandler = () => {
if (!obj.id) {
delete obj.id
}
professionalApi.updateEmbedded(obj).then(() => {
ElMessage({
type: 'success',
message: t('common.save_success'),
updateLoading.value = true
professionalApi
.updateEmbedded(obj)
.then(() => {
ElMessage({
type: 'success',
message: t('common.save_success'),
})
search()
onFormClose()
})
.finally(() => {
updateLoading.value = false
})
search()
onFormClose()
})
}
})
}
@@ -526,7 +533,7 @@ const deleteHandlerItem = (idx: number) => {
</el-form-item>
</el-form>
<template #footer>
<div class="dialog-footer">
<div v-loading="updateLoading" class="dialog-footer">
<el-button secondary @click="onFormClose">{{ $t('common.cancel') }}</el-button>
<el-button type="primary" @click="saveHandler">
{{ $t('common.save') }}