mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
选择考试加校验
This commit is contained in:
@@ -197,7 +197,7 @@
|
||||
<div class="signbox"></div>
|
||||
<div class="btnbox">
|
||||
<button class="xkbtn" @click="showAssessment">选择评估</button>
|
||||
<div v-if="(assessmentId !== '0')">
|
||||
<div v-if="(assessmentId > 0)">
|
||||
<a-tag closable @close="removePG" color="processing">
|
||||
<span style="font-size: 14px; line-height: 33px"
|
||||
>删除评估</span
|
||||
@@ -591,10 +591,11 @@ export default {
|
||||
};
|
||||
const showAssessment = () => {
|
||||
state.assessmentVisible = true;
|
||||
console.log("hshs======", state.assessmentVisible);
|
||||
|
||||
};
|
||||
//创建直播
|
||||
const updateLiveBroadcast = () => {
|
||||
console.log("hshs======", state.memberValue);
|
||||
if (!state.inputV1) {
|
||||
message.destroy();
|
||||
return message.warning("请输入直播名称");
|
||||
@@ -607,6 +608,14 @@ export default {
|
||||
message.destroy();
|
||||
return message.warning("请输入直播时长");
|
||||
}
|
||||
if (state.memberValue.value=="") {
|
||||
message.destroy();
|
||||
return message.warning("请选择授课教师");
|
||||
}
|
||||
if (!state.imageUrl) {
|
||||
message.destroy();
|
||||
return message.warning("请上传封面");
|
||||
}
|
||||
const regular = /^[+]{0,1}(\d+)$/;
|
||||
if (!regular.test(state.inputV2)) {
|
||||
message.destroy();
|
||||
|
||||
Reference in New Issue
Block a user