From 131d3b70184a8217ee41cce867a006ef272efa88 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Mon, 13 Jan 2025 23:17:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/home/components/table.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/home/components/table.vue b/frontend/src/views/home/components/table.vue index 538c024..87e0584 100644 --- a/frontend/src/views/home/components/table.vue +++ b/frontend/src/views/home/components/table.vue @@ -456,7 +456,16 @@ const getTableList = async (params: any) => { // 表格配置项 const columns = reactive[]>([ - { type: 'selection', fixed: 'left', width: 70, isShow:selectionShow }, + { type: 'selection', fixed: 'left', width: 70, + isShow:selectionShow , + selectable(row) { + if(weiJianTab.value === 4){ + console.log(row.reportState); + return row.reportState === 1 ; + } + return true ; + }, + }, { type: 'index', fixed: 'left', width: 70, label: '序号' }, { prop: 'name',