feat(incomeContract): 增加查看承包内容功能并调整操作列宽度

- 在操作列中添加"查看承包内容"按钮
- 调整操作列宽度为200,以适应新增的按钮
This commit is contained in:
tcy
2025-08-22 19:32:49 +08:00
parent cff2ce34f1
commit 72577614aa

View File

@ -69,7 +69,7 @@
<el-table-column label="质保金比例(%)" align="center" prop="assuranceDepositRatio" /> <el-table-column label="质保金比例(%)" align="center" prop="assuranceDepositRatio" />
<el-table-column label="付款比例(%)" align="center" prop="payRatio" /> <el-table-column label="付款比例(%)" align="center" prop="payRatio" />
<el-table-column label="备注" align="center" prop="remark" /> <el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
<template #default="scope"> <template #default="scope">
<!-- <el-tooltip content="修改" placement="top"> <!-- <el-tooltip content="修改" placement="top">
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
@ -79,9 +79,13 @@
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
v-hasPermi="['ctr:incomeContract:remove']"></el-button> v-hasPermi="['ctr:incomeContract:remove']"></el-button>
</el-tooltip> --> </el-tooltip> -->
<el-tooltip content="查看承包内容" placement="top">
<el-button link type="primary" icon="View" @click="handleShowFileList(scope.row)">查看承包内容</el-button>
</el-tooltip>
<el-tooltip content="查看附件列表" placement="top"> <el-tooltip content="查看附件列表" placement="top">
<el-button link type="primary" icon="View" @click="handleShowFileList(scope.row)">查看附件列表</el-button> <el-button link type="primary" icon="View" @click="handleShowFileList(scope.row)">查看附件列表</el-button>
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>