面授结业修改

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> ></qrcode-vue>
</div> </div>
</div> </div>
<div class="codeUrl" :style="{ display: showUrl ? 'flex' : 'flex' }"> <div class="codeUrl" :style="{ display: showUrl ? 'flex' : 'none' }">
<div class="codeUrlLink">链接</div> <div class="codeUrlLink">链接</div>
<a-input <a-input
:value="codeInfo.url.startsWith('/')?`${domain+codeInfo.url}&t=10`:`${codeInfo.url}&t=10`" :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); state.codeInfo = Object.assign(obj, props.codeInfo);
console.log("codeInfo22222", state.codeInfo, props.index, props.type); console.log("codeInfo22222", state.codeInfo, props.index, props.type);
if (props.type === "签到二维码") { if (props.type === "签到二维码"|| props.type === "评估二维码") {
state.showUrl = false; state.showUrl = false;
console.log(" state.showUrl", state.showUrl); console.log(" state.showUrl", state.showUrl);
} else if (props.type === "课程二维码") { } else if (props.type === "课程二维码") {

View File

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