|
@@ -285,10 +285,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- async taskSyncScheduleToDpm(id, data) {
|
|
|
- const arr = []
|
|
|
- data.map(item => arr.push(item.id))
|
|
|
- const res = await taskSyncScheduleToDpm(arr, id)
|
|
|
+ async taskSyncScheduleToDpm(id) {
|
|
|
+ const res = await taskSyncScheduleToDpm(id)
|
|
|
if (res.code === 200) {
|
|
|
this.$refs.Simulation.click()
|
|
|
this.$message({ message: '同步排期成功', type: 'success', offset: 150 })
|