删除引入projects
This commit is contained in:
@@ -99,7 +99,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { getProjectColumn } from '@/components/loadCaseTable/utils/project';
|
|
||||||
import { onMounted, ref } from 'vue';
|
import { onMounted, ref } from 'vue';
|
||||||
import { getTaskTreeFun } from './projectApi';
|
import { getTaskTreeFun } from './projectApi';
|
||||||
import { NODE_TYPE } from '@/utils/enum/node';
|
import { NODE_TYPE } from '@/utils/enum/node';
|
||||||
@@ -113,7 +112,6 @@ const props = defineProps<{
|
|||||||
|
|
||||||
const tableList = ref<any[]>([]);
|
const tableList = ref<any[]>([]);
|
||||||
const tableLoading = ref(false);
|
const tableLoading = ref(false);
|
||||||
const tableColumns = ref<any[]>([]);
|
|
||||||
const phaseUuid = ref<any>('');
|
const phaseUuid = ref<any>('');
|
||||||
|
|
||||||
// const getTaskTreeFun = async() => {
|
// const getTaskTreeFun = async() => {
|
||||||
@@ -183,29 +181,7 @@ const refreshPhaseList = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
const columns = await getProjectColumn(['operation']);
|
|
||||||
getPhaseListApi();
|
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() => {
|
// setTimeout(async() => {
|
||||||
// const tableData: any =
|
// const tableData: any =
|
||||||
// await tableRef.value?.loadcaseTableRef.proTreeRef.getTableData();
|
// await tableRef.value?.loadcaseTableRef.proTreeRef.getTableData();
|
||||||
|
|||||||
Reference in New Issue
Block a user