面授结业修改

This commit is contained in:
zhangsir
2024-10-11 16:44:24 +08:00
parent c08fb3ab3f
commit f7e70a1495
3 changed files with 8 additions and 9 deletions

View File

@@ -39,7 +39,7 @@
></qrcode-vue>
</div>
</div>
<div class="codeUrl" :style="{ display: showUrl ? 'flex' : 'flex' }">
<div class="codeUrl" :style="{ display: showUrl ? 'flex' : 'none' }">
<div class="codeUrlLink">链接</div>
<a-input
:value="codeInfo.url.startsWith('/')?`${domain+codeInfo.url}&t=10`:`${codeInfo.url}&t=10`"

View File

@@ -176,7 +176,7 @@ export default {
state.codeInfo = Object.assign(obj, props.codeInfo);
console.log("codeInfo22222", state.codeInfo, props.index, props.type);
if (props.type === "签到二维码") {
if (props.type === "签到二维码"|| props.type === "评估二维码") {
state.showUrl = false;
console.log(" state.showUrl", state.showUrl);
} else if (props.type === "课程二维码") {

View File

@@ -1553,17 +1553,13 @@
<div class="bc_box">
<div class="ol_checkbox">
<a-radio
v-model:checked="checked"
:value="1"
@click="clear_jyradioV1"
>结业
</a-radio>
</div>
<div class="ol_checkbox">
<a-radio
v-model:checked="checked"
:value="2"
@click="clear_jyradioV1"
>不结业
</a-radio>
</div>
@@ -1780,7 +1776,7 @@
v-model:codevisible="codevisible"
:codeInfo="codeInfo"
:index="codeIndex"
:type="codeType == 1 ? '课程二维码' : codeType == 2 ? '签到二维码' : ''"
:type="codeType == 1 ? '课程二维码' : codeType == 2 ? '签到二维码' : '评估二维码'"
/>
<!-- 二维码弹窗 -->
</template>
@@ -2776,7 +2772,7 @@ export default defineComponent({
scoreId: null, //录入成绩id
isgetStudent: false, //是否重新获取学员
//结业
jyradioV1: "",
jyradioV1: 1,
imageUrl: "",
imgList: [],
@@ -4432,6 +4428,7 @@ function onFocusEnd(){
const graduate_exit = () => {
state.graduate_hs = false;
state.addLoading = false;
state.jyradioV1 = 1;
};
const agreereject_exit = () => {
state.agreereject_hs = false;
@@ -4498,7 +4495,7 @@ function onFocusEnd(){
}
};
const handleJie = async () => {
if (state.graduate_hs) {
if (state.graduate_hs && state.jyradioV1 == 1) {
// state.studentItem.id
// console.log("state.studentItem.id", state.studentItem.id);
api1
@@ -4514,6 +4511,8 @@ function onFocusEnd(){
delete_exit1();
}
});
}else{
graduate_exit()
}
};
//确认复制