feat: 优化空间展示和文案
This commit is contained in:
parent
dbf8c4a827
commit
a2d75a4ed7
@ -82,7 +82,7 @@ const handleSelect = (id: string) => {
|
||||
}
|
||||
|
||||
&.bottom {
|
||||
border-bottom: 1px solid #e3e4e8;
|
||||
border-bottom: 1px solid #f6f5f2;
|
||||
}
|
||||
&.main-item {
|
||||
// margin: 10px 0;
|
||||
@ -104,12 +104,13 @@ const handleSelect = (id: string) => {
|
||||
.title-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
:deep(.el-menu-item-group) {
|
||||
> ul {
|
||||
> li {
|
||||
padding-left: 40px !important;
|
||||
padding-left: 45px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -124,7 +125,7 @@ const handleSelect = (id: string) => {
|
||||
}
|
||||
.iconfont {
|
||||
font-size: 16px;
|
||||
margin-right: 5px;
|
||||
margin-right: 10px;
|
||||
color: #faa600 !important;
|
||||
}
|
||||
</style>
|
||||
|
@ -47,7 +47,7 @@
|
||||
class="tool-root-btn-text"
|
||||
:style="{ width: 50 + 'px' }"
|
||||
@click.stop="handleModify(scope.row._id)"
|
||||
>{{ isAdmin(scope.row._id) ? '修改' : '查看' }}</el-button
|
||||
>{{ isAdmin(scope.row._id) ? '管理' : '查看' }}</el-button
|
||||
>
|
||||
<el-button
|
||||
text
|
||||
|
@ -16,10 +16,10 @@
|
||||
@submit.prevent
|
||||
:disabled="formDisabled"
|
||||
>
|
||||
<el-form-item label="团队名称" prop="name">
|
||||
<el-form-item label="团队空间名称" prop="name">
|
||||
<el-input v-model="formModel.name" />
|
||||
</el-form-item>
|
||||
<el-form-item label="空间描述">
|
||||
<el-form-item label="团队空间空间描述">
|
||||
<el-input v-model="formModel.description" />
|
||||
</el-form-item>
|
||||
<el-form-item label="添加成员" prop="members">
|
||||
@ -63,7 +63,7 @@ const props = defineProps({
|
||||
const ruleForm = shallowRef<any>(null)
|
||||
|
||||
const formTitle = computed(() => {
|
||||
return props.type === QOP_MAP.ADD ? '创建团队' : '修改团队'
|
||||
return props.type === QOP_MAP.ADD ? '创建团队空间' : '管理团队空间'
|
||||
})
|
||||
const formModel = ref<IWorkspace>({
|
||||
name: '',
|
||||
@ -71,7 +71,7 @@ const formModel = ref<IWorkspace>({
|
||||
members: [] as IMember[]
|
||||
})
|
||||
const rules = {
|
||||
name: [{ required: true, message: '请输入团队名称', trigger: 'blur' }],
|
||||
name: [{ required: true, message: '请输入团队空间名称', trigger: 'blur' }],
|
||||
members: [
|
||||
{
|
||||
trigger: 'change',
|
||||
|
Loading…
Reference in New Issue
Block a user