|
|
@@ -2,7 +2,11 @@
|
|
|
<div class="app-container">
|
|
|
<div style="display: flex;justify-content: space-between;margin-bottom: 8px">
|
|
|
<div style="font-size: 24px">{{ m.meetingName }}</div>
|
|
|
- <el-button size="mini" @click="exportPdf" icon="el-icon-download" style="margin-right: 20px">导出</el-button>
|
|
|
+ <div>
|
|
|
+ <el-button size="mini" @click="meetingResultConfirm" type="primary" style="margin-right: 20px">会议结果确认</el-button>
|
|
|
+ <el-button size="mini" @click="exportPdf" style="margin-right: 20px">导出</el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
<el-descriptions title="" :column="2" :size="size" border>
|
|
|
<el-descriptions-item>
|
|
|
@@ -135,7 +139,7 @@
|
|
|
import {
|
|
|
getMeetingByWeekss,
|
|
|
getTaskScheduleRemark,
|
|
|
- getWeeksRecordsByWeeks,
|
|
|
+ getWeeksRecordsByWeeks, weekMeetingConfirms,
|
|
|
workComments,
|
|
|
workMeetingsUpdates
|
|
|
} from '@/api/meeting/meeting'
|
|
|
@@ -261,6 +265,17 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
workComment(row) {
|
|
|
+
|
|
|
+ let planContent=row.planContent;
|
|
|
+ if(planContent.includes('下周暂无工作安排')){
|
|
|
+ let userName=row.userName;
|
|
|
+ let msg=userName+"下周工作计划未填写,请填写完后在评论!"
|
|
|
+ this.$message({
|
|
|
+ message: msg,
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ return
|
|
|
+ }
|
|
|
let scoreId = row.scoreId
|
|
|
let score = row.score
|
|
|
let remark = row.remark
|
|
|
@@ -318,6 +333,23 @@ export default {
|
|
|
exportPdf() {
|
|
|
downloadPdf(this.meetingId, this.weeks)
|
|
|
},
|
|
|
+ meetingResultConfirm(){
|
|
|
+ weekMeetingConfirms(this.meetingId, this.weeks).then(res=>{
|
|
|
+ let code=res.code;
|
|
|
+ if(code==='2000'){
|
|
|
+ this.$message({
|
|
|
+ message: '操作成功!',
|
|
|
+ type: 'success'
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ this.$message({
|
|
|
+ message: res.data,
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|