Browse Source

华为视频会议发送短信

limeng 2 years ago
parent
commit
6e05d0db24
1 changed files with 15 additions and 6 deletions
  1. 15 6
      src/views/eventdetailsdialog.vue

+ 15 - 6
src/views/eventdetailsdialog.vue

@@ -466,8 +466,8 @@
       </el-form>
     </el-dialog>
     <!--    会议弹窗  start -->
-    <el-dialog title="视频会议" :visible.sync="showResponsibilityDialog" v-if="showResponsibilityDialog" width="65%"
-               @close="closeResponsibilityDialog()">
+    <el-dialog title="视频会议" :visible.sync="showMeetingMsgDialog" v-if="showMeetingMsgDialog" width="65%"
+               @close="closeMeetingMsgDialog()">
       <el-form label-width="1500px">
         <div class="bottom">
           <!-- 左侧菜单栏 -->
@@ -1277,6 +1277,7 @@ export default {
       visuForestCloudYuAnBo: null,
       eventDialog: false,
       showResponsibilityDialog: false,//责任制弹窗
+      showMeetingMsgDialog: false,//发送会议短信弹窗
       depteventList: [],//责任制部门列表
       iconCurrentIndex: '',
       dutysystemDeptName: '',
@@ -1434,6 +1435,13 @@ export default {
       this.iconCurrentIndex = ''
       this.showResponsibilityDialog = false
     },
+    closeMeetingMsgDialog() {//会议弹窗关闭
+      this.dutysystemTableData = []
+      this.dutysystemDeptName = ''
+      this.depteventId = ''
+      this.iconCurrentIndex = ''
+      this.showMeetingMsgDialog = false
+    },
     addResponsibilityDialog() {//责任制保存
       let reg_user = /^[\u4e00-\u9fa5]{2,4}$/;    //2-4个中文字符正则
       let reg_tel = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;    //11位手机号码正则
@@ -1479,9 +1487,10 @@ export default {
       }
       const param = {centereventTDutySystemList:this.dutysystemTableData,eventCode:this.eventCode,eventName:this.eventName,eventId:this.eventId}
       sendMessage(param).then(res => {
-        this.$message.success(`短信发送成功!`)
+        this.$message.success(res.data);
         this.dutysystemSelect(this.iconCurrentIndex, this.dutysystemDeptName, this.depteventId);
-        this.closeResponsibilityDialog();
+        this.showMeetingMsgDialog = false;
+        this.joinMeeting();
       })
     },
     /************************************责任制-结束****************************************/
@@ -2468,11 +2477,11 @@ export default {
     },
     /** ----------------------------------视频会议结束------------------------------------- */
     /** ----------------------------------点击视频会议开始弹窗 --------------------------*/
-    Meeting() {//弹出责任制弹窗
+    Meeting() {//弹出发送会议短信弹窗
       let param = { eventCode: this.eventCode }
       centereventtdepteventList(param).then(res => {
         this.depteventList = res.data
-        this.showResponsibilityDialog = true
+        this.showMeetingMsgDialog = true
         this.initDutysystemTableData();
       })
     },