fix:任务执行界面优化

This commit is contained in:
2026-01-09 15:58:28 +08:00
parent aff0bd8dfe
commit 30e896e054
5 changed files with 297 additions and 29 deletions

View File

@@ -37,6 +37,10 @@
/>
</template>
<template #unit="{ row }">
{{ PERFORMANCE_UNIT.O[row.unit] }}
</template>
<template #operate="{ row }">
<el-button type="danger" link @click="delPerformance(row)">删除</el-button>
</template>
@@ -106,6 +110,7 @@ const props = defineProps({
default: true,
},
});
const baseTableRef = ref();
const performanceVisible = ref(false);
const editPerformanceVisible = ref(false);
@@ -130,7 +135,10 @@ const getTaskPerformanceDataFun = async () => {
}
};
const { RESULT_ACHIEVE_STATUS } = useDict('RESULT_ACHIEVE_STATUS');
const { RESULT_ACHIEVE_STATUS, PERFORMANCE_UNIT } = useDict(
'RESULT_ACHIEVE_STATUS',
'PERFORMANCE_UNIT'
);
const openAddPerformanceWindFun = () => {
performanceVisible.value = true;