feat:修改[活动]考勤抽屉

This commit is contained in:
李晓鸽
2022-10-25 17:25:31 +08:00
31 changed files with 1554 additions and 916 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 B

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

View File

@@ -15,7 +15,7 @@
@click="closeDrawer" @click="closeDrawer"
/> />
</div> </div>
<div class="main"> <div class="centermain">
<div class="titl"> <div class="titl">
<div class="endtime"> <div class="endtime">
起止时间2022-07-21 14:00 2022-7-30 14:00 起止时间2022-07-21 14:00 2022-7-30 14:00
@@ -76,11 +76,11 @@
</div> </div>
</div> </div>
<div class="btnss" style="margin-top: 20px"> <div class="btnss" style="margin-top: 20px">
<div class="btn btn1"> <div class="btn btn1" @click="showqdModal">
<div class="wz">批量签到</div> <div class="wz">批量签到</div>
</div> </div>
<div class="btn btn2"> <div class="btn btn2" @click="showqtModal">
<div class="wz" @click="showEntryScore">批量签退</div> <div class="wz">批量签退</div>
</div> </div>
<div class="btn btn2"> <div class="btn btn2">
<div class="img2"></div> <div class="img2"></div>
@@ -137,14 +137,72 @@
/> />
</div> --> </div> -->
</div> </div>
</div> <div class="btnn">
<button class="btn1">取消</button>
<div class="botm"></div> <button class="btn2">确定</button>
<div class="btnn"> </div>
<button class="btn1">取消</button>
<button class="btn2">确定</button>
</div> </div>
</a-drawer> </a-drawer>
<!-- 批量签到弹窗 -->
<a-modal
v-model:visible="qdModal"
: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="closeqdModal"></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="qtModal"
: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="closeqtModal"></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> </template>
<script> <script>
@@ -168,6 +226,9 @@ export default {
currentPage: 1, currentPage: 1,
tableDataTotal: 100, tableDataTotal: 100,
selectedRowKeys: [], selectedRowKeys: [],
qtModal: false, //批量签退
qdModal: false, //批量签到
closeCopy: false,
projectNameList: [ projectNameList: [
{ {
id: 1, id: 1,
@@ -476,6 +537,18 @@ export default {
]; ];
return columns; return columns;
}; };
const showqdModal = () => {
state.qdModal = true;
};
const showqtModal = () => {
state.qtModal = true;
};
const closeqdModal = () => {
state.qdModal = false;
};
const closeqtModal = () => {
state.qtModal = false;
};
return { return {
...toRefs(state), ...toRefs(state),
selectProjectName, selectProjectName,
@@ -484,6 +557,10 @@ export default {
onSelectChange, onSelectChange,
showEntryScore, showEntryScore,
tableDataFunc, tableDataFunc,
showqdModal,
showqtModal,
closeqtModal,
closeqdModal,
}; };
}, },
}; };
@@ -505,294 +582,298 @@ export default {
} }
.ant-drawer-body { .ant-drawer-body {
padding: 0; padding: 0;
} .drawerMain {
} min-width: 600px;
.drawerMain { margin: 0px 32px 0px 32px;
min-width: 600px; // overflow-x: scroll;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex;
flex-direction: column;
.header {
height: 73px;
border-bottom: 1px solid #e8e8e8;
display: flex;
justify-content: space-between;
align-items: center;
// background-color: red;
margin-bottom: 20px;
.headerTitle {
font-size: 18px;
font-weight: 600;
color: #333333;
line-height: 25px;
// margin-left: 24px;
}
}
.main {
width: 100%;
height: 100%;
// background-color: #bfa;
overflow-y: auto;
.titl {
display: flex; display: flex;
.endtime { flex-direction: column;
font-size: 16px; height: 100%;
font-weight: 500; .header {
color: #333333; height: 73px;
white-space: nowrap; border-bottom: 1px solid #e8e8e8;
}
}
.search {
width: 100%;
display: flex;
flex-wrap: wrap;
margin-top: 20px;
justify-content: space-between;
.leftchoose {
display: flex; display: flex;
margin-right: 20px; justify-content: space-between;
flex-wrap: wrap; align-items: center;
.namecon { // background-color: red;
display: flex; margin-bottom: 20px;
flex-wrap: nowrap; flex-shrink: 0;
margin-bottom: 10px; .headerTitle {
.name { font-size: 18px;
margin-top: 8px; font-weight: 600;
white-space: nowrap; color: #333333;
} line-height: 25px;
// .name { // margin-left: 24px;
// margin-top: 8px;
// color: rgba(0, 0, 0, 0.85);
// font-size: 14px;
// font-weight: 400;
// }
} }
} }
.centermain {
// width: 100%;
// height: 100%;
// background-color: #bfa;
flex: 1;
overflow-y: auto;
margin-bottom: 75px;
.titl {
display: flex;
.endtime {
font-size: 16px;
font-weight: 500;
color: #333333;
white-space: nowrap;
}
}
.search {
width: 100%;
display: flex;
flex-wrap: wrap;
margin-top: 20px;
justify-content: space-between;
.leftchoose {
display: flex;
margin-right: 20px;
flex-wrap: wrap;
.namecon {
display: flex;
flex-wrap: nowrap;
margin-bottom: 10px;
.name {
margin-top: 8px;
white-space: nowrap;
}
// .name {
// margin-top: 8px;
.btns { // color: rgba(0, 0, 0, 0.85);
display: flex; // font-size: 14px;
flex-wrap: nowrap; // font-weight: 400;
// }
}
}
.btn { .btns {
cursor: pointer; display: flex;
width: 100px; flex-wrap: nowrap;
.btn {
cursor: pointer;
width: 100px;
height: 40px;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
.img1 {
width: 15px;
height: 17px;
background-image: url(../../assets/images/courseManage/search0.png);
background-size: 100% 100%;
margin-right: 7px;
}
.img2 {
width: 16px;
height: 18px;
background-image: url(../../assets/images/courseManage/reset1.png);
background-size: 100% 100%;
margin-right: 7px;
}
}
.btn1 {
background: #388be1;
color: #ffffff;
}
.btn2 {
background: #ffffff;
color: #388be1;
border: 1px solid #388be1;
}
}
}
.btnss {
display: flex;
flex-wrap: nowrap;
.btn {
cursor: pointer;
width: 130px;
height: 40px;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
.img1 {
width: 15px;
height: 17px;
background-image: url(../../assets/images/courseManage/search0.png);
background-size: 100% 100%;
margin-right: 7px;
}
.img2 {
width: 17px;
height: 16px;
background-image: url(../../assets/images/coursewareManage/export.png);
background-size: 100% 100%;
margin-right: 7px;
}
}
.btn1 {
background: #388be1;
margin-right: 20px;
color: #ffffff;
}
.btn2 {
background: #ffffff;
margin-right: 20px;
color: #388be1;
border: 1px solid #388be1;
}
}
.line {
width: 100%;
height: 40px; height: 40px;
border-radius: 8px; background-color: #e9f6fe;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.img1 { margin-top: 20px;
width: 15px; border: 1px solid #c3e6fc;
height: 17px; .inline {
background-image: url(../../assets/images/courseManage/search0.png); width: 95%;
background-size: 100% 100%; height: 100%;
margin-right: 7px; display: flex;
} justify-content: space-between;
.img2 { // background-color: #bfa;
width: 16px; .left {
height: 18px; height: 100%;
background-image: url(../../assets/images/courseManage/reset1.png); display: flex;
background-size: 100% 100%; align-items: center;
margin-right: 7px; .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;
color: #387df7;
height: 100%;
display: flex;
align-items: center;
cursor: pointer;
}
} }
} }
.pad {
.btn1 { width: 96%;
background: #388be1; height: 10px;
background-color: #fff;
color: #ffffff; position: absolute;
} }
.btn2 { .tableBox {
background: #ffffff; // margin-bottom: 80px;
color: #388be1; .classify {
border: 1px solid #388be1; // margin-left: 11px !important;
// padding-left: 9px !important;
padding-left: 0px !important;
}
.ant-checkbox-wrapper {
align-items: center;
margin-top: -2px;
}
.ant-table-selection-column {
padding: 0px !important;
// padding-left: 45px !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;
}
.opa {
// background-color: #bfa;
}
} }
// .tab {
// .ant-table-thead > tr > th {
// background-color: rgba(239, 244, 252, 1) !important;
// }
// th.h {
// background-color: #eff4fc !important;
// }
// .ant-table-tbody
// > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
// > td {
// background: #f6f9fd;
// }
// }
} }
} .btnn {
.btnss { height: 72px;
display: flex; width: 100%;
flex-wrap: nowrap; // position: absolute;
background-color: #fff;
.btn { // bottom: 0;
cursor: pointer; // left: 0;
width: 130px;
height: 40px;
border-radius: 8px;
display: flex; display: flex;
justify-content: center; // display: none;
align-items: center; align-items: center;
.img1 { justify-content: center;
width: 15px; box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
height: 17px; .btn1 {
background-image: url(../../assets/images/courseManage/search0.png); width: 100px;
background-size: 100% 100%; height: 40px;
margin-right: 7px; border: 1px solid #4ea6ff;
} border-radius: 8px;
.img2 { color: #4ea6ff;
width: 17px; background-color: #fff;
height: 16px;
background-image: url(../../assets/images/coursewareManage/export.png);
background-size: 100% 100%;
margin-right: 7px;
}
}
.btn1 {
background: #388be1;
margin-right: 20px;
color: #ffffff;
}
.btn2 {
background: #ffffff;
margin-right: 20px;
color: #388be1;
border: 1px solid #388be1;
}
}
.line {
width: 100%;
height: 40px;
background-color: #e9f6fe;
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
border: 1px solid #c3e6fc;
.inline {
width: 95%;
height: 100%;
display: flex;
justify-content: space-between;
// background-color: #bfa;
.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;
color: #387df7;
height: 100%;
display: flex;
align-items: center;
cursor: pointer; cursor: pointer;
} }
.btn2 {
cursor: pointer;
width: 100px;
height: 40px;
background: #4ea6ff;
border-radius: 8px;
border: 0;
margin-left: 15px;
color: #fff;
}
} }
} }
.pad { // .botm {
width: 96%; // width: 100%;
height: 10px; // height: 90px;
background-color: #fff; // // background-color: red;
position: absolute; // // flex-shrink: 1;
}
.tableBox {
// margin-bottom: 80px;
.classify {
// margin-left: 11px !important;
// padding-left: 9px !important;
padding-left: 0px !important;
}
.ant-checkbox-wrapper {
align-items: center;
margin-top: -2px;
}
.ant-table-selection-column {
padding: 0px !important;
// padding-left: 45px !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;
}
.opa {
background-color: #bfa;
}
}
// .tab {
// .ant-table-thead > tr > th {
// background-color: rgba(239, 244, 252, 1) !important;
// }
// th.h {
// background-color: #eff4fc !important;
// }
// .ant-table-tbody
// > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
// > td {
// background: #f6f9fd;
// }
// } // }
} }
} }
.botm {
width: 100%;
height: 90px;
// background-color: red;
// flex-shrink: 1;
}
.btnn {
height: 72px;
width: 100%;
position: absolute;
background-color: #fff;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn1 {
width: 100px;
height: 40px;
border: 1px solid #4ea6ff;
border-radius: 8px;
color: #4ea6ff;
background-color: #fff;
cursor: pointer;
}
.btn2 {
cursor: pointer;
width: 100px;
height: 40px;
background: #4ea6ff;
border-radius: 8px;
border: 0;
margin-left: 15px;
color: #fff;
}
}
} }
</style> </style>

View File

@@ -79,11 +79,11 @@
const columns1 = [ const columns1 = [
{ {
title: "案例标题", title: "案例标题",
width: "35%", width: "40%",
dataIndex: "title", dataIndex: "title",
key: "num", key: "num",
align: "center", align: "center",
ellipsis: true, ellipsis: true,
}, },
{ {
title: "作者", title: "作者",
@@ -94,7 +94,7 @@
}, },
{ {
title: "导入时间", title: "导入时间",
width: "40%", width: "35%",
dataIndex: "time", dataIndex: "time",
key: "time", key: "time",
align: "center", align: "center",

View File

@@ -3,7 +3,7 @@
:visible="AddImpStuvisible" :visible="AddImpStuvisible"
class="drawerStyle AddLevelImpStu" class="drawerStyle AddLevelImpStu"
placement="right" placement="right"
width="40%" width="800px"
@after-visible-change="afterVisibleChange" @after-visible-change="afterVisibleChange"
> >
<div class="drawerMain"> <div class="drawerMain">
@@ -63,12 +63,18 @@
</div> </div>
<div class="curloading"> <div class="curloading">
<div class="cur">55%</div> <div class="cur">55%</div>
<div class="cancel" style="margin-left: 20px">暂停</div> <div class="cancel" style="margin-left: 20px">重传</div>
<div class="cancel" style="margin-left: 15px">取消</div> <div class="cancel" style="margin-left: 15px">取消</div>
</div> </div>
<div class="defeat">下载失败数据</div> <div class="defeat">
<div class="detext">下载失败数据</div>
</div>
</div> </div>
</div> </div>
<div class="defeatbox">
<div class="lefimg"></div>
<div class="tacl">20条数据导入成功5条数据导入失败</div>
</div>
<div class="loadborder"> <div class="loadborder">
<div class="content"> <div class="content">
<div class="img"></div> <div class="img"></div>
@@ -87,6 +93,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="succebox">
<div class="lefimg"></div>
<div class="tacl">20条数据导入成功5条数据导入失败</div>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -132,9 +142,8 @@ export default {
<style lang="scss" > <style lang="scss" >
.AddLevelImpStu { .AddLevelImpStu {
.drawerMain { .drawerMain {
min-width: 600px; min-width: 450px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.header { .header {
@@ -143,6 +152,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
flex-shrink: 0;
// background-color: red; // background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
.headerTitle { .headerTitle {
@@ -154,6 +164,7 @@ export default {
} }
} }
.main { .main {
overflow: scroll;
.minatitl { .minatitl {
display: flex; display: flex;
.up1 { .up1 {
@@ -175,6 +186,7 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
white-space: nowrap;
} }
.right { .right {
margin-left: 6px; margin-left: 6px;
@@ -218,7 +230,8 @@ export default {
height: 173px; height: 173px;
border-radius: 4px; border-radius: 4px;
border: 1px dashed #eaeaea; border: 1px dashed #eaeaea;
margin-bottom: 30px; margin-bottom: 10px;
margin-top: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
.content { .content {
@@ -228,10 +241,22 @@ export default {
.defeat { .defeat {
position: absolute; position: absolute;
left: 46px; left: 46px;
top: 38px; top: 42px;
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
color: #ff7474; width: 120px;
height: 32px;
border-radius: 2px;
border: 1px solid #387df7;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
.detext {
font-size: 14px;
font-weight: 400;
color: #387df7;
}
} }
.img { .img {
width: 30px; width: 30px;
@@ -314,6 +339,49 @@ export default {
} }
} }
} }
.defeatbox {
width: 500px;
height: 40px;
background: rgba(255, 116, 116, 0.1);
border: 1px solid #ff7474;
display: flex;
align-items: center;
.lefimg {
width: 14px;
height: 14px;
margin-left: 17px;
margin-right: 8px;
background-image: url(../../assets/images/leveladd/nodone.png);
background-size: 100%;
}
.tacl {
font-size: 14px;
font-weight: 400;
color: #ff7474;
}
}
.succebox {
width: 500px;
height: 40px;
background: rgba(53, 174, 105, 0.1);
border: 1px solid #35ae69;
display: flex;
align-items: center;
.lefimg {
width: 14px;
height: 14px;
margin-left: 17px;
margin-right: 8px;
background-image: url(../../assets/images/leveladd/done.png);
background-size: 100%;
}
.tacl {
font-size: 14px;
font-weight: 400;
color: rgba(0, 0, 0, 0.65);
}
}
} }
} }
} }

View File

@@ -66,155 +66,6 @@ export default {
const state = reactive({ const state = reactive({
value: 1, //成绩是否合格的单选 value: 1, //成绩是否合格的单选
score: null, //录入的成绩 score: null, //录入的成绩
pageSize: 10,
currentPage: 1,
tableDataTotal: 100,
projectNameList: [
{
id: 1,
value: "项目一",
label: "项目一",
},
{
id: 2,
value: "项目二",
label: "项目二",
},
{
id: 3,
value: "项目三",
label: "项目三",
},
{
id: 4,
value: "项目四",
label: "项目四",
},
],
tabledata: [
{
key: 1,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "-",
state: "未完成",
},
{
key: 2,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 3,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 4,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 5,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 6,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 7,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 8,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 9,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
{
key: 10,
name: "哈哈",
bum: "产品部",
gangw: "产品经理",
time: "2022-10-31 23:12:00",
state: "未完成",
},
],
tablecolumns: [
{
title: "姓名",
dataIndex: "name",
key: "name",
width: 50,
align: "center",
className: "h",
},
{
title: "所在部门",
dataIndex: "bum",
key: "bum",
width: 50,
align: "center",
className: "h",
},
{
title: "所在岗位",
dataIndex: "gangw",
key: "gangw",
width: 50,
align: "center",
className: "h",
},
{
title: "完成时间",
dataIndex: "time",
key: "time",
width: 50,
align: "center",
className: "h",
},
{
title: "任务状态",
dataIndex: "state",
key: "state",
width: 50,
align: "center",
className: "h",
},
],
}); });
const selectProjectName = (value, index) => { const selectProjectName = (value, index) => {
console.log("value", value, index); console.log("value", value, index);
@@ -246,9 +97,9 @@ export default {
// } // }
.EntryScores { .EntryScores {
.drawerMain { .drawerMain {
min-width: 600px; min-width: 400px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll; // overflow-x: scroll;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.header { .header {
@@ -269,7 +120,9 @@ export default {
} }
.main { .main {
width: 100%; width: 100%;
height: 100%; // height: 100%;
overflow-y: auto;
margin-bottom: 70px;
.sta { .sta {
width: 10px; width: 10px;
height: 10px; height: 10px;
@@ -309,6 +162,7 @@ export default {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
background-color: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

View File

@@ -87,7 +87,7 @@
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 900, y: 350 }" :scroll="{ x: 900 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -164,6 +164,7 @@ export default {
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
tableDataTotal: 100, tableDataTotal: 100,
showdonemodal: false,
selectedRowKeys: [], selectedRowKeys: [],
projectNameList: [ projectNameList: [
{ {
@@ -334,6 +335,12 @@ export default {
const showEntryScore = () => { const showEntryScore = () => {
state.Evisible = true; state.Evisible = true;
}; };
const showdoneModal = () => {
state.showdonemodal = true;
};
const closedoneModal = () => {
state.showdonemodal = false;
};
const onSelectChange = (selectedRowKeys) => { const onSelectChange = (selectedRowKeys) => {
console.log("selectedRowKeys changed: ", selectedRowKeys); console.log("selectedRowKeys changed: ", selectedRowKeys);
showModal(); showModal();
@@ -354,6 +361,8 @@ export default {
showModal, showModal,
closeModal, closeModal,
showEntryScore, showEntryScore,
showdoneModal,
closedoneModal,
}; };
}, },
}; };
@@ -514,6 +523,7 @@ export default {
// background-color: #bfa; // background-color: #bfa;
overflow: auto; overflow: auto;
padding-right: 10px;
.endtime { .endtime {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;

View File

@@ -145,6 +145,7 @@ export default {
align-items: center; align-items: center;
// background-color: red; // background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
flex-shrink: 0;
.headerTitle { .headerTitle {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;

View File

@@ -823,7 +823,7 @@ export default {
<style lang="scss"> <style lang="scss">
.ManageRight { .ManageRight {
.drawerMain { .drawerMain {
min-width: 600px; min-width: 550px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
// overflow-y: scroll; // overflow-y: scroll;
display: flex; display: flex;

View File

@@ -71,7 +71,7 @@
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 900, y: 560 }" :scroll="{ x: 900 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -324,7 +324,7 @@ export default {
height: 100%; height: 100%;
// background-color: #bfa; // background-color: #bfa;
// overflow-y: auto; overflow-y: auto;
.endtime { .endtime {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;

View File

@@ -778,7 +778,7 @@ export default {
<style lang="scss"> <style lang="scss">
.Ownership { .Ownership {
.drawerMain { .drawerMain {
min-width: 600px; min-width: 550px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
// overflow-y: scroll; // overflow-y: scroll;
display: flex; display: flex;

View File

@@ -48,7 +48,7 @@
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
@expand="expandTable" @expand="expandTable"
:scroll="{ x: 900}" :scroll="{ x: 900 }"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
columnWidth: 30, columnWidth: 30,
@@ -456,7 +456,7 @@ export default {
} }
.drawerMain { .drawerMain {
// overflow: auto; // overflow: auto;
min-width: 550px; min-width: 500px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll; overflow-x: scroll;
display: flex; display: flex;
@@ -467,6 +467,7 @@ export default {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
flex-shrink: 0;
// background-color: red; // background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
.headerTitle { .headerTitle {
@@ -482,6 +483,7 @@ export default {
// height: 100%; // height: 100%;
// background-color: #bfa; // background-color: #bfa;
overflow-y: auto; overflow-y: auto;
margin-bottom: 80px;
.search { .search {
width: 100%; width: 100%;
display: flex; display: flex;
@@ -538,15 +540,15 @@ export default {
} }
.btn1 { .btn1 {
background: #409EFF; background: #409eff;
color: #ffffff; color: #ffffff;
} }
.btn2 { .btn2 {
background: #ffffff; background: #ffffff;
color: #409EFF; color: #409eff;
border: 1px solid #409EFF; border: 1px solid #409eff;
} }
} }
} }
@@ -599,7 +601,9 @@ export default {
// position: absolute; // position: absolute;
// bottom: 20px; // bottom: 20px;
// margin-bottom: 20px; // margin-bottom: 20px;
.ant-pagination-prev, .ant-pagination-next,.ant-pagination-options { .ant-pagination-prev,
.ant-pagination-next,
.ant-pagination-options {
margin-bottom: 10px; margin-bottom: 10px;
} }
.ant-pagination-item { .ant-pagination-item {

View File

@@ -129,26 +129,43 @@
<a-tab-pane key="3" tab="获取规则"> <a-tab-pane key="3" tab="获取规则">
<div class="projectscore"> <div class="projectscore">
<div class="pjc_body"> <div class="pjc_body">
<div class="pjcb_header"> <div class="groupright">
<span>规则</span> <div class="spandiv"><span class="spantext">规则</span></div>
<div class="btns"> <div v-if="edit" class="btns">
<div class="edit_btn1"> <div class="btn1" @click="edit=!edit">
<div class="btnText">取消</div> <img src="../../assets/images/projectadd/edit1.png" />
</div> <span class="btn1text">编辑</span>
<div class="edit_btn2"> </div>
<div class="btnText">确定</div>
</div> </div>
<div v-else class="btns">
<div class="btn1" @click="edit=!edit">
<span class="btn1text">保存</span>
</div>
</div> </div>
</div> </div>
<div class="pjcb_content">
<div v-if="edit" class="pjcb_content">
<div class="content content1"> <div class="content content1">
<span>当前设计下学员可以获得 10 积分</span> <span>当前设计下学员可以获得 </span><span class="scoretext">{{scoresum}}</span><span>积分</span>
</div> </div>
<div class="content content2"> <div class="content content2">
<span>完成必修/选修获得 5 积分</span> <span>完成必修/选修获得 </span><span class="scoretext">{{score1}} </span><span>积分</span>
</div> </div>
<div class="content content3"> <div class="content content3">
<span>优秀学员可获得 5 积分</span> <span>优秀学员可获得 </span><span class="scoretext">{{score2}}</span><span>积分</span>
</div>
</div>
<div v-else class="pjcb_content">
<div class="content content1">
<span>当前设计下学员可以获得 </span><span class="scoretext">{{scoresum}}</span><span>积分</span>
</div>
<div class="content content2">
<span>完成必修/选修获得 </span><span ><a-input v-model:value="score1" :bordered="false" @change="getScore"/> </span><span>积分</span>
</div>
<div class="content content3">
<span>优秀学员可获得 </span><span ><a-input v-model:value="score2" :bordered="false" /></span><span>积分</span>
</div> </div>
</div> </div>
</div> </div>
@@ -326,6 +343,10 @@ export default {
tableDataTotal: 30, tableDataTotal: 30,
stuValue: false, stuValue: false,
Svisible:false, Svisible:false,
score1:5,
score2:5,
edit:true,
}); });
@@ -351,12 +372,18 @@ export default {
state.tabledataStu = datas; state.tabledataStu = datas;
}; };
getTableData(); getTableData();
return { return {
...toRefs(state), ...toRefs(state),
}; };
}, },
computed: {
// 计算属性的 getter
scoresum: function () {
return Number(this.score1)+Number(this.score2);
}
}
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
@@ -467,14 +494,11 @@ export default {
.ant-table-tbody{ .ant-table-tbody{
.pa { .pa {
// left: 0;
margin-top: 15px; margin-top: 15px;
width: 100%;
// height: 20px; // height: 20px;
// background-color: red; // background-color: red;
display: flex; display: flex;
justify-content: center; justify-content: center;
// position: absolute;
// bottom: 20px; // bottom: 20px;
} }
} }
@@ -572,65 +596,77 @@ export default {
.pjc_body { .pjc_body {
margin-left: 34px; margin-left: 34px;
margin-right: 34px; margin-right: 34px;
.pjcb_header { .spandiv{
display: flex; position: relative;
justify-content: space-between; /* height: 100%; */
align-items: center; width: 40px;
margin: 24px auto; .spantext{
.btns { position: absolute;
left: 0;
bottom: 0px;
}
}
.groupright {
display: flex; display: flex;
.edit_btn1 { justify-content: space-between;
.btn1 {
width: 100px; width: 100px;
// padding: 0px 26px 0px 26px; height: 40px;
height: 38px;
margin-left: 15px;
border-radius: 8px;
border: 1px solid rgba(64, 158, 255, 1);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-shrink: 0; margin-right: 16px;
border: 1px solid #409eff;
border-radius: 8px;
background: #409eff;
cursor: pointer; cursor: pointer;
background-color: rgb(255, 255, 255); .btn1text {
.btnText { color: #ffffff;
font-size: 14px;
font-weight: 400;
color: rgb(64, 158, 255);
line-height: 36px;
margin-left: 5px; margin-left: 5px;
font-size: 14px;
} }
} }
.edit_btn2 { .btn2 {
width: 100px; width: 100px;
// padding: 0px 26px 0px 26px; height: 40px;
height: 38px;
margin-left: 15px;
border-radius: 8px;
border: 1px solid rgba(64, 158, 255, 1);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-shrink: 0; margin-right: 32px;
border: 1px solid #409eff;
border-radius: 8px;
cursor: pointer; cursor: pointer;
background-color: rgb(64, 158, 255); background: #ffffff;
.btnText { .btn2text {
font-size: 14px; color: #409eff;
font-weight: 400;
color: rgb(255, 255, 255);
line-height: 36px;
margin-left: 5px; margin-left: 5px;
font-size: 14px;
} }
} }
} }
}
.pjcb_content { .pjcb_content {
border: 1px solid #409eff; border: 1px solid #409eff;
padding: 32px; padding: 20px;
margin-top: 10px;
.ant-input{
width: 46px;
font-size: 16px;
color: #409eff;
}
.scoretext{
color: #409eff;
font-size: 16px;
margin-left: 3px;
margin-right: 4px;
}
.pjcb_content :last-child { .pjcb_content :last-child {
margin-bottom: 0px; margin-bottom: 0px;
} }
.content { .content {
margin-bottom: 24px; align-items: center;
height: 50px;
display: flex;
} }
margin-bottom: 130px; margin-bottom: 130px;
} }

View File

@@ -69,7 +69,7 @@
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 500, y: 560 }" :scroll="{ x: 500 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -148,7 +148,7 @@
:data-source="tabledata1" :data-source="tabledata1"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 500, y: 560 }" :scroll="{ x: 500 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -229,7 +229,7 @@
:data-source="tabledata2" :data-source="tabledata2"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 500, y: 560 }" :scroll="{ x: 500 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -778,7 +778,7 @@ export default {
<style lang="scss"> <style lang="scss">
.QueryRight { .QueryRight {
.drawerMain { .drawerMain {
min-width: 600px; min-width: 550px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
// overflow-y: scroll; // overflow-y: scroll;
display: flex; display: flex;

View File

@@ -17,109 +17,219 @@
</div> </div>
<div class="main"> <div class="main">
<div class="stuinfor"> <div class="stuinfor">
<div class="portrait"><img src="../../assets/images/studentimg/character.png"/></div> <div class="portrait">
<div class="stumation"> <img src="../../assets/images/studentimg/character.png" />
<div class="stuname">王明</div> </div>
<div class="stugangw">产研部门 - 产品经理</div> <div class="stumation">
<div class="stuname">王明</div>
<div class="stugangw">产研部门 - 产品经理</div>
</div>
<div class="sortbox">
<div class="sortname">进度排名</div>
<div class="sortnub">
<span class="nub1">2</span>
<span class="total">/10</span>
</div> </div>
<div class="sortbox"> </div>
<div class="sortname">进度排名</div> <a-divider
<div class="sortnub"> type="vertical"
<span class="nub1">2</span> style="
<span class="total">/10</span> height: 49px;
</div> margin-left: 34px;
background-color: rgba(170, 166, 166, 0.3);
"
/>
<div class="sortbox" style="margin-left: 34px">
<div class="sortname">完成必修</div>
<div class="sortnub">
<span class="nub1">3</span>
<span class="total">/10</span>
</div> </div>
<a-divider type="vertical" style="height: 49px;margin-left: 34px; background-color: rgba(170, 166, 166, 0.3)" /> </div>
<div class="sortbox" style="margin-left: 34px"> <a-divider
<div class="sortname">完成必修</div> type="vertical"
<div class="sortnub"> style="
<span class="nub1">3</span> height: 49px;
<span class="total">/10</span> margin-left: 34px;
</div> background-color: rgba(170, 166, 166, 0.3);
</div> "
<a-divider type="vertical" style="height: 49px;margin-left: 34px; background-color: rgba(170, 166, 166, 0.3)" /> />
<div class="sortbox" style="margin-left: 34px"> <div class="sortbox" style="margin-left: 34px">
<div class="sortname">已修证书</div> <div class="sortname">已修证书</div>
<div class="sortnub"> <div class="sortnub">
<span class="nub1">1</span> <span class="nub1">1</span>
</div>
</div> </div>
</div>
</div> </div>
<div class="secondrow"> <div class="secondrow">
<div class="rowleft">产品经理管理 - 腾飞班1</div> <div class="rowleft">产品经理管理 - 腾飞班1</div>
<div class="rowbox" @click="showProMess"> <div class="rowbox" @click="showProMess">
<div class="shuom">说明</div> <div class="shuom">说明</div>
<div><img src="../../assets/images/studentimg/chak.png"/></div> <div><img src="../../assets/images/studentimg/chak.png" /></div>
</div> </div>
</div> </div>
<div class="mainbox"> <div class="mainbox">
<div class="rowtitle"> <div class="rowtitle" @click="changeDown">
<div class="titleimg"><img src="../../assets/images/studentimg/open.png"/></div> <div class="titleimg">
<div class="titletext">阶段1 腾飞班阶段1</div> <img
:src="
showDown
? require('../../assets/images/studentimg/open.png')
: require('../../assets/images/studentimg/close.png')
"
/>
</div>
<div class="titletext">阶段1 腾飞班阶段1</div>
</div>
<div :style="{ display: showDown ? 'block' : 'none' }">
<div class="rowclass">
<div class="leftclass">
<div><img src="../../assets/images/leveladd/zai.png" /></div>
<div class="text1">在线</div>
<div class="text2">如何成为一个产品经理</div>
</div>
<div class="alreadyclass">
<div class="alimg">
<img src="../../assets/images/studentimg/complete.png" />
</div>
<div class="altext">已完成</div>
</div>
</div> </div>
<div class="rowclass"> <div class="rowclass">
<div class="leftclass"> <div class="leftclass">
<div><img src="../../assets/images/leveladd/zai.png"/></div> <div><img src="../../assets/images/leveladd/zhi.png" /></div>
<div class="text1">在线</div> <div class="text1">直播</div>
<div class="text2">如何成为一个产品经理</div> <div class="text2">管理者播课</div>
</div> </div>
<div class="alreadyclass"> <div class="alreadyclass">
<div class="alimg"><img src="../../assets/images/studentimg/complete.png"/></div> <div class="alimg">
<div class="altext">已完成</div> <img src="../../assets/images/studentimg/complete.png" />
</div> </div>
<div class="altext">已完成</div>
</div>
</div> </div>
<div class="rowclass"> <div class="rowclass">
<div class="leftclass"> <div class="leftclass">
<div><img src="../../assets/images/leveladd/zhi.png"/></div> <div><img src="../../assets/images/leveladd/mian.png" /></div>
<div class="text1">直播</div> <div class="text1">面授</div>
<div class="text2">管理者播</div> <div class="text2">管理面授</div>
</div> </div>
<div class="alreadyclass"> <div class="alreadyclass">
<div class="alimg"><img src="../../assets/images/studentimg/complete.png"/></div> <div class="alimg">
<div class="altext">已完成</div> <img src="../../assets/images/studentimg/notice.png" />
</div> </div>
<div class="altext">未完成</div>
</div>
</div> </div>
<div class="rowclass"> <div class="rowclass">
<div class="leftclass"> <div class="leftclass">
<div><img src="../../assets/images/leveladd/mian.png"/></div> <div><img src="../../assets/images/leveladd/huo.png" /></div>
<div class="text1">面授</div> <div class="text1">活动</div>
<div class="text2">管理面授课</div> <div class="text2">管理者活动</div>
</div> </div>
<div class="alreadyclass"> <div class="alreadyclass">
<div class="alimg"><img src="../../assets/images/studentimg/notice.png"/></div> <div class="alimg">
<div class="altext">未完成</div> <img src="../../assets/images/studentimg/notice.png" />
</div> </div>
<div class="altext">未完成</div>
</div>
</div> </div>
<div class="rowclass"> <div class="rowclass">
<div class="leftclass"> <div class="leftclass">
<div><img src="../../assets/images/leveladd/huo.png"/></div> <div><img src="../../assets/images/leveladd/zuo.png" /></div>
<div class="text1">活动</div> <div class="text1">作业</div>
<div class="text2">管理者活动</div> <div class="text2">管理者作业</div>
</div> </div>
<div class="alreadyclass"> <div class="alreadyclass">
<div class="alimg"><img src="../../assets/images/studentimg/notice.png"/></div> <div class="alimg">
<div class="altext">未完成</div> <img src="../../assets/images/studentimg/notice.png" />
</div>
</div>
<div class="rowclass">
<div class="leftclass">
<div><img src="../../assets/images/leveladd/zuo.png"/></div>
<div class="text1">作业</div>
<div class="text2">管理者作业</div>
</div>
<div class="alreadyclass">
<div class="alimg"><img src="../../assets/images/studentimg/notice.png"/></div>
<div class="altext">未完成</div>
</div> </div>
<div class="altext">未完成</div>
</div>
</div> </div>
</div>
</div> </div>
<div class="mainbox" style="margin-top: 15px; height: 56px"> <div class="mainbox">
<div class="rowtitle"> <div class="rowtitle" @click="changeDown1">
<div class="titleimg"><img src="../../assets/images/studentimg/close.png"/></div> <div class="titleimg">
<div class="titletext">阶段2 腾飞班阶段2</div> <img
:src="
showDown1
? require('../../assets/images/studentimg/open.png')
: require('../../assets/images/studentimg/close.png')
"
/>
</div> </div>
<div class="titletext">阶段2 腾飞班阶段2</div>
</div>
<div :style="{ display: showDown1 ? 'block' : 'none' }">
<div class="rowclass">
<div class="leftclass">
<div><img src="../../assets/images/leveladd/zai.png" /></div>
<div class="text1">在线</div>
<div class="text2">如何成为一个产品经理</div>
</div>
<div class="alreadyclass">
<div class="alimg">
<img src="../../assets/images/studentimg/complete.png" />
</div>
<div class="altext">已完成</div>
</div>
</div>
<div class="rowclass">
<div class="leftclass">
<div><img src="../../assets/images/leveladd/zhi.png" /></div>
<div class="text1">直播</div>
<div class="text2">管理者播课</div>
</div>
<div class="alreadyclass">
<div class="alimg">
<img src="../../assets/images/studentimg/complete.png" />
</div>
<div class="altext">已完成</div>
</div>
</div>
<div class="rowclass">
<div class="leftclass">
<div><img src="../../assets/images/leveladd/mian.png" /></div>
<div class="text1">面授</div>
<div class="text2">管理面授课</div>
</div>
<div class="alreadyclass">
<div class="alimg">
<img src="../../assets/images/studentimg/notice.png" />
</div>
<div class="altext">未完成</div>
</div>
</div>
<div class="rowclass">
<div class="leftclass">
<div><img src="../../assets/images/leveladd/huo.png" /></div>
<div class="text1">活动</div>
<div class="text2">管理者活动</div>
</div>
<div class="alreadyclass">
<div class="alimg">
<img src="../../assets/images/studentimg/notice.png" />
</div>
<div class="altext">未完成</div>
</div>
</div>
<div class="rowclass">
<div class="leftclass">
<div><img src="../../assets/images/leveladd/zuo.png" /></div>
<div class="text1">作业</div>
<div class="text2">管理者作业</div>
</div>
<div class="alreadyclass">
<div class="alimg">
<img src="../../assets/images/studentimg/notice.png" />
</div>
<div class="altext">未完成</div>
</div>
</div>
</div>
</div> </div>
</div> </div>
<div class="btnn"> <div class="btnn">
<button class="btn2">关闭</button> <button class="btn2">关闭</button>
@@ -144,6 +254,8 @@ export default {
setup(props, ctx) { setup(props, ctx) {
const state = reactive({ const state = reactive({
Provisible: false, Provisible: false,
showDown: true,
showDown1: false,
}); });
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:Seevisible", false); ctx.emit("update:Seevisible", false);
@@ -155,12 +267,19 @@ export default {
const afterVisibleChange = (bool) => { const afterVisibleChange = (bool) => {
console.log("state", bool); console.log("state", bool);
}; };
const changeDown = () => {
state.showDown = !state.showDown;
};
const changeDown1 = () => {
state.showDown1 = !state.showDown1;
};
return { return {
...toRefs(state), ...toRefs(state),
afterVisibleChange, afterVisibleChange,
closeDrawer, closeDrawer,
showProMess, showProMess,
changeDown,
changeDown1,
// change, // change,
}; };
}, },
@@ -192,6 +311,7 @@ export default {
align-items: center; align-items: center;
// background-color: red; // background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
flex-shrink: 0;
.headerTitle { .headerTitle {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
@@ -201,144 +321,147 @@ export default {
} }
} }
.main { .main {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.stuinfor { overflow-y: auto;
display: flex; padding-bottom: 80px;
align-items: center; .stuinfor {
height: 133px; display: flex;
margin-top: 20px; align-items: center;
margin-right: 37px; height: 133px;
background-image: url("../../assets/images/studentimg/bgimg.png"); margin-top: 20px;
background-repeat: no-repeat; margin-right: 37px;
background-position: right; background-image: url("../../assets/images/studentimg/bgimg.png");
.stumation { background-repeat: no-repeat;
margin-left: 24px; background-position: right;
.stuname { .stumation {
color: #333333; margin-left: 24px;
font-size: 18px; .stuname {
} color: #333333;
.stugangw { font-size: 18px;
color: #999999;
font-size: 16px;
margin-top: 7px;
}
} }
.sortbox { .stugangw {
display: flex; color: #999999;
flex-direction: column;
justify-content: center;
margin-left: 114px;
.sortname {
color: #666660;
font-size: 14px;
}
.sortnub {
display: flex;
justify-content: center;
margin-top: 7px;
.nub1 {
color: #0060FF;
font-size: 22px;
}
.total {
color: #999999;
font-size: 22px;
}
}
}
}
.secondrow {
margin-top: 32px;
display: flex;
.rowleft {
color: rgba(51, 51, 51, 1);
font-size: 16px; font-size: 16px;
} margin-top: 7px;
.rowbox { }
width: 64px; }
height: 24px; .sortbox {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 114px;
.sortname {
color: #666660;
font-size: 14px;
}
.sortnub {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; margin-top: 7px;
margin-left: 24px; .nub1 {
border: 1px solid rgba(64, 158, 255, 1); color: #0060ff;
background: rgba(64, 158, 255, 0.1); font-size: 22px;
cursor: pointer;
.shuom {
color: rgba(64, 158, 255, 1);
font-size: 14px;
line-height: 20px;
margin-right: 5px;
} }
} .total {
} color: #999999;
.mainbox { font-size: 22px;
height: 463px; }
}
}
}
.secondrow {
margin-top: 32px;
display: flex;
.rowleft {
color: rgba(51, 51, 51, 1);
font-size: 16px;
}
.rowbox {
width: 64px;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
margin-left: 24px;
border: 1px solid rgba(64, 158, 255, 1);
background: rgba(64, 158, 255, 0.1);
cursor: pointer;
.shuom {
color: rgba(64, 158, 255, 1);
font-size: 14px;
line-height: 20px;
margin-right: 5px;
}
}
}
.mainbox {
// height: 463px;
margin-right: 37px; margin-right: 37px;
margin-top: 32px; margin-top: 32px;
border: 1px solid rgba(221, 238, 255, 1); border: 1px solid rgba(221, 238, 255, 1);
border-radius: 6px; border-radius: 6px;
.rowtitle { .rowtitle {
height: 56px; height: 56px;
background: rgba(240, 246, 252, 1); background: rgba(240, 246, 252, 1);
display: flex; display: flex;
align-items: center; align-items: center;
.titleimg { .titleimg {
width: 20px; width: 20px;
height: 20px; height: 20px;
margin-left: 23px; margin-left: 23px;
} }
.titletext { .titletext {
color: rgba(51, 51, 51, 1); color: rgba(51, 51, 51, 1);
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
margin-left: 16px; margin-left: 16px;
} }
} }
.rowclass { .rowclass {
height: 81px; height: 81px;
border-bottom: 1px solid rgba(221, 238, 255, 1); border-bottom: 1px solid rgba(221, 238, 255, 1);
display: flex;
justify-content: space-between;
align-items: center;
.leftclass {
display: flex; display: flex;
justify-content: space-between; margin-left: 25px;
align-items: center; align-items: center;
.leftclass { .text1 {
display: flex; color: #000000;
margin-left: 25px; font-size: 14px;
align-items: center; font-weight: 500;
.text1 { margin-left: 25px;
color: #000000;
font-size: 14px;
font-weight: 500;
margin-left: 25px;
}
.text2 {
color: rgba(51, 51, 51, 0.8);
font-size: 14px;
margin-left: 65px;
}
} }
.alreadyclass { .text2 {
display: flex; color: rgba(51, 51, 51, 0.8);
margin-right: 57px; font-size: 14px;
.alimg { margin-left: 65px;
height: 16px;
width: 16px;
}
.altext {
color: rgba(56, 125, 247, 1);
font-size: 14px;
margin-left: 16px;
}
} }
}
.alreadyclass {
display: flex;
margin-right: 57px;
.alimg {
height: 16px;
width: 16px;
}
.altext {
color: rgba(56, 125, 247, 1);
font-size: 14px;
margin-left: 16px;
}
}
} }
} }
} }
.btnn { .btnn {
height: 72px; height: 72px;
width: 100%; width: 100%;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
background-color: #fff;
left: 0; left: 0;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@@ -72,7 +72,7 @@
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 500, y: 560 }" :scroll="{ x: 500 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -156,7 +156,7 @@
:data-source="tabledata1" :data-source="tabledata1"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 500, y: 560 }" :scroll="{ x: 500}"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -246,7 +246,7 @@
:data-source="tabledata2" :data-source="tabledata2"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 500, y: 560 }" :scroll="{ x: 500 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -1073,7 +1073,7 @@ export default {
} }
.main { .main {
display: flex; display: flex;
// height: 80%; //height: 80%;
margin-bottom: 72px; margin-bottom: 72px;
overflow-y: auto; overflow-y: auto;
.left { .left {
@@ -1274,7 +1274,8 @@ export default {
// bottom: 20px; // bottom: 20px;
.ant-pagination-item, .ant-pagination-item,
.ant-pagination-prev, .ant-pagination-prev,
.ant-pagination-next { .ant-pagination-next,
.ant-pagination-options {
margin-bottom: 10px; margin-bottom: 10px;
} }
} }

View File

@@ -23,8 +23,6 @@
:columns="tablecolumns" :columns="tablecolumns"
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
:scroll="{ x: 900, y: 560 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
@@ -218,16 +216,14 @@
overflow-x: scroll; overflow-x: scroll;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.header { .header {
height: 73px; height: 73px;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
// background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
flex-shrink: 0;
.headerTitle { .headerTitle {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
@@ -252,6 +248,7 @@
.tableBox { .tableBox {
padding-bottom: 100px;
.ant-table-selection-column { .ant-table-selection-column {
padding: 0px !important; padding: 0px !important;
// padding-left: 45px !important; // padding-left: 45px !important;
@@ -290,15 +287,11 @@
} }
} }
.pa { .pa {
// left: 0; margin-top: 20px;
margin-top: 15px;
width: 100%; width: 100%;
// height: 20px; flex:1;
// background-color: red;
display: flex; display: flex;
justify-content: center; justify-content: center;
// position: absolute;
// bottom: 20px;
} }
} }
} }
@@ -313,7 +306,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
background-color: #ffffff;
.btn1 { .btn1 {
width: 100px; width: 100px;
height: 40px; height: 40px;

View File

@@ -54,7 +54,11 @@
</div> </div>
</div> </div>
<div class="btnss" style="margin-top: 20px"> <div class="btnss" style="margin-top: 20px">
<div class="btn btn1" @click="showopen" style="margin-right: 20px; cursor: pointer"> <div
class="btn btn1"
@click="showopen"
style="margin-right: 20px; cursor: pointer"
>
<div class="img2"></div> <div class="img2"></div>
<div class="wz">催促考试</div> <div class="wz">催促考试</div>
</div> </div>
@@ -70,10 +74,22 @@
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 900, y: 500 }" :scroll="{ x: 900 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
/> />
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
@change="onChange"
/>
</div>
</div> </div>
</div> </div>
<div class="btnn"> <div class="btnn">
@@ -81,16 +97,15 @@
<button class="btn2">确定</button> <button class="btn2">确定</button>
</div> </div>
<div class="noticebox" v-show="open"> <div class="noticebox" v-show="open">
<div><img src="../../assets/images/taskpage/check.png"/></div> <div><img src="../../assets/images/taskpage/check.png" /></div>
<div class="notext">催促学员成功</div> <div class="notext">催促学员成功</div>
</div> </div>
</div> </div>
</a-drawer> </a-drawer>
</template> </template>
<script> <script>
import { toRefs, reactive, onMounted, onUnmounted} from "vue"; import { toRefs, reactive, onMounted, onUnmounted } from "vue";
export default { export default {
name: "TestManage", name: "TestManage",
props: { props: {
@@ -108,6 +123,9 @@ export default {
const state = reactive({ const state = reactive({
name: null, name: null,
open: false, open: false,
pageSize: 10,
currentPage: 1,
tableDataTotal: 100,
projectNameList: [ projectNameList: [
{ {
id: 1, id: 1,
@@ -297,16 +315,19 @@ export default {
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:TMvisible", false); ctx.emit("update:TMvisible", false);
}; };
const showopen=()=>{ const showopen = () => {
state.open = true; state.open = true;
};
const onChange = (pageNumber) => {
console.log("Page: ", pageNumber);
}; };
let timer; let timer;
onMounted(()=> { onMounted(() => {
timer = setInterval(()=>{ timer = setInterval(() => {
state.open = false; state.open = false;
},3000); }, 3000);
}); });
onUnmounted(()=>{ onUnmounted(() => {
clearInterval(timer); clearInterval(timer);
}); });
return { return {
@@ -316,6 +337,7 @@ export default {
showopen, showopen,
onMounted, onMounted,
onUnmounted, onUnmounted,
onChange,
}; };
}, },
}; };
@@ -339,9 +361,9 @@ export default {
//作业管理弹窗 //作业管理弹窗
.TestManage { .TestManage {
.drawerMain { .drawerMain {
min-width: 600px; min-width: 520px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll; // overflow-x: scroll;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
@@ -382,7 +404,8 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
// background-color: #bfa; // background-color: #bfa;
// overflow-y: auto; overflow-y: auto;
padding-right: 10px;
.endtime { .endtime {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
@@ -397,12 +420,14 @@ export default {
.sealeft { .sealeft {
display: flex; display: flex;
flex-wrap: wrap;
.namecon { .namecon {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
margin-bottom: 10px; margin-bottom: 10px;
.name { .name {
margin-top: 8px; margin-top: 8px;
white-space: nowrap;
} }
} }
} }
@@ -497,6 +522,23 @@ export default {
> td { > td {
background: #f6f9fd; background: #f6f9fd;
} }
.pa {
// left: 0;
margin-top: 15px;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
// position: absolute;
// bottom: 20px;
.ant-pagination-prev,
.ant-pagination-next,
.ant-pagination-item,
.ant-pagination-options {
margin-bottom: 10px;
}
}
} }
} }
@@ -509,6 +551,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background-color: #fff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn1 { .btn1 {
width: 100px; width: 100px;

View File

@@ -83,6 +83,7 @@
:current="currentPage" :current="currentPage"
:total="tableDataTotal" :total="tableDataTotal"
class="pagination" class="pagination"
@change="onChange"
/> />
</div> </div>
</div> </div>
@@ -277,6 +278,9 @@ export default {
const showopen = () => { const showopen = () => {
state.open = true; state.open = true;
}; };
const onChange = (pageNumber) => {
console.log("Page: ", pageNumber);
};
let timer; let timer;
onMounted(() => { onMounted(() => {
timer = setInterval(() => { timer = setInterval(() => {
@@ -293,6 +297,7 @@ export default {
showopen, showopen,
onMounted, onMounted,
onUnmounted, onUnmounted,
onChange,
}; };
}, },
}; };
@@ -313,7 +318,7 @@ export default {
.TimeManage { .TimeManage {
// overflow-x: scroll; // overflow-x: scroll;
.drawerMain { .drawerMain {
min-width: 600px; min-width: 550px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll; overflow-x: scroll;
display: flex; display: flex;
@@ -356,7 +361,8 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
// background-color: #bfa; // background-color: #bfa;
overflow: auto; overflow-y: auto;
padding-right: 10px;
.endtime { .endtime {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
@@ -371,6 +377,7 @@ export default {
.sealeft { .sealeft {
display: flex; display: flex;
flex-wrap: wrap;
.namecon { .namecon {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
@@ -482,6 +489,12 @@ export default {
justify-content: center; justify-content: center;
// position: absolute; // position: absolute;
// bottom: 20px; // bottom: 20px;
.ant-pagination-prev,
.ant-pagination-next,
.ant-pagination-item,
.ant-pagination-options {
margin-bottom: 10px;
}
} }
} }
} }

View File

@@ -29,8 +29,26 @@
<div class="workInfo"> <div class="workInfo">
<div class="infotit">作业信息</div> <div class="infotit">作业信息</div>
<div class="workImgCon"> <div class="workImgCon">
<!-- <a-image-preview-group>
<a-image
style="margin-right: 40px"
:height="240"
:width="240"
:src="item"
></a-image>
<a-image :height="240" :width="240" :src="item" />
<a-image :height="240" :width="240" :src="item" />
</a-image-preview-group> -->
<div class="img">
<div class="download"></div>
</div>
<div class="img">
<div class="download"></div>
</div>
<div class="img">
<div class="download"></div>
</div>
<div class="img"> <div class="img">
<div class="see"></div>
<div class="download"></div> <div class="download"></div>
</div> </div>
</div> </div>
@@ -57,9 +75,7 @@ export default {
setup(props, ctx) { setup(props, ctx) {
const state = reactive({ const state = reactive({
pageSize: 10, item: require("../../assets/px.jpg"),
currentPage: 1,
tableDataTotal: 100,
}); });
const closeDrawer = () => { const closeDrawer = () => {
@@ -88,7 +104,7 @@ export default {
// } // }
.WorkDetail { .WorkDetail {
.drawerMain { .drawerMain {
min-width: 600px; min-width: 450px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll; overflow-x: scroll;
display: flex; display: flex;
@@ -101,6 +117,7 @@ export default {
align-items: center; align-items: center;
// background-color: red; // background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
flex-shrink: 0;
.headerTitle { .headerTitle {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
@@ -111,8 +128,9 @@ export default {
} }
.main { .main {
width: 100%; width: 100%;
height: 100%; // height: 100%;
overflow-y: auto;
margin-bottom: 40px;
.cj { .cj {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
@@ -149,6 +167,9 @@ export default {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: 16px; margin-top: 16px;
.it {
margin-right: 40px;
}
.img { .img {
width: 240px; width: 240px;
height: 240px; height: 240px;
@@ -157,6 +178,10 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-right: 40px;
margin-bottom: 40px;
position: relative;
cursor: pointer;
.see { .see {
width: 50px; width: 50px;
height: 50px; height: 50px;
@@ -169,8 +194,11 @@ export default {
height: 50px; height: 50px;
background-image: url(../../assets/images/basicinfo/download.png); background-image: url(../../assets/images/basicinfo/download.png);
background-size: 100% 100%; background-size: 100% 100%;
margin-left: 40px; // margin-left: 40px;
cursor: pointer; cursor: pointer;
position: absolute;
right: 10px;
bottom: 10px;
} }
} }
} }
@@ -184,6 +212,7 @@ export default {
bottom: 0; bottom: 0;
left: 0; left: 0;
display: flex; display: flex;
background-color: #fff;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);

View File

@@ -54,15 +54,11 @@
</div> </div>
</div> </div>
<div class="btnss" style="margin-top: 20px"> <div class="btnss" style="margin-top: 20px">
<div <div class="btn btn1" style="margin-right: 20px; cursor: pointer">
class="btn btn1"
style="margin-right: 20px; cursor: pointer"
@click="showModal"
>
<div class="img1"></div> <div class="img1"></div>
<div class="wz">导出数据</div> <div class="wz">导出数据</div>
</div> </div>
<div class="btn btn2"> <div class="btn btn2" @click="showModal">
<div class="wz">导出作业</div> <div class="wz">导出作业</div>
</div> </div>
</div> </div>
@@ -73,10 +69,22 @@
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 900, y: 500 }" :scroll="{ x: 900 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
/> />
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize"
:current="currentPage"
:total="tableDataTotal"
class="pagination"
@change="onChange"
/>
</div>
</div> </div>
</div> </div>
<div class="btnn"> <div class="btnn">
@@ -89,6 +97,7 @@
:closable="close" :closable="close"
:footer="null" :footer="null"
wrapClassName="WorkManage" wrapClassName="WorkManage"
centered="true"
> >
<div class="header"> <div class="header">
<div class="inheader"> <div class="inheader">
@@ -131,6 +140,9 @@ export default {
visible: false, //导出数据弹窗 visible: false, //导出数据弹窗
close: false, //导出弹窗的关闭按钮 close: false, //导出弹窗的关闭按钮
WDvisible: false, //作业详情 WDvisible: false, //作业详情
pageSize: 10,
currentPage: 1,
tableDataTotal: 100,
projectNameList: [ projectNameList: [
{ {
id: 1, id: 1,
@@ -336,6 +348,9 @@ export default {
const showWorkDetail = () => { const showWorkDetail = () => {
state.WDvisible = true; state.WDvisible = true;
}; };
const onChange = (pageNumber) => {
console.log("Page: ", pageNumber);
};
return { return {
...toRefs(state), ...toRefs(state),
selectProjectName, selectProjectName,
@@ -343,6 +358,7 @@ export default {
showModal, showModal,
closeModal, closeModal,
showWorkDetail, showWorkDetail,
onChange,
}; };
}, },
}; };
@@ -418,7 +434,8 @@ export default {
flex-direction: column; flex-direction: column;
// justify-content: center; // justify-content: center;
align-items: center; align-items: center;
overflow: auto; overflow-y: auto;
padding-right: 10px;
.check { .check {
width: 40px; width: 40px;
height: 40px; height: 40px;
@@ -601,6 +618,23 @@ export default {
> td { > td {
background: #f6f9fd; background: #f6f9fd;
} }
.pa {
// left: 0;
margin-top: 15px;
width: 100%;
// height: 20px;
// background-color: red;
display: flex;
justify-content: center;
// position: absolute;
// bottom: 20px;
.ant-pagination-prev,
.ant-pagination-next,
.ant-pagination-item,
.ant-pagination-options {
margin-bottom: 10px;
}
}
} }
} }

View File

@@ -121,7 +121,7 @@
</div> </div>
<div class="b_sub"> <div class="b_sub">
<div class="bs_header"> <div class="bs_header">
<div class="b_left">课程命名规则</div> <div class="b_left"><span style="color:#999BA3;">课程命名规则</span></div>
<div class="b_right" @click="hideShow" style="cursor: pointer"> <div class="b_right" @click="hideShow" style="cursor: pointer">
<div <div
class="b_zk" class="b_zk"
@@ -313,7 +313,7 @@
</div> </div>
<div class="i2_cz"> <div class="i2_cz">
<div class="i2_top"> <div class="i2_top">
<div class="i2_left">课程命名规则</div> <div class="i2_left"><span style="color:#999BA3;">课程命名规则</span></div>
<div <div
class="i2_right" class="i2_right"
@click="hideShow" @click="hideShow"
@@ -1404,19 +1404,21 @@
class="btn4_sup" class="btn4_sup"
:style="{ display: hideshow ? 'none' : 'block' }" :style="{ display: hideshow ? 'none' : 'block' }"
> >
<div class="btnsbox">
<div class="btn4_tit"> <div class="btn4_tit">
<span style="color: #4ea6ff">批量录入成绩</span> <span style="color: #4ea6ff">批量录入成绩</span>
</div> </div>
<div class="btn4_op1"> <div class="btn4_op1">
<span style="margin: 10px auto">批量结业</span> <span >批量结业</span>
</div> </div>
<div class="btn4_op2"> <div class="btn4_op2">
<span style="margin: 10px auto">批量通过</span> <span >批量通过</span>
</div> </div>
<div class="btn4_op3"> <div class="btn4_op3">
<span style="margin: 10px auto">批量拒绝</span> <span>批量拒绝</span>
</div> </div>
</div> </div>
</div>
</div> </div>
<div class="stmm_btn btn5"> <div class="stmm_btn btn5">
<div class="export"></div> <div class="export"></div>
@@ -4996,6 +4998,7 @@ export default defineComponent({
} }
.btn4 { .btn4 {
display: flex; display: flex;
width: 130px;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
.btn4_sub { .btn4_sub {
@@ -5017,21 +5020,26 @@ export default defineComponent({
} }
.btn4_sup { .btn4_sup {
width: 100%; width: 100%;
display: flex;
flex-direction: column;
background-color: #ffffff; background-color: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
position: absolute; position: absolute;
top: 40px; top: 40px;
z-index: 999; z-index: 999;
.btn4_tit { .btnsbox{
margin-top: 8px; display: flex;
margin-left: 8px; flex-direction: column;
} justify-content: center;
.btn4_op1, align-items: center;
.btn4_op2, .btn4_tit {
.btn4_op3 { margin: 10px auto;
margin-left: 20px; white-space: nowrap;
}
.btn4_op1,
.btn4_op2,
.btn4_op3 {
margin-bottom:10px;
white-space: nowrap;
}
} }
} }
} }

View File

@@ -208,7 +208,7 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="2" tab="路径管理"> <a-tab-pane key="2" tab="路径管理">
<div class="split"></div> <div class="split"></div>
<div class="cont"> <!-- <div class="cont">
<div class="pad"></div> <div class="pad"></div>
<div class="sametab"> <div class="sametab">
<div class="Lhead"> <div class="Lhead">
@@ -236,50 +236,50 @@
</div> </div>
<div class="Lbom"> <div class="Lbom">
<div> <div>
<div class="create"> <div class="create"></div>
<div
class="taskbox"
style="
background: linear-gradient(180deg, #e5f6ec, #eef9f3);
"
>
<div class="leftt">
<img src="../../assets/images/taskpage/left3.png" />
</div>
<div class="photo">
<img src="../../assets/images/taskpage/picture3.png" />
</div>
<div class="rightt">
<img src="../../assets/images/taskpage/right3.png" />
</div>
<div
class="centerbox"
style="color: rgba(93, 201, 136, 1)"
>
创建关卡
</div>
<div class="centermain">点击创建关卡任务</div>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="pad"></div> <div class="pad"></div>
</div> </div> -->
<!-- 有数据时的路径管理 --> <!-- 路径管理 -->
<div style="flex: 1"> <div style="flex: 1">
<div class="onerow"> <div class="onerow">
<div class="taskmain">任务大纲</div> <div class="taskmain">任务大纲</div>
<router-link to="/leveladddetail" class="edit"> <router-link to="/leveladddetail" class="editright">
<img <img
class="editimg" class="editimg"
src="../../assets/images/projectadd/edit.png" src="../../assets/images/leveladd/edit.png"
/> />
<span class="editext">编辑</span> <span class="editextb">编辑</span>
</router-link> </router-link>
</div> </div>
<!-- 无数据显示快速创建 -->
<router-link to="/leveladddetail">
<div
class="taskbox"
style="background: linear-gradient(180deg, #fef3dd, #fffaf0)"
>
<div class="leftt">
<img src="../../assets/images/taskpage/left1.png" />
</div>
<div class="photo">
<img src="../../assets/images/taskpage/picture1.png" />
</div>
<div class="rightt">
<img src="../../assets/images/taskpage/right1.png" />
</div>
<div class="centerbox" style="color: rgba(255, 182, 78, 1)">
添加关卡
</div>
<div class="centermain">快速创建关卡任务</div>
</div>
</router-link>
<!-- 无数据显示快速创建 -->
<!-- 有数据-->
<div class="taskSyllabus"> <div class="taskSyllabus">
<a-collapse v-model:activeKey="taskSyllabusActive" accordion> <a-collapse v-model:activeKey="taskSyllabusActive" accordion>
<template #expandIcon="{ isActive }"> <template #expandIcon="{ isActive }">
@@ -423,6 +423,10 @@
@click=" @click="
item.course === '面授' item.course === '面授'
? showCopyModal(item.course) ? showCopyModal(item.course)
: item.course === '直播'
? showzhibModal(item.course)
: item.course === '活动'
? showhuodModal(item.course)
: null : null
" "
> >
@@ -457,6 +461,7 @@
</a-collapse-panel> </a-collapse-panel>
</a-collapse> </a-collapse>
</div> </div>
<!-- 有数据-->
<div style="display: flex; height: 20px"></div> <div style="display: flex; height: 20px"></div>
</div> </div>
</a-tab-pane> </a-tab-pane>
@@ -540,8 +545,9 @@
</div> </div>
</div> </div>
</div> </div>
<div class="pad"></div></div> <div class="pad"></div>
</a-tab-pane> </div>
</a-tab-pane>
<a-tab-pane key="4" tab="设置"> <a-tab-pane key="4" tab="设置">
<div class="split"></div> <div class="split"></div>
<div class="sametab"> <div class="sametab">
@@ -551,7 +557,9 @@
<div class="headone"> <div class="headone">
<div class="box"></div> <div class="box"></div>
<div class="onetitle">关卡内容可见可学设置</div> <div class="onetitle">关卡内容可见可学设置</div>
<div class="oneedi" @click="showbtn" v-show="twobtn">编辑</div> <div class="oneedi" @click="showbtn" v-show="twobtn">
编辑
</div>
<div v-show="twobtnn" class="twobtn"> <div v-show="twobtnn" class="twobtn">
<div class="btnone" @click="closebtn">取消</div> <div class="btnone" @click="closebtn">取消</div>
<div class="btntwo" @click="closebtn">确定</div> <div class="btntwo" @click="closebtn">确定</div>
@@ -567,17 +575,27 @@
/> />
<span class="yulan">预览其他关卡</span><br /> <span class="yulan">预览其他关卡</span><br />
<div style="width: 10px; height: 4px"></div> <div style="width: 10px; height: 4px"></div>
<div style="display: flex;align-items: center;"> <div style="display: flex; align-items: center">
<span class="yulan2">学员可预览第</span <span class="yulan2">学员可预览第</span>
> <span style="color: #4ea6ff" v-show="number">1</span>
<span style="color: #4ea6ff" v-show="number">1</span> <a-input-number
<a-input-number v-model:value="nubvalue" v-show="inputbox" :controls="false" :autofocus="true" :min="1" /> v-model:value="nubvalue"
<span>-</span v-show="inputbox"
><span style="color: #4ea6ff" v-show="number">4</span> :controls="false"
<a-input-number v-model:value="nubvalue1" v-show="inputbox" :controls="false" :autofocus="true" :min="1"/> :autofocus="true"
<span>关内容</span> :min="1"
/>
<span>-</span
><span style="color: #4ea6ff" v-show="number">4</span>
<a-input-number
v-model:value="nubvalue1"
v-show="inputbox"
:controls="false"
:autofocus="true"
:min="1"
/>
<span>关内容</span>
</div> </div>
</div> </div>
<div class="checkcon" style="margin-top: 20px"> <div class="checkcon" style="margin-top: 20px">
<input <input
@@ -588,15 +606,26 @@
/> />
<span class="yulan">学习其他关卡</span><br /> <span class="yulan">学习其他关卡</span><br />
<div style="width: 10px; height: 4px"></div> <div style="width: 10px; height: 4px"></div>
<div style="display: flex;align-items: center;"> <div style="display: flex; align-items: center">
<span class="yulan2">学员可预览第</span <span class="yulan2">学员可预览第</span>
> <span style="color: #4ea6ff" v-show="number">1</span>
<span style="color: #4ea6ff" v-show="number">1</span> <a-input-number
<a-input-number v-model:value="nubvalue2" v-show="inputbox" :controls="false" :autofocus="true" :min="1"/> v-model:value="nubvalue2"
<span>-</span v-show="inputbox"
><span style="color: #4ea6ff" v-show="number">4</span> :controls="false"
<a-input-number v-model:value="nubvalue3" v-show="inputbox" :controls="false" :autofocus="true" :min="1"/> :autofocus="true"
<span>关内容</span> :min="1"
/>
<span>-</span
><span style="color: #4ea6ff" v-show="number">4</span>
<a-input-number
v-model:value="nubvalue3"
v-show="inputbox"
:controls="false"
:autofocus="true"
:min="1"
/>
<span>关内容</span>
</div> </div>
</div> </div>
<br /> <br />
@@ -699,7 +728,7 @@
</div> </div>
<div class="mid"> <div class="mid">
<div class="inher"> <div class="inher">
<div class="cur">当前关卡</div> <div class="cur">当前关卡关卡2</div>
<div class="select"> <div class="select">
<a-select <a-select
v-model:value="curLevel" v-model:value="curLevel"
@@ -778,6 +807,62 @@
</div> </div>
</div> </div>
</a-modal> </a-modal>
<!-- 直播管理二维码 -->
<a-modal
v-model:visible="zhibModal"
:footer="null"
:closable="closeCopy"
wrapClassName="facemanageModal"
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="closezhibModal"></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>
<!-- 活动管理二维码 -->
<a-modal
v-model:visible="huodModal"
:footer="null"
:closable="closeCopy"
wrapClassName="facemanageModal"
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="closehuodModal"></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>
<!-- 添加学员抽屉 --> <!-- 添加学员抽屉 -->
<add-stu v-model:AddSvisible="AddSvisible" /> <add-stu v-model:AddSvisible="AddSvisible" />
<!-- 导入学员抽屉 --> <!-- 导入学员抽屉 -->
@@ -837,6 +922,8 @@ export default {
twobtnn: false, twobtnn: false,
inputbox: false, inputbox: false,
Wvisible: false, //作业管理 Wvisible: false, //作业管理
huodModal: false,
zhibModal: false,
projectNameListt: [ projectNameListt: [
{ {
id: 1, id: 1,
@@ -901,16 +988,11 @@ export default {
projectNameList4: [ projectNameList4: [
{ {
id: 1, id: 1,
value: "请选择关卡",
label: "请选择关卡",
},
{
id: 2,
value: "关卡1", value: "关卡1",
label: "关卡1", label: "关卡1",
}, },
{ {
id: 3, id: 2,
value: "关卡2", value: "关卡2",
label: "关卡2", label: "关卡2",
}, },
@@ -918,7 +1000,7 @@ export default {
//任务大纲列表 //任务大纲列表
taskSyllabus: [ taskSyllabus: [
{ {
text: "阶段1腾飞班阶段1", text: "关卡1 初级产品经理",
children: [ children: [
{ {
course: "在线", course: "在线",
@@ -977,7 +1059,7 @@ export default {
], ],
}, },
{ {
text: "阶段2腾飞班阶段2", text: "关卡2 中级产品经理",
children: [ children: [
{ {
course: "讨论", course: "讨论",
@@ -1251,7 +1333,7 @@ export default {
</span> </span>
<span <span
onClick={() => { onClick={() => {
state.visible = true; state.visiblene = true;
console.log(text.record.cur); console.log(text.record.cur);
}} }}
style="color:#4EA6FF;margin-right:25px;cursor:pointer" style="color:#4EA6FF;margin-right:25px;cursor:pointer"
@@ -1281,7 +1363,7 @@ export default {
state.visible = true; state.visible = true;
}; };
const closeChangeModal = () => { const closeChangeModal = () => {
state.visible = false; state.visiblene = false;
}; };
const showAddStu = () => { const showAddStu = () => {
state.AddSvisible = true; state.AddSvisible = true;
@@ -1297,13 +1379,13 @@ export default {
state.twobtnn = true; state.twobtnn = true;
state.number = false; state.number = false;
state.inputbox = true; state.inputbox = true;
} };
const closebtn = () => { const closebtn = () => {
state.twobtnn = false; state.twobtnn = false;
state.twobtn = true; state.twobtn = true;
state.number = true; state.number = true;
state.inputbox = false; state.inputbox = false;
} };
const showCopyModal = () => { const showCopyModal = () => {
state.copyModal = true; state.copyModal = true;
}; };
@@ -1340,6 +1422,18 @@ export default {
const showWork = () => { const showWork = () => {
state.Wvisible = true; state.Wvisible = true;
}; };
const showzhibModal = () => {
state.zhibModal = true;
};
const showhuodModal = () => {
state.huodModal = true;
};
const closezhibModal = () => {
state.zhibModal = false;
};
const closehuodModal = () => {
state.huodModal = false;
};
return { return {
...toRefs(state), ...toRefs(state),
selectProjectName, selectProjectName,
@@ -1365,6 +1459,10 @@ export default {
showTest, showTest,
showFace, showFace,
showWork, showWork,
showzhibModal,
showhuodModal,
closehuodModal,
closezhibModal,
}; };
}, },
}; };
@@ -1874,34 +1972,35 @@ export default {
color: #ffffff; color: #ffffff;
cursor: pointer; cursor: pointer;
} }
.edit { .editright {
position: absolute; position: absolute;
right: 38px; right: 38px;
top: 0; top: 0;
color: #409eff; width: 110px;
width: 100px;
height: 40px; height: 40px;
border: 1px solid #409eff; background: #409eff;
border-radius: 8px; border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
.editimg { .editimg {
width: 15px; width: 15px;
height: 15px; height: 15px;
margin-top: -2px;
margin-left: 25px;
margin-right: 5px;
} }
.editext { .editextb {
line-height: 40px; color: #fff;
} margin-left: 10px;
}
.edit:hover {
color: #ffffff;
background-color: #409eff;
cursor: pointer;
.editimg {
background-image: url("../../assets/images/projectadd/edit1.png");
} }
} }
// .edit:hover {
// color: #ffffff;
// background-color: #409eff;
// cursor: pointer;
// .editimg {
// background-image: url("../../assets/images/projectadd/edit1.png");
// }
// }
} }
.second { .second {
display: flex; display: flex;
@@ -2398,6 +2497,46 @@ export default {
} }
} }
} }
.taskbox {
width: 412px;
height: 160px;
border-radius: 10px;
position: relative;
margin-left: 40px;
margin-bottom: 10px;
margin-top: 10px;
cursor: pointer;
.leftt {
position: absolute;
top: 18px;
left: 0;
}
.photo {
position: absolute;
top: 42px;
left: 37px;
}
.rightt {
position: absolute;
top: 69px;
right: 26px;
}
.centerbox {
position: absolute;
top: 52px;
left: 145px;
font-size: 20px;
font-weight: 700;
//line-height: 36px;
}
.centermain {
color: rgba(135, 139, 146, 1);
font-size: 14px;
position: absolute;
left: 144px;
bottom: 49px;
}
}
.taskSyllabus { .taskSyllabus {
// flex: 1; // flex: 1;
overflow-x: auto; overflow-x: auto;
@@ -2782,9 +2921,9 @@ export default {
height: 24px; height: 24px;
border: 1px solid rgba(64, 158, 255, 1); border: 1px solid rgba(64, 158, 255, 1);
border-radius: 4px; border-radius: 4px;
color: #FFFFFF; color: #ffffff;
margin-left: 20px; margin-left: 20px;
background: #409EFF; background: #409eff;
cursor: pointer; cursor: pointer;
} }
} }
@@ -2815,13 +2954,13 @@ export default {
width: 24px; width: 24px;
margin: 10px; margin: 10px;
border-radius: 4px; border-radius: 4px;
border: 1px solid #6D7584; border: 1px solid #6d7584;
.ant-input-number-input { .ant-input-number-input {
width: 100%; width: 100%;
height: 100%; height: 100%;
font-size: 14px; font-size: 14px;
padding: 0; padding: 0;
color: #409EFF; color: #409eff;
text-align: center; text-align: center;
} }
} }

View File

@@ -9,25 +9,25 @@
</div> </div>
<div class="maincon" style="background-color: #fff"> <div class="maincon" style="background-color: #fff">
<div <div
class="item" class="items"
:class="{ active: isActive == true }" :class="{ active: isActive == true }"
@click="changebgc" @click="changebgc"
v-for="item in level" v-for="item in level"
:key="item.id" :key="item.id"
> >
<div class="items1"> <div class="items1">
<div class="box_left"> <div class="boxs_left">
<div class="script"> <div class="script">
<span style="font-size: 12px; color: #ffffff">说明</span> <span style="font-size: 12px; color: #ffffff">说明</span>
</div> </div>
<div class="imgIcon"></div> <div class="imgIcon"></div>
</div> </div>
<div class="box_right"> <div class="boxs_right">
<div class="imgIcon"></div> <div class="imgIcon"></div>
</div> </div>
</div> </div>
<div class="items2"> <div class="items2">
<div class="name">{{ item.name }}</div> <div class="nname">{{ item.name }}</div>
</div> </div>
<!-- <div class="itemle"> <!-- <div class="itemle">
<div class="tit">{{ item.tit }}</div> <div class="tit">{{ item.tit }}</div>
@@ -247,7 +247,7 @@
</div> </div>
<div class="btn btn2"> <div class="btn btn2">
<div class="imgIcon"></div> <div class="imgIcon"></div>
<div class="btnText">批量删除</div> <div class="btnText" @click="showDeleteALLModal">批量删除</div>
</div> </div>
</div> </div>
</div> </div>
@@ -371,10 +371,12 @@
<div class="xwid"> <div class="xwid">
<div class="xin"> <div class="xin">
<div class="xheadb"> <div class="xheadb">
<button class="addx">添加学员</button> <button class="addx" @click="showAddStu">添加学员</button>
<!-- 点击抽屉组件在LevelAdd此处没添加showAddStushowImpStu --> <!-- 点击抽屉组件在LevelAdd此处没添加showAddStushowImpStu -->
<button class="addd">导入学员</button> <button class="addd" @click="showImpStu">导入学员</button>
<button class="addd">批量删除</button> <button class="addd" @click="showDeleteALLModal">
批量删除
</button>
</div> </div>
<!-- <div class="talk"> <!-- <div class="talk">
<img class="im" src="../../assets/images/leveladd/gan.png" /> <img class="im" src="../../assets/images/leveladd/gan.png" />
@@ -454,14 +456,53 @@
</div> </div>
</div> </div>
</div> </div>
<!-- 添加学员抽屉 -->
<add-stu v-model:AddSvisible="AddSvisible" />
<!-- 导入学员抽屉 -->
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
<!-- 批量删除学员弹窗 -->
<a-modal
v-model:visible="deleteAll"
:footer="null"
:closable="closeDeleteAll"
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="delete_exit"></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>
</div> </div>
</template> </template>
<script> <script>
import { reactive, toRefs, onMounted, onUnmounted } from "vue"; import { reactive, toRefs, onMounted, onUnmounted } from "vue";
import AddStu from "../../components/drawers/AddLevelAddStu";
import ImpStu from "../../components/drawers/AddLevelImportStu";
export default { export default {
name: "LevelAddDetail", name: "LevelAddDetail",
components: {
AddStu,
ImpStu,
},
setup() { setup() {
const state = reactive({ const state = reactive({
level: [ level: [
@@ -745,9 +786,13 @@ export default {
tableDataTotal: 100, tableDataTotal: 100,
pageSize: 10, pageSize: 10,
visible: false, visible: false,
AddSvisible: false, //添加学员抽屉
AddImpStuvisible: false, //导入学员抽屉
modal: false, modal: false,
clos: false, clos: false,
stm_hs: false, stm_hs: false,
deleteAll: false,
closeDeleteAll: false,
value1: "", value1: "",
value2: "", value2: "",
selectedRowKeys: [], selectedRowKeys: [],
@@ -771,6 +816,12 @@ export default {
const afterVisibleChange = (bool) => { const afterVisibleChange = (bool) => {
console.log("visible", bool); console.log("visible", bool);
}; };
const showAddStu = () => {
state.AddSvisible = true;
};
const showImpStu = () => {
state.AddImpStuvisible = true;
};
const tableDataFunc = () => { const tableDataFunc = () => {
const columns = [ const columns = [
{ {
@@ -1081,6 +1132,12 @@ export default {
const gqxy_hShow = () => { const gqxy_hShow = () => {
state.gqxy_hs = !state.gqxy_hs; state.gqxy_hs = !state.gqxy_hs;
}; };
const showDeleteALLModal = () => {
state.deleteAll = true;
};
const delete_exit = () => {
state.deleteAll = false;
};
return { return {
...toRefs(state), ...toRefs(state),
tableDataFunc, tableDataFunc,
@@ -1090,10 +1147,14 @@ export default {
showModal, showModal,
closeModal, closeModal,
afterVisibleChange, afterVisibleChange,
showAddStu,
showImpStu,
// drawercolumns, // drawercolumns,
onSelectChange, onSelectChange,
changebgc, changebgc,
gqxy_hShow, gqxy_hShow,
showDeleteALLModal,
delete_exit,
drawertableColumns, drawertableColumns,
}; };
}, },
@@ -1268,6 +1329,7 @@ export default {
align-items: center; align-items: center;
// background-color: red; // background-color: red;
margin-bottom: 20px; margin-bottom: 20px;
flex-shrink: 0;
.headerTitle { .headerTitle {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
@@ -1298,6 +1360,7 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16); box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
background-color: #ffffff;
.btn1 { .btn1 {
width: 100px; width: 100px;
height: 40px; height: 40px;
@@ -1377,9 +1440,9 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
.item { .items {
width: 171px; width: 171px;
height: 83px; // height: 83px;
background: rgba(255, 182, 78, 0.1); background: rgba(255, 182, 78, 0.1);
border: 1px solid #ffb64e; border: 1px solid #ffb64e;
opacity: 0.45; opacity: 0.45;
@@ -1392,9 +1455,9 @@ export default {
.items1 { .items1 {
margin-bottom: 12px; margin-bottom: 12px;
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
.box_left { .boxs_left {
width: 140px;
display: flex; display: flex;
align-items: center; align-items: center;
.script { .script {
@@ -1415,7 +1478,7 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
} }
} }
.box_right { .boxs_right {
.imgIcon { .imgIcon {
width: 14px; width: 14px;
height: 14px; height: 14px;
@@ -1425,7 +1488,7 @@ export default {
} }
} }
.items2 { .items2 {
.name { .nname {
width: 100px; width: 100px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -1764,8 +1827,7 @@ export default {
} }
} }
.tableBox { .tableBox {
margin-bottom: 20px; margin-block-end: 20px;
.classify { .classify {
margin-left: 11px !important; margin-left: 11px !important;
padding-left: 9px !important; padding-left: 9px !important;
@@ -2106,4 +2168,115 @@ export default {
} }
} }
} }
.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: 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;
.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;
}
}
}
}
}
}
}
}
</style> </style>

View File

@@ -19,7 +19,8 @@
<div class="inname">项目名称</div> <div class="inname">项目名称</div>
</div> </div>
<div class="in"> <div class="in">
<a-input v-model:value="valueE" placeholder="请输入项目名称" /> <a-input v-model:value="valueE" placeholder="请输入项目名称" show-count
:maxlength="30"/>
</div> </div>
</div> </div>
<div class="name"> <div class="name">
@@ -75,6 +76,7 @@
<div class="in"> <div class="in">
<a-range-picker <a-range-picker
separator="至" separator="至"
:placeholder="[' 开始时间', ' 结束时间']"
style="width: 100%; height: 40px; border-radius: 5px" style="width: 100%; height: 40px; border-radius: 5px"
show-time show-time
/> />
@@ -120,7 +122,8 @@
<a-textarea <a-textarea
v-model:value="valuei" v-model:value="valuei"
style="height: 80px" style="height: 80px"
placeholder="请输入项目说明" placeholder="请输入说明"
show-count :maxlength="200"
/> />
</div> </div>
</div> </div>
@@ -395,12 +398,25 @@ export default {
flex: 1; flex: 1;
// .ant-radio-wrapper { // .ant-radio-wrapper {
// } // }
.ant-input-textarea-show-count {
position: relative;
height: 88px;
}
.ant-input-textarea-show-count::after {
position: absolute;
right: 10px;
bottom: 0px;
}
.ant-input { .ant-input {
border-radius: 5px; border-radius: 8px;
// height: 120%; // height: 120%;
width: 100%; width: 100%;
height: 40px; height: 40px;
} }
.ant-input-affix-wrapper {
padding: 0 11px;
border-radius: 8px;
}
.ant-select-selector { .ant-select-selector {
border-radius: 5px; border-radius: 5px;
// height: 120%; // height: 120%;
@@ -435,6 +451,11 @@ export default {
.name2 { .name2 {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
.ant-input-textarea {
.ant-input {
height: 88px;
}
}
} }
} }
.template { .template {

View File

@@ -142,11 +142,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
" "
> >
<div class="headerLeft" style="margin-left: 32px"> <div class="headerLeft" style="margin-left: 32px">
@@ -228,11 +223,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
" "
> >
<div class="headerLeft" style="margin-left: 32px"> <div class="headerLeft" style="margin-left: 32px">
@@ -324,11 +314,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
" "
> >
<div class="headerLeft" style="margin-left: 32px"> <div class="headerLeft" style="margin-left: 32px">
@@ -437,11 +422,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
" "
> >
<div class="headerLeft" style="margin-left: 32px"> <div class="headerLeft" style="margin-left: 32px">
@@ -2535,6 +2515,13 @@ export default {
.doublesonpro { .doublesonpro {
.ant-modal { .ant-modal {
.ant-modal-body { .ant-modal-body {
.modalHeader {
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
}
padding: 0; padding: 0;
.modalMain { .modalMain {
display: flex; display: flex;
@@ -2617,6 +2604,13 @@ export default {
.doublepro { .doublepro {
.ant-modal { .ant-modal {
.ant-modal-body { .ant-modal-body {
.modalHeader {
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
}
padding: 0; padding: 0;
.modalMain { .modalMain {
display: flex; display: flex;
@@ -2699,6 +2693,13 @@ export default {
.ant-modal { .ant-modal {
.ant-modal-body { .ant-modal-body {
padding: 0 !important; padding: 0 !important;
.modalHeader {
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
}
.modalMain { .modalMain {
display: flex; display: flex;
justify-content: center; justify-content: center;
@@ -2750,6 +2751,13 @@ export default {
.ant-modal { .ant-modal {
.ant-modal-body { .ant-modal-body {
padding: 0 !important; padding: 0 !important;
.modalHeader {
background: linear-gradient(
0deg,
rgba(78, 166, 255, 0) 0%,
rgba(78, 166, 255, 0.2) 100%
);
}
.modalMain { .modalMain {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@@ -542,7 +542,7 @@
:data-source="tabledata" :data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 1400, y: 350 }" :scroll="{ x: 1400 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -794,7 +794,6 @@
<a-tab-pane key="5" tab="项目积分"> <a-tab-pane key="5" tab="项目积分">
<ProjectScore></ProjectScore> <ProjectScore></ProjectScore>
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="6" tab="排行榜"> <a-tab-pane key="6" tab="排行榜">
<div class="content6"> <div class="content6">
<div class="title">排行榜</div> <div class="title">排行榜</div>
@@ -839,6 +838,7 @@
<div class="rankhead"> <div class="rankhead">
<div class="inhead"> <div class="inhead">
<div class="left">进度排行 Top10</div> <div class="left">进度排行 Top10</div>
<div class="icon"></div>
<div class="right"> <div class="right">
<a-select <a-select
v-model:value="valuestu1" v-model:value="valuestu1"
@@ -1040,6 +1040,7 @@
@ok="closeModal" @ok="closeModal"
:footer="null" :footer="null"
:closable="false" :closable="false"
:centered="true"
wrapClassName="pubproject" wrapClassName="pubproject"
width="679px" width="679px"
height="437px" height="437px"
@@ -1115,6 +1116,7 @@
@ok="closeModal2" @ok="closeModal2"
:footer="null" :footer="null"
:closable="false" :closable="false"
:centered="true"
wrapClassName="doublepro" wrapClassName="doublepro"
width="624px" width="624px"
height="332px" height="332px"
@@ -2358,7 +2360,7 @@ export default {
title: "姓名", title: "姓名",
dataIndex: "name", dataIndex: "name",
key: "name", key: "name",
width: 50, width: 30,
align: "left", align: "left",
className: "h", className: "h",
// scopedSlots: { customRender: "action" }, //引入的插槽 // scopedSlots: { customRender: "action" }, //引入的插槽
@@ -2395,7 +2397,7 @@ export default {
title: "部门", title: "部门",
dataIndex: "bum", dataIndex: "bum",
key: "bum", key: "bum",
width: 40, width: 50,
align: "center", align: "center",
className: "h", className: "h",
}, },
@@ -2403,7 +2405,7 @@ export default {
title: "岗位", title: "岗位",
dataIndex: "gangw", dataIndex: "gangw",
key: "gangw", key: "gangw",
width: 40, width: 50,
align: "center", align: "center",
className: "h", className: "h",
}, },
@@ -2411,7 +2413,7 @@ export default {
title: "所属小组", title: "所属小组",
dataIndex: "group", dataIndex: "group",
key: "group", key: "group",
width: 40, width: 50,
align: "center", align: "center",
className: "h", className: "h",
}, },
@@ -4160,6 +4162,9 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.ant-select-selector {
color: #388be1 !important;
}
.inhead { .inhead {
width: 374px; width: 374px;
// background-color: lightblue; // background-color: lightblue;
@@ -4167,6 +4172,15 @@ export default {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-top: 10px; margin-top: 10px;
position: relative;
.icon {
position: absolute;
width: 14px;
height: 14px;
background-image: url(../../assets/images/leveladd/info.png);
background-size: 100%;
left: 120px;
}
.left { .left {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;

View File

@@ -440,7 +440,7 @@ export default {
cursor: pointer; cursor: pointer;
margin-top: 32px; margin-top: 32px;
margin-left: 20px; margin-left: 20px;
float: right; // float: right;
color: #4ea6ff; color: #4ea6ff;
font-size: 14px; font-size: 14px;
} }

View File

@@ -37,7 +37,7 @@
<a-range-picker <a-range-picker
v-model:value="value2" v-model:value="value2"
separator="至" separator="至"
:placeholder="['开始时间', '结束时间']" :placeholder="[' 开始时间', ' 结束时间']"
/> />
</div> </div>
</div> </div>
@@ -65,7 +65,7 @@
:data-source="tableData" :data-source="tableData"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 1500, y: 800 }" :scroll="{ x: 1500 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
/> />
@@ -287,12 +287,6 @@ export default {
width: 100, width: 100,
align: "center", align: "center",
className: "h", className: "h",
// ellipsis: true,
// scopedSlots: { customRender: "action" }, //引入的插槽
// customRender: (text, record) => {
// console.log(text, record);
// return <span>{text.text}</span>;
// },
}, },
{ {
title: "名称", title: "名称",
@@ -487,10 +481,9 @@ export default {
width: 680px; width: 680px;
// height: 525px; // height: 525px;
background-color: #fff; background-color: #fff;
box-shadow: 0 0 10px rgba(118, 136, 166, 0.21); box-shadow: 0 0 10px rgba(118, 136, 166, 0.21);
left: 50%; left: 50%;
top: 20%; top: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
.top { .top {
width: 100%; width: 100%;
@@ -587,9 +580,7 @@ export default {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
//align-items: center;
position: relative; position: relative;
// position: relative;
.filter { .filter {
margin-left: 38px; margin-left: 38px;
margin-right: 38px; margin-right: 38px;
@@ -607,7 +598,6 @@ export default {
} }
.btns { .btns {
display: flex; display: flex;
// flex-wrap: wrap;
.btn { .btn {
padding: 0px 26px 0px 26px; padding: 0px 26px 0px 26px;
height: 38px; height: 38px;
@@ -686,7 +676,6 @@ export default {
margin: 20px 38px 30px; margin: 20px 38px 30px;
display: flex; display: flex;
flex: 1; flex: 1;
//position: relative;
flex-direction: column; flex-direction: column;
th.h { th.h {
@@ -701,11 +690,8 @@ export default {
} }
.pa { .pa {
width: 100%; width: 100%;
// height: 20px;
// background-color: red;
display: flex; display: flex;
justify-content: center; justify-content: center;
//position: absolute;
margin-bottom: 20px; margin-bottom: 20px;
.pagination { .pagination {
margin-bottom: 20px; margin-bottom: 20px;
@@ -770,7 +756,6 @@ export default {
height: 16px; height: 16px;
position: relative; position: relative;
margin-right: 10px; margin-right: 10px;
// background-image: url(@/assets/images/coursewareManage/notice.png);
img{ img{
width: 100%; width: 100%;
height: 100%; height: 100%;