会议号短信

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
+8
View File
@@ -23,4 +23,12 @@ export function reserveConferenceList(data) {
params: data params: data
}) })
} }
// 发送房间号短信
export function sendRoomNoMessage(data) {
return request({
url: '/caseApplication/sendRoomNoMessage',
method: 'post',
data: data
})
}
@@ -27,7 +27,7 @@
<script> <script>
import { updateHeardate } from '@/api/caseManagement/caseManagement' import { updateHeardate } from '@/api/caseManagement/caseManagement'
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
import { createRoomId, reservedConference } from '@/api/meeting/index' import { createRoomId, reservedConference, sendRoomNoMessage } from '@/api/meeting/index'
import moment from "moment"; import moment from "moment";
export default { export default {
props: ["timeVisable", "timeData", "queryParams"], props: ["timeVisable", "timeData", "queryParams"],
@@ -77,6 +77,12 @@ export default {
this.$emit("getcaseApply", this.queryParams); this.$emit("getcaseApply", this.queryParams);
}) })
}, },
// 发送房间号短信
async sendRoomNoMessageFn(data) {
sendRoomNoMessage(data).then(res => {
console.log(res, "PPPPPPPPPPPPPPPPPPPPPPPPP");
})
},
async submitTime() { async submitTime() {
this.loanStartDate = moment( this.loanStartDate = moment(
this.loanStartDate this.loanStartDate
@@ -91,6 +97,11 @@ export default {
id: this.timeData.id, id: this.timeData.id,
hearDate: this.loanStartDate hearDate: this.loanStartDate
}) })
await sendRoomNoMessageFn({
id: this.timeData.id,
roomNo: this.roomId,
scheduleStartTime: this.loanStartDate
})
} }
}, },
}; };