fix:任务执行界面优化
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user