szh-new
张同海 5 months ago
parent ef90c7846b
commit b136d4b291

@ -88,7 +88,7 @@
setFieldsValue({
...res.data,
})
Llist.value.push(...res.data.feeList)
Llist.value.push(...res.data)
}
setModalProps({ confirmLoading: false })
} else {
@ -103,7 +103,7 @@
...res.data,
})
Llist.value.splice(0)
Llist.value.push(...res.data.feeList)
Llist.value.push(...res.data)
}
}
//

@ -2,7 +2,10 @@
<div>
<BasicTable @register="registerTable">
<template #tableTitle>
<div class="nav" @click="handleCreate"> <i class="iconfont icon-jiahao2fill"></i>添加 </div>
<a-button type="link" size="mini" @click="handleCreate">
<span class="iconfont icon-jiahao2fill"></span>
添加
</a-button>
<!-- <div class="nav" @click="Fnawait">
<i
class="iconfont icon-a-wendangcaozuoxiazaishangchuanshanchuxinzengfujianyasuochakan-01"
@ -10,14 +13,27 @@
>导入
</div> -->
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<TableAction
:actions="[
{
icon: 'clarity:note-edit-line',
tooltip: '编辑',
onClick: handleAudit.bind(null, record),
},
]"
/>
</template>
</template>
</BasicTable>
<TenantAuditStepModal @register="registerModal" @success="handleSuccess" />
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import { BasicTable, useTable } from '/@/components/Table'
import { ApiList, ApiImport } from './api'
import { BasicTable, useTable, TableAction } from '/@/components/Table'
import { ApiList } from './api'
import { useModal } from '/@/components/Modal'
import TenantAuditStepModal from './TenantAuditStepModal.vue'
import { columns, searchFormSchema } from './columns'
@ -78,6 +94,12 @@
isUpdate: false,
})
}
function handleAudit(record: Recordable) {
openModal(true, {
record,
isUpdate: true,
})
}
function Fnawait() {
notification.warning({ message: '等待开发', duration: 3 })
}

Loading…
Cancel
Save