mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
签到
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
@after-visible-change="afterVisibleChange">
|
||||
<div class="drawerMain">
|
||||
<div class="header">
|
||||
<div class="headerTitle">【{{ datasource.type == 6 ? "直播" : "活动" }}】考勤1</div>
|
||||
<div class="headerTitle">【{{ datasource.type == 6 ? "直播" : "活动" }}】考勤</div>
|
||||
<img style="width: 29px; height: 29px; cursor: pointer" src="../../assets/images/basicinfo/close.png"
|
||||
@click="closeDrawer" />
|
||||
</div>
|
||||
@@ -243,6 +243,7 @@ export default {
|
||||
},
|
||||
|
||||
setup(props, ctx) {
|
||||
debugger
|
||||
const state = reactive({
|
||||
Evisible: false, //录入成绩抽屉
|
||||
name: null,
|
||||
@@ -689,15 +690,17 @@ export default {
|
||||
<div class="opa" style='display:flex;justify-content:center;align-items:center;'>
|
||||
<div
|
||||
onClick={() => {
|
||||
debugger
|
||||
{/* debugger */ }
|
||||
console.log("点击签到", value);
|
||||
// 获取当前时间
|
||||
{/* showsingleqdModal(); */ }
|
||||
{/* AttendanceSign */ }
|
||||
|
||||
let obj = {
|
||||
|
||||
let obj1 = {
|
||||
courseId: Number(props.datasource.courseId),
|
||||
routerId: Number(props.datasource.routerId),
|
||||
routerId: Number(props.datasource.projectId),
|
||||
ids: [value.record.studentId],
|
||||
taskId: Number(props.datasource.id),
|
||||
taskType: Number(props.datasource.type),
|
||||
@@ -706,15 +709,16 @@ export default {
|
||||
|
||||
let obj2 = {
|
||||
courseId: Number(props.datasource.courseId),
|
||||
routerId: Number(props.datasource.projectId),
|
||||
routerId: Number(props.datasource.routerId),
|
||||
ids: [value.record.studentId],
|
||||
taskId: Number(props.datasource.id),
|
||||
taskType: Number(props.datasource.type),
|
||||
type: 2,
|
||||
};
|
||||
console.log(obj, obj2)
|
||||
// 1是项目 2路径图 3开课
|
||||
console.log(obj1, obj2)
|
||||
state.tableDataTotalLoading = true;
|
||||
api.AttendanceSign(props.types == 1 ? obj : obj2).then(res => {
|
||||
api.AttendanceSign(props.types === 1 ? obj1 : obj2).then(res => {
|
||||
console.log('res----签到是否成功', res)
|
||||
message.destroy()
|
||||
message.info('签到成功')
|
||||
|
||||
@@ -282,7 +282,7 @@ export default {
|
||||
template: process.env.VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE,
|
||||
});
|
||||
const closeDrawer = () => {
|
||||
|
||||
|
||||
ctx.emit("closeDraw", true);
|
||||
ctx.emit("update:TaskFaceImpStuvisible", false);
|
||||
state.fileList = [];
|
||||
@@ -719,4 +719,4 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -224,7 +224,7 @@ export default {
|
||||
template: process.env.VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE,
|
||||
});
|
||||
const closeDrawer = () => {
|
||||
|
||||
|
||||
ctx.emit("closeDraw", true);
|
||||
ctx.emit("update:TaskFaceImpStuvisible", false);
|
||||
state.fileList = [];
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<div class="curloading">
|
||||
<div style="color: #387df7; margin-left: 20px; cursor: pointer"
|
||||
v-if="file.uploadState?.status === 'FAILED'" @click="downloadErrorData(file.uploadState?.url)">
|
||||
下载失败数据
|
||||
下载失败数据1
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -136,7 +136,7 @@ function downTemplate() {
|
||||
}
|
||||
|
||||
function downloadErrorData(url) {
|
||||
window.open(process.env.VUE_APP_BASE_API + url)
|
||||
window.open(process.env.VUE_APP_FILE_PATH + url)
|
||||
}
|
||||
|
||||
function handleChange({file}) {
|
||||
@@ -481,4 +481,4 @@ function handleChange({file}) {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
<!-- 路径管理 -->
|
||||
<div style="flex: 1">
|
||||
<div class="onerow">
|
||||
<div class="taskmain">任务大纲</div>
|
||||
<div class="taskmain">任务大纲2</div>
|
||||
<ImpoterGroupLeader title="批量面授报名" :data="{targetId:routerId,type:2}" :url="`/admin/offcourse/importCourse`" :template-url="`/admin/router/exportTaskCoursePlan/${routerId}?type=1&taskType=2&thirdType=3`">
|
||||
<button class="btn">批量面授报名</button>
|
||||
</ImpoterGroupLeader>
|
||||
@@ -1077,7 +1077,7 @@
|
||||
v-model:AAvisible="AAvisible"
|
||||
:datasource="liveData"
|
||||
:title="showKaoqinText"
|
||||
types="1"
|
||||
types="2"
|
||||
classify="2"
|
||||
/>
|
||||
<!-- 时间管理抽屉 -->
|
||||
|
||||
@@ -444,7 +444,7 @@
|
||||
<div style="flex: 1">
|
||||
<div class="split"></div>
|
||||
<div class="onerow">
|
||||
<div class="taskmain">任务大纲</div>
|
||||
<div class="taskmain">任务大纲1</div>
|
||||
<ImpoterGroupLeader
|
||||
title="批量面授报名"
|
||||
:data="{ targetId: projectId, type: 1 }"
|
||||
@@ -1578,7 +1578,7 @@
|
||||
v-model:AAvisible="AAvisible"
|
||||
:datasource="liveData"
|
||||
:title="showKaoqinText"
|
||||
types="2"
|
||||
types="1"
|
||||
classify="2"
|
||||
/>
|
||||
<!-- 概览(无数据)-项目发布弹窗 -->
|
||||
@@ -3151,6 +3151,7 @@ export default {
|
||||
}
|
||||
//考勤的抽屉
|
||||
const showAA = (course, a, data) => {
|
||||
debugger
|
||||
state.AAvisible = true;
|
||||
state.liveData = data;
|
||||
state.showKaoqinText = "直播";
|
||||
|
||||
Reference in New Issue
Block a user