瀏覽代碼

Merge branch 'ch/bug7309' of eta_forum/eta_forum_admin_front into master

leichen 2 月之前
父節點
當前提交
9440030f24
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/etaTrial/etaTrialList.vue

+ 2 - 1
src/views/etaTrial/etaTrialList.vue

@@ -274,6 +274,7 @@ const getTableData = async (type) => {
   total.value = Paging.Totals;
   approvalNum.value = ApprovalNum || 0;
   tableLoading.value = false;
+  cancelKeys.value = [];
   if(checkAll.value){
     //全选了去除之前记录被手动取消勾选的项
     tableData.value.forEach(item=>{
@@ -449,7 +450,7 @@ const moveConfirm = (data) => {
   const currentSellerId = parseInt(moveValue);
   const params = {
     currentSellerId,
-    EtaTrialIdList: checkAll.value ? cancelSelectRowKeys : selectArr,
+    EtaTrialIdList: type === 2 && checkAll.value ? cancelKeys.value : selectArr,
     IsCheckAll: type === 1 ? false : checkAll.value,
     CurrentSellerName: findElementByAdminId(moveInfo.salesArr, currentSellerId).RealName,
   };