This commit is contained in:
kclf
2022-12-08 17:29:55 +08:00
15 changed files with 66 additions and 16 deletions

View File

@@ -1626,8 +1626,16 @@
<a
@click="
() => {
QR_hs = true;
ftsQR_hs = true;
//QR_hs = true;
//ftsQR_hs = true;
codevisible = true;
codeIndex = 0;
codeType = 0;
codeInfo = {
title: '面授课签到',
name: record.name,
url: codeUrl,
};
}
"
>
@@ -1675,8 +1683,16 @@
<a-menu-item
@click="
() => {
QR_hs = true;
vipftQR_hs = true;
//QR_hs = true;
//vipftQR_hs = true;
codevisible = true;
codeIndex = 1;
codeType = 1;
codeInfo = {
title: '面授课二维码',
name: record.name,
url: codeUrl,
};
}
"
>
@@ -2626,6 +2642,15 @@
<div class="aeLoading" :style="{ display: addLoading ? 'flex' : 'none' }">
<a-spin :spinning="addLoading" tip="" />
</div>
<!-- 二维码弹窗 -->
<two-dimensional-code
v-model:codevisible="codevisible"
:codeInfo="codeInfo"
:index="codeIndex"
:type="codeType === 1 ? '课程二维码' : '签到二维码'"
/>
<!-- 二维码弹窗 -->
</template>
<script>
import {
@@ -2687,7 +2712,8 @@ import ProjectManager from "@/components/project/ProjectManagerNew";
import SeeModal from "./components/seeModal.vue";
import CourseModal from "./courseModal.vue";
import * as moment from "moment";
import TwoDimensionalCode from "../../components/TwoDimensionalCode.vue";
import { codeUrl } from "../../api/method";
//列表表格
const columns1 = [
{
@@ -2835,7 +2861,7 @@ const columns1 = [
},
},
{
title: "上线时间",
title: "发布时间",
width: 160,
dataIndex: "pubtime",
key: "10",
@@ -3203,6 +3229,7 @@ export default defineComponent({
// return attrs.vnodes;
// },
addOnlineCourse,
TwoDimensionalCode,
},
setup() {
const CourseModalRef = ref(null);
@@ -3471,6 +3498,9 @@ export default defineComponent({
assessmentId: null,
assessmentName: "",
assessmentVisible: false,
codevisible: false, //二维码弹窗
codeInfo: null, //二维码内容
codeUrl: codeUrl,
});
const showStuAdd = (record) => {
@@ -3977,7 +4007,7 @@ export default defineComponent({
};
// console.log("获取学员信息", obj);
let res = await studentList(obj);
// console.log("获取学员列表", res);
console.log("获取学员列表", res);
const { rows, total, pageNo } = res.data.data;
state.tableDataTotal3 = total;
@@ -4103,6 +4133,7 @@ export default defineComponent({
address: "address",
starttime: "beginTime",
createtime: "createTime",
createName: "createName",
},
true
);
@@ -4110,6 +4141,7 @@ export default defineComponent({
itm.pageNo = pageNo;
});
state.tableData6 = datas;
console.log("state.tableData6", state.tableData6);
};
const options1 = ref([