This commit is contained in:
熊成强 2020-11-17 11:09:30 +08:00
parent 10bce0a0a5
commit e9fe7da565
2 changed files with 6 additions and 1 deletions

View File

@ -117,6 +117,10 @@ import { apiSaveDetail, apiGet375, apiSaveapproval } from '@/api/assessment'
export default { export default {
name: 'columnsTbale', name: 'columnsTbale',
props: { props: {
resultRecordId: {
type: String,
default: () => ''
},
obj: { obj: {
type: Object, type: Object,
default: () => { default: () => {
@ -195,7 +199,7 @@ export default {
return return
} }
const obj = {status: 1, menuName: this.tableInfo.result ? '提交了结果值' : '提交了评分'} 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) let res = await apiSaveapproval(params)
this.loadingTi = false this.loadingTi = false
if (res.code !== 200) { if (res.code !== 200) {

View File

@ -83,6 +83,7 @@
</div> </div>
<div v-if="!isNoList" class="performance-content-bottom"> <div v-if="!isNoList" class="performance-content-bottom">
<tables <tables
:resultRecordId='String(resultRecordId)'
:tableAuth='formList.auth' :tableAuth='formList.auth'
:tableInfo.sync='tableInfo' :tableInfo.sync='tableInfo'
v-if="obj.recortModelDtos.length !==0" v-if="obj.recortModelDtos.length !==0"