feat: 绿植租赁方案对接完成
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user