style:修改路径管理中各管理 考勤 作业详情 导入学员 修改学员管理中调整弹窗 修改项目中排行榜

This commit is contained in:
songwc
2022-10-25 15:31:03 +08:00
parent e483c8bfaf
commit 46fad31cc0
14 changed files with 605 additions and 515 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

Binary file not shown.

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

@@ -505,293 +505,294 @@ export default {
}
.ant-drawer-body {
padding: 0;
}
}
.drawerMain {
min-width: 600px;
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 {
.drawerMain {
min-width: 600px;
margin: 0px 32px 0px 32px;
// overflow-x: scroll;
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 {
flex-direction: column;
.header {
height: 73px;
border-bottom: 1px solid #e8e8e8;
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;
// color: rgba(0, 0, 0, 0.85);
// font-size: 14px;
// font-weight: 400;
// }
justify-content: space-between;
align-items: center;
// background-color: red;
margin-bottom: 20px;
flex-shrink: 0;
.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;
.btns {
display: flex;
flex-wrap: nowrap;
.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;
.btn {
cursor: pointer;
width: 100px;
// color: rgba(0, 0, 0, 0.85);
// font-size: 14px;
// font-weight: 400;
// }
}
}
.btns {
display: flex;
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;
border-radius: 8px;
background-color: #e9f6fe;
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;
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;
}
}
}
.btn1 {
background: #388be1;
color: #ffffff;
.pad {
width: 96%;
height: 10px;
background-color: #fff;
position: absolute;
}
.btn2 {
background: #ffffff;
.tableBox {
// margin-bottom: 80px;
color: #388be1;
border: 1px solid #388be1;
.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;
// }
// }
}
}
.btnss {
.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;
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;
}
}
align-items: center;
justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn1 {
background: #388be1;
margin-right: 20px;
color: #ffffff;
width: 100px;
height: 40px;
border: 1px solid #4ea6ff;
border-radius: 8px;
color: #4ea6ff;
background-color: #fff;
cursor: pointer;
}
.btn2 {
background: #ffffff;
margin-right: 20px;
color: #388be1;
border: 1px solid #388be1;
cursor: pointer;
width: 100px;
height: 40px;
background: #4ea6ff;
border-radius: 8px;
border: 0;
margin-left: 15px;
color: #fff;
}
}
.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;
}
}
}
.pad {
width: 96%;
height: 10px;
background-color: #fff;
position: absolute;
}
.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;
}
}
}

View File

@@ -63,12 +63,18 @@
</div>
<div class="curloading">
<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>
<div class="defeat">下载失败数据</div>
<div class="defeat">
<div class="detext">下载失败数据</div>
</div>
</div>
</div>
<div class="defeatbox">
<div class="lefimg"></div>
<div class="tacl">20条数据导入成功5条数据导入失败</div>
</div>
<div class="loadborder">
<div class="content">
<div class="img"></div>
@@ -87,6 +93,10 @@
</div>
</div>
</div>
<div class="succebox">
<div class="lefimg"></div>
<div class="tacl">20条数据导入成功5条数据导入失败</div>
</div>
</div>
</div>
</div>
@@ -132,7 +142,7 @@ export default {
<style lang="scss" >
.AddLevelImpStu {
.drawerMain {
min-width: 600px;
min-width: 500px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex;
@@ -218,7 +228,8 @@ export default {
height: 173px;
border-radius: 4px;
border: 1px dashed #eaeaea;
margin-bottom: 30px;
margin-bottom: 10px;
margin-top: 10px;
display: flex;
align-items: center;
.content {
@@ -228,10 +239,22 @@ export default {
.defeat {
position: absolute;
left: 46px;
top: 38px;
top: 42px;
font-size: 14px;
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 {
width: 30px;
@@ -314,6 +337,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({
value: 1, //成绩是否合格的单选
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) => {
console.log("value", value, index);
@@ -246,9 +97,9 @@ export default {
// }
.EntryScores {
.drawerMain {
min-width: 600px;
min-width: 400px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
// overflow-x: scroll;
display: flex;
flex-direction: column;
.header {
@@ -269,7 +120,9 @@ export default {
}
.main {
width: 100%;
height: 100%;
// height: 100%;
overflow-y: auto;
margin-bottom: 70px;
.sta {
width: 10px;
height: 10px;
@@ -309,6 +162,7 @@ export default {
position: absolute;
bottom: 0;
left: 0;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;

View File

@@ -87,7 +87,7 @@
:data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true"
:scroll="{ x: 900, y: 350 }"
:scroll="{ x: 900 }"
@expand="expandTable"
:pagination="false"
:row-selection="{
@@ -514,6 +514,7 @@ export default {
// background-color: #bfa;
overflow: auto;
padding-right: 10px;
.endtime {
font-size: 16px;
font-weight: 500;

View File

@@ -54,7 +54,11 @@
</div>
</div>
<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="wz">催促考试</div>
</div>
@@ -70,10 +74,22 @@
:data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true"
:scroll="{ x: 900, y: 500 }"
:scroll="{ x: 900 }"
@expand="expandTable"
: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 class="btnn">
@@ -81,16 +97,15 @@
<button class="btn2">确定</button>
</div>
<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>
</div>
</a-drawer>
</template>
<script>
import { toRefs, reactive, onMounted, onUnmounted} from "vue";
import { toRefs, reactive, onMounted, onUnmounted } from "vue";
export default {
name: "TestManage",
props: {
@@ -108,6 +123,9 @@ export default {
const state = reactive({
name: null,
open: false,
pageSize: 10,
currentPage: 1,
tableDataTotal: 100,
projectNameList: [
{
id: 1,
@@ -297,16 +315,19 @@ export default {
const closeDrawer = () => {
ctx.emit("update:TMvisible", false);
};
const showopen=()=>{
state.open = true;
const showopen = () => {
state.open = true;
};
const onChange = (pageNumber) => {
console.log("Page: ", pageNumber);
};
let timer;
onMounted(()=> {
timer = setInterval(()=>{
onMounted(() => {
timer = setInterval(() => {
state.open = false;
},3000);
}, 3000);
});
onUnmounted(()=>{
onUnmounted(() => {
clearInterval(timer);
});
return {
@@ -316,6 +337,7 @@ export default {
showopen,
onMounted,
onUnmounted,
onChange,
};
},
};
@@ -339,9 +361,9 @@ export default {
//作业管理弹窗
.TestManage {
.drawerMain {
min-width: 600px;
min-width: 520px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
// overflow-x: scroll;
display: flex;
flex-direction: column;
position: relative;
@@ -382,7 +404,8 @@ export default {
width: 100%;
height: 100%;
// background-color: #bfa;
// overflow-y: auto;
overflow-y: auto;
padding-right: 10px;
.endtime {
font-size: 16px;
font-weight: 500;
@@ -397,12 +420,14 @@ export default {
.sealeft {
display: flex;
flex-wrap: wrap;
.namecon {
display: flex;
flex-wrap: nowrap;
margin-bottom: 10px;
.name {
margin-top: 8px;
white-space: nowrap;
}
}
}
@@ -497,6 +522,23 @@ export default {
> td {
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;
align-items: center;
justify-content: center;
background-color: #fff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn1 {
width: 100px;

View File

@@ -70,7 +70,7 @@
:data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true"
:scroll="{ x: 900, y: 350 }"
:scroll="{ x: 900 }"
@expand="expandTable"
:pagination="false"
/>
@@ -83,6 +83,7 @@
:current="currentPage"
:total="tableDataTotal"
class="pagination"
@change="onChange"
/>
</div>
</div>
@@ -277,6 +278,9 @@ export default {
const showopen = () => {
state.open = true;
};
const onChange = (pageNumber) => {
console.log("Page: ", pageNumber);
};
let timer;
onMounted(() => {
timer = setInterval(() => {
@@ -293,6 +297,7 @@ export default {
showopen,
onMounted,
onUnmounted,
onChange,
};
},
};
@@ -313,7 +318,7 @@ export default {
.TimeManage {
// overflow-x: scroll;
.drawerMain {
min-width: 600px;
min-width: 550px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex;
@@ -356,7 +361,8 @@ export default {
width: 100%;
height: 100%;
// background-color: #bfa;
overflow: auto;
overflow-y: auto;
padding-right: 10px;
.endtime {
font-size: 16px;
font-weight: 500;
@@ -371,6 +377,7 @@ export default {
.sealeft {
display: flex;
flex-wrap: wrap;
.namecon {
display: flex;
flex-wrap: nowrap;
@@ -482,6 +489,12 @@ export default {
justify-content: center;
// position: absolute;
// 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="infotit">作业信息</div>
<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="see"></div>
<div class="download"></div>
</div>
</div>
@@ -57,9 +75,7 @@ export default {
setup(props, ctx) {
const state = reactive({
pageSize: 10,
currentPage: 1,
tableDataTotal: 100,
item: require("../../assets/px.jpg"),
});
const closeDrawer = () => {
@@ -88,7 +104,7 @@ export default {
// }
.WorkDetail {
.drawerMain {
min-width: 600px;
min-width: 450px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex;
@@ -101,6 +117,7 @@ export default {
align-items: center;
// background-color: red;
margin-bottom: 20px;
flex-shrink: 0;
.headerTitle {
font-size: 18px;
font-weight: 600;
@@ -111,8 +128,9 @@ export default {
}
.main {
width: 100%;
height: 100%;
// height: 100%;
overflow-y: auto;
margin-bottom: 40px;
.cj {
font-size: 16px;
font-weight: 400;
@@ -149,6 +167,9 @@ export default {
display: flex;
flex-wrap: wrap;
margin-top: 16px;
.it {
margin-right: 40px;
}
.img {
width: 240px;
height: 240px;
@@ -157,6 +178,10 @@ export default {
display: flex;
align-items: center;
justify-content: center;
margin-right: 40px;
margin-bottom: 40px;
position: relative;
cursor: pointer;
.see {
width: 50px;
height: 50px;
@@ -169,8 +194,11 @@ export default {
height: 50px;
background-image: url(../../assets/images/basicinfo/download.png);
background-size: 100% 100%;
margin-left: 40px;
// margin-left: 40px;
cursor: pointer;
position: absolute;
right: 10px;
bottom: 10px;
}
}
}
@@ -184,6 +212,7 @@ export default {
bottom: 0;
left: 0;
display: flex;
background-color: #fff;
align-items: center;
justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);

View File

@@ -54,15 +54,11 @@
</div>
</div>
<div class="btnss" style="margin-top: 20px">
<div
class="btn btn1"
style="margin-right: 20px; cursor: pointer"
@click="showModal"
>
<div class="btn btn1" style="margin-right: 20px; cursor: pointer">
<div class="img1"></div>
<div class="wz">导出数据</div>
</div>
<div class="btn btn2">
<div class="btn btn2" @click="showModal">
<div class="wz">导出作业</div>
</div>
</div>
@@ -73,10 +69,22 @@
:data-source="tabledata"
:loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true"
:scroll="{ x: 900, y: 500 }"
:scroll="{ x: 900 }"
@expand="expandTable"
: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 class="btnn">
@@ -131,6 +139,9 @@ export default {
visible: false, //导出数据弹窗
close: false, //导出弹窗的关闭按钮
WDvisible: false, //作业详情
pageSize: 10,
currentPage: 1,
tableDataTotal: 100,
projectNameList: [
{
id: 1,
@@ -336,6 +347,9 @@ export default {
const showWorkDetail = () => {
state.WDvisible = true;
};
const onChange = (pageNumber) => {
console.log("Page: ", pageNumber);
};
return {
...toRefs(state),
selectProjectName,
@@ -343,6 +357,7 @@ export default {
showModal,
closeModal,
showWorkDetail,
onChange,
};
},
};
@@ -418,7 +433,8 @@ export default {
flex-direction: column;
// justify-content: center;
align-items: center;
overflow: auto;
overflow-y: auto;
padding-right: 10px;
.check {
width: 40px;
height: 40px;
@@ -601,6 +617,23 @@ export default {
> td {
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

@@ -208,7 +208,7 @@
</a-tab-pane>
<a-tab-pane key="2" tab="路径管理">
<div class="split"></div>
<div class="cont">
<!-- <div class="cont">
<div class="pad"></div>
<div class="sametab">
<div class="Lhead">
@@ -236,50 +236,50 @@
</div>
<div class="Lbom">
<div>
<div class="create">
<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 class="create"></div>
</div>
</div>
</div>
<div class="pad"></div>
</div>
</div> -->
<!-- 有数据时的路径管理 -->
<!-- 路径管理 -->
<div style="flex: 1">
<div class="onerow">
<div class="taskmain">任务大纲</div>
<router-link to="/leveladddetail" class="edit">
<router-link to="/leveladddetail" class="editright">
<img
class="editimg"
src="../../assets/images/projectadd/edit.png"
src="../../assets/images/leveladd/edit.png"
/>
<span class="editext">编辑</span>
<span class="editextb">编辑</span>
</router-link>
</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">
<a-collapse v-model:activeKey="taskSyllabusActive" accordion>
<template #expandIcon="{ isActive }">
@@ -457,6 +457,7 @@
</a-collapse-panel>
</a-collapse>
</div>
<!-- 有数据-->
<div style="display: flex; height: 20px"></div>
</div>
</a-tab-pane>
@@ -680,7 +681,7 @@
</div>
<div class="mid">
<div class="inher">
<div class="cur">当前关卡</div>
<div class="cur">当前关卡关卡2</div>
<div class="select">
<a-select
v-model:value="curLevel"
@@ -878,16 +879,11 @@ export default {
projectNameList4: [
{
id: 1,
value: "请选择关卡",
label: "请选择关卡",
},
{
id: 2,
value: "关卡1",
label: "关卡1",
},
{
id: 3,
id: 2,
value: "关卡2",
label: "关卡2",
},
@@ -895,7 +891,7 @@ export default {
//任务大纲列表
taskSyllabus: [
{
text: "阶段1腾飞班阶段1",
text: "关卡1 初级产品经理",
children: [
{
course: "在线",
@@ -954,7 +950,7 @@ export default {
],
},
{
text: "阶段2腾飞班阶段2",
text: "关卡2 中级产品经理",
children: [
{
course: "讨论",
@@ -1224,7 +1220,7 @@ export default {
</span>
<span
onClick={() => {
state.visible = true;
state.visiblene = true;
console.log(text.record.cur);
}}
style="color:#4EA6FF;margin-right:25px;cursor:pointer"
@@ -1254,7 +1250,7 @@ export default {
state.visible = true;
};
const closeChangeModal = () => {
state.visible = false;
state.visiblene = false;
};
const showAddStu = () => {
state.AddSvisible = true;
@@ -1833,34 +1829,35 @@ export default {
color: #ffffff;
cursor: pointer;
}
.edit {
.editright {
position: absolute;
right: 38px;
top: 0;
color: #409eff;
width: 100px;
width: 110px;
height: 40px;
border: 1px solid #409eff;
background: #409eff;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
.editimg {
width: 15px;
height: 15px;
margin-top: -2px;
margin-left: 25px;
margin-right: 5px;
}
.editext {
line-height: 40px;
}
}
.edit:hover {
color: #ffffff;
background-color: #409eff;
cursor: pointer;
.editimg {
background-image: url("../../assets/images/projectadd/edit1.png");
.editextb {
color: #fff;
margin-left: 10px;
}
}
// .edit:hover {
// color: #ffffff;
// background-color: #409eff;
// cursor: pointer;
// .editimg {
// background-image: url("../../assets/images/projectadd/edit1.png");
// }
// }
}
.second {
display: flex;
@@ -2357,6 +2354,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 {
// flex: 1;
overflow-x: auto;

View File

@@ -839,6 +839,7 @@
<div class="rankhead">
<div class="inhead">
<div class="left">进度排行 Top10</div>
<div class="icon"></div>
<div class="right">
<a-select
v-model:value="valuestu1"
@@ -4160,6 +4161,9 @@ export default {
display: flex;
justify-content: center;
align-items: center;
.ant-select-selector {
color: #388be1 !important;
}
.inhead {
width: 374px;
// background-color: lightblue;
@@ -4167,6 +4171,15 @@ export default {
justify-content: space-between;
align-items: center;
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 {
font-size: 16px;
font-weight: 500;