Commit 8a983a23 authored by kzy's avatar kzy

Merge branch 'project1' of http://gitlab.91isoft.com:90/yangshuo/template_vue into project1

parents 39ceb6cc 584b2985
......@@ -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 }
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 })
console.log(this.singleDetails)
}
}
)
}
......
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