feat:合并

This commit is contained in:
lixg
2022-12-02 10:01:48 +08:00
parent 8ae00ef4ce
commit c1842cd0e1
6 changed files with 262 additions and 248 deletions

View File

@@ -262,10 +262,10 @@
<span style="color: #999999; margin-left: 8px">分钟</span>
</div>
</div>
<div class="qdqtbox">
<!-- <div class="qdqtbox">
<div class="qtbtn"><div class="btntext">签退</div></div>
</div>
<div class="setbox">
</div> -->
<!-- <div class="setbox">
<div class="timerbox">
<span>结束前</span>
<a-input-number
@@ -275,14 +275,16 @@
style="
width: 88px;
height: 32px;
border-radius: 8px;overflow: hidden; "
border-radius: 8px;
overflow: hidden;
"
v-model:value="inputV8"
></a-input-number>
<span style="color: #999999; margin-left: 8px"
>分钟提前签退则记为早退</span
>
</div>
</div>
</div> -->
</div>
</div>
<div class="main_item">
@@ -292,9 +294,9 @@
<div class="btnbox">
<a-radio-group v-model:value="radioV1">
<a-radio :value="1" @click="cloradio1">仅签到</a-radio>
<a-radio :value="2" @click="cloradio1"
<!-- <a-radio :value="2" @click="cloradio1"
>签到签退全部完成</a-radio
>
> -->
</a-radio-group>
</div>
</div>
@@ -305,7 +307,7 @@
<div class="btnbox">
<a-checkbox
v-model:checked="switchC2"
@onclick="(switchC2 = !switchC2)"
@onclick="switchC2 = !switchC2"
>学员请假后记为任务完成</a-checkbox
>
</div>
@@ -448,7 +450,7 @@ export default {
state.switchC1 = "";
state.imageUrl = "";
state.needEval = false;
state.switchC2=false;
state.switchC2 = false;
ctx.emit("changeData", false);
localStorage.setItem("stageId", props.chooseStageId);
localStorage.setItem("chapterId", props.isactive);
@@ -498,7 +500,7 @@ export default {
//state.= res.data.data
state.assessmentId = res.data.data.assessmentId;
state.imageUrl = res.data.data.liveCover;
state.switchC2 = res.data.data.otherSettings==1?true:false;
state.switchC2 = res.data.data.otherSettings == 1 ? true : false;
})
.catch(() => {
//message.error(`查询失败`);
@@ -629,10 +631,10 @@ export default {
liveId: props.edit ? props.EditLiveId : 0,
liveLink: state.inputV4,
liveName: state.inputV1,
livePlayback: state.switchC1? "1" : "0",
livePlayback: state.switchC1 ? "1" : "0",
livePlaybackLink: state.switchC1 ? state.inputV5 : "",
liveTeacherId: state.inputV3,
otherSettings: state.switchC2?"1":"0", //1或0
otherSettings: state.switchC2 ? "1" : "0", //1或0
signOutTime: state.inputV8,
standardSettings: state.radioV1, //1或2
isEvaluate: state.needEval ? "1" : "0",
@@ -745,7 +747,7 @@ export default {
queryMember();
state.fetching = false;
}, 300);
const handleChange2 = (value,label) => {
const handleChange2 = (value, label) => {
console.log(`selected ${value}`);
state.inputV3 = value;
state.memberValue = label;