Skip to content

Commit 83b5d23

Browse files
committed
feat: terminology management
1 parent a9f4b5c commit 83b5d23

File tree

4 files changed

+29
-9
lines changed

4 files changed

+29
-9
lines changed

frontend/src/components/layout/Menu.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ const routerList = computed(() => {
9595
.ed-sub-menu__title {
9696
background-color: #fff !important;
9797
color: var(--ed-color-primary) !important;
98+
font-weight: 500;
9899
}
99100
}
100101

frontend/src/components/layout/Workspace.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ onMounted(async () => {
7878
>
7979
<template #reference>
8080
<button class="workspace" :class="collapse && 'collapse'">
81-
<el-icon size="16">
81+
<el-icon size="18">
8282
<icon_moments_categories_outlined></icon_moments_categories_outlined>
8383
</el-icon>
8484
<span v-if="!collapse" :title="currentWorkspace.name" class="name ellipsis">{{

frontend/src/style.less

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,15 @@ strong {
372372
background-color: var(--ed-color-primary-80);
373373
}
374374
}
375+
376+
.ed-table.ed-table.ed-table {
377+
--ed-table-border-color: #1f232926;
378+
}
379+
380+
.ed-input__password {
381+
svg {
382+
path {
383+
fill: #646a73;
384+
}
385+
}
386+
}

frontend/src/views/system/professional/index.vue

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const pageInfo = reactive({
5050
})
5151
5252
const dialogTitle = ref('')
53+
const updateLoading = ref(false)
5354
const defaultForm = {
5455
id: null,
5556
word: null,
@@ -225,14 +226,20 @@ const saveHandler = () => {
225226
if (!obj.id) {
226227
delete obj.id
227228
}
228-
professionalApi.updateEmbedded(obj).then(() => {
229-
ElMessage({
230-
type: 'success',
231-
message: t('common.save_success'),
229+
updateLoading.value = true
230+
professionalApi
231+
.updateEmbedded(obj)
232+
.then(() => {
233+
ElMessage({
234+
type: 'success',
235+
message: t('common.save_success'),
236+
})
237+
search()
238+
onFormClose()
239+
})
240+
.finally(() => {
241+
updateLoading.value = false
232242
})
233-
search()
234-
onFormClose()
235-
})
236243
}
237244
})
238245
}
@@ -526,7 +533,7 @@ const deleteHandlerItem = (idx: number) => {
526533
</el-form-item>
527534
</el-form>
528535
<template #footer>
529-
<div class="dialog-footer">
536+
<div v-loading="updateLoading" class="dialog-footer">
530537
<el-button secondary @click="onFormClose">{{ $t('common.cancel') }}</el-button>
531538
<el-button type="primary" @click="saveHandler">
532539
{{ $t('common.save') }}

0 commit comments

Comments
 (0)