From 4a7d09251968091ec6c462e6ef437f846784f477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Sat, 15 Mar 2025 17:58:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B8=E5=85=B3Issues=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/jyh.scss | 6 ++- src/components/Header/UserAvatar.vue | 32 +++++++-------- src/components/TableSetting/index.vue | 43 ++++++++++++++++++++ src/views/Jyh/Search/Components/OssQuery.vue | 13 +++++- 4 files changed, 75 insertions(+), 19 deletions(-) create mode 100644 src/components/TableSetting/index.vue diff --git a/src/assets/css/jyh.scss b/src/assets/css/jyh.scss index 2d3f4c2..6ded50c 100644 --- a/src/assets/css/jyh.scss +++ b/src/assets/css/jyh.scss @@ -25,6 +25,10 @@ } } +.jyh-form-operation { + margin-left: 0px !important; +} + .jyh-table { .devui-table__cell { color: #191919; @@ -195,7 +199,7 @@ margin: 0 12px; width: 1px; height: 100%; - background-color: #3c3f41; + background-color: #cfcfcf; } .fr { diff --git a/src/components/Header/UserAvatar.vue b/src/components/Header/UserAvatar.vue index 5a846e0..c1575df 100644 --- a/src/components/Header/UserAvatar.vue +++ b/src/components/Header/UserAvatar.vue @@ -110,22 +110,22 @@ const blockList = ref([ [ { id: 'myPage', label: '个人中心', to: getRouterLink('PersonalCenter') } ], - [ - // { id: 'dashboard', label: '工作台', icon: 'gt-member-c', to: getRouterLink('dashboard') }, - // { id: 'myIssues', label: '我的 Issue', icon: 'gt-issue-c', to: getRouterLink('issues') }, - // { id: 'myDiscuss', label: '我的讨论', icon: 'gt-comment-c', to: getRouterLink('discussionCreated') }, - // { id: 'myMR', label: '我的合并请求', icon: 'gt-me-merge-c', to: getRouterLink('merge') }, - { id: 'notice', label: '消息通知', icon: 'gt-remind-c', to: getRouterLink({ name: 'notice', query: { status: 'all' }}) } - ], - [ - { id: 'myOrg', label: '我的组织', icon: 'gt-organizations-c', to: getRouterLink({ name: 'settingOrganization' }) }, - // { id: 'myRepo', label: '我的项目', icon: 'gt-folder-c', to: getRouterLink('userRepos') }, - // { id: 'myStar', label: '我的 Star', icon: 'gt-star-c', to: getRouterLink('userStars') } - ], - [ - { id: 'personalSetting', label: '个人设置', icon: 'gt-setting-c', to: getRouterLink('setting') }, - // { id: 'help', label: '帮助文档', icon: 'gt-file-c', href: 'https://gitcode.com/Gitcode-offical-team/GitCode-Docs/wiki' } - ], + // [ + // // { id: 'dashboard', label: '工作台', icon: 'gt-member-c', to: getRouterLink('dashboard') }, + // // { id: 'myIssues', label: '我的 Issue', icon: 'gt-issue-c', to: getRouterLink('issues') }, + // // { id: 'myDiscuss', label: '我的讨论', icon: 'gt-comment-c', to: getRouterLink('discussionCreated') }, + // // { id: 'myMR', label: '我的合并请求', icon: 'gt-me-merge-c', to: getRouterLink('merge') }, + // { id: 'notice', label: '消息通知', icon: 'gt-remind-c', to: getRouterLink({ name: 'notice', query: { status: 'all' }}) } + // ], + // [ + // { id: 'myOrg', label: '我的组织', icon: 'gt-organizations-c', to: getRouterLink({ name: 'settingOrganization' }) }, + // // { id: 'myRepo', label: '我的项目', icon: 'gt-folder-c', to: getRouterLink('userRepos') }, + // // { id: 'myStar', label: '我的 Star', icon: 'gt-star-c', to: getRouterLink('userStars') } + // ], + // [ + // { id: 'personalSetting', label: '个人设置', icon: 'gt-setting-c', to: getRouterLink('setting') }, + // { id: 'help', label: '帮助文档', icon: 'gt-file-c', href: 'https://gitcode.com/Gitcode-offical-team/GitCode-Docs/wiki' } + // ], [ { id: 'logout', label: '退出登录', icon: 'gt-exit', action: logout } ] diff --git a/src/components/TableSetting/index.vue b/src/components/TableSetting/index.vue new file mode 100644 index 0000000..237c8cb --- /dev/null +++ b/src/components/TableSetting/index.vue @@ -0,0 +1,43 @@ + + + diff --git a/src/views/Jyh/Search/Components/OssQuery.vue b/src/views/Jyh/Search/Components/OssQuery.vue index 6992e44..156a9ce 100644 --- a/src/views/Jyh/Search/Components/OssQuery.vue +++ b/src/views/Jyh/Search/Components/OssQuery.vue @@ -7,7 +7,12 @@ 筛选 清空 - 导出 +
+ 导出 + + +
+ @@ -109,6 +114,7 @@ import { ref,reactive, onMounted } from 'vue'; import { getGroupClaList, setGroupClaStatus, deleteGroupCla } from '@/api/cla'; import { useRouter, useRoute } from 'vue-router'; import { GModal } from '@/components/Setting/index'; +import TableSetting from '@/components/TableSetting/index.vue'; import { reqCatch } from '@/utils/catch'; import { getOrgInfo } from '@/views/Org/hooks/orgInfo'; import { Message } from 'vue-devui'; @@ -304,10 +310,13 @@ onMounted(() => { border-radius: 8px 0px 8px 8px; //background: #F2F5FC; - .output-btn { + .left-btn { position: absolute; right: 28px; bottom: 4px; + } + + .output-btn { color: #191919; font-family: HarmonyOS Sans SC; font-weight: regular;