feat:合并

This commit is contained in:
李晓鸽
2022-10-22 18:31:45 +08:00
23 changed files with 1622 additions and 386 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -52,26 +52,19 @@
:columns="columns1"
:data-source="tableData1"
:loading="tableDataTotal === -1 ? true : false"
:pagination="{
showSizeChanger: true,
showQuickJumper: true,
hideOnSinglePage: true,
pageSizeOptions: [],
pageSize: pageSize,
current: currentPage,
total: tableDataTotal,
onChange: (page, pageSize) => {
currentPage = page;
// console.log('page', page)
// 加翻页查找代码
// this.setState({
// currentPage: page,
// }, () => {
// this.getMilitaryDeployment()
// })
},
}"
:pagination="false"
/>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
</div>
</div>
</div>
<div class="main_btns">
@@ -316,6 +309,44 @@
}
}
}
.main_table {
position: relative;
padding-bottom: 80px;
.classify {
margin-left: 10px !important;
padding-left: 9px !important;
}
.ant-checkbox-wrapper {
align-items: center;
margin-top: -2px;
}
.ant-table-selection-column {
padding: 0px !important;
padding-left: 60px !important;
}
.ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1);
}
th.h {
background-color: #eff4fc !important;
}
.ant-table-tbody
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
> td {
background: #f6f9fd;
}
.pa {
left: 0;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
position: absolute;
bottom: 20px;
}
}
}
.main_btns {

View File

@@ -98,7 +98,7 @@
<a-tree-select
v-model:value="valueSelect"
style="width: 200px"
dropdownClassName="dropdownn"
dropdownClassName="changetreedropdown"
:dropdown-style="{
maxHeight: '400px',
overflow: 'auto',
@@ -1006,12 +1006,14 @@ export default {
}
}
}
.tab2 {
display: flex;
align-items: center;
margin-top: 10px;
flex-wrap: wrap;
justify-content: space-between;
.t1 {
display: flex;
align-items: center;
@@ -1022,9 +1024,9 @@ export default {
font-size: 14px;
white-space: nowrap;
}
.dropdownn {
background-color: red;
border-radius: 10px;
.ant-select-dropdown {
min-width: 800px !important;
}
.ant-select {
border-radius: 8px !important;
@@ -1202,4 +1204,14 @@ export default {
}
}
}
.changetreedropdown {
width: 550px !important;
}
.ant-select-tree-list-scrollbar {
width: 5px !important;
.ant-select-tree-list-scrollbar-thumb {
background-color: #4ea6ff !important;
}
}
</style>

View File

@@ -78,26 +78,20 @@
:columns="columns1"
:data-source="tableData1"
:loading="tableDataTotal === -1 ? true : false"
:pagination="{
showSizeChanger: true,
showQuickJumper: true,
hideOnSinglePage: true,
pageSizeOptions: [],
pageSize: pageSize,
current: currentPage,
total: tableDataTotal,
onChange: (page, pageSize) => {
currentPage = page;
// console.log('page', page)
// 加翻页查找代码
// this.setState({
// currentPage: page,
// }, () => {
// this.getMilitaryDeployment()
// })
},
}"
this.getMilitaryDeployment()
:pagination="false"
/>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
</div>
</div>
</div>
<div class="main_btns">
@@ -417,6 +411,44 @@ export default {
cursor: pointer;
}
}
.main_table {
position: relative;
padding-bottom: 80px;
.classify {
margin-left: 10px !important;
padding-left: 9px !important;
}
.ant-checkbox-wrapper {
align-items: center;
margin-top: -2px;
}
.ant-table-selection-column {
padding: 0px !important;
padding-left: 60px !important;
}
.ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1);
}
th.h {
background-color: #eff4fc !important;
}
.ant-table-tbody
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
> td {
background: #f6f9fd;
}
.pa {
left: 0;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
position: absolute;
bottom: 20px;
}
}
}
.main_btns {

View File

@@ -51,25 +51,7 @@
:columns="columns1"
:data-source="tableData1"
:loading="tableDataTotal === -1 ? true : false"
:pagination="{
showSizeChanger: true,
showQuickJumper: true,
hideOnSinglePage: true,
pageSizeOptions: [],
pageSize: pageSize,
current: currentPage,
total: tableDataTotal,
onChange: (page, pageSize) => {
currentPage = page;
// console.log('page', page)
// 加翻页查找代码
// this.setState({
// currentPage: page,
// }, () => {
// this.getMilitaryDeployment()
// })
},
}"
:pagination="false"
>
<template #bodyCell="{ column }">
<template v-if="column.key === 'opacation'">
@@ -77,6 +59,17 @@
</template>
</template>
</a-table>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
</div>
</div>
</div>
<div class="main_btns">
@@ -316,6 +309,44 @@
}
}
}
.main_table {
position: relative;
padding-bottom: 80px;
.classify {
margin-left: 10px !important;
padding-left: 9px !important;
}
.ant-checkbox-wrapper {
align-items: center;
margin-top: -2px;
}
.ant-table-selection-column {
padding: 0px !important;
padding-left: 60px !important;
}
.ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1);
}
th.h {
background-color: #eff4fc !important;
}
.ant-table-tbody
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
> td {
background: #f6f9fd;
}
.pa {
left: 0;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
position: absolute;
bottom: 20px;
}
}
}
.main_btns {

View File

@@ -78,12 +78,12 @@
<div class="btnss" style="margin-top: 20px">
<div class="btn btn1" style="margin-right: 20px">
<div class="img1"></div>
<div class="wz">导入学员</div>
<div class="wz" @click="showImpStu">导入学员</div>
</div>
<div class="btn btn2">
<div class="btn btn2" @click="showCopyModal">
<div class="wz">批量签到</div>
</div>
<div class="btn btn2">
<div class="btn btn2" @click="showStopModal">
<div class="wz" @click="showEntryScore">批量签退</div>
</div>
<div class="btn btn2">
@@ -149,12 +149,76 @@
<button class="btn2">确定</button>
</div>
</a-drawer>
<!-- 导入学员抽屉 -->
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
<!-- 批量签到弹窗 -->
<a-modal
v-model:visible="copyModal"
:footer="null"
:closable="closeCopy"
wrapClassName="CopyModal"
centered="true"
>
<div class="delete">
<div class="del_header"></div>
<div class="del_main">
<div class="header">
<div class="icon"></div>
<span>提示</span>
<div class="close_exit" @click="closeCopyModal"></div>
</div>
<div class="body">
<span>您确定要批量签到吗</span>
</div>
<div class="del_btnbox">
<div class="del_btn btn1">
<div class="btnText" @click="delete_exit">取消</div>
</div>
<div class="del_btn btn2">
<div class="btnText" @click="delete_exit">确定</div>
</div>
</div>
</div>
</div>
</a-modal>
<!-- 批量签退弹窗 -->
<a-modal
v-model:visible="stopModal"
:footer="null"
:closable="closeStop"
wrapClassName="CopyModal"
centered="true"
>
<div class="delete">
<div class="del_header"></div>
<div class="del_main">
<div class="header">
<div class="icon"></div>
<span>提示</span>
<div class="close_exit" @click="closeStopModal"></div>
</div>
<div class="body">
<span>您确定要批量签退吗</span>
</div>
<div class="del_btnbox">
<div class="del_btn btn1">
<div class="btnText" @click="delete_exit">取消</div>
</div>
<div class="del_btn btn2">
<div class="btnText" @click="delete_exit">确定</div>
</div>
</div>
</div>
</div>
</a-modal>
</template>
<script>
import { toRefs, reactive } from "vue";
import ImpStu from "../../components/drawers/AddLevelImportStu";
export default {
name: "FaceManage",
components: { ImpStu },
props: {
FSvisible: {
type: Boolean,
@@ -165,6 +229,11 @@ export default {
setup(props, ctx) {
const state = reactive({
Evisible: false, //录入成绩抽屉
AddImpStuvisible: false, //导入学员抽屉
copyModal: false, //批量签到弹窗
closeCopy: false, //签到弹窗关闭图标
stopModal: false, //签退弹窗
closeStop: false, //签退弹窗关闭图标
name: null,
showmodal: false, //勾选提示框
closable: false, //modal右上角的关闭按钮
@@ -346,7 +415,21 @@ export default {
const closeDrawer = () => {
ctx.emit("update:FSvisible", false);
};
const showImpStu = () => {
state.AddImpStuvisible = true;
};
const showCopyModal = () => {
state.copyModal = true;
};
const closeCopyModal = () => {
state.copyModal = false;
};
const showStopModal = () => {
state.stopModal = true;
};
const closeStopModal = () => {
state.stopModal = false;
};
const showEntryScore = () => {
state.Evisible = true;
};
@@ -498,6 +581,11 @@ export default {
showEntryScore,
tableDataFunc,
getTableData,
showImpStu,
showCopyModal,
closeCopyModal,
showStopModal,
closeStopModal,
};
},
};
@@ -509,7 +597,117 @@ export default {
padding: 0px;
}
}
.CopyModal {
.ant-modal {
width: 424px !important;
height: 258px !important;
.ant-modal-content {
width: 424px !important;
height: 258px !important;
.ant-modal-body {
width: 424px !important;
height: 258px !important;
padding: 0 !important;
.delete {
z-index: 999;
width: 424px;
height: 258px;
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%);
height: 68px;
background: linear-gradient(
rgba(78, 166, 255, 0.2) 0%,
rgba(78, 166, 255, 0) 100%
);
}
.del_main {
width: 100%;
position: relative;
.header {
display: flex;
align-items: center;
padding-top: 20px;
padding-left: 26px;
font-size: 16px;
.icon {
width: 16px;
height: 16px;
margin-right: 10px;
background-image: url(@/assets/images/coursewareManage/QR.png);
background-size: 100% 100%;
}
.close_exit {
position: absolute;
right: 42px;
cursor: pointer;
width: 20px;
height: 20px;
background-image: url(@/assets/images/coursewareManage/close.png);
background-size: 100% 100%;
}
}
.body {
width: 100%;
margin: 34px auto 56px auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
// background-color: red;
position: relative;
.back {
position: absolute;
top: 30px;
font-size: 12px;
font-weight: 400;
color: #666666;
}
}
.del_btnbox {
display: flex;
margin: 30px auto;
justify-content: center;
.del_btn {
width: 100px;
height: 40px;
background: rgba(64, 158, 255, 0);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
cursor: pointer;
.btnText {
font-size: 14px;
font-weight: 400;
line-height: 40px;
}
}
.btn1 {
border: 1px solid rgba(64, 158, 255, 1);
color: #4ea6ff;
margin-right: 14px;
}
.btn2 {
background-color: #4ea6ff;
color: #ffffff;
}
}
}
}
}
}
}
}
.largeDrawerStyle {
// width: 80%;
.ant-drawer-content-wrapper {

View File

@@ -0,0 +1,67 @@
<!--发布公告-->
<template>
<div class="noticeTitle"><span style="font-size: 18px;">公告</span>
<a-divider style="margin-top: 0px;margin-bottom:30px;"></a-divider>
<a-switch v-model:checked="noticeChecked" size="small"/><span style="margin-left: 16px;">开启</span>
<template v-if="noticeChecked">
<p style="margin-top: 35px;">公告内容</p>
<a-textarea v-model:value="noticeContent" show-count :maxlength="150" style="margin-top: -10px;margin-bottom:30px;height: 110px;"/>
<div class="publish"><div class="iconPub"></div><div class="btnText">发布</div></div>
</template>
</div>
</template>s
<script>
import { reactive,toRefs} from "vue";
export default {
name: "NoticePub",
setup(){
const state = reactive({
noticeChecked: true,
});
return{
...toRefs(state),
}
}
}
</script>
<style lang="scss">
.noticeTitle {
margin-left: 38px;
margin-right: 38px;
padding-top: 20px;
.publish {
width: 100px;
height:38px;
background: rgb(64, 158, 255);
border-radius: 8px;
border: 1px solid rgba(64, 158, 255, 1);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
float: right;
margin-top: 60px;
margin-bottom: 60px;
margin-right: 20px;
cursor: pointer;
.iconPub {
width: 15px;
height: 15px;
background-image: url(@/assets/images/taskpage/pub0.png);
background-size: 100% 100%;
color: rgb(255, 255, 255);
}
.btnText {
font-size: 14px;
font-weight: 400;
color: rgb(255, 255, 255);
line-height: 36px;
margin-left: 5px;
}
}
}
</style>

View File

@@ -0,0 +1,481 @@
<!--发布公告-->
<template>
<div class="content3">
<a-tabs v-model:activeKey="activeKeyScore">
<a-tab-pane key="1" tab="学员获取">
<div class="group">
<div class="groupleft">
<div class="groupname" style="width: 42px">姓名</div>
<a-input v-model:value="value" placeholder="请输入姓名" style="width: 131px"/>
</div>
<div class="groupright">
<div class="btn1">
<img src="../../assets/images/courseManage/search0.png" />
<span class="btn1text">搜索</span>
</div>
<div class="btn2">
<img src="../../assets/images/courseManage/reset1.png" />
<span class="btn2text">重置</span>
</div>
</div>
</div>
<div class="tab" style="margin: 20px 32px 30px 32px">
<a-table
style="border: 1px solid #f2f6fe"
:columns="tablecolumnStu"
:data-source="tabledataStu"
:loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true"
@expand="expandTable"
:pagination="false"
/>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="榜单" force-render>
<div class="scorelist">
<div class="grouprightscore">
<div class="sbutton" @click="stuValue=!stuValue">
<div class="wh" :class="stuValue?'sImage0':'sImage'"></div>
<div :class="stuValue?'':'btn1'">学员积分榜</div>
</div>
<div class="sbutton" @click="stuValue=!stuValue">
<div class="wh" :class="stuValue?'group':'group0'" ></div>
<div :class="stuValue?'btn1':''">小组积分榜</div>
</div>
</div>
<div class="group" style="justify-content: center;">
<div class="groupleft">
<div class="groupname" style="width:42px">姓名</div>
<a-input
v-model:value="value"
placeholder="请输入姓名"
style="width:130px;"/>
</div>
<div class="groupright">
<div class="btn1" style="margin-left: 16px;;">
<img src="../../assets/images/courseManage/search0.png" />
<span class="btn1text">搜索</span>
</div>
<div class="btn2">
<img src="../../assets/images/courseManage/reset1.png" />
<span class="btn2text">重置</span>
</div>
</div>
</div>
<div class="radiobutton">
<a-radio-group v-model:value="todayvalue" button-style="solid" @change="changeday">
<a-radio-button class="today" value="1">今天</a-radio-button>
<a-radio-button class="today" value="2">七天</a-radio-button>
<a-radio-button class="today" value="3">近一个月</a-radio-button>
</a-radio-group>
</div>
<div class="slist">
<a-list :data-source="stuValue?datascoreg:datascore">
<template #renderItem="{ item }">
<div class="item">
<div v-if="item.id==1" class="itemleft" ><div class="itemimage" ><img src="../../assets/images/taskpage/gold.png"/></div><div class="itemid">{{ item.id}}</div></div>
<div v-else-if="item.id==2" class="itemleft"><div class="itemimage" ><img src="../../assets/images/taskpage/siler.png"/></div><div class="itemid">{{ item.id}}</div></div>
<div v-else-if="item.id==3" class="itemleft"><div class="itemimage" ><img src="../../assets/images/taskpage/copper.png"/></div><div class="itemid">{{ item.id}}</div></div>
<div v-else class="itemleft"><div class="elseid">{{ item.id}}</div></div>
<div class="itemcenter"> {{ item.name }}</div>
<div class="itemright">{{ item.score }}</div>
</div>
</template>
</a-list>
</div>
</div>
</a-tab-pane>
<a-tab-pane key="3" tab="获取规则">
<div class="projectscore">
<div class="pjc_body">
<div class="pjcb_header">
<span>规则</span>
<div class="edit_btn">
<div class="edit"></div>
<div class="btnText">编辑</div>
</div>
</div>
<div class="pjcb_content">
<div class="content content1"><span>当前设计下学员可以获得 10 积分</span></div>
<div class="content content2"><span>完成必修/选修获得 5 积分</span></div>
<div class="content content3"><span>优秀学员可获得 5 积分</span></div>
</div>
</div>
</div></a-tab-pane>
</a-tabs>
</div>
</template>
<script>
import { reactive,toRefs} from "vue";
export default {
name: "ProjectScore",
setup(){
const state = reactive({
tabledataStu: [
{
key: 1,
name: "小李",
bum: "产研部",
gangw: "产品经理",
group: "好好学习",
diploma: "0",
operation:"查看",
putin: "手动加入",
},
{
key: 2,
name: "小刘",
bum: "产研部",
gangw: "产品经理",
group: "天天向上",
diploma: "0",
operation:"查看",
putin: "手动加入",
},
{
key: 3,
name: "小王",
bum: "产研部",
gangw: "后端",
group: "好好学习",
diploma: "0",
operation:"查看",
putin: "手动加入",
},
{
key: 4,
name: "小赵",
bum: "产研部",
gangw: "前端",
group: "天天向上",
diploma: "0",
operation:"查看",
putin: "手动加入",
},
],
tablecolumnStu: [
{
title: "姓名",
dataIndex: "name",
key: "name",
width: 30,
align: "left",
className: "h",
},
{
title: "部门",
dataIndex: "bum",
key: "bum",
width: 40,
align: "center",
className: "h",
},
{
title: "岗位",
dataIndex: "gangw",
key: "gangw",
width: 40,
align: "center",
className: "h",
},
{
title: "所属小组",
dataIndex: "group",
key: "group",
width: 40,
align: "center",
className: "h",
},
{
title: "证书",
dataIndex: "diploma",
key: "diploma",
width: 40,
align: "center",
className: "h",
},
{
title: "操作",
dataIndex: "operation",
key: "operation",
width: 60,
align: "center",
className: "operation",
},
],
datascore:[
{
id:1,
name:"张三的名字很长很长很长",
score:"10分",
},
{
id:2,
name:"李四",
score:"10分",
},
{
id:3,
name:"王五的名字一定要比张三的还长",
score:"10分",
},
{
id:4,
name:"赵六",
score:"10分",
},
{
id:5,
name:"冯七",
score:"10分",
},
],
datascoreg:[
{
id:1,
name:"第一组的同学们",
score:"10分",
},
{
id:2,
name:"第2组的同学们",
score:"9分",
},
{
id:3,
name:"第3组的同学们",
score:"8分",
},
{
id:4,
name:"第4组的同学们",
score:"7分",
},
{
id:5,
name:"第五组的同学们",
score:"6分",
},
],
valueName: "", //排行榜输入姓名
valueDate: "", //排行榜输入日期
noticeChecked: true,
noticeContent: "请输入要发布的公告",
activeKeyScore:"1",
stuName:"请输入姓名",
todayvalue:"1",
tableDataTotal:30,
stuValue:false,
});
return{
...toRefs(state),
}
},
}
</script>
<style lang="scss">
.content3 {
margin-top: 20px;
.group {
display: flex;
justify-content: space-between;
.groupleft {
display: flex;
flex-wrap: wrap;
align-items: center;
margin-left: 32px;
.groupname {
height: 22px;
width: 70px;
color: #000000;
font-size: 14px;
}
}
}
.scorelist{
padding-left: 382px;
padding-right: 382px;
padding-bottom: 100px;
padding-top: 50px;
.grouprightscore{
display: flex;
justify-content: space-evenly;
margin-bottom: 30px;
text-align: center;
.sbutton{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.wh{
width: 40px;
height: 40px;
}
.sImage0{
background-image: url(@/assets/images/taskpage/stu0.png);
}
.sImage{
background-image: url(@/assets/images/taskpage/stu.png);
}
.group0{
background-image: url(@/assets/images/taskpage/group0.png);
}
.group{
background-image: url(@/assets/images/taskpage/group.png);
}
.btn1{
color: #409EFF;
}
}
.radiobutton{
margin-top: 23px;
margin-bottom: 23px;
justify-content: center;
display: flex;
text-align: center;
.today{
width: 105px;
}
}
.slist{
background-color: #f5f8fc;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-top: 10px;
font-size: 18px;
.item{
display: flex;
justify-content: space-evenly;
text-align: center;
border-bottom: none;
height: 60px;
align-items: center;
background-color: white;
border-radius: 21px;
margin-top: 10px;
.itemleft{
justify-content: center;
display: flex;
align-items: center;
width: 150px;
.itemid{
font-size: 46px;
font-family: math;
font-style: italic;
font-weight: 700;
color: #409EFF;
margin-left: 5px;
}
.elseid{
font-size: 26px;
font-family: math;
font-weight: 500;
margin-left: 40px;
}
}
.itemcenter{
width: 300px;
}
.itemright{
width:150px;
}
}
}
}
}
.projectscore{
.pjc_body{
margin-left:34px;
margin-right:34px;
.pjcb_header{
display: flex;
justify-content: space-between;
align-items: center;
margin:24px auto;
.edit_btn{
width: 100px;
// padding: 0px 26px 0px 26px;
height: 38px;
background: rgb(64, 158, 255);
border-radius: 8px;
border: 1px solid rgba(64, 158, 255, 1);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
cursor: pointer;
.edit {
width: 15px;
height: 15px;
background-image: url(@/assets/images/coursewareManage/export1.png);
background-size: 100% 100%;
}
.btnText {
font-size: 14px;
font-weight: 400;
color: rgb(255, 255, 255);
line-height: 36px;
margin-left: 5px;
}
}
}
.pjcb_content{
border: 1px solid #409EFF;
padding: 32px;
.pjcb_content :last-child{
margin-bottom:0px;
}
.content{
margin-bottom:24px;
}
margin-bottom:130px;
}
}
}
</style>

View File

@@ -54,7 +54,7 @@
</div>
</div>
<div class="btnss" style="margin-top: 20px">
<div class="btn btn1" style="margin-right: 20px; cursor: pointer">
<div class="btn btn1" @click="showopen" style="margin-right: 20px; cursor: pointer">
<div class="img2"></div>
<div class="wz">催促考试</div>
</div>
@@ -80,12 +80,17 @@
<button class="btn1">取消</button>
<button class="btn2">确定</button>
</div>
<div class="noticebox" v-show="open">
<div><img src="../../assets/images/taskpage/check.png"/></div>
<div class="notext">催促学员成功</div>
</div>
</div>
</a-drawer>
</template>
<script>
import { toRefs, reactive } from "vue";
import { toRefs, reactive, onMounted, onUnmounted} from "vue";
export default {
name: "TestManage",
props: {
@@ -102,6 +107,7 @@ export default {
setup(props, ctx) {
const state = reactive({
name: null,
open: false,
projectNameList: [
{
id: 1,
@@ -291,11 +297,25 @@ export default {
const closeDrawer = () => {
ctx.emit("update:TMvisible", false);
};
const showopen=()=>{
state.open = true;
};
let timer;
onMounted(()=> {
timer = setInterval(()=>{
state.open = false;
},3000);
});
onUnmounted(()=>{
clearInterval(timer);
});
return {
...toRefs(state),
selectProjectName,
closeDrawer,
showopen,
onMounted,
onUnmounted,
};
},
};
@@ -324,6 +344,24 @@ export default {
overflow-x: scroll;
display: flex;
flex-direction: column;
position: relative;
.noticebox {
width: 240px;
height: 64px;
background: rgba(255, 255, 255, 1);
border-radius: 4px;
position: absolute;
top: 161px;
display: flex;
align-items: center;
justify-content: center;
.notext {
color: rgba(51, 51, 51, 1);
font-size: 14px;
font-weight: 500;
margin-left: 20px;
}
}
.header {
height: 73px;
border-bottom: 1px solid #e8e8e8;

View File

@@ -54,7 +54,7 @@
</div>
</div>
<div class="btnss" style="margin-top: 20px">
<div class="btn btn1" style="margin-right: 20px">
<div class="btn btn1" @click="showopen" style="margin-right: 20px">
<div class="img1"></div>
<div class="wz">催促学习</div>
</div>
@@ -91,12 +91,16 @@
<button class="btn1">取消</button>
<button class="btn2">确定</button>
</div>
<div class="noticebox" v-show="open">
<div><img src="../../assets/images/taskpage/check.png"/></div>
<div class="notext">催促学员成功</div>
</div>
</div>
</a-drawer>
</template>
<script>
import { toRefs, reactive } from "vue";
import { toRefs, reactive, onMounted, onUnmounted} from "vue";
export default {
name: "TimeManage",
props: {
@@ -113,6 +117,7 @@ export default {
setup(props, ctx) {
const state = reactive({
name: null,
open: false,
pageSize: 10,
currentPage: 1,
tableDataTotal: 100,
@@ -269,10 +274,25 @@ export default {
const closeDrawer = () => {
ctx.emit("update:Tvisible", false);
};
const showopen=()=>{
state.open = true;
};
let timer;
onMounted(()=> {
timer = setInterval(()=>{
state.open = false;
},3000);
});
onUnmounted(()=>{
clearInterval(timer);
});
return {
...toRefs(state),
selectProjectName,
closeDrawer,
showopen,
onMounted,
onUnmounted,
};
},
};
@@ -297,6 +317,23 @@ export default {
overflow-x: scroll;
display: flex;
flex-direction: column;
.noticebox {
width: 240px;
height: 64px;
background: rgba(255, 255, 255, 1);
border-radius: 4px;
position: absolute;
top: 161px;
display: flex;
align-items: center;
justify-content: center;
.notext {
color: rgba(51, 51, 51, 1);
font-size: 14px;
font-weight: 500;
margin-left: 20px;
}
}
.header {
height: 73px;
border-bottom: 1px solid #e8e8e8;

View File

@@ -1082,26 +1082,19 @@
:scroll="{ x: 700, y: 800 }"
expandRowByClick="true"
@expand="expandTable"
:pagination="{
showSizeChanger: true,
showQuickJumper: true,
hideOnSinglePage: true,
pageSizeOptions: [],
pageSize: pageSize,
current: currentPage,
total: tableDataTotal,
onChange: (page, pageSize) => {
currentPage = page;
// console.log('page', page)
// 加翻页查找代码
// this.setState({
// currentPage: page,
// }, () => {
// this.getMilitaryDeployment()
// })
},
}"
:pagination="false"
/>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
</div>
</div>
<!-- 有数据表格 -->
</div>
@@ -1439,26 +1432,19 @@
:scroll="{ x: 800 }"
expandRowByClick="true"
@expand="expandTable"
:pagination="{
showSizeChanger: true,
showQuickJumper: true,
hideOnSinglePage: true,
pageSizeOptions: [],
pageSize: pageSize,
current: currentPage,
total: tableDataTotal,
onChange: (page, pageSize) => {
currentPage = page;
// console.log('page', page)
// 加翻页查找代码
// this.setState({
// currentPage: page,
// }, () => {
// this.getMilitaryDeployment()
// })
},
}"
:pagination="false"
/>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
</div>
</div>
</div>
</div>
@@ -3753,7 +3739,7 @@ export default defineComponent({
width: 479px !important;
.ant-modal-body {
.QR {
z-index: 999;
z-index: 9999;
width: 520px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
@@ -3798,12 +3784,14 @@ export default defineComponent({
}
.qrm_body {
width: 100%;
margin-top: 22px;
margin-bottom: 32px;
.QR_img {
width: 176px;
height: 176px;
margin: 1px auto;
background-color: red;
background-image: url(@/assets/images/taskpage/QR.png);
background-size: 100% 100%;
}
}
.qrm_footer {
@@ -3837,7 +3825,7 @@ export default defineComponent({
// width:679px !important;
.ant-modal-body {
.recordgrade {
z-index: 999;
z-index: 9999;
width: 679px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
@@ -3939,7 +3927,7 @@ export default defineComponent({
// width:679px !important;
.ant-modal-body {
.graduate {
z-index: 999;
z-index: 9999;
width: 679px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
@@ -4046,7 +4034,7 @@ export default defineComponent({
// width:679px !important;
.ant-modal-body {
.agreestudy {
z-index: 999;
z-index: 9999;
width: 679px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
@@ -4851,9 +4839,31 @@ export default defineComponent({
}
}
.stm_table {
width: 90%;
margin: 30px auto;
border: 1px solid #f0f4fe;
position: relative;
padding-bottom: 80px;
.classify {
margin-left: 10px !important;
padding-left: 9px !important;
}
.ant-checkbox-wrapper {
align-items: center;
margin-top: -2px;
}
.ant-table-selection-column {
padding: 0px !important;
padding-left: 60px !important;
}
.ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1);
}
th.h {
background-color: #eff4fc !important;
}
.ant-table-tbody
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
> td {
background: #f6f9fd;
}
.operation {
display: flex;
justify-content: center;
@@ -4876,6 +4886,16 @@ export default defineComponent({
justify-content: right;
}
}
.pa {
left: 0;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
position: absolute;
bottom: 20px;
}
}
}
}
@@ -5063,7 +5083,33 @@ export default defineComponent({
}
}
.stmm_i6 {
margin-top: 20px;
position: relative;
padding-top: 15px;
padding-bottom: 80px;
.classify {
margin-left: 10px !important;
padding-left: 9px !important;
}
.ant-checkbox-wrapper {
align-items: center;
margin-top: -2px;
}
.ant-table-selection-column {
padding: 0px !important;
padding-left: 60px !important;
}
.ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1);
}
th.h {
background-color: #eff4fc !important;
}
.ant-table-tbody
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
> td {
background: #f6f9fd;
}
.operation,
.nselect {
display: flex;
@@ -5076,6 +5122,16 @@ export default defineComponent({
cursor: pointer;
}
}
.pa {
left: 0;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
position: absolute;
bottom: 20px;
}
}
}
}
@@ -5151,7 +5207,7 @@ export default defineComponent({
width: 424px !important;
.ant-modal-body {
.delete {
z-index: 999;
z-index: 9999;
width: 424px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);

View File

@@ -372,6 +372,7 @@
? 'flex'
: 'none',
}"
@click="showCopyModal"
>
二维码
</div>
@@ -784,84 +785,13 @@
</div>
</a-tab-pane>
<a-tab-pane key="4" tab="公告">
<div class="noticeTitle">
<h3>公告</h3>
<a-divider style="margin-top: -5px"></a-divider>
<a-switch
v-model:checked="noticeChecked"
style="size: small"
/><span style="margin-left: 13px">开启</span>
<p style="margin-top: 35px">公告内容</p>
<a-textarea
v-model:value="noticeContent"
placeholder="请输入要发布的公告"
show-count
:maxlength="150"
style="margin-top: -10px; height: 110px"
/>
<div class="publish">
<div class="iconPub"></div>
<div class="btnText">发布</div>
</div>
</div>
<NoticePub></NoticePub>
</a-tab-pane>
<a-tab-pane key="5" tab="项目积分">
<div class="split"></div>
<div class="content3">
<a-tabs v-model:activeKey="activeKey2">
<a-tab-pane key="1" tab="学员获取"> </a-tab-pane>
<a-tab-pane key="2" tab="榜单"> </a-tab-pane>
<a-tab-pane key="3" tab="获取规则">
<div class="projectscore">
<div class="pjc_body">
<div class="pjcb_header">
<span>规则</span>
<div class="edit_btn">
<div class="edit"></div>
<div class="btnText">编辑</div>
</div>
</div>
<div class="pjcb_content">
<div class="content content1">
<span
>当前设计下学员可以获得
<a-input
v-model:value="inputValue"
:maxlength="3"
style="width: 50px"
/>
积分</span
>
</div>
<div class="content content2">
<span
>完成必修/选修获得
<a-input
v-model:value="inputValue2"
:maxlength="3"
style="width: 50px"
/>
积分</span
>
</div>
<div class="content content3">
<span
>优秀学员可获得
<a-input
v-model:value="inputValue3"
:maxlength="3"
style="width: 50px"
/>
积分</span
>
</div>
</div>
</div>
</div>
</a-tab-pane>
</a-tabs>
</div>
<ProjectScore></ProjectScore>
</a-tab-pane>
<a-tab-pane key="6" tab="排行榜">
<div class="content6">
<div class="title">排行榜</div>
@@ -1538,6 +1468,34 @@
</a-modal>
</div>
<!-- 删除弹窗 -->
<!-- 面授管理二维码 -->
<a-modal
v-model:visible="copyModal"
:footer="null"
:closable="closeCopy"
wrapClassName="CopyModal"
centered="true"
>
<div class="delete">
<div class="del_header"></div>
<div class="del_main">
<div class="header">
<div class="icon"></div>
<span>面授管理</span>
<div class="close_exit" @click="closeCopyModal"></div>
</div>
<div class="body">
<div><img src="../../assets/images/taskpage/erweima.png"/></div>
</div>
<div class="footerr">
<div class="onload">下载二维码</div>
<div class="onloadpx">200*200</div>
<div class="onloadpx">400*400</div>
<div class="onloadpx">800*800</div>
</div>
</div>
</div>
</a-modal>
</div>
</template>
<script>
@@ -1555,6 +1513,8 @@ import StuAdd from "../../components/drawers/StuAdd";
import ImportStu from "../../components/drawers/ImportStu";
import SeeStu from "../../components/drawers/SeeStu";
import ChangeGroup from "../../components/drawers/ChangeGroup";
import NoticePub from "../../components/drawers/NoticePub";
import ProjectScore from "../../components/drawers/ProjectScore";
import TaskImpStu from "../../components/drawers/TaskFaceIn";
export default {
name: "taskPage",
@@ -1572,7 +1532,10 @@ export default {
ImportStu,
SeeStu,
ChangeGroup,
NoticePub,
ProjectScore,
TaskImpStu,
},
setup() {
const state = reactive({
@@ -1670,6 +1633,8 @@ export default {
Changevisible: false, //学员换组
edit_hs: false, //编辑弹窗
delete_hs: false, //删除弹窗
copyModal: false, //面授二维码弹窗
closeCopy: false, //面授二维码关闭图标
pubproject: false,
stugroup: false,
canclestu: false,
@@ -2157,6 +2122,7 @@ export default {
onClick={() => {
// state.QR_hs = true;
// state.ftsQR_hs = true;
state.canclestu = true;
}}
>
优秀学员
@@ -2232,6 +2198,12 @@ export default {
const closeModal2 = () => {
state.stugroup = false;
};
const showCopyModal = () => {
state.copyModal = true;
};
const closeCopyModal = () => {
state.copyModal = false;
};
const showFaceIn = () => {
state.TaskFaceImpStuvisible = true;
};
@@ -2323,11 +2295,15 @@ export default {
justifyContent: "center",
}}
>
<div class="studentopea1">
<div class="studentopea1" onClick={() => {
state.canclestu = true;
}}>
{value.excellent ? "取消优秀" : "优秀学员"}
</div>
<div class="studentopea2">查看</div>
<div class="studentopea2" onClick={() => {
state.Seevisible = true;
}}>查看</div>
<div class="studentSelect">
<a-select
style="width: 50px"
@@ -2336,7 +2312,9 @@ export default {
dropdownClassName="tabledropdown"
>
<a-select-option value="换组" label="换组">
<div>换组</div>
<div onClick={() => {
state.Changevisible = true;
}}>换组</div>
</a-select-option>
<a-select-option value="删除" label="删除">
<div
@@ -2477,6 +2455,8 @@ export default {
closeModal1,
showModal2,
closeModal2,
showCopyModal,
closeCopyModal,
showTime,
showFace,
showSubset,
@@ -2881,6 +2861,108 @@ export default {
}
}
.CopyModal {
.ant-modal {
width: 532px !important;
height: 428px !important;
.ant-modal-content {
width: 532px !important;
height: 428px !important;
.ant-modal-body {
width: 532px !important;
height: 428px !important;
padding: 0 !important;
.delete {
z-index: 999;
width: 532px;
height: 428px;
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%);
height: 68px;
background: linear-gradient(
rgba(78, 166, 255, 0.2) 0%,
rgba(78, 166, 255, 0) 100%
);
}
.del_main {
width: 100%;
position: relative;
.header {
display: flex;
align-items: center;
padding-top: 20px;
padding-left: 26px;
font-size: 16px;
.icon {
width: 16px;
height: 16px;
margin-right: 10px;
background-image: url(@/assets/images/coursewareManage/QR.png);
background-size: 100% 100%;
}
.close_exit {
position: absolute;
right: 42px;
cursor: pointer;
width: 20px;
height: 20px;
background-image: url(@/assets/images/coursewareManage/close.png);
background-size: 100% 100%;
}
}
.body {
width: 100%;
margin: 34px auto 56px auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
// background-color: red;
position: relative;
.back {
position: absolute;
top: 30px;
font-size: 12px;
font-weight: 400;
color: #666666;
}
}
.footerr {
display: flex;
justify-content: center;
align-items: center;
.onload {
color: rgba(51, 51, 51, 1);
font-size: 14px;
}
.onloadpx {
width: 80px;
height: 32px;
border: 1px solid rgba(56, 125, 247, 1);
border-radius: 4px;
color: rgba(56, 125, 247, 1);
margin-left: 20px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
}
}
}
}
}
}
}
.taskpage {
width: 100%;
display: flex;
@@ -3471,42 +3553,7 @@ export default {
}
}
}
.noticeTitle {
margin-left: 38px;
margin-right: 38px;
padding-top: 20px;
.publish {
width: 100px;
// padding: 0px 26px 0px 26px;
height: 38px;
background: rgb(64, 158, 255);
border-radius: 8px;
border: 1px solid rgba(64, 158, 255, 1);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
float: right;
margin-top: 60px;
margin-bottom: 60px;
margin-right: 20px;
cursor: pointer;
.iconPub {
width: 15px;
height: 15px;
background-image: url(@/assets/images/taskpage/pub.png);
background-size: 100% 100%;
color: rgb(255, 255, 255);
}
.btnText {
font-size: 14px;
font-weight: 400;
color: rgb(255, 255, 255);
line-height: 36px;
margin-left: 5px;
}
}
}
}
.content3 {
margin-top: 20px;
@@ -4382,7 +4429,7 @@ export default {
width: 424px !important;
.ant-modal-body {
.delete {
z-index: 999;
z-index: 9999;
width: 424px;
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);

View File

@@ -69,21 +69,25 @@
@expand="expandTable"
:pagination="false"
/>
</div>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
/>
</div>
<!-- 表格 -->
<a-modal v-model:visible="out" :footer="null" :closable="false" style="margin-top: 250px">
<a-modal
v-model:visible="out"
:footer="null"
:closable="false"
style="margin-top: 250px"
>
<div class="out">
<div class="top">
<img class="topimg" src="../../assets/images/courseManage/add1.png" />
@@ -107,7 +111,8 @@
<div class="in">
<a-input
v-model:value="value"
show-count :maxlength="15"
show-count
:maxlength="15"
style="border-radius: 8px"
/>
</div>
@@ -119,6 +124,53 @@
</div>
</div></a-modal
>
<!--操作弹窗 -->
<a-modal
v-model:visible="delete_hs"
:footer="null"
:closable="closableQR"
wrapClassName="DelModal"
style="margin-top: 400px"
@cancel="delete_exit"
>
<div class="delete" :style="{ display: delete_hs ? 'block' : 'none' }">
<div class="del_header"></div>
<div class="del_main">
<div class="header">
<div class="del-icon" :style="{ display: del_hs || over_hs ? 'block' : 'none' }"><img src="@/assets/images/coursewareManage/notice.png" alt=""></div>
<div class="del-icon" :style="{ display: copy_hs || back_hs || pub_hs ? 'block' : 'none' }"><img src="@/assets/images/coursewareManage/QR.png" alt=""></div>
<span>提示</span>
<div class="close_exit" @click="delete_exit"></div>
</div>
<div class="body">
<div :style="{ display: del_hs ? 'block' : 'none' }">
<span>您确定要删除此调研吗</span>
</div>
<div :style="{ display: over_hs ? 'block' : 'none' }">
<span>您确定要结束此调研吗</span>
</div>
<div :style="{ display: copy_hs ? 'block' : 'none' }">
<span>您确定要复制此调研吗</span>
</div>
<div :style="{ display: back_hs ? 'block' : 'none' }">
<span>您确定要撤回此调研吗</span>
</div>
<div :style="{ display: pub_hs ? 'block' : 'none' }">
<span>您确定要发布此调研吗</span>
</div>
</div>
<div class="del_btnbox">
<div class="del_btn btn1">
<div class="btnText" @click="delete_exit">取消</div>
</div>
<div class="del_btn btn2">
<div class="btnText" @click="delete_exit">确定</div>
</div>
</div>
</div>
</div>
</a-modal>
<!--操作弹窗 -->
</div>
</template>
<script>
@@ -219,6 +271,12 @@ export default {
valueE: ref(" "),
valueEE: ref(" "),
valuei: ref(" "),
delete_hs: false,
del_hs: false,
over_hs: false,
copy_hs: false,
back_hs: false,
pub_hs: false,
});
const tableDataFunc = () => {
const columns = [
@@ -286,7 +344,6 @@ export default {
key: "opacation",
width: 200,
align: "center",
},
];
return columns;
@@ -299,38 +356,74 @@ export default {
//单层项目
value.opacation = (
<div class="operation">
{value.state === "已发布" ? (
<div class="fb">
<router-link to="/managepage" class="jc">管理</router-link>
<div class="jc">复制</div>
<div class="jc">撤回</div>
<div class="jc">结束</div>
</div>
) : (
<div></div>
)}
{value.state === "待发布" ? (
<div class="fb">
<router-link to="/researchadd" class="jc">基础信息</router-link>
<router-link to="/managepage" class="jc">管理</router-link>
<div class="jc">复制</div>
<div class="jc">编辑</div>
<div class="jc">删除</div>
</div>
) : (
<div></div>
)}
{value.state === "已结束" ? (
<div class="fb">
<div class="jc">复制</div>
<div class="jc">删除</div>
</div>
) : (
<div></div>
)}
{value.state === "已发布" ? (
<div class="fb">
<router-link to="/managepage" class="jc">
管理
</router-link>
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.copy_hs = true;
}}>复制</div>
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.back_hs = true;
}}>撤回</div>
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.over_hs = true;
}}>结束</div>
</div>
) : (
<div></div>
)}
{value.state === "待发布" ? (
<div class="fb">
<router-link to="/researchadd" class="jc">
基础信息
</router-link>
<router-link to="/managepage" class="jc">
管理
</router-link>
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.pub_hs = true;
}}>发布</div>
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.copy_hs = true;
}}>复制</div>
<div class="jc">编辑</div>
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.del_hs = true;
}}>删除</div>
</div>
) : (
<div></div>
)}
{value.state === "已结束" ? (
<div class="fb">
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.copy_hs = true;
}}>复制</div>
<div class="jc"
onClick={()=>{
state.delete_hs = true;
state.del_hs = true;
}}>删除</div>
</div>
) : (
<div></div>
)}
</div>
);
}
@@ -357,6 +450,14 @@ export default {
const chooseImg = (id) => {
console.log(id);
};
const delete_exit = () => {
state.delete_hs = false;
state.del_hs = false;
state.over_hs = false;
state.copy_hs = false;
state.back_hs = false;
state.pub_hs = false;
};
return {
...toRefs(state),
selectProjectName,
@@ -366,6 +467,7 @@ export default {
tableDataFunc,
chooseImg,
getTableDate,
delete_exit,
};
},
};
@@ -378,108 +480,108 @@ export default {
clear: both;
}
.out {
//display: flex;
display: block;
position: absolute;
top: 120px;
width: 680px;
// height: 525px;
background-color: #fff;
//display: flex;
display: block;
position: absolute;
top: 120px;
width: 680px;
// height: 525px;
background-color: #fff;
box-shadow: 0 0 10px rgba(118, 136, 166, 0.21);
left: 50%;
top: 20%;
transform: translate(-50%, -50%);
.top {
width: 100%;
height: 68px;
box-shadow: 0 0 10px rgba(118, 136, 166, 0.21);
left: 50%;
top: 20%;
transform: translate(-50%, -50%);
.top {
width: 100%;
height: 68px;
background: linear-gradient(
rgba(78, 166, 255, 0.2) 0%,
rgba(78, 166, 255, 0) 100%
);
display: flex;
align-items: center;
.topimg {
width: 18px;
height: 18px;
margin-left: 27px;
}
.topc {
color: #000000;
font-size: 16px;
margin-left: 8px;
}
background: linear-gradient(
rgba(78, 166, 255, 0.2) 0%,
rgba(78, 166, 255, 0) 100%
);
display: flex;
align-items: center;
.topimg {
width: 18px;
height: 18px;
margin-left: 27px;
}
.mid {
width: 100%;
height: 100%;
background-color: #fff;
.topc {
color: #000000;
font-size: 16px;
margin-left: 8px;
}
}
.mid {
width: 100%;
height: 100%;
background-color: #fff;
display: flex;
flex-direction: column;
align-items: center;
.d {
// margin-top: 8px;
// color: #ff4e4e;
margin-left: -5px;
}
.name {
width: 78%;
// background-color: lightcoral;
display: flex;
flex-direction: column;
margin-top: 20px;
align-items: center;
.d {
// margin-top: 8px;
// color: #ff4e4e;
margin-left: -5px;
}
.name {
width: 78%;
// background-color: lightcoral;
display: flex;
margin-top: 20px;
align-items: center;
height: 40px;
// border: 1px solid black;
height: 40px;
// border: 1px solid black;
.inname {
color: #6f6f6f;
font-size: 14px;
margin-left: 7px;
.inname {
color: #6f6f6f;
font-size: 14px;
margin-left: 7px;
}
.in {
margin-left: 14px;
width: 81%;
.ant-input {
border-radius: 5px;
// height: 120%;
width: 100%;
height: 30px;
}
.in {
margin-left: 14px;
width: 81%;
.ant-input {
border-radius: 5px;
// height: 120%;
width: 100%;
height: 30px;
}
.showcount {
.showcount {
position: absolute;
right: 10px;
color: #c7cbd2;
bottom: 5px;
}
}
}
.btn {
width: 33%;
margin-top: 30px;
display: flex;
justify-content: space-between;
margin-bottom: 30px;
.samtn {
width: 100px;
height: 40px;
font-size: 14px;
border: 1px solid #409EFF;
border-radius: 8px;
cursor: pointer;
}
.btn1 {
background-color: #fff;
color: #4ea6ff;
}
.btn2 {
margin-left: 10px;
background-color: #409EFF;
color: #fff;
}
}
.btn {
width: 33%;
margin-top: 30px;
display: flex;
justify-content: space-between;
margin-bottom: 30px;
.samtn {
width: 100px;
height: 40px;
font-size: 14px;
border: 1px solid #409eff;
border-radius: 8px;
cursor: pointer;
}
.btn1 {
background-color: #fff;
color: #4ea6ff;
}
.btn2 {
margin-left: 10px;
background-color: #409eff;
color: #fff;
}
}
}
}
.researchmanage {
width: 100%;
height: 100%;
@@ -581,12 +683,12 @@ export default {
}
}
.tableBox {
margin: 20px 38px 30px ;
margin: 20px 38px 30px;
display: flex;
flex: 1;
//position: relative;
flex-direction: column;
th.h {
background-color: #eff4fc !important;
}
@@ -596,38 +698,142 @@ export default {
> td {
background: #f6f9fd;
}
}
.pa {
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
//position: absolute;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
//position: absolute;
margin-bottom: 20px;
.pagination {
margin-bottom: 20px;
.pagination {
margin-bottom: 20px;
}
}
}
.unout {
display: none;
}
.operation {
.operation {
display: flex;
justify-content: right;
.fb {
display: flex;
margin-right: 20px;
.jc {
color: #4ea6ff;
font-size: 14px;
margin-left: 20px;
.fb {
display: flex;
margin-right: 20px;
.jc {
color: #4ea6ff;
font-size: 14px;
margin-left: 20px;
white-space: nowrap;
cursor: pointer;
}
}
}
}
.DelModal {
.ant-modal {
.ant-modal-content {
width: 424px !important;
.ant-modal-body {
.delete {
z-index: 9999;
width: 424px;
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%);
height: 40px;
background: linear-gradient(
rgba(78, 166, 255, 0.2) 0%,
rgba(78, 166, 255, 0) 100%
);
}
.del_main {
width: 100%;
position: relative;
.header {
display: flex;
align-items: center;
padding-top: 20px;
padding-left: 26px;
font-size: 16px;
.del-icon {
display: flex;
align-items: center;
margin-right: 10px;
// background-image: url(@/assets/images/coursewareManage/notice.png);
img{
background-size: 100% 100%;
width: 16px;
height: 16px;
}
}
.icon {
width: 16px;
height: 16px;
margin-right: 10px;
background-image: url(@/assets/images/coursewareManage/QR.png);
background-size: 100% 100%;
}
.close_exit {
position: absolute;
right: 42px;
cursor: pointer;
width: 20px;
height: 20px;
background-image: url(@/assets/images/coursewareManage/close.png);
background-size: 100% 100%;
}
}
.body {
width: 100%;
margin: 34px auto 56px auto;
display: flex;
justify-content: center;
align-items: center;
}
.del_btnbox {
display: flex;
margin: 30px auto;
justify-content: center;
.del_btn {
width: 100px;
height: 40px;
background: rgba(64, 158, 255, 0);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 14px;
flex-shrink: 0;
cursor: pointer;
.btnText {
font-size: 14px;
font-weight: 400;
line-height: 40px;
}
}
.btn1 {
border: 1px solid rgba(64, 158, 255, 1);
color: #4ea6ff;
}
.btn2 {
background-color: #4ea6ff;
color: #ffffff;
}
}
}
}
}
}
}
}
</style>