From 94503c7382778632731b36cf6ad47f7552e4ccf9 Mon Sep 17 00:00:00 2001
From: xuefei <564615061@qq.cm>
Date: 星期六, 29 十一月 2025 14:47:07 +0800
Subject: [PATCH] fix:批量通过参数错误
---
pages/my-todo/my-todo.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/pages/my-todo/my-todo.vue b/pages/my-todo/my-todo.vue
index 6f42c1c..0e8e112 100644
--- a/pages/my-todo/my-todo.vue
+++ b/pages/my-todo/my-todo.vue
@@ -438,6 +438,7 @@
this.modalType = 0;
},
batchAdoptClick() {
+ console.log('鎵归噺閫氳繃鎸夐挳----------',this.checkBoxValue)
if (this.checkBoxValue.length != 0) {
this.adoptModalShow = true;
} else {
@@ -446,13 +447,15 @@
},
// 閫氳繃妯℃�佹
adoptModalConfirm() {
+ this.adoptDataBox = []
this.adoptModalShow = false;
if(this.checkBoxValue.length >= 1){
this.checkBoxValue.forEach(item => {
- this.adoptDataBox.push(item.slice(0, 6))
+ this.adoptDataBox.push(item)
})
this.adoptForm.ids = this.adoptDataBox.toString();
}
+ console.log(this.checkBoxValue,'this.checkBoxValue--00000000000',this.adoptDataBox,this.adoptForm)
this.$reqPost('passAll', this.adoptForm).then(res => {
console.log('鏄惁杩樺師', this.adoptForm.ids, this.rejectForm.procInstIds);
if (res.code == 0) {
@@ -478,10 +481,11 @@
},
// 椹冲洖妯℃�佹
rejectModalConfirm() {
+ this.rejectDataBox = []
this.rejectModalShow = false;
if(this.checkBoxValue.length >= 1){
this.checkBoxValue.forEach(item => {
- this.rejectDataBox.push(item.slice(6, 12))
+ this.rejectDataBox.push(item)
})
this.rejectForm.procInstIds = this.rejectDataBox.toString();
}
--
Gitblit v1.9.1