From 24b9120a0a63b39634ffac240fcd234ad9e7701c Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 8 May 2025 14:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 +- .../components/SignatureTemplate/index.vue | 17 +++---- .../components/auditDocument/contextmenu.vue | 27 ++++++++-- .../components/auditDocument/index.vue | 51 ++++++++++++++++--- 4 files changed, 76 insertions(+), 23 deletions(-) diff --git a/src/App.vue b/src/App.vue index 564f906f..ee93660f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -252,7 +252,7 @@ export default { } }, handleSave() { - this.$confirm('确定修改当前页面国际化内容?') + this.$confirm(this.$t("i18n:confirm:updatei18n")) .then(() => { batchAddOrUpdateFrontInternationalization(this.tableData).then( async (res) => { @@ -270,7 +270,7 @@ export default { i18n.mergeLocaleMessage('zh', zhMessages) i18n.mergeLocaleMessage('en', enMessages) this.drawer = false - this.$message.success('国际化修改成功') + this.$message.success(this.$t("i18n:message:updatei18nSuccessfully")) if (this.il8nExternal) { this.$EventBus.$emit('il8nUpdate') } diff --git a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue index b0eb58a2..7182ef98 100644 --- a/src/views/dictionary/attachment/components/SignatureTemplate/index.vue +++ b/src/views/dictionary/attachment/components/SignatureTemplate/index.vue @@ -132,22 +132,17 @@ - + diff --git a/src/views/trials/trials-workbench/components/auditDocument/contextmenu.vue b/src/views/trials/trials-workbench/components/auditDocument/contextmenu.vue index 5b5183ae..fed3e790 100644 --- a/src/views/trials/trials-workbench/components/auditDocument/contextmenu.vue +++ b/src/views/trials/trials-workbench/components/auditDocument/contextmenu.vue @@ -15,15 +15,21 @@
- {{ $t('trials:trials-workbench:auditDocument:menu:copy') }} + {{ $t('trials:trials-workbench:auditDocument:menu:copy') }} + {{ $t('trials:trials-workbench:auditDocument:shortcut:copy') }} +
- {{ $t('trials:trials-workbench:auditDocument:menu:shear') }} + {{ $t('trials:trials-workbench:auditDocument:menu:shear') }} + {{ $t('trials:trials-workbench:auditDocument:shortcut:shear') }} +
- {{ $t('trials:trials-workbench:auditDocument:menu:stickup') }} + {{ $t('trials:trials-workbench:auditDocument:menu:stickup') }} + {{ $t('trials:trials-workbench:auditDocument:shortcut:stickup') }} +
@@ -197,6 +203,21 @@ export default { margin-right: 8px; } +.shortcut { + display: inline-block; + font-size: 12px; + zoom: .95; + font-weight: 200; + color: #888; + padding-left: 10px; + position: absolute; + right: 10px; + width: 65px; + min-width: 50px; + text-align: right; + overflow: hidden; +} + /*打开*/ .icon_open { color: #1890ff; diff --git a/src/views/trials/trials-workbench/components/auditDocument/index.vue b/src/views/trials/trials-workbench/components/auditDocument/index.vue index 54b16e28..d8c1b688 100644 --- a/src/views/trials/trials-workbench/components/auditDocument/index.vue +++ b/src/views/trials/trials-workbench/components/auditDocument/index.vue @@ -83,9 +83,13 @@ @click="addRenameId(scope.row)" :title="$t('trials:trials-workbench:auditDocument:icon:rename')" /> - + + {{ scope.row.HistoricalVersionsCount }} +
@@ -1198,9 +1202,9 @@ export default { } .last_catalogue { - width: 24px; - height: 24px; - line-height: 24px; + width: 36px; + height: 36px; + line-height: 36px; text-align: center; border: 1px solid #ddd; // cursor: pointer; @@ -1220,8 +1224,8 @@ export default { border-left: none; padding: 0 10px; border-radius: 0 4px 4px 0; - height: 24px; - line-height: 24px; + height: 36px; + line-height: 36px; } .catalogue_name { @@ -1239,6 +1243,7 @@ export default { display: flex; align-items: center; justify-content: space-between; + position: relative; .name_box { display: flex; @@ -1254,6 +1259,22 @@ export default { text-overflow: ellipsis; } } + + .version { + position: absolute; + right: 0; + top: 2px; + background: #ff980021; + color: #ff9800; + font-size: 12px; + padding: 0 3px; + border-radius: 2px; + z-index: 1; + + i { + margin-right: 3px; + } + } } .icon_edit { @@ -1267,13 +1288,15 @@ export default { } .icon_check { - font-size: 18px; + font-size: 22px; cursor: pointer; color: rgba(0, 0, 0, 0.3); &:hover { color: rgba(0, 0, 0, 0.5); } + + z-index: 9; } .isCheck { @@ -1284,6 +1307,20 @@ export default { background-color: #e5f3ff } +::v-deep .el-table { + .caret-wrapper { + height: 24px; + } + + .sort-caret.ascending { + top: 0; + } + + .sort-caret.descending { + bottom: 3px; + } +} + .icon_image { max-height: 20px; max-width: 20px;