企标评价 - 解决了有的时候获取不到企标id无法传给后端的问题

This commit is contained in:
yanyizhou
2021-12-10 11:26:26 +08:00
parent 78e48a622f
commit bd6618b99a
@@ -1536,7 +1536,7 @@ export default {
historyPeopleChange(row){
this.historyInfoLoading = true
const allData = {
lawId: this.sarStandardsInfoEO.id,
lawId: this.$route.params.id,
userId: row.userId,
evaluationType: this.indexType
}
@@ -1580,7 +1580,7 @@ export default {
this.indexType = 'quality'
//查询评分表
const allData = {
lawId: this.sarStandardsInfoEO.id,
lawId: this.$route.params.id,
userId: this.firstHistoryPeopleId,
evaluationType: this.indexType
}
@@ -1598,7 +1598,7 @@ export default {
this.indexType = 'dynamic'
//查询评分表
const allData = {
lawId: this.sarStandardsInfoEO.id,
lawId: this.$route.params.id,
userId: this.firstHistoryPeopleId,
evaluationType: this.indexType
}
@@ -1624,7 +1624,7 @@ export default {
}
//查询动态评价总平均分和质量评价总平均分
let standId = this.sarStandardsInfoEO.id
let standId = this.$route.params.id
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
_this: this
}, res => {
@@ -1714,7 +1714,7 @@ export default {
const allData = {
tableData: this.businessCommentTable,
formData: JSON.stringify(this.businessCommentForm),
standId: this.sarStandardsInfoEO.id,
standId: this.$route.params.id,
userId: this.$store.getters.userInfo.userId,
evaluationType: this.indexType
}
@@ -1726,7 +1726,7 @@ export default {
this.$message.success('提交成功')
this.commentSubmitLoading = false
//重新评分之后刷新历史评分人
let standId = this.sarStandardsInfoEO.id
let standId = this.$route.params.id
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', {lawId:standId}, {
_this: this
}, res => {
@@ -2819,8 +2819,9 @@ export default {
// }
},
async mounted () {
let standId = this.$route.params.id
const qualityRequest = {
lawId: this.sarStandardsInfoEO.id,
lawId: standId,
evaluationType: 'quality'
}
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', qualityRequest, {
@@ -2832,7 +2833,7 @@ export default {
}, e => {
})
const dynamicRequest = {
lawId: this.sarStandardsInfoEO.id,
lawId: standId,
evaluationType: 'dynamic'
}
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', dynamicRequest, {