|
|
@ -458,7 +458,7 @@ export default {
|
|
|
|
this.closeDialog()
|
|
|
|
this.closeDialog()
|
|
|
|
this.$message.success('更新成功')
|
|
|
|
this.$message.success('更新成功')
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error('更新失败')
|
|
|
|
this.$message.error(res.message)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -467,7 +467,7 @@ export default {
|
|
|
|
this.$message.success('新增成功')
|
|
|
|
this.$message.success('新增成功')
|
|
|
|
this.closeDialog()
|
|
|
|
this.closeDialog()
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error('新增失败')
|
|
|
|
this.$message.error(res.message)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|