会议号短信

This commit is contained in:
fz
2023-11-29 18:19:36 +08:00
parent 09e3e5d600
commit 2dfd63873c
2 changed files with 20 additions and 1 deletions
@@ -27,7 +27,7 @@
<script>
import { updateHeardate } from '@/api/caseManagement/caseManagement'
import { getToken } from "@/utils/auth";
import { createRoomId, reservedConference } from '@/api/meeting/index'
import { createRoomId, reservedConference, sendRoomNoMessage } from '@/api/meeting/index'
import moment from "moment";
export default {
props: ["timeVisable", "timeData", "queryParams"],
@@ -77,6 +77,12 @@ export default {
this.$emit("getcaseApply", this.queryParams);
})
},
// 发送房间号短信
async sendRoomNoMessageFn(data) {
sendRoomNoMessage(data).then(res => {
console.log(res, "PPPPPPPPPPPPPPPPPPPPPPPPP");
})
},
async submitTime() {
this.loanStartDate = moment(
this.loanStartDate
@@ -91,6 +97,11 @@ export default {
id: this.timeData.id,
hearDate: this.loanStartDate
})
await sendRoomNoMessageFn({
id: this.timeData.id,
roomNo: this.roomId,
scheduleStartTime: this.loanStartDate
})
}
},
};