季度指标提交之后,修改跳转到季度列表页面,参数修正

This commit is contained in:
zty 2024-07-22 14:20:13 +08:00
parent 293e22d403
commit 90fb84c177
2 changed files with 9 additions and 4 deletions

View File

@ -138,7 +138,9 @@ export default {
let map = { let map = {
id: this.reimburseId, id: this.reimburseId,
spyj: this.formData.spyj, spyj: this.formData.spyj,
examine: this.isExamine examine: this.isExamine,
quarter: this.quarter,
isOffice: this.isOffice
} }
Api.ProjectManagements.examine(map).then(result => { Api.ProjectManagements.examine(map).then(result => {
console.log(result) console.log(result)
@ -146,7 +148,7 @@ export default {
this.$message.success(result.data) this.$message.success(result.data)
this.isSubmit = false this.isSubmit = false
this.$router.push({ this.$router.push({
name: 'quarterlyAssessmentApply', name: 'quarterlyEvaluation',
params: {id: this.reimburseId} params: {id: this.reimburseId}
}) })
} else { } else {
@ -193,6 +195,7 @@ export default {
project.platformScoring = project.ext.platformScoring project.platformScoring = project.ext.platformScoring
project.marketScoring = project.ext.marketScoring project.marketScoring = project.ext.marketScoring
project.serviceScoring = project.ext.serviceScoring project.serviceScoring = project.ext.serviceScoring
project.sum = project.ext.sum
} }
this.tableRowsData.push(project) this.tableRowsData.push(project)
this.tableTotalPage = result.data.total this.tableTotalPage = result.data.total
@ -311,7 +314,7 @@ export default {
}, },
{ {
label: '项目平均分', label: '项目平均分',
// prop: '', prop: 'sum',
show: true show: true
} }
] ]

View File

@ -166,6 +166,7 @@ export default {
}, },
data () { data () {
return { return {
quarter: '',
isStrategy: true, isStrategy: true,
isPlatform: true, isPlatform: true,
isMarket: true, isMarket: true,
@ -315,6 +316,7 @@ export default {
let data = result.data.ls[0] let data = result.data.ls[0]
this.formModel = data this.formModel = data
this.ext = data.ext this.ext = data.ext
this.quarter = data.quarter
this.formModel.execution = data.ext.execution this.formModel.execution = data.ext.execution
if (!this.isOffice) { if (!this.isOffice) {
this.formModel.selfEvaluation = data.ext.selfEvaluation this.formModel.selfEvaluation = data.ext.selfEvaluation
@ -524,7 +526,7 @@ export default {
if (result.status === 0) { if (result.status === 0) {
this.$message.success(result.data) this.$message.success(result.data)
this.$router.push( this.$router.push(
{name: 'quarterlyAssessmentDetail', params: {id: this.pid}}) {name: 'quarterlyAssessmentDetail', params: {id: this.pid, quarter: this.quarter}})
} else { } else {
this.$message.error(result.data) this.$message.error(result.data)
} }