fix(项目管理): 去掉多余代码调整规范命名
This commit is contained in:
parent
e648182005
commit
bd71c1d63b
|
@ -1,5 +0,0 @@
|
||||||
export interface TreeDataItem {
|
|
||||||
key: string;
|
|
||||||
title: string;
|
|
||||||
children?: TreeDataItem[];
|
|
||||||
}
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
export interface ProjectTreeData {
|
||||||
|
key: string;
|
||||||
|
title: string;
|
||||||
|
children?: ProjectTreeData[];
|
||||||
|
}
|
|
@ -4,11 +4,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="wrapper mb-6 flex justify-between">
|
<div class="wrapper mb-6 flex justify-between">
|
||||||
<span class="font-medium text-[var(--color-text-000)]">{{ t('project.basicInfo.basicInfo') }}</span>
|
<span class="font-medium text-[var(--color-text-000)]">{{ t('project.basicInfo.basicInfo') }}</span>
|
||||||
<span>
|
<MsTableMoreAction :list="tableActions" @select="handleSelect($event)">
|
||||||
<MsTableMoreAction :list="tableActions" @select="handleSelect($event)">
|
<a-button type="outline">{{ t('project.basicInfo.action') }}</a-button>
|
||||||
<a-button type="outline">{{ t('project.basicInfo.action') }}</a-button>
|
</MsTableMoreAction>
|
||||||
</MsTableMoreAction>
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="project-info mb-6 h-[112px] bg-white p-1">
|
<div class="project-info mb-6 h-[112px] bg-white p-1">
|
||||||
<div class="inner-wrapper p-4">
|
<div class="inner-wrapper p-4">
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
import { characterLimit } from '@/utils';
|
import { characterLimit } from '@/utils';
|
||||||
import AddMemberModal from './components/addMemberModal.vue';
|
import AddMemberModal from './components/addMemberModal.vue';
|
||||||
import MSBatchModal from '@/components/business/ms-batch-modal/index.vue';
|
import MSBatchModal from '@/components/business/ms-batch-modal/index.vue';
|
||||||
import type { TreeDataItem } from '@/models/projectManagement/member';
|
import type { ProjectTreeData } from '@/models/projectManagement/projectAndPermission';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const { openModal } = useModal();
|
const { openModal } = useModal();
|
||||||
|
@ -219,7 +219,7 @@
|
||||||
const batchVisible = ref<boolean>(false);
|
const batchVisible = ref<boolean>(false);
|
||||||
const selectData = ref<string[]>([]);
|
const selectData = ref<string[]>([]);
|
||||||
const batchAction = ref('');
|
const batchAction = ref('');
|
||||||
const treeData = ref<TreeDataItem[]>([]);
|
const treeData = ref<ProjectTreeData[]>([]);
|
||||||
|
|
||||||
// 添加到用户组
|
// 添加到用户组
|
||||||
const addUserGroup = () => {};
|
const addUserGroup = () => {};
|
||||||
|
|
Loading…
Reference in New Issue