This commit is contained in:
sjl
2025-01-13 23:17:24 +08:00
parent f29d6e8d88
commit 131d3b7018

View File

@@ -456,7 +456,16 @@ const getTableList = async (params: any) => {
// 表格配置项 // 表格配置项
const columns = reactive<ColumnProps<Device.ResPqDev>[]>([ const columns = reactive<ColumnProps<Device.ResPqDev>[]>([
{ 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: '序号' }, { type: 'index', fixed: 'left', width: 70, label: '序号' },
{ {
prop: 'name', prop: 'name',