fix:修改面授作业在线考试投票测评管理直播活动考勤 feat:新增查看作业 签到二维码 导出成绩

This commit is contained in:
Ggysh-7
2022-11-17 18:47:54 +08:00
parent 8d0cb128a1
commit 7ba791b51c
14 changed files with 1636 additions and 566 deletions

View File

@@ -67,9 +67,6 @@
{{ element.name }}
</div>
</template>
<!-- <template #title>
<span>关卡说明</span>
</template> -->
<div class="nname">
{{ element.name }}
</div>
@@ -450,7 +447,7 @@
</div>
<div class="lin"></div>
</div>
<div class="item" @click="showDrawerAddVote">
<div class="item" @click="showDrawerAddProj">
<div class="itcon">
<div class="img">
<img
@@ -684,7 +681,7 @@
</div>
<div class="draw" style="position: relative">
<a-drawer
v-model:visible="visible"
v-model:visible="addprojvisible"
class="drawerStyle ProjectDrawer"
title="关联项目"
placement="right"
@@ -697,7 +694,7 @@
<img
style="width: 29px; height: 29px; cursor: pointer"
src="../../assets/images/basicinfo/close.png"
@click="closeDrawer"
@click="leaveProjDrawer"
/>
</div>
<div class="drawerbox">
@@ -712,8 +709,8 @@
</a-table>
</div>
<div class="btnn">
<button @click="showDrawer" class="btn1">取消</button>
<button @click="showDrawer" class="btn2">确定</button>
<button @click="leaveProjDrawer" class="btn1">取消</button>
<button @click="updateTask" class="btn2">确定</button>
</div>
</div>
</a-drawer>
@@ -984,7 +981,7 @@ import { storage } from "../../api/storage";
import { deleteStudyTask } from "../../api/indexStudy";
import draggable from "vuedraggable";
import { editTask } from "../../api/indexTaskadd";
import * as apiProj from "../../api/indexInvist.js";
import * as apiProj from "../../api/index.js";
import { RouterEditTask } from "@/api/indexTask";
import dayjs from "dayjs";
import { toDate } from "../../api/method";
@@ -1325,7 +1322,6 @@ export default {
//关闭项目抽屉
const leaveProjDrawer = () => {
state.addprojvisible = false;
state.isLevel = false;
};
//在线抽屉
const showDrawerAddOnline = (id,eleId)=>{
@@ -1935,22 +1931,25 @@ export default {
//获取全部项目信息接口
const getAllProjText = () => {
apiProj
.queryAssessmentDetailList({
assessmentName: "",
pageNo: state.currentPage,
pageSize: state.pageSize,
.getProjectList({
"beginTime": 0,
"createName": "",
"endTime": 0,
"manager": "",
"name": "",
"pageNo": 0,
"pageSize": 0,
"status": 0
})
.then((res) => {
let arr = res.data.data.rows;
if (res.status === 200) {
getTableDate(arr);
console.log('---------------项目信息---------------------------');
let arr = res.data.data.rows;
console.log(arr,'-------------------------------');
}
})
.catch((err) => {
console.log("获取全部项目信息接口失败", err);
console.log('+++++++++++++++++++++++++++++++++++++++++++++++');
// state.createLoading = false;
});
};
const updateTask = () => {
@@ -2054,10 +2053,6 @@ export default {
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
border-radius: 4px;
// position: absolute;
// left: 50%;
// top: 10%;
// transform: translate(-50%, -50%);
.del_header {
position: absolute;
width: calc(100%);
@@ -2100,7 +2095,6 @@ export default {
justify-content: center;
align-items: center;
flex-direction: column;
// background-color: red;
position: relative;
.back {
position: absolute;
@@ -2159,7 +2153,6 @@ export default {
width: 549px !important;
height: 245px !important;
.con {
// background-color: #bfa;
width: 100%;
height: 100%;
@@ -2263,7 +2256,6 @@ export default {
height: 388px !important;
border-radius: 4px !important;
.ant-modal-body {
// background-color: blue;
width: 100% !important;
height: 100% !important;
padding: 0 !important;
@@ -2300,13 +2292,11 @@ export default {
.main {
width: 100%;
height: calc(100% - 68px);
// background-color: #bfa;
display: flex;
justify-content: center;
.inma {
width: 75%;
height: 100%;
// background-color: lightblue;
.name {
display: flex;
position: relative;
@@ -2392,19 +2382,9 @@ export default {
}
}
.ProjectDrawer {
// .ant-drawer-content-wrapper {
// .ant-drawer-header {
// display: none !important;
// }
// .ant-drawer-body {
// padding: 0;
// }
// }
.drawerMain {
min-width: 600px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex;
flex-direction: column;
.header {
@@ -2413,7 +2393,6 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
// background-color: red;
margin-bottom: 20px;
flex-shrink: 0;
.headerTitle {
@@ -2421,11 +2400,10 @@ export default {
font-weight: 600;
color: #333333;
line-height: 25px;
// margin-left: 24px;
}
}
.drawerbox {
margin: 20px 38px 30px;
overflow-y: auto;
th {
background-color: #eff4fc !important;
}