|
|
@ -7,10 +7,10 @@
|
|
|
|
<span class="iconfont icon-new_document"></span>
|
|
|
|
<span class="iconfont icon-new_document"></span>
|
|
|
|
添加
|
|
|
|
添加
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
<!-- <a-button type="link" @click="handleDel">
|
|
|
|
<a-button type="link" @click="handleDel">
|
|
|
|
<span class="iconfont icon-shanchu2"></span>
|
|
|
|
<span class="iconfont icon-shanchu2"></span>
|
|
|
|
删除
|
|
|
|
删除
|
|
|
|
</a-button> -->
|
|
|
|
</a-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template #bodyCell="{ column, record }">
|
|
|
|
<template #bodyCell="{ column, record }">
|
|
|
|
<template v-if="column.key === 'action'">
|
|
|
|
<template v-if="column.key === 'action'">
|
|
|
@ -41,7 +41,7 @@
|
|
|
|
<script lang="ts" setup>
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
import { ref } from 'vue'
|
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table'
|
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table'
|
|
|
|
import { ApiList, ApiClientStakeholderAudit } from './api'
|
|
|
|
import { ApiList, ApiClientStakeholderAudit, ApiDel } from './api'
|
|
|
|
import { columns, searchFormSchema } from './columns'
|
|
|
|
import { columns, searchFormSchema } from './columns'
|
|
|
|
import { formatParams } from '/@/hooks/web/common'
|
|
|
|
import { formatParams } from '/@/hooks/web/common'
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
@ -152,10 +152,10 @@
|
|
|
|
const removeArr = select.map((item) => {
|
|
|
|
const removeArr = select.map((item) => {
|
|
|
|
return item.id
|
|
|
|
return item.id
|
|
|
|
})
|
|
|
|
})
|
|
|
|
// ApiDel({ ids: removeArr }).then((res) => {
|
|
|
|
ApiDel({ ids: removeArr }).then((res) => {
|
|
|
|
// notification.success({ message: res.message, duration: 3 })
|
|
|
|
notification.success({ message: res.message, duration: 3 })
|
|
|
|
// reload()
|
|
|
|
reload()
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function handleSuccess() {
|
|
|
|
function handleSuccess() {
|
|
|
|
reload()
|
|
|
|
reload()
|
|
|
|