|
|
|
@ -39,6 +39,7 @@
|
|
|
|
|
import { formatParams } from '/@/hooks/web/common'
|
|
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table'
|
|
|
|
|
import { GetClientBankList } from './api'
|
|
|
|
|
import { cbDelete } from '/@/views/baseinfo/infoclient/api'
|
|
|
|
|
import { useModal } from '/@/components/Modal'
|
|
|
|
|
import BankModal from './bankInfoModal.vue'
|
|
|
|
|
import { Tablecolumns } from '/@/views/baseinfo/infoclient/columns'
|
|
|
|
@ -87,6 +88,7 @@
|
|
|
|
|
openModal(true, {
|
|
|
|
|
isParent: false,
|
|
|
|
|
isUpdate: false,
|
|
|
|
|
id: props.id
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
function handleDel() {
|
|
|
|
@ -95,14 +97,19 @@
|
|
|
|
|
createMessage.warning('请选择一条数据')
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
const removeArr = select.map((item) => {
|
|
|
|
|
const ids = select.map((item) => {
|
|
|
|
|
return item.id
|
|
|
|
|
})
|
|
|
|
|
cbDelete({ ids }).then(res => {
|
|
|
|
|
createMessage.success('删除成功!')
|
|
|
|
|
reload()
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
function handleAudit(record: Recordable) {
|
|
|
|
|
openModal(true, {
|
|
|
|
|
record,
|
|
|
|
|
isUpdate: true,
|
|
|
|
|
id: props.id
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
function handleSuccess() {
|
|
|
|
|