mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 09:26:46 +08:00
@@ -215,6 +215,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<el-dialog v-model="centerDialogVisible" title="" width="70%" center :show-close="false" :align-center="true">
|
||||||
|
<div style="text-align: center;font-size:16px;"> <span style="color:black">
|
||||||
|
您已完成评估
|
||||||
|
</span></div>
|
||||||
|
<template #footer>
|
||||||
|
<span class="dialog-footer">
|
||||||
|
<el-button class="cancel"
|
||||||
|
style="color: #387DF7; border: 1px solid #387DF7;padding: 8px 32px; border-radius: 4px;"
|
||||||
|
@click="centerDialogVisible = false">取消</el-button>
|
||||||
|
<el-button class="back"
|
||||||
|
style="background: #387DF7;box-shadow: 1px 2px 15px 1px rgba(56,125,247,0.34);border: 0px;padding: 8px 32px;"
|
||||||
|
type="primary" @click="centerDialogVisible = false">
|
||||||
|
确定
|
||||||
|
</el-button>
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
<!-- 提示用户有未填选项 -->
|
<!-- 提示用户有未填选项 -->
|
||||||
<el-dialog v-model="isEmptyValue" title="" width="70%" center :show-close="false" :align-center="true">
|
<el-dialog v-model="isEmptyValue" title="" width="70%" center :show-close="false" :align-center="true">
|
||||||
<div style="text-align: center;font-size:12px;"> <span style="color:black">
|
<div style="text-align: center;font-size:12px;"> <span style="color:black">
|
||||||
@@ -236,7 +253,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, reactive, toRefs, watch } from "vue";
|
import { ref, reactive, toRefs, watch,onMounted } from "vue";
|
||||||
import checkbox from "@/assets/image/checkbox.png";
|
import checkbox from "@/assets/image/checkbox.png";
|
||||||
import checkbox2 from "@/assets/image/checkbox2.png";
|
import checkbox2 from "@/assets/image/checkbox2.png";
|
||||||
import { useRoute, useRouter } from "vue-router/dist/vue-router";
|
import { useRoute, useRouter } from "vue-router/dist/vue-router";
|
||||||
@@ -259,7 +276,7 @@ const {
|
|||||||
type,
|
type,
|
||||||
chapterOrStageId,
|
chapterOrStageId,
|
||||||
projectStatus,
|
projectStatus,
|
||||||
projectEndTime,
|
projectEndTime,
|
||||||
},
|
},
|
||||||
} = useRoute();
|
} = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
@@ -367,7 +384,19 @@ function orderArr(a, b) {
|
|||||||
}
|
}
|
||||||
return arrs;
|
return arrs;
|
||||||
}
|
}
|
||||||
|
onMounted(() => {
|
||||||
|
useRequest(
|
||||||
|
ASSESSMENT_QUERY(courseId),{
|
||||||
|
id: courseId,
|
||||||
|
type,
|
||||||
|
chapterOrStageId,
|
||||||
|
targetId: infoId ? infoId : 0,
|
||||||
|
},(res)=>{
|
||||||
|
if (res.data.isSubmit) {
|
||||||
|
open();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
});
|
||||||
const centerDialogVisible = ref(false);
|
const centerDialogVisible = ref(false);
|
||||||
const open = () => {
|
const open = () => {
|
||||||
centerDialogVisible.value = true;
|
centerDialogVisible.value = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user