f698d1dbfe9b74cd7a4938380d4501ccf21508f9..3821b5cc96a7e6702a0cbc8187c6dc67d7eacf3e
2025-11-29 xuefei
fix:批量通过和批量拒绝参数错误
3821b5 对比 | 目录
2025-11-29 xuefei
fix:批量通过参数错误
94503c 对比 | 目录
1个文件已修改
13 ■■■■ 已修改文件
pages/my-todo/my-todo.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/my-todo/my-todo.vue
@@ -54,7 +54,7 @@
      <combination-card v-for="(item, index) in daibanData" index="index">
        <template v-slot:top>
          <view class="daibanTop">
                        <u-checkbox size="30" iconSize="18" :key="item.id" :name="item.id+item.procInstId"></u-checkbox>
                        <u-checkbox size="30" iconSize="18" :key="item.id" :name="item.id+'@'+item.procInstId"></u-checkbox>
            <text>{{ item.actBusiness.title }}</text>
          </view>
        </template>
@@ -396,13 +396,13 @@
      console.log(a);
    },
    // 复选框
    checkboxChange(n) {
      console.log('checkbox', n);
    checkboxChange(n,v) {
      console.log('checkbox', n,v);
    },
    totalSelectChange(n) {
      if (n[0] == 'tatalSelect') {
        this.daibanData.forEach(item => {
          this.totalSelectValue.push(item.id + item.procInstId)
          this.totalSelectValue.push(item.id)
        })
        this.checkBoxValue = this.totalSelectValue
      } else {
@@ -451,7 +451,7 @@
      this.adoptModalShow = false;
            if(this.checkBoxValue.length >= 1){
                this.checkBoxValue.forEach(item => {
                  this.adoptDataBox.push(item.slice(0, 6))
                  this.adoptDataBox.push(item.split("@")[0])
                })
                this.adoptForm.ids = this.adoptDataBox.toString();
            }
@@ -485,10 +485,11 @@
      this.rejectModalShow = false;
            if(this.checkBoxValue.length >= 1){
                this.checkBoxValue.forEach(item => {
                  this.rejectDataBox.push(item.slice(6, 12))
                  this.rejectDataBox.push(item.split("@")[1])
                })
                this.rejectForm.procInstIds = this.rejectDataBox.toString();
            }
      console.log(this.rejectForm)
      this.$reqPost('backAll', this.rejectForm).then(res => {
        if (res.code == 0) {
          this.$u.toast('操作成功!');