|
@@ -6,8 +6,8 @@
|
|
|
<el-button @click="jumpPage" size="mini">返回</el-button>
|
|
|
<el-button v-if="m.status===1" size="mini" type="primary" @click="endMeetingClick(m)">结束会议
|
|
|
</el-button>
|
|
|
- <el-button size="mini" @click="meetingResultConfirm" v-if="meetingResultConfirmVisible" type="primary" style="margin-right: 20px">会议结果确认</el-button>
|
|
|
- <el-button size="mini" @click="exportPdf" style="margin-right: 20px" v-if="workScoreVisible">导出</el-button>
|
|
|
+ <el-button size="mini" @click="meetingResultConfirm" v-if="meetingResultConfirmVisible" type="primary">会议结果确认</el-button>
|
|
|
+ <el-button size="mini" @click="exportPdf" type="success" style="margin-right: 20px" v-if="workScoreVisible">导出</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-descriptions title="" :column="2" :size="size" border>
|
|
@@ -112,7 +112,7 @@
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column prop="remarks" label="备注">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.remark" type="textarea" :autosize="{ minRows: 4}" @change="workComment(scope.row)">
|
|
|
+ <el-input v-model="scope.row.remark" :readonly="workRemarkReadOnly" type="textarea" :autosize="{ minRows: 4}" @change="workComment(scope.row)">
|
|
|
</el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -276,7 +276,8 @@ export default {
|
|
|
row:null,
|
|
|
workScoreVisible:false,
|
|
|
meetingConfirms:[],
|
|
|
- permissions:null
|
|
|
+ permissions:null,
|
|
|
+ workRemarkReadOnly:true,
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -321,6 +322,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ let userName=this.$store.getters.name
|
|
|
+ if((userName===meeting.recorder || userName===meeting.emcee) && meeting.status!==2 ){
|
|
|
+ this.workRemarkReadOnly=false
|
|
|
+ }
|
|
|
},
|
|
|
getData() {
|
|
|
let loginUserId=this.$store.getters.userId
|
|
@@ -486,6 +491,7 @@ export default {
|
|
|
message: '操作成功!',
|
|
|
type: 'success'
|
|
|
});
|
|
|
+ this.meetingResultConfirmVisible=false;
|
|
|
this.getData()
|
|
|
}else{
|
|
|
this.$message({
|
|
@@ -669,6 +675,8 @@ export default {
|
|
|
message: '操作成功!',
|
|
|
type: 'success'
|
|
|
});
|
|
|
+ this.m.status=2
|
|
|
+ this.setPermissions()
|
|
|
this.getData();
|
|
|
})
|
|
|
}
|