代码修改

This commit is contained in:
qiuyuan 2025-11-05 16:06:46 +08:00
parent 1ec378f305
commit a6aab0cafd

View File

@ -51,6 +51,10 @@
<span>{{ dicsStore.getDictLabel('PROJECT_TYPE', record.categoryType) }}</span>
</template>
<template v-if="column.key === 'price'">
<span>{{ record.price + record.frequencyUnit }}</span>
</template>
<template v-if="'action' === column.key">
<x-action-button @click="$refs.editDialogRef.handleEdit(record)">
<span>编辑</span>
@ -85,7 +89,7 @@ const columns = [
{ title: '分类名称', dataIndex: 'name', key: 'name', align: 'center', width: 180, },
{ title: '项目名称', dataIndex: 'name', key: 'name', align: 'center', },
{ title: '价格', dataIndex: 'price', key: 'price', align: 'center', },
{ title: '简介', dataIndex: 'remark', key: 'remark', align: 'center', },
{ title: '简介', dataIndex: 'content', key: 'content', align: 'center', },
{ title: '操作', dataIndex: 'action', key: 'action', align: 'center', width: 120, fixed: 'right', }
];