generated from Leo_Ding/web-template
代码修改
This commit is contained in:
parent
1ec378f305
commit
a6aab0cafd
@ -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', }
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user