删除引入projects
This commit is contained in:
@@ -99,7 +99,6 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { getProjectColumn } from '@/components/loadCaseTable/utils/project';
|
||||
import { onMounted, ref } from 'vue';
|
||||
import { getTaskTreeFun } from './projectApi';
|
||||
import { NODE_TYPE } from '@/utils/enum/node';
|
||||
@@ -113,7 +112,6 @@ const props = defineProps<{
|
||||
|
||||
const tableList = ref<any[]>([]);
|
||||
const tableLoading = ref(false);
|
||||
const tableColumns = ref<any[]>([]);
|
||||
const phaseUuid = ref<any>('');
|
||||
|
||||
// const getTaskTreeFun = async() => {
|
||||
@@ -183,29 +181,7 @@ const refreshPhaseList = () => {
|
||||
};
|
||||
|
||||
onMounted(async () => {
|
||||
const columns = await getProjectColumn(['operation']);
|
||||
getPhaseListApi();
|
||||
console.log('columns', columns);
|
||||
columns.push(
|
||||
{
|
||||
title: '详情',
|
||||
dataIndex: 'detail',
|
||||
field: 'detail',
|
||||
key: 'detail',
|
||||
custom: true,
|
||||
fixed: 'right',
|
||||
resizable: true,
|
||||
ellipsis: true,
|
||||
width: 95,
|
||||
minWidth: 95,
|
||||
editRender: {},
|
||||
slots: { default: 'detail_default' },
|
||||
params: {
|
||||
disabledEdit: true,
|
||||
},
|
||||
}
|
||||
);
|
||||
tableColumns.value = columns;
|
||||
// setTimeout(async() => {
|
||||
// const tableData: any =
|
||||
// await tableRef.value?.loadcaseTableRef.proTreeRef.getTableData();
|
||||
|
||||
Reference in New Issue
Block a user