|
|
|
@ -1581,9 +1581,15 @@ |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
row.username = this.$store.state.user.name |
|
|
|
row.nodeConclusion = 'B' |
|
|
|
bmStatusToDead(row).then(({data}) => { |
|
|
|
const operator = this.$store.state.user.name |
|
|
|
const params = { |
|
|
|
...row, |
|
|
|
userName: operator, |
|
|
|
username: operator, |
|
|
|
updateBy: operator, |
|
|
|
nodeConclusion: 'B' |
|
|
|
} |
|
|
|
bmStatusToDead(params).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.$message.success( '操作成功') |
|
|
|
this.search() |
|
|
|
@ -1601,8 +1607,14 @@ |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
row.username = this.$store.state.user.name |
|
|
|
bmStatusToCg(row).then(({data}) => { |
|
|
|
const operator = this.$store.state.user.name |
|
|
|
const params = { |
|
|
|
...row, |
|
|
|
userName: operator, |
|
|
|
username: operator, |
|
|
|
updateBy: operator |
|
|
|
} |
|
|
|
bmStatusToCg(params).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.$message.success( '操作成功') |
|
|
|
this.search() |
|
|
|
@ -1620,9 +1632,15 @@ |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
row.username = this.$store.state.user.name |
|
|
|
row.nodeConclusion = 'A' |
|
|
|
bmStatusToFinish(row).then(({data}) => { |
|
|
|
const operator = this.$store.state.user.name |
|
|
|
const params = { |
|
|
|
...row, |
|
|
|
userName: operator, |
|
|
|
username: operator, |
|
|
|
updateBy: operator, |
|
|
|
nodeConclusion: 'A' |
|
|
|
} |
|
|
|
bmStatusToFinish(params).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.$message.success( '操作成功') |
|
|
|
this.search() |
|
|
|
|