季度指标提交之后,修改跳转到季度列表页面,参数修正
This commit is contained in:
parent
293e22d403
commit
90fb84c177
@ -138,7 +138,9 @@ export default {
|
||||
let map = {
|
||||
id: this.reimburseId,
|
||||
spyj: this.formData.spyj,
|
||||
examine: this.isExamine
|
||||
examine: this.isExamine,
|
||||
quarter: this.quarter,
|
||||
isOffice: this.isOffice
|
||||
}
|
||||
Api.ProjectManagements.examine(map).then(result => {
|
||||
console.log(result)
|
||||
@ -146,7 +148,7 @@ export default {
|
||||
this.$message.success(result.data)
|
||||
this.isSubmit = false
|
||||
this.$router.push({
|
||||
name: 'quarterlyAssessmentApply',
|
||||
name: 'quarterlyEvaluation',
|
||||
params: {id: this.reimburseId}
|
||||
})
|
||||
} else {
|
||||
@ -193,6 +195,7 @@ export default {
|
||||
project.platformScoring = project.ext.platformScoring
|
||||
project.marketScoring = project.ext.marketScoring
|
||||
project.serviceScoring = project.ext.serviceScoring
|
||||
project.sum = project.ext.sum
|
||||
}
|
||||
this.tableRowsData.push(project)
|
||||
this.tableTotalPage = result.data.total
|
||||
@ -311,7 +314,7 @@ export default {
|
||||
},
|
||||
{
|
||||
label: '项目平均分',
|
||||
// prop: '',
|
||||
prop: 'sum',
|
||||
show: true
|
||||
}
|
||||
]
|
||||
|
@ -166,6 +166,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
quarter: '',
|
||||
isStrategy: true,
|
||||
isPlatform: true,
|
||||
isMarket: true,
|
||||
@ -315,6 +316,7 @@ export default {
|
||||
let data = result.data.ls[0]
|
||||
this.formModel = data
|
||||
this.ext = data.ext
|
||||
this.quarter = data.quarter
|
||||
this.formModel.execution = data.ext.execution
|
||||
if (!this.isOffice) {
|
||||
this.formModel.selfEvaluation = data.ext.selfEvaluation
|
||||
@ -524,7 +526,7 @@ export default {
|
||||
if (result.status === 0) {
|
||||
this.$message.success(result.data)
|
||||
this.$router.push(
|
||||
{name: 'quarterlyAssessmentDetail', params: {id: this.pid}})
|
||||
{name: 'quarterlyAssessmentDetail', params: {id: this.pid, quarter: this.quarter}})
|
||||
} else {
|
||||
this.$message.error(result.data)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user