|
@@ -394,10 +394,10 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
- const data = {id: res.id, isReport: 1}
|
|
|
|
|
|
|
+ const data = {id: res.id, is_report: 1}
|
|
|
this.$api.project.proUpdate(data).then(res => {
|
|
this.$api.project.proUpdate(data).then(res => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
- console.log(res)
|
|
|
|
|
|
|
+ this.onLoad()
|
|
|
this.$message.success(res.msg)
|
|
this.$message.success(res.msg)
|
|
|
} else {
|
|
} else {
|
|
|
this.$message.error(res.msg)
|
|
this.$message.error(res.msg)
|