feat: 绿植租赁方案对接完成

This commit is contained in:
fyy
2025-07-02 14:42:17 +08:00
parent f84c4037fb
commit d3033eb12d
7 changed files with 58 additions and 52 deletions

View File

@@ -103,7 +103,7 @@ async function handleDelete(row: Required<RentalPlanForm>) {
await tableApi.query();
}
async function handleView(row: Required<RentalPlanForm>) {
modalApi.setData({ id: row.id, readonly: true,ab:"wegqw" });
modalApi.setData({ id: row.id, readonly: true,});
modalApi.open();
}
function handleMultiDelete() {
@@ -156,10 +156,14 @@ function handleDownloadExcel() {
</a-button>
</Space>
</template>
<template #rentalPeriod="{ row }">
<div>
{{ row.rentalPeriod == 0?'月':row.rentalPeriod == 1 ? '季度':'年' }}
</div>
</template>
<template #state="{ row }">
<Tag v-if="row.state === 0" color="error">禁用</Tag>
<Tag v-else-if="row.state === 1" color="success">启用</Tag>
<Tag v-else color="default">未审核</Tag>
<Tag v-if="row.state == 0" color="error">禁用</Tag>
<Tag v-else-if="row.state == 1" color="success">启用</Tag>
</template>
<template #action="{ row }">
<Space>