Commit ed3a6a9f by peiqiQQQ

详情按钮位置修改

1 parent 83646df1
Showing with 5 additions and 4 deletions
......@@ -38,9 +38,9 @@
:columns="columns"
:key="activeName"
>
<template #batName="{ data }">
<el-button v-if="data.row.batName" class="detailBtn" size="medium" @click="fnEdit(data.row, true)">{{data.row.batName}}</el-button >
<span v-else>{{data.row.batName}}</span>
<template #prjName="{ data }">
<el-button v-if="data.row.prjName" class="detailBtn" size="medium" @click="fnEdit(data.row, true)">{{data.row.prjName}}</el-button >
<span v-else>{{data.row.prjName}}</span>
</template>
</table-config>
</template>
......@@ -175,11 +175,12 @@ export default {
{ type: 'selection', width: '55px' },
{ label: '序号', type: 'index', width: '80px' },
{ label: '批次年度', prop: 'year' },
{ label: '批次名称', prop: 'batName', width: '200px', __slotName: 'batName', },
{ label: '批次名称', prop: 'batName', width: '200px', },
{
label: '项目名称',
prop: 'prjName',
width: '320px',
__slotName: 'prjName',
},
{
label: '需求名称',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!