陶杰
2024-12-29 0743300bf8e266b53968a21ab9188eb7ccbf4a70
1.批量任务-用户列表传入userId
已修改2个文件
6 ■■■■ 文件已修改
components/sms/select-all-user.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/sms/send-batch/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/sms/select-all-user.vue
@@ -69,6 +69,7 @@
            atClick: (row) => {
              this.currentValue.push({
                id: row.id,
                userId: row.userId,
                loginName: row.loginName,
                tel: row.tel,
              })
@@ -99,6 +100,7 @@
                if (!this.currentValue.some(currentItem => currentItem.id === item.id)) {
                  this.currentValue.push({
                    id: item.id,
                    userId: item.userId,
                    loginName: item.loginName,
                    tel: item.tel,
                  })
pages/sms/send-batch/index.vue
@@ -331,7 +331,9 @@
              }
            },
            outputFormat: (val) => {
              return val?.length ? val.map((i) => {return {userId:i.id,userPhone:i.tel} }) : []
              console.log(val)
             return val?.length ? val.map((i) => {return {userId:i.userId,userPhone:i.tel} }) : []
            },
            forceDisabled: true,
          },