lijingjia 2 weeks ago
parent 5efb1faa0b
commit bf08b39bdc

@ -47,9 +47,8 @@
@resizable-change="resizableChangeEvent"
>
<template #empty>
<div style="color: #f60;">
<img src="../../../assets/images/nodata.png" />
<!-- <p>暂无数据</p> -->
<div>
<img style="width: 100px;" src="../../../assets/images/nodata.png" />
</div>
</template>
<vxe-column type="checkbox" width="40"></vxe-column>

@ -37,19 +37,15 @@
</a-tooltip>
</div>
</template>
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'action'">
<TableAction
:actions="[
{
icon: 'clarity:note-edit-line',
tooltip: '编1辑',
onClick: handleAudit.bind(null, record),
disabled: checkPermissions('op:infoclient:edit'),
},
]"
/>
</template>
<template v-slot:tableAction="{ record }">
<a-tooltip placement="top" :mouseEnterDelay="0.5">
<template #title>
<span>编辑</span>
</template>
<a-button :disabled="checkPermissions('op:infoclient:edit')" type="link" @click="handleAudit(record)">
<span class="iconfont icon-icon_519"></span>
</a-button>
</a-tooltip>
</template>
</BasicTable>
</div>
@ -72,8 +68,10 @@
const route = useRoute()
import { useAppStore } from '/@/store/modules/app'
import dayjs from 'dayjs'
//
const tbHeight = window.innerHeight - 250
const appStore = useAppStore()
const [registerTable, { reload, getForm, getSelectRows }] = useTable({
const [registerTable, { reload, getForm, getVxeSelectRows }] = useTable({
title: '',
api: async (p) => {
var res = null
@ -170,10 +168,12 @@
width: 60,
},
canResize: true,
resizeHeightOffset: 32,
resizeHeightOffset: 15,
autoHeight: tbHeight,
immediate: true,
tableComponent: 'vxe',
actionColumn: {
width: 80,
width: 60,
title: '操作',
dataIndex: 'action',
fixed: 'right',
@ -190,7 +190,7 @@
async function handleDel() {
let ids: any = []
let StateDelType = true
getSelectRows().forEach((item: any) => {
getVxeSelectRows().forEach((item: any) => {
if (item.auditStatus == 0) {
StateDelType = false
} else {

Loading…
Cancel
Save