Commit 584b2985 authored by CenXinYi's avatar CenXinYi

优化警告措施

Signed-off-by: 's avatarCenXinYi <2810162984@qq.com>
parent ce6166d2
...@@ -524,12 +524,19 @@ export default { ...@@ -524,12 +524,19 @@ export default {
/* 激活打开废弃信息栏 */ /* 激活打开废弃信息栏 */
this.activateAbandonedState = true this.activateAbandonedState = true
this.title = '记录详情' this.title = '记录详情'
console.log(row) if (response.data === 'fail') {
console.log(response.data) this.singleDetails = Object.assign({}, { ...row })
const { fqBz, fqDbxi, fqDd, fqMcode, fqYy } = response.data this.$message({
const fq = { fqBz, fqDbxi, fqDd, fqMcode, fqYy } showClose: true,
this.singleDetails = Object.assign({}, { ...row }, { ...fq }) message: response.message,
console.log(this.singleDetails) type: 'warning'
})
} else {
var { fqYs, fqBz, fqDbxi, fqDd, fqMcode, fqYy } = response.data
var fq = { fqYs, fqBz, fqDbxi, fqDd, fqMcode, fqYy }
this.singleDetails = Object.assign({}, { ...row }, { ...fq })
}
} }
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment