Commit 584b2985 authored by CenXinYi's avatar CenXinYi

优化警告措施

Signed-off-by: 's avatarCenXinYi <2810162984@qq.com>
parent ce6166d2
......@@ -524,12 +524,19 @@ export default {
/* 激活打开废弃信息栏 */
this.activateAbandonedState = true
this.title = '记录详情'
console.log(row)
console.log(response.data)
const { fqBz, fqDbxi, fqDd, fqMcode, fqYy } = response.data
const fq = { fqBz, fqDbxi, fqDd, fqMcode, fqYy }
this.singleDetails = Object.assign({}, { ...row }, { ...fq })
console.log(this.singleDetails)
if (response.data === 'fail') {
this.singleDetails = Object.assign({}, { ...row })
this.$message({
showClose: true,
message: response.message,
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