| | |
| | | this.modalType = 0; |
| | | }, |
| | | batchAdoptClick() { |
| | | console.log('批量通过按钮----------',this.checkBoxValue) |
| | | if (this.checkBoxValue.length != 0) { |
| | | this.adoptModalShow = true; |
| | | } else { |
| | |
| | | }, |
| | | // 通过模态框 |
| | | 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) { |
| | |
| | | }, |
| | | // 驳回模态框 |
| | | 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(); |
| | | } |