This commit is contained in:
熊成强 2020-11-10 18:13:53 +08:00
parent 618dce7a6f
commit b88ba78603
3 changed files with 9 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export default {
handleBack () {
const name = this.$route.query.name
if (name) {
return this.$router.replace({name: 'assessment-homeList'})
return this.$router.replace({name: name.replace('/', '-')})
}
this.$router.go(-1)
}

View File

@ -255,6 +255,13 @@ export default {
i.staffId = i.id
i.staffName = i.name
i.isSelect = 1
this.GroundList = this.GroundList.map(j => {
if (i.staffId === j.staffId) {
i = Object.assign({}, j, i)
j.isSelect = 1
}
return j
})
return i
})
const a = this.$personlGetForm(res.staffs)

View File

@ -209,7 +209,7 @@ export default {
this.$message.error(res.msg)
return
}
this.$router.push({ name: 'assessment-stepList', query: { id: res.data.id, name: '1' } })
this.$router.push({ name: 'assessment-stepList', query: { id: res.data.id, name: 'assessment/homeList' } })
this.$message({
message: res.msg,
type: 'success'