|
@@ -330,16 +330,16 @@
|
|
|
}
|
|
|
},
|
|
|
batchApprove () {
|
|
|
- console.log(this.dataListSelections)
|
|
|
+ // console.log(JSON.stringify(this.dataListSelections))
|
|
|
if (this.dataListSelections && this.dataListSelections.length > 0) {
|
|
|
this.approveDialogVisible = true
|
|
|
let businessIds = this.dataListSelections.map(item => item.businessId)
|
|
|
-
|
|
|
+
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.approve.init(this.dataListSelections[0].businessType, businessIds)
|
|
|
})
|
|
|
} else {
|
|
|
-
|
|
|
+ this.$message.warning('请选择后再提交审批!')
|
|
|
}
|
|
|
},
|
|
|
approveChose () {
|