fix(项目管理): 去掉多余代码调整规范命名

This commit is contained in:
xinxin.wu 2023-08-30 10:43:26 +08:00 committed by fit2-zhao
parent e648182005
commit bd71c1d63b
4 changed files with 10 additions and 12 deletions

View File

@ -1,5 +0,0 @@
export interface TreeDataItem {
key: string;
title: string;
children?: TreeDataItem[];
}

View File

@ -0,0 +1,5 @@
export interface ProjectTreeData {
key: string;
title: string;
children?: ProjectTreeData[];
}

View File

@ -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">

View File

@ -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 = () => {};