微调
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user