|
@@ -88,6 +88,8 @@
|
|
|
</el-button>
|
|
|
<el-button v-if="scope.row.status===0" size="mini" type="danger" @click="deleteMeeting( scope.row)">删除
|
|
|
</el-button>
|
|
|
+ <el-button v-if="scope.row.status===0" size="mini" type="danger" @click="startMeeting( scope.row)">开始会议
|
|
|
+ </el-button>
|
|
|
<el-button v-if="scope.row.status!==0 " type="success" size="mini" @click="meetingDetail(scope.row)">会议详情
|
|
|
</el-button>
|
|
|
</template>
|
|
@@ -357,7 +359,7 @@ import {
|
|
|
getMeetingsByPage,
|
|
|
deleteMeeting,
|
|
|
getMeetingDetailsById,
|
|
|
- deleteMeetingContentById, saveMeetingOptionss, confirmMeetings
|
|
|
+ deleteMeetingContentById, saveMeetingOptionss, confirmMeetings, startMeetingById
|
|
|
} from '@/api/meeting/meeting'
|
|
|
import {getDeptUserTree} from '@/api/system/user'
|
|
|
import {getProjectList} from "@/api/task/project";
|
|
@@ -644,6 +646,16 @@ export default {
|
|
|
this.$router.push({path: '/meeting/weeklyRecords', query: params});
|
|
|
}
|
|
|
},
|
|
|
+ startMeeting(row){
|
|
|
+ let id=row.id;
|
|
|
+ startMeetingById(id).then(res => {
|
|
|
+ this.$message({
|
|
|
+ message: '操作成功!',
|
|
|
+ type: 'info'
|
|
|
+ });
|
|
|
+ this.getData(this.formInline);
|
|
|
+ })
|
|
|
+ },
|
|
|
openUsers() {
|
|
|
this.usersVisble = true
|
|
|
},
|