zcwy-dev 补充

This commit is contained in:
lims1@hunktimes.com
2023-08-01 20:53:35 +08:00
21 changed files with 22659 additions and 148 deletions

View File

@@ -57,7 +57,7 @@
</div>
</div>
<div class="btnss" style="margin-top: 20px">
<div class="btn btn1" @click="godie" style="margin-right: 20px">
<div class="img1"></div>
<div class="wz">催促考试</div>
@@ -92,7 +92,7 @@
:scroll="{ x: 900 }"
:pagination="false"
/>
<div class="pa">
<a-pagination
:showSizeChanger="false"
@@ -108,31 +108,31 @@
</div>
</div>
</div>
<!-- <div class="btnn">
<button class="btn1" @click="closeDrawer">取消</button>
<button class="btn2" @click="closeDrawer">确定</button>
</div> -->
</div>
<!-- 导出成绩抽屉 -->
<ExportAchievement
<ExportAchievement
@closeDraw="closeDraw"
v-model:eScorevisibleExternalExternal="eScorevisibleExternalExternal"
v-model:eScorevisibleExternalExternal="eScorevisibleExternalExternal"
:type="1"
:targetId="datasource.projectId"
:targetId="datasource.projectId"
:courseId="datasource.courseId"
:taskId="datasource.id"
:chapterId="datasource.stageId" />
</a-drawer>
</template>
<script>
<script lang="jsx">
import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import ExportAchievement from "../ExportAchievement.vue";
import * as api from '../../../api/indexTaskManage';
import { batchSendMessage } from "@/api/index1";
export default {
name: "ProjectExternalExamManage",
components: {
@@ -162,7 +162,7 @@
default: null,
},
},
setup(props, ctx) {
const state = reactive({
name: "",
@@ -302,7 +302,7 @@
);
},
},
{
title: "完成时间",
dataIndex: "finishedTime",
@@ -332,7 +332,7 @@
],
loadingData: true
});
const closeDrawer = () => {
ctx.emit("update:TMvisibleExternal", false);
state.name = "";
@@ -358,7 +358,7 @@
}
state.selectedRowKeys = selectedRowKeys;
};
//催促学员学习
const godie = () => {
//项目催促请求报文
@@ -386,7 +386,7 @@
const clearLine = () => {
state.selectedRowKeys = [];
};
// 获取数据
function getData() {
state.loadingData = true;
@@ -415,24 +415,24 @@
// 重置
function reseatTableData() {
state.loadingData = true;
state.currentPage = 1;
state.currentPage = 1;
state.name = '';
state.projectName = undefined;
getData();
}
//分页
const changePaginationStu = (page) => {
state.loadingData = true;
state.currentPage = page;
getData();
};
{/* 导出数据 */}
function exportData() {
window.open(`${process.env.VUE_APP_BASE_API}/admin/external/exam/manage/exportExternalExam?chapterId=${props.datasource.stageId}&type=${1}&targetId=${props.datasource.projectId}&taskId=${props.datasource.id}&courseId=${props.datasource.courseId}`)
}
const closeDraw = (e) => {
console.log('我关闭了导入成绩弹框吗', e)
getData();
@@ -456,7 +456,7 @@
},
};
</script>
<style lang="scss">
.ProjectExternalExamManage {
.drawerMain {
@@ -465,7 +465,7 @@
overflow-x: auto;
display: flex;
flex-direction: column;
.header {
height: 73px;
border-bottom: 1px solid #e8e8e8;
@@ -473,7 +473,7 @@
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
.headerTitle {
font-size: 18px;
font-weight: 600;
@@ -481,7 +481,7 @@
line-height: 25px;
}
}
.main {
width: 100%;
height: 100%;
@@ -492,27 +492,27 @@
font-weight: 500;
color: #333333;
}
.search {
width: 100%;
display: flex;
flex-wrap: wrap;
margin-top: 20px;
.namecon {
display: flex;
flex-wrap: nowrap;
margin-bottom: 10px;
.name {
margin-top: 8px;
}
}
.btns {
display: flex;
flex-wrap: nowrap;
.btn {
cursor: pointer;
width: 100px;
@@ -521,7 +521,7 @@
display: flex;
justify-content: center;
align-items: center;
.img1 {
width: 15px;
height: 17px;
@@ -529,7 +529,7 @@
background-size: 100% 100%;
margin-right: 7px;
}
.img2 {
width: 16px;
height: 18px;
@@ -538,26 +538,26 @@
margin-right: 7px;
}
}
.btn1 {
background: #4ea6ff;
color: #ffffff;
}
.btn2 {
background: #4ea6ff;
color: #fff;
border: 1px solid #4ea6ff;
}
}
}
.btnss {
display: flex;
flex-wrap: nowrap;
.btn {
cursor: pointer;
width: 130px;
@@ -566,7 +566,7 @@
display: flex;
justify-content: center;
align-items: center;
.img1 {
width: 15px;
height: 17px;
@@ -574,7 +574,7 @@
background-size: 100% 100%;
margin-right: 7px;
}
.img2 {
width: 17px;
height: 16px;
@@ -583,13 +583,13 @@
margin-right: 7px;
}
}
.btn1 {
background: #4ea6ff;
color: #ffffff;
}
.btn2 {
background: #4ea6ff;
margin-right: 20px;
@@ -597,7 +597,7 @@
border: 1px solid #4ea6ff;
}
}
.line {
width: 100%;
height: 40px;
@@ -607,41 +607,41 @@
align-items: center;
margin-top: 20px;
border: 1px solid #c3e6fc;
.inline {
width: 95%;
height: 100%;
display: flex;
justify-content: space-between;
.left {
height: 100%;
display: flex;
align-items: center;
.img {
width: 14px;
height: 15px;
background-image: url(../../../assets/images/leveladd/gan.png);
background-size: 100% 100%;
}
.text {
color: #999ba3;
}
.text2 {
color: #4ea6ff;
margin-left: 5px;
margin-right: 5px;
}
.text3 {
color: #999ba3;
margin-left: 20px;
}
}
.right {
font-size: 14px;
font-weight: 400;
@@ -653,7 +653,7 @@
}
}
}
.tableBox {
.ant-table-selection-column {
padding: 0px !important;
@@ -670,21 +670,21 @@
.ant-table-selection-column {
padding: 0 !important;
}
th.h {
background-color: #eff4fc !important;
}
.head {
padding-left: 0px !important;
}
.ant-table-tbody
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
> td {
background: #f6f9fd;
}
.studentopea1 {
font-size: 14px;
font-weight: 400;
@@ -704,7 +704,7 @@
border-right: 1px solid #e9e9e9;
cursor: pointer;
}
.pa {
margin-top: 15px;
width: 100%;
@@ -713,7 +713,7 @@
}
}
}
.btnn {
height: 72px;
width: 100%;
@@ -725,7 +725,7 @@
align-items: center;
justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn1 {
width: 100px;
height: 40px;
@@ -735,7 +735,7 @@
background-color: #fff;
cursor: pointer;
}
.btn2 {
cursor: pointer;
width: 100px;
@@ -750,5 +750,5 @@
}
}
</style>