style(系统设置): 添加成员-用户组下拉样式

--bug=1046407 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001046407
--bug=1046401 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001046401
This commit is contained in:
teukkk 2024-09-14 11:37:44 +08:00 committed by Craftsman
parent 3119807957
commit 2217d40ce1
5 changed files with 16 additions and 4 deletions

View File

@ -73,7 +73,11 @@
:class="[`view-option-item ${item.id === currentView ? 'view-option-item-active' : ''}`]"
@click="changeView(item)"
>
<div>{{ item.name }}</div>
<a-tooltip :content="item.name">
<div class="one-line-text">
{{ item.name }}
</div>
</a-tooltip>
<div class="select-extra flex">
<a-tooltip :content="t('common.rename')">
<MsButton type="text" status="secondary" class="!mr-[4px]" @click="handleToRenameView(item)">

View File

@ -768,6 +768,10 @@
title: 'apiTestManagement.caseTotal',
dataIndex: 'caseTotal',
type: FilterType.NUMBER,
numberProps: {
min: 0,
precision: 0,
},
},
{
title: 'common.tag',

View File

@ -12,7 +12,7 @@
<div class="mb-[16px] flex justify-end">
<a-input-search
v-model="keyword"
:placeholder="t('ms.case.associate.searchPlaceholder')"
:placeholder="t('system.organization.searchByNameOrEmailPlaceholder')"
allow-clear
class="w-[240px]"
@press-enter="initData"
@ -34,7 +34,6 @@
<div class="text-nowrap">{{ t('project.member.tableColumnUserGroup') }}</div>
<MsSelect
v-model:model-value="userGroupIds"
multiple
mode="static"
allow-clear
class="!w-[240px] text-start"
@ -42,7 +41,10 @@
value-key="id"
label-key="name"
:placeholder="t('project.member.selectUserScope')"
:options="currentUserGroupOptions"
v-bind="{
options: currentUserGroupOptions,
multiple: true,
}"
/>
</div>
<div class="flex gap-[12px]">

View File

@ -11,6 +11,7 @@ export default {
'system.organization.addMember': 'Add Member',
'system.organization.addMemberTitle': 'Add Member',
'system.organization.addMemberPlaceholder': 'Please select member',
'system.organization.searchByNameOrEmailPlaceholder': 'Search by Name/Email',
'system.organization.addMemberRequired': 'Please select member',
'system.organization.searchPlaceholder': 'Please enter the organization name to query',
'system.organization.addOrganization': 'Add organization',

View File

@ -52,6 +52,7 @@ export default {
'system.organization.subordinateOrg': '所属组织',
'system.organization.searchIndexPlaceholder': '通过 ID/名称搜索',
'system.organization.searchUserPlaceholder': '通过名称/邮箱/手机搜索',
'system.organization.searchByNameOrEmailPlaceholder': '通过名称/邮箱搜索',
'system.organization.organizationAdminRequired': '组织管理员不能为空',
'system.project.enableTitle': '启用项目',
'system.project.endTitle': '关闭项目',