优化
This commit is contained in:
parent
10bce0a0a5
commit
e9fe7da565
@ -117,6 +117,10 @@ import { apiSaveDetail, apiGet375, apiSaveapproval } from '@/api/assessment'
|
||||
export default {
|
||||
name: 'columnsTbale',
|
||||
props: {
|
||||
resultRecordId: {
|
||||
type: String,
|
||||
default: () => ''
|
||||
},
|
||||
obj: {
|
||||
type: Object,
|
||||
default: () => {
|
||||
@ -195,7 +199,7 @@ export default {
|
||||
return
|
||||
}
|
||||
const obj = {status: 1, menuName: this.tableInfo.result ? '提交了结果值' : '提交了评分'}
|
||||
const params = Object.assign({}, {resultRecordId: this.$route.query.id || ''}, obj)
|
||||
const params = Object.assign({}, {resultRecordId: this.$route.query.id || this.resultRecordId || ''}, obj)
|
||||
let res = await apiSaveapproval(params)
|
||||
this.loadingTi = false
|
||||
if (res.code !== 200) {
|
||||
|
||||
@ -83,6 +83,7 @@
|
||||
</div>
|
||||
<div v-if="!isNoList" class="performance-content-bottom">
|
||||
<tables
|
||||
:resultRecordId='String(resultRecordId)'
|
||||
:tableAuth='formList.auth'
|
||||
:tableInfo.sync='tableInfo'
|
||||
v-if="obj.recortModelDtos.length !==0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user