|
@@ -732,6 +732,7 @@ const singleCheck=async({row})=>{
|
|
let isCheck=false
|
|
let isCheck=false
|
|
let checkrow=JSON.parse(JSON.stringify(row))
|
|
let checkrow=JSON.parse(JSON.stringify(row))
|
|
if(checkrow.checked===false||checkrow.checked===undefined){
|
|
if(checkrow.checked===false||checkrow.checked===undefined){
|
|
|
|
+
|
|
if( checkList.value.length>0){
|
|
if( checkList.value.length>0){
|
|
let arr=checkList.value.filter(e => e.id === checkrow.id)
|
|
let arr=checkList.value.filter(e => e.id === checkrow.id)
|
|
if(arr.length>0){
|
|
if(arr.length>0){
|
|
@@ -744,10 +745,12 @@ const singleCheck=async({row})=>{
|
|
|
|
|
|
}else{
|
|
}else{
|
|
isCheck=false
|
|
isCheck=false
|
|
|
|
+ row.tableindex=tableindex.value
|
|
checkList.value.push(row)
|
|
checkList.value.push(row)
|
|
}
|
|
}
|
|
|
|
|
|
}else{
|
|
}else{
|
|
|
|
+ row.tableindex=tableindex.value
|
|
checkList.value.push(row)
|
|
checkList.value.push(row)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -786,6 +789,10 @@ const sortingTableSelection = (rows,list,index) => {
|
|
//删除
|
|
//删除
|
|
const sortingDelData = (row,index) => {
|
|
const sortingDelData = (row,index) => {
|
|
sortingItemData.value.splice(index,1);
|
|
sortingItemData.value.splice(index,1);
|
|
|
|
+ console.log(checkList.value,'checkList.value');
|
|
|
|
+ // checkList.value=[]
|
|
|
|
+ //过滤掉当前选择的文件
|
|
|
|
+ checkList.value= checkList.value.filter(e => e.tableindex !== index)
|
|
if(row.boxNumber){
|
|
if(row.boxNumber){
|
|
delMessage(async () => {
|
|
delMessage(async () => {
|
|
const { error, code } = await archiveFileApi.removeAllocation({
|
|
const { error, code } = await archiveFileApi.removeAllocation({
|