diff --git a/src/views/final/comp/RepeatTaskTableModal.vue b/src/views/final/comp/RepeatTaskTableModal.vue index 587fb28..a2acfad 100644 --- a/src/views/final/comp/RepeatTaskTableModal.vue +++ b/src/views/final/comp/RepeatTaskTableModal.vue @@ -184,7 +184,7 @@ async function query(page: number, pageSize: number) { const result = await getRepeatList({ sortorder: 'asc', pageSize: pagination.pageSize, - pageNo: 1, + pageNo: pagination.page, sortname: '', }) console.log(666666) @@ -362,6 +362,15 @@ function goDetail(row) { router.push({ name: 'final-detail', query: { id: row.id, packageid: row.packageid } }) } +const showActions = computed(() => { + return selectionIds.value.length +}) + +function switchBatch() { + selectionIds.value = [] + checkedRowKeys.value = [] +} + defineExpose({ showModal, }) @@ -387,10 +396,26 @@ defineExpose({ 任务信息 +
- - - +
+
+ + 批量审批 +
+
+
+ + + 取消 + + + + + +
diff --git a/src/views/final/content/Content.vue b/src/views/final/content/Content.vue index 72c6b4c..1bbccb6 100644 --- a/src/views/final/content/Content.vue +++ b/src/views/final/content/Content.vue @@ -618,6 +618,10 @@ function getSelectItems() { return tableData.value.filter((item) => selectionIds.value.includes(item.id)); } +const showActions = computed(() => { + return selectionIds.value.length +}) + // 单个审批通过 function singleApproval(row) { const param = { @@ -716,6 +720,11 @@ function doAudit(param: any) { }); } +function switchBatch() { + selectionIds.value = [] + checkedRowKeys.value = [] +} + function reload() { selectionIds.value = []; checkedRowKeys.value = []; @@ -758,20 +767,26 @@ defineExpose({
- - 小结查重 -
- + + + 小结查重 + + +
+
+ + 批量审批 +
+
+
+ + + 取消 + + +
- +