企标评价 - 解决了有的时候获取不到企标id无法传给后端的问题
This commit is contained in:
@@ -1536,7 +1536,7 @@ export default {
|
|||||||
historyPeopleChange(row){
|
historyPeopleChange(row){
|
||||||
this.historyInfoLoading = true
|
this.historyInfoLoading = true
|
||||||
const allData = {
|
const allData = {
|
||||||
lawId: this.sarStandardsInfoEO.id,
|
lawId: this.$route.params.id,
|
||||||
userId: row.userId,
|
userId: row.userId,
|
||||||
evaluationType: this.indexType
|
evaluationType: this.indexType
|
||||||
}
|
}
|
||||||
@@ -1580,7 +1580,7 @@ export default {
|
|||||||
this.indexType = 'quality'
|
this.indexType = 'quality'
|
||||||
//查询评分表
|
//查询评分表
|
||||||
const allData = {
|
const allData = {
|
||||||
lawId: this.sarStandardsInfoEO.id,
|
lawId: this.$route.params.id,
|
||||||
userId: this.firstHistoryPeopleId,
|
userId: this.firstHistoryPeopleId,
|
||||||
evaluationType: this.indexType
|
evaluationType: this.indexType
|
||||||
}
|
}
|
||||||
@@ -1598,7 +1598,7 @@ export default {
|
|||||||
this.indexType = 'dynamic'
|
this.indexType = 'dynamic'
|
||||||
//查询评分表
|
//查询评分表
|
||||||
const allData = {
|
const allData = {
|
||||||
lawId: this.sarStandardsInfoEO.id,
|
lawId: this.$route.params.id,
|
||||||
userId: this.firstHistoryPeopleId,
|
userId: this.firstHistoryPeopleId,
|
||||||
evaluationType: this.indexType
|
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.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getScore', {lawId:standId}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -1714,7 +1714,7 @@ export default {
|
|||||||
const allData = {
|
const allData = {
|
||||||
tableData: this.businessCommentTable,
|
tableData: this.businessCommentTable,
|
||||||
formData: JSON.stringify(this.businessCommentForm),
|
formData: JSON.stringify(this.businessCommentForm),
|
||||||
standId: this.sarStandardsInfoEO.id,
|
standId: this.$route.params.id,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
evaluationType: this.indexType
|
evaluationType: this.indexType
|
||||||
}
|
}
|
||||||
@@ -1726,7 +1726,7 @@ export default {
|
|||||||
this.$message.success('提交成功')
|
this.$message.success('提交成功')
|
||||||
this.commentSubmitLoading = false
|
this.commentSubmitLoading = false
|
||||||
//重新评分之后刷新历史评分人
|
//重新评分之后刷新历史评分人
|
||||||
let standId = this.sarStandardsInfoEO.id
|
let standId = this.$route.params.id
|
||||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', {lawId:standId}, {
|
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', {lawId:standId}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
@@ -2819,8 +2819,9 @@ export default {
|
|||||||
// }
|
// }
|
||||||
},
|
},
|
||||||
async mounted () {
|
async mounted () {
|
||||||
|
let standId = this.$route.params.id
|
||||||
const qualityRequest = {
|
const qualityRequest = {
|
||||||
lawId: this.sarStandardsInfoEO.id,
|
lawId: standId,
|
||||||
evaluationType: 'quality'
|
evaluationType: 'quality'
|
||||||
}
|
}
|
||||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', qualityRequest, {
|
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', qualityRequest, {
|
||||||
@@ -2832,7 +2833,7 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
const dynamicRequest = {
|
const dynamicRequest = {
|
||||||
lawId: this.sarStandardsInfoEO.id,
|
lawId: standId,
|
||||||
evaluationType: 'dynamic'
|
evaluationType: 'dynamic'
|
||||||
}
|
}
|
||||||
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', dynamicRequest, {
|
this.$http.get('sarEnterpriseStandardEvaluation/quality-evaluation/getHistory', dynamicRequest, {
|
||||||
|
|||||||
Reference in New Issue
Block a user