Merge branch 'master' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage

This commit is contained in:
岳佳鑫
2022-10-24 15:59:57 +08:00
13 changed files with 3705 additions and 192 deletions

View File

@@ -533,13 +533,15 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
// background-color: #bfa; // background-color: #bfa;
// overflow-y: auto; overflow-y: auto;
.titl { .titl {
display: flex; display: flex;
.endtime { .endtime {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
color: #333333; color: #333333;
white-space: nowrap;
} }
} }
.search { .search {
@@ -551,6 +553,7 @@ export default {
.leftchoose { .leftchoose {
display: flex; display: flex;
margin-right: 20px; margin-right: 20px;
flex-wrap: wrap;
.namecon { .namecon {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
@@ -754,16 +757,17 @@ export default {
// } // }
} }
} }
// .botm { .botm {
// width: 100%; width: 100%;
// height: 100%; height: 90px;
// background-color: red; // background-color: red;
// // flex-shrink: 1; // flex-shrink: 1;
// } }
.btnn { .btnn {
height: 72px; height: 72px;
width: 100%; width: 100%;
position: absolute; position: absolute;
background-color: #fff;
bottom: 0; bottom: 0;
left: 0; left: 0;
display: flex; display: flex;

View File

@@ -1076,7 +1076,6 @@ export default {
display: flex; display: flex;
// height: 80%; // height: 80%;
margin-bottom: 72px; margin-bottom: 72px;
.left { .left {
// overflow-y: auto; // overflow-y: auto;
width: 65%; width: 65%;
@@ -1275,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

@@ -0,0 +1,406 @@
<template>
<a-drawer
:visible="CheckStuvisible"
class="drawerStyle CheckStu"
placement="right"
width="70%"
@after-visible-change="afterVisibleChange"
>
<div class="drawerMain">
<div class="header">
<div class="headerTitle">查看</div>
<img
style="width: 29px; height: 29px; cursor: pointer"
src="../../assets/images/basicinfo/close.png"
@click="closeDrawer"
/>
</div>
<div class="main">
<div class="stuinfor">
<div class="portrait">
<img src="../../assets/images/studentimg/character.png" />
</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>
<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="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 class="sortbox" style="margin-left: 34px">
<div class="sortname">已修证书</div>
<div class="sortnub">
<span class="nub1">1</span>
</div>
</div>
</div>
<div class="secondrow">
<div class="rowleft">产品经理管理 - 腾飞班1</div>
<div class="rowbox" @click="showProMess">
<div class="shuom">说明</div>
<div><img src="../../assets/images/studentimg/chak.png" /></div>
</div>
</div>
<div class="mainbox">
<div class="rowtitle" @click="changeDown">
<div class="titleimg">
<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 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 class="mainbox" style="margin-top: 15px; height: 56px">
<div class="rowtitle">
<div class="titleimg">
<img src="../../assets/images/studentimg/close.png" />
</div>
<div class="titletext">阶段2 腾飞班阶段2</div>
</div>
</div>
</div>
<div class="btnn">
<button class="btn2">关闭</button>
</div>
</div>
</a-drawer>
<check-stu-mess v-model:StuMessvisible="StuMessvisible" />
</template>
<script>
import { reactive, toRefs } from "vue";
import CheckStuMess from "./CheckStuMess.vue";
export default {
name: "CheckStu",
components: { CheckStuMess },
props: {
CheckStuvisible: {
type: Boolean,
default: false,
},
},
setup(props, ctx) {
const state = reactive({
StuMessvisible: false,
showDown: false,
});
const closeDrawer = () => {
ctx.emit("update:CheckStuvisible", false);
};
const showProMess = () => {
state.StuMessvisible = true;
};
const afterVisibleChange = (bool) => {
console.log("state", bool);
};
const changeDown = () => {
state.showDown = !state.showDown;
};
return {
...toRefs(state),
afterVisibleChange,
closeDrawer,
showProMess,
changeDown,
// change,
};
},
};
</script>
<style lang="scss" >
.CheckStu {
.ant-drawer-content-wrapper {
// max-width: 1000px;
.ant-drawer-header {
display: none !important;
}
.ant-drawer-body {
padding: 0;
}
}
.drawerMain {
min-width: 600px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex;
flex-direction: column;
.header {
height: 73px;
border-bottom: 1px solid #e8e8e8;
display: flex;
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 {
display: flex;
flex-direction: column;
overflow-y: auto;
padding-bottom: 80px;
.stuinfor {
display: flex;
align-items: center;
height: 133px;
margin-top: 20px;
margin-right: 37px;
background-image: url("../../assets/images/studentimg/bgimg.png");
background-repeat: no-repeat;
background-position: right;
.stumation {
margin-left: 24px;
.stuname {
color: #333333;
font-size: 18px;
}
.stugangw {
color: #999999;
font-size: 16px;
margin-top: 7px;
}
}
.sortbox {
display: flex;
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;
}
.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-top: 32px;
border: 1px solid rgba(221, 238, 255, 1);
border-radius: 6px;
.rowtitle {
height: 56px;
background: rgba(240, 246, 252, 1);
display: flex;
align-items: center;
.titleimg {
width: 20px;
height: 20px;
margin-left: 23px;
}
.titletext {
color: rgba(51, 51, 51, 1);
font-size: 16px;
font-weight: 500;
margin-left: 16px;
}
}
.rowclass {
height: 81px;
border-bottom: 1px solid rgba(221, 238, 255, 1);
display: flex;
justify-content: space-between;
align-items: center;
.leftclass {
display: flex;
margin-left: 25px;
align-items: center;
.text1 {
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 {
display: flex;
margin-right: 57px;
.alimg {
height: 16px;
width: 16px;
}
.altext {
color: rgba(56, 125, 247, 1);
font-size: 14px;
margin-left: 16px;
}
}
}
}
}
.btnn {
height: 72px;
width: 100%;
position: absolute;
bottom: 0;
background-color: #fff;
left: 0;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn2 {
cursor: pointer;
width: 100px;
height: 40px;
background: #4ea6ff;
border-radius: 8px;
border: 0;
margin-left: 15px;
color: #fff;
}
}
}
}
</style>

View File

@@ -0,0 +1,141 @@
<template>
<a-drawer
:visible="StuMessvisible"
class="drawerStyle StuMess"
placement="right"
width="50%"
@after-visible-change="afterVisibleChange"
>
<div class="drawerMain">
<div class="header">
<div class="headerTitle">任务信息</div>
<img
style="width: 29px; height: 29px; cursor: pointer"
src="../../assets/images/basicinfo/close.png"
@click="closeDrawer"
/>
</div>
<div class="main">
<div class="one">
<span class="left">班级名称</span>
<span class="right">产品经理管理-腾飞班1</span>
</div>
<div class="one second">
<span class="left">说明</span>
<span class="right"
>班级说明此班级为产品经理班级其他岗位不要进入请大家按照规定时间进行任务学习</span
>
</div>
</div>
<div class="btnn">
<button class="btn2">关闭</button>
</div>
</div>
</a-drawer>
</template>
<script>
import { reactive, toRefs } from "vue";
export default {
name: "CheckStuMess",
props: {
StuMessvisible: {
type: Boolean,
default: false,
},
},
setup(props, ctx) {
const state = reactive({});
const closeDrawer = () => {
ctx.emit("update:StuMessvisible", false);
};
const afterVisibleChange = (bool) => {
console.log("state", bool);
};
return {
...toRefs(state),
afterVisibleChange,
closeDrawer,
// change,
};
},
};
</script>
<style scoped lang="scss" >
.StuMess {
.ant-drawer-content-wrapper {
// max-width: 1000px;
.ant-drawer-header {
display: none !important;
}
.ant-drawer-body {
padding: 0;
}
}
.drawerMain {
min-width: 600px;
margin: 0px 32px 0px 32px;
overflow-x: scroll;
display: flex;
flex-direction: column;
.header {
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 {
.one {
margin-top: 38px;
margin-left: 53px;
.left {
color: rgba(51, 51, 51, 1);
font-size: 14px;
}
.right {
color: rgba(102, 102, 102, 1);
font-size: 14px;
margin-left: 12px;
}
}
.second {
margin-left: 81px;
}
}
.btnn {
height: 72px;
width: 100%;
position: absolute;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
.btn2 {
cursor: pointer;
width: 100px;
height: 40px;
background: #4ea6ff;
border-radius: 8px;
border: 0;
margin-left: 15px;
color: #fff;
}
}
}
}
</style>

View File

@@ -482,8 +482,9 @@ export default {
//面授管理弹窗 //面授管理弹窗
.FaceManage { .FaceManage {
// overflow: auto;
.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;
@@ -512,7 +513,7 @@ export default {
height: 100%; height: 100%;
// background-color: #bfa; // background-color: #bfa;
// overflow-y: auto; overflow: auto;
.endtime { .endtime {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
@@ -694,7 +695,15 @@ export default {
padding: 0px !important; padding: 0px !important;
// padding-left: 45px !important; // padding-left: 45px !important;
} }
// .ant-pagination-prev {
// margin-bottom: 5px;
// }
.ant-pagination-item,
.ant-pagination-prev,
.ant-pagination-next,
.ant-pagination-options {
margin-bottom: 10px;
}
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1) !important; background-color: rgba(239, 244, 252, 1) !important;
} }
@@ -735,6 +744,7 @@ export default {
height: 72px; height: 72px;
width: 100%; width: 100%;
position: absolute; position: absolute;
background-color: #fff;
bottom: 0; bottom: 0;
left: 0; left: 0;
display: flex; display: flex;

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +1,4 @@
<!-- 学习路径图的归属权 -->
<template> <template>
<a-drawer <a-drawer
:visible="Ownervisible" :visible="Ownervisible"
@@ -48,7 +49,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="line"> <!-- <div class="line">
<div class="inline"> <div class="inline">
<div class="left1"> <div class="left1">
<div class="img"></div> <div class="img"></div>
@@ -60,7 +61,7 @@
</div> </div>
<div class="right1">清空</div> <div class="right1">清空</div>
</div> </div>
</div> </div> -->
<div class="tabb" style="margin-top: 16px"> <div class="tabb" style="margin-top: 16px">
<a-table <a-table
style="border: 1px solid #f2f6fe" style="border: 1px solid #f2f6fe"
@@ -68,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: 100, y: 560 }" :scroll="{ x: 500, y: 560 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
@@ -92,29 +93,36 @@
</a-tab-pane> </a-tab-pane>
<a-tab-pane key="2" tab="添加组织" force-render> <a-tab-pane key="2" tab="添加组织" force-render>
<div class="tab2"> <div class="tab2">
<div class="organize">组织</div> <div class="t1">
<div class="select"> <div class="organize">选择组织</div>
<a-cascader <div class="select">
v-model:value="value" <a-tree-select
placeholder="请输入组织名称" v-model:value="valueSelect"
:options="organizeList" style="width: 200px"
dropdownClassName="changetreedropdown"
:dropdown-style="{
maxHeight: '400px',
overflow: 'auto',
}"
placeholder="请输入组织名称"
allow-clear
tree-default-expand-all
:tree-data="treeData"
>
</a-tree-select>
</div>
</div>
<div class="t1">
<div class="organize">姓名</div>
<a-input
v-model:value="nameadd"
style="width: 200px; height: 40px; border-radius: 8px"
placeholder="请输入姓名"
/> />
</div> </div>
</div> </div>
</a-tab-pane> <!-- 选完后出现下面 -->
<a-tab-pane key="3" tab="受众关联"> <div class="searchdown">
<div class="tab1">
<div class="nameinp">
<div class="namee">受众名称</div>
<div class="select">
<a-select
v-model:value="choosevalue"
style="width: 264px; border-radius: 8px"
placeholder="请输入组织名称"
:options="organizeList1"
/>
</div>
</div>
<div class="btns"> <div class="btns">
<div class="btn1"> <div class="btn1">
<div class="img1"> <div class="img1">
@@ -133,8 +141,75 @@
<div class="wz">重置</div> <div class="wz">重置</div>
</div> </div>
</div> </div>
<div class="tabb" style="margin-top: 16px">
<a-table
style="border: 1px solid #f2f6fe"
:columns="tablecolumns1"
:data-source="tabledata1"
:loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true"
:scroll="{ x: 500, y: 560 }"
@expand="expandTable"
:pagination="false"
:row-selection="{
columnWidth: 30,
selectedRowKeys: selectedRowKeys1,
onChange: onSelectChange1,
}"
/>
<div class="pa">
<a-pagination
showSizeChanger="true"
showQuickJumper="true"
hideOnSinglePage="true"
:pageSize="pageSize1"
:current="currentPage1"
:total="tableDataTotal1"
class="pagination"
/>
</div>
</div>
</div> </div>
<div class="line"> </a-tab-pane>
<a-tab-pane key="3" tab="受众关联">
<div class="tab1">
<div class="t1">
<div class="nameinp">
<div class="namee">选择受众</div>
<div class="select">
<a-select
v-model:value="choosevalue"
style="width: 200px; border-radius: 8px"
placeholder="请输入组织名称"
:options="organizeList1"
/>
</div>
</div>
</div>
<div class="t1" style="margin-top: 10px">
<div class="organize">姓名</div>
<a-input
v-model:value="nameaddd"
style="width: 200px; height: 40px; border-radius: 8px"
placeholder="请输入姓名"
/>
</div>
</div>
<div class="btns">
<div class="btn1">
<div class="img1">
<img src="../../assets/images/courseManage/search0.png" />
</div>
<div class="wz">搜索</div>
</div>
<div class="btn2">
<div class="img2">
<img src="../../assets/images/courseManage/reset1.png" />
</div>
<div class="wz">重置</div>
</div>
</div>
<!-- <div class="line">
<div class="inline"> <div class="inline">
<div class="left1"> <div class="left1">
<div class="img"></div> <div class="img"></div>
@@ -146,21 +221,21 @@
</div> </div>
<div class="right1">清空</div> <div class="right1">清空</div>
</div> </div>
</div> </div> -->
<div class="tabb" style="margin-top: 16px"> <div class="tabb" style="margin-top: 16px">
<a-table <a-table
style="border: 1px solid #f2f6fe" style="border: 1px solid #f2f6fe"
:columns="tablecolumns1" :columns="tablecolumns2"
:data-source="tabledata1" :data-source="tabledata2"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
:scroll="{ x: 700, y: 400 }" :scroll="{ x: 500, y: 560 }"
@expand="expandTable" @expand="expandTable"
:pagination="false" :pagination="false"
:row-selection="{ :row-selection="{
columnWidth: 30, columnWidth: 30,
selectedRowKeys: selectedRowKeys, selectedRowKeys: selectedRowKeys2,
onChange: onSelectChange, onChange: onSelectChange2,
}" }"
/> />
<div class="pa"> <div class="pa">
@@ -168,9 +243,9 @@
showSizeChanger="true" showSizeChanger="true"
showQuickJumper="true" showQuickJumper="true"
hideOnSinglePage="true" hideOnSinglePage="true"
:pageSize="pageSize" :pageSize="pageSize2"
:current="currentPage" :current="currentPage2"
:total="tableDataTotal" :total="tableDataTotal2"
class="pagination" class="pagination"
/> />
</div> </div>
@@ -181,7 +256,11 @@
</div> </div>
<div class="right"> <div class="right">
<div class="onerow"> <div class="onerow">
<div class="already">已选</div> <div class="onleft">
<div class="already">已选</div>
<div class="count">6</div>
<div class="peo"></div>
</div>
<div class="clbox"> <div class="clbox">
<div class="colose"></div> <div class="colose"></div>
<span class="allclear">全部清除</span> <span class="allclear">全部清除</span>
@@ -238,47 +317,116 @@ export default {
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
tableDataTotal: 50, tableDataTotal: 50,
pageSize1: 10,
currentPage1: 1,
tableDataTotal1: 50,
pageSize2: 10,
currentPage2: 1,
tableDataTotal2: 50,
selectedRowKeys: [],
selectedRowKeys1: [],
selectedRowKeys2: [],
activeKey: "1", activeKey: "1",
name: "", //输入名字搜索
value: [], //级联选择框 value: [], //级联选择框
choosevalue: null, //受众选择 choosevalue: null, //受众选择
organizeList: [ valueSelect: null, //树形选择
name: "",
nameadd: "",
nameaddd: "",
treeData: [
{ {
id: 1, title: "京东方",
value: "京东方", value: "京东方",
label: "京东方",
children: [ children: [
{ {
id: 2, title: "产研部",
value: "产研部", value: "产研部",
label: "产研部",
children: [ children: [
{ {
id: 4, title: "产品部",
value: "产品部", value: "产品部",
label: "产品部门",
}, },
{ {
id: 5, title: "研究部",
value: "研发部门", value: "研究部",
label: "研发部门",
}, },
], ],
}, },
{ {
id: 3, title: "二级标题",
value: "人力资源部", value: "二级标题",
label: "人力资源部",
children: [ children: [
{ {
id: 6, title: "三级标题",
value: "三级标题",
children: [
{
title: "四级标题",
value: "四级标题",
children: [
{
title: "五级标题",
value: "五级标题",
children: [
{
title: "六级标题",
value: "六级标题",
children: [
{
title: "七级标题",
value: "七级标题",
children: [
{
title: "八级标题",
value: "八级标题",
children: [
{
title: "九级标题",
value: "九级标题",
children: [
{
title: "十级标题",
value: "十级标题",
children: [
{
title: "十一级标题",
value: "十一级标题",
children: [
{
title: "十二级标题",
value: "十二级标题",
},
],
},
],
},
],
},
],
},
],
},
],
},
],
},
],
},
],
},
],
},
{
title: "人力资源部",
value: "人力资源部",
children: [
{
title: "人事部",
value: "人事部", value: "人事部",
label: "人事部",
}, },
{ {
id: 7, title: "行政部",
value: "行政部", value: "行政部",
label: "行政部",
}, },
], ],
}, },
@@ -290,55 +438,64 @@ export default {
key: 1, key: 1,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 2, key: 2,
name: "小刘", name: "小刘",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 3, key: 3,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 4, key: 4,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 5, key: 5,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 6, key: 6,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 7, key: 7,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 8, key: 8,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
{ {
key: 9, key: 9,
name: "小李", name: "小李",
bum: "产研部", bum: "产研部",
gangw: "产品经理", numb: "000000",
guishu: "",
}, },
], ],
tablecolumns: [ tablecolumns: [
@@ -351,18 +508,26 @@ export default {
className: "h", className: "h",
}, },
{ {
title: "部门", title: "工号",
dataIndex: "bum", dataIndex: "numb",
key: "bum", key: "numb",
width: 45, width: 35,
align: "center", align: "center",
className: "h", className: "h",
}, },
{ {
title: "岗位", title: "归属组织",
dataIndex: "gangw", dataIndex: "guishu",
key: "gangw", key: "guishu",
width: 45, width: 30,
align: "center",
className: "h",
},
{
title: "部门",
dataIndex: "bum",
key: "bum",
width: 40,
align: "center", align: "center",
className: "h", className: "h",
}, },
@@ -370,56 +535,71 @@ export default {
tabledata1: [ tabledata1: [
{ {
key: 1, key: 1,
name: "学习受众", name: "小李",
time: "2022-10-31 23:12:00", bum: "产研部",
total: "1", numb: "000000",
state: "已发布", guishu: "",
type: "普通受众",
}, },
{ {
key: 2, key: 2,
name: "2", name: "小刘",
time: "2022-10-31 23:12:00", bum: "产研部",
total: "2", numb: "000000",
state: "已发布", guishu: "",
type: "普通受众",
}, },
{ {
key: 3, key: 3,
name: "mask", name: "小李",
time: "2022-10-31 23:12:00", bum: "产研部",
total: "1", numb: "000000",
state: "已发布", guishu: "",
type: "普通受众",
}, },
{ {
key: 4, key: 4,
name: "学习受众", name: "小李",
time: "2022-10-31 23:12:00", bum: "产研部",
total: "1", numb: "000000",
state: "已发布", guishu: "",
type: "普通受众",
}, },
{ {
key: 5, key: 5,
name: "学业受众", name: "小李",
time: "2022-10-31 23:12:00", bum: "产研部",
total: "2", numb: "000000",
state: "已发布", guishu: "",
type: "普通受众",
}, },
{ {
key: 6, key: 6,
name: "案例受众", name: "小李",
time: "2022-10-31 23:12:00", bum: "产研部",
total: "3", numb: "000000",
state: "已发布", guishu: "",
type: "普通受众", },
{
key: 7,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 8,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 9,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
}, },
], ],
tablecolumns1: [ tablecolumns1: [
{ {
title: "受众名称", title: "姓名",
dataIndex: "name", dataIndex: "name",
key: "name", key: "name",
width: 30, width: 30,
@@ -427,84 +607,188 @@ export default {
className: "h", className: "h",
}, },
{ {
title: "创建时间", title: "工号",
dataIndex: "time", dataIndex: "numb",
key: "time", key: "numb",
width: 35,
align: "center",
className: "h",
},
{
title: "归属组织",
dataIndex: "guishu",
key: "guishu",
width: 30,
align: "center",
className: "h",
},
{
title: "部门",
dataIndex: "bum",
key: "bum",
width: 40, width: 40,
align: "center", align: "center",
className: "h", className: "h",
}, },
],
tabledata2: [
{ {
title: "人数", key: 1,
dataIndex: "total", name: "小李",
key: "total", bum: "产研部",
width: 20, numb: "000000",
align: "center", guishu: "",
className: "h",
}, },
{ {
title: "状态", key: 2,
dataIndex: "state", name: "小刘",
key: "state", bum: "产研部",
width: 20, numb: "000000",
align: "center", guishu: "",
className: "h",
}, },
{ {
title: "类型", key: 3,
dataIndex: "type", name: "小李",
key: "type", bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 4,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 5,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 6,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 7,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 8,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
{
key: 9,
name: "小李",
bum: "产研部",
numb: "000000",
guishu: "",
},
],
tablecolumns2: [
{
title: "姓名",
dataIndex: "name",
key: "name",
width: 30, width: 30,
align: "left",
className: "h",
},
{
title: "工号",
dataIndex: "numb",
key: "numb",
width: 35,
align: "center",
className: "h",
},
{
title: "归属组织",
dataIndex: "guishu",
key: "guishu",
width: 30,
align: "center",
className: "h",
},
{
title: "部门",
dataIndex: "bum",
key: "bum",
width: 40,
align: "center", align: "center",
className: "h", className: "h",
}, },
], ],
organizeList1: [ organizeList1: [
{ {
value: "项目一", value: "产品受众群体",
label: "项目一", label: "产品受众群体",
},
{
value: "人力资源hrbp",
label: "人力资源hrbp",
}, },
], ],
}); });
const closeDrawer = () => { const closeDrawer = () => {
state.activeKey = "1";
ctx.emit("update:Ownervisible", false); ctx.emit("update:Ownervisible", false);
}; };
const afterVisibleChange = (bool) => { const afterVisibleChange = (bool) => {
console.log("state", bool); console.log("state", bool);
}; };
const onSelectChange = (selectedRowKeys) => {
console.log("selectedRowKeys changed: ", selectedRowKeys);
state.selectedRowKeys = selectedRowKeys;
};
const onSelectChange1 = (selectedRowKeys) => {
console.log("selectedRowKeys changed: ", selectedRowKeys);
state.selectedRowKeys = selectedRowKeys;
};
const onSelectChange2 = (selectedRowKeys) => {
console.log("selectedRowKeys changed: ", selectedRowKeys);
state.selectedRowKeys = selectedRowKeys;
};
return { return {
...toRefs(state), ...toRefs(state),
afterVisibleChange, afterVisibleChange,
closeDrawer, closeDrawer,
onSelectChange,
onSelectChange1,
onSelectChange2,
// change, // change,
}; };
}, },
}; };
</script> </script>
<style lang="scss" > <style lang="scss">
.Ownership { .Ownership {
// .ant-drawer-content-wrapper {
// // max-width: 1000px;
// .ant-drawer-header {
// display: none !important;
// }
// .ant-drawer-body {
// padding: 0;
// }
// }
.drawerMain { .drawerMain {
min-width: 600px; min-width: 600px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll; // overflow-y: 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;
flex-shrink: 0;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
// background-color: red; // background-color: red;
@@ -519,11 +803,12 @@ export default {
} }
.main { .main {
display: flex; display: flex;
height: 80%; // height: 80%;
margin-bottom: 72px;
overflow-y: auto;
.left { .left {
// overflow-y: auto;
width: 65%; width: 65%;
height: 100%; // height: 100%;
border-right: 1px solid rgba(233, 233, 233, 1); border-right: 1px solid rgba(233, 233, 233, 1);
.tabs { .tabs {
margin-right: 33px; margin-right: 33px;
@@ -531,6 +816,12 @@ export default {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
align-items: center;
.t1 {
display: flex;
align-items: center;
margin-bottom: 5px;
}
.nameinp { .nameinp {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -578,6 +869,43 @@ export default {
} }
} }
} }
.btns {
display: flex;
margin-top: 10px;
.btn1 {
width: 100px;
height: 40px;
margin-right: 16px;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 14px;
background: #409eff;
border-radius: 8px;
border: 1px solid #409eff;
cursor: pointer;
.wz {
margin-left: 10px;
}
}
.btn2 {
width: 100px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
color: #409eff;
font-size: 14px;
background: #ffffff;
border-radius: 8px;
cursor: pointer;
border: 1px solid #409eff;
.wz {
margin-left: 10px;
}
}
}
.line { .line {
width: 100%; width: 100%;
height: 40px; height: 40px;
@@ -672,18 +1000,39 @@ export default {
justify-content: center; justify-content: center;
// position: absolute; // position: absolute;
// bottom: 20px; // bottom: 20px;
.ant-pagination-item,
.ant-pagination-prev,
.ant-pagination-next,
.ant-pagination-options {
margin-bottom: 10px;
}
} }
} }
.tab2 { .tab2 {
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 10px; margin-top: 10px;
flex-wrap: wrap;
justify-content: space-between;
.t1 {
display: flex;
align-items: center;
margin-bottom: 5px;
}
.organize { .organize {
color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85);
font-size: 14px; font-size: 14px;
white-space: nowrap;
}
.ant-select-dropdown {
min-width: 800px !important;
} }
.ant-select { .ant-select {
border-radius: 8px !important; border-radius: 8px !important;
// background-color: red;
} }
.ant-cascader { .ant-cascader {
width: 264px; width: 264px;
@@ -697,6 +1046,46 @@ export default {
} }
} }
} }
.searchdown {
.btns {
display: flex;
margin-top: 10px;
.btn1 {
width: 100px;
height: 40px;
margin-right: 16px;
display: flex;
align-items: center;
justify-content: center;
color: #ffffff;
font-size: 14px;
background: #409eff;
border-radius: 8px;
border: 1px solid #409eff;
cursor: pointer;
.wz {
margin-left: 10px;
}
}
.btn2 {
width: 100px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
color: #409eff;
font-size: 14px;
background: #ffffff;
border-radius: 8px;
cursor: pointer;
border: 1px solid #409eff;
.wz {
margin-left: 10px;
}
}
}
}
} }
} }
.right { .right {
@@ -707,13 +1096,27 @@ export default {
align-items: center; align-items: center;
margin-right: 40px; margin-right: 40px;
flex-wrap: wrap; flex-wrap: wrap;
.already { .onleft {
color: rgba(51, 51, 51, 1); display: flex;
font-size: 16px; text-align: center;
font-weight: 500; .already {
margin-left: 32px; color: rgba(51, 51, 51, 1);
white-space: nowrap; font-size: 16px;
// margin-bottom: 20px; font-weight: 500;
margin-left: 32px;
white-space: nowrap;
// margin-bottom: 20px;
}
.count {
color: #388be1;
font-size: 16px;
margin: 0 6px;
}
.peo {
color: rgba(51, 51, 51, 1);
font-size: 16px;
font-weight: 500;
}
} }
.clbox { .clbox {
margin-left: 30px; margin-left: 30px;
@@ -765,7 +1168,6 @@ export default {
background-image: url(../../assets/images/basicinfo/ch.png); background-image: url(../../assets/images/basicinfo/ch.png);
right: -8px; right: -8px;
top: -8px; top: -8px;
cursor: pointer;
} }
} }
} }
@@ -775,6 +1177,7 @@ export default {
height: 72px; height: 72px;
width: 100%; width: 100%;
position: absolute; position: absolute;
background-color: #fff;
bottom: 0; bottom: 0;
left: 0; left: 0;
display: flex; display: flex;
@@ -803,4 +1206,14 @@ export default {
} }
} }
} }
</style> .changetreedropdown {
width: 550px !important;
}
.ant-select-tree-list-scrollbar {
width: 5px !important;
.ant-select-tree-list-scrollbar-thumb {
background-color: #4ea6ff !important;
}
}
</style>

View File

@@ -345,7 +345,8 @@ export default {
} }
} }
.drawerMain { .drawerMain {
min-width: 600px; // overflow: auto;
min-width: 550px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: scroll; overflow-x: scroll;
display: flex; display: flex;
@@ -368,7 +369,7 @@ export default {
} }
.main { .main {
width: 100%; width: 100%;
height: 100%; // height: 100%;
// background-color: #bfa; // background-color: #bfa;
// overflow-y: auto; // overflow-y: auto;
.search { .search {
@@ -479,7 +480,7 @@ export default {
.pa { .pa {
// left: 0; // left: 0;
margin-top: 25px; margin-top: 25px;
margin-bottom: 70px; // margin-bottom: 70px;
width: 100%; width: 100%;
// height: 20px; // height: 20px;
// background-color: red; // background-color: red;
@@ -487,6 +488,7 @@ export default {
justify-content: center; justify-content: center;
// position: absolute; // position: absolute;
// bottom: 20px; // bottom: 20px;
// margin-bottom: 20px;
} }
// .tab { // .tab {
// .ant-table-thead > tr > th { // .ant-table-thead > tr > th {
@@ -507,9 +509,9 @@ export default {
} }
// .botm { // .botm {
// width: 100%; // width: 100%;
// height: 100%; // height: 200px;
// background-color: red; // background-color: red;
// // flex-shrink: 1;
// } // }
.btnn { .btnn {
height: 72px; height: 72px;

File diff suppressed because it is too large Load Diff

View File

@@ -54,7 +54,7 @@
</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"> <div class="btn btn1" @click="showopen" style="margin-right: 20px">
<div class="img1"></div> <div class="img1"></div>
<div class="wz">催促学习</div> <div class="wz">催促学习</div>
</div> </div>
@@ -92,7 +92,7 @@
<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>
@@ -100,7 +100,7 @@
</template> </template>
<script> <script>
import { toRefs, reactive, onMounted, onUnmounted} from "vue"; import { toRefs, reactive, onMounted, onUnmounted } from "vue";
export default { export default {
name: "TimeManage", name: "TimeManage",
props: { props: {
@@ -274,16 +274,16 @@ export default {
const closeDrawer = () => { const closeDrawer = () => {
ctx.emit("update:Tvisible", false); ctx.emit("update:Tvisible", false);
}; };
const showopen=()=>{ const showopen = () => {
state.open = true; state.open = true;
}; };
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 {
@@ -311,6 +311,7 @@ export default {
// } // }
// } // }
.TimeManage { .TimeManage {
// overflow-x: scroll;
.drawerMain { .drawerMain {
min-width: 600px; min-width: 600px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
@@ -338,6 +339,7 @@ export default {
height: 73px; height: 73px;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
display: flex; display: flex;
flex-shrink: 0;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
// background-color: red; // background-color: red;
@@ -354,7 +356,7 @@ export default {
width: 100%; width: 100%;
height: 100%; height: 100%;
// background-color: #bfa; // background-color: #bfa;
// overflow-y: auto; overflow: auto;
.endtime { .endtime {
font-size: 16px; font-size: 16px;
font-weight: 500; font-weight: 500;
@@ -375,6 +377,7 @@ export default {
margin-bottom: 10px; margin-bottom: 10px;
.name { .name {
margin-top: 8px; margin-top: 8px;
white-space: nowrap;
} }
} }
} }
@@ -489,6 +492,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

@@ -418,7 +418,7 @@ export default {
flex-direction: column; flex-direction: column;
// justify-content: center; // justify-content: center;
align-items: center; align-items: center;
overflow: auto;
.check { .check {
width: 40px; width: 40px;
height: 40px; height: 40px;
@@ -465,7 +465,7 @@ export default {
//作业管理弹窗 //作业管理弹窗
.WorkManage { .WorkManage {
.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;
@@ -489,8 +489,9 @@ export default {
.main { .main {
width: 100%; width: 100%;
height: 100%; height: 100%;
// margin-bottom: 30px;
// 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;
@@ -505,12 +506,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;
} }
} }
} }
@@ -606,6 +609,7 @@ export default {
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

@@ -523,6 +523,10 @@
</a-modal> </a-modal>
<!-- 归属权抽屉 --> <!-- 归属权抽屉 -->
<owner-ship v-model:Ownervisible="Ownervisible" /> <owner-ship v-model:Ownervisible="Ownervisible" />
<!-- 查看权抽屉 -->
<query-right v-model:Queryvisible="Queryvisible" />
<!-- 管理权抽屉 -->
<manage-right v-model:Managevisible="Managevisible" />
<!-- 授权名单抽屉 --> <!-- 授权名单抽屉 -->
<power-list v-model:PLvisible="PLvisible" /> <power-list v-model:PLvisible="PLvisible" />
</div> </div>
@@ -531,10 +535,11 @@
import { reactive, toRefs, onMounted } from "vue"; import { reactive, toRefs, onMounted } from "vue";
import OwnerShip from "../../components/drawers/Ownership"; import OwnerShip from "../../components/drawers/Ownership";
import PowerList from "../../components/drawers/PowerList"; import PowerList from "../../components/drawers/PowerList";
import QueryRight from "../../components/drawers/QueryRight";
import ManageRight from "../../components/drawers/ManageRight";
export default { export default {
name: "learningPath", name: "learningPath",
components: { OwnerShip, PowerList }, components: { OwnerShip, PowerList, QueryRight, ManageRight },
setup() { setup() {
const state = reactive({ const state = reactive({
projectNameList: [ projectNameList: [
@@ -707,6 +712,8 @@ export default {
closeBack: false, //撤回弹窗关闭图标 closeBack: false, //撤回弹窗关闭图标
Ownervisible: false, //归属权抽屉 Ownervisible: false, //归属权抽屉
PLvisible: false, //授权名单抽屉 PLvisible: false, //授权名单抽屉
Queryvisible: false, //查看权抽屉
Managevisible: false, //管理权抽屉
currentPage: 1, currentPage: 1,
tableDataTotal: 100, tableDataTotal: 100,
pageSize: 10, pageSize: 10,
@@ -842,6 +849,12 @@ export default {
const showPower = () => { const showPower = () => {
state.PLvisible = true; state.PLvisible = true;
}; };
const showQuery = () => {
state.Queryvisible = true;
};
const showManage = () => {
state.Managevisible = true;
};
const getTableDate = () => { const getTableDate = () => {
let data = state.tableData; let data = state.tableData;
data.map((value) => { data.map((value) => {
@@ -923,10 +936,22 @@ export default {
</div> </div>
</a-select-option> </a-select-option>
<a-select-option value="查看权" label="查看权"> <a-select-option value="查看权" label="查看权">
<div>查看权</div> <div
onClick={() => {
showQuery();
}}
>
查看权
</div>
</a-select-option> </a-select-option>
<a-select-option value="管理权" label="管理权"> <a-select-option value="管理权" label="管理权">
<div>管理权</div> <div
onClick={() => {
showManage();
}}
>
管理权
</div>
</a-select-option> </a-select-option>
</a-select> </a-select>
</div> </div>
@@ -1093,6 +1118,8 @@ export default {
showPower, showPower,
tableDataFunc, tableDataFunc,
chooseImg, chooseImg,
showQuery,
showManage,
}; };
}, },
}; };

View File

@@ -157,9 +157,9 @@
class="centerbox" class="centerbox"
style="color: rgba(93, 201, 136, 1)" style="color: rgba(93, 201, 136, 1)"
> >
发布 创建关卡
</div> </div>
<div class="centermain">快速发布项目</div> <div class="centermain">点击创建关卡任务</div>
</div> </div>
</div> </div>
</div> </div>
@@ -221,7 +221,7 @@
<a-table <a-table
style="border: 1px solid #f2f6fe" style="border: 1px solid #f2f6fe"
:columns="tableDataFunc()" :columns="tableDataFunc()"
:scroll="{ x: 1600, y: 235 }" :scroll="{ x: 1500, y: 235 }"
:data-source="tableData" :data-source="tableData"
:loading="tableDataTotal === -1 ? true : false" :loading="tableDataTotal === -1 ? true : false"
expandRowByClick="true" expandRowByClick="true"
@@ -390,7 +390,7 @@
<div class="cur">当前关卡</div> <div class="cur">当前关卡</div>
<div class="select"> <div class="select">
<a-select <a-select
v-model:value="projectName" v-model:value="curLevel"
style="width: 100%" style="width: 100%"
placeholder="请选择关卡" placeholder="请选择关卡"
:options="projectNameList4" :options="projectNameList4"
@@ -442,6 +442,8 @@
<add-stu v-model:AddSvisible="AddSvisible" /> <add-stu v-model:AddSvisible="AddSvisible" />
<!-- 导入学员抽屉 --> <!-- 导入学员抽屉 -->
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" /> <imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
<!-- 学员管理查看抽屉 -->
<check-stu v-model:CheckStuvisible="CheckStuvisible" />
</div> </div>
</div> </div>
</template> </template>
@@ -449,9 +451,10 @@
import { ref, reactive, toRefs } from "vue"; import { ref, reactive, toRefs } from "vue";
import AddStu from "../../components/drawers/AddLevelAddStu"; import AddStu from "../../components/drawers/AddLevelAddStu";
import ImpStu from "../../components/drawers/AddLevelImportStu"; import ImpStu from "../../components/drawers/AddLevelImportStu";
import CheckStu from "../../components/drawers/CheckStu";
export default { export default {
name: "LevelAdd", name: "LevelAdd",
components: { AddStu, ImpStu }, components: { AddStu, ImpStu, CheckStu },
methods: {}, methods: {},
setup() { setup() {
const state = reactive({ const state = reactive({
@@ -460,6 +463,7 @@ export default {
deleteAll: false, //批量删除学员弹窗 deleteAll: false, //批量删除学员弹窗
AddSvisible: false, //添加学员抽屉 AddSvisible: false, //添加学员抽屉
AddImpStuvisible: false, //导入学员抽屉 AddImpStuvisible: false, //导入学员抽屉
CheckStuvisible: false, //学员管理的查看抽屉
projectNameListt: [ projectNameListt: [
{ {
id: 1, id: 1,
@@ -547,6 +551,7 @@ export default {
visible: false, visible: false,
sh: false, sh: false,
closeDeleteAll: false, closeDeleteAll: false,
curLevel: "",
//关卡的数据 //关卡的数据
level: [ level: [
// { // {
@@ -669,7 +674,7 @@ export default {
dataIndex: "name", dataIndex: "name",
// width: "30%", // width: "30%",
key: "name", key: "name",
width: 100, width: 110,
align: "left", align: "left",
className: "classify", className: "classify",
@@ -727,7 +732,7 @@ export default {
title: "开始时间", title: "开始时间",
dataIndex: "time", dataIndex: "time",
key: "time", key: "time",
width: 110, width: 120,
align: "center", align: "center",
className: "h", className: "h",
}, },
@@ -736,18 +741,21 @@ export default {
className: "h", className: "h",
dataIndex: "opacation", dataIndex: "opacation",
key: "opacation", key: "opacation",
width: 110, width: 140,
align: "center", align: "center",
scopedSlots: { customRender: "action" }, //引入的插槽 scopedSlots: { customRender: "action" }, //引入的插槽
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="opa"> <div class="opa">
<div class="opacation"> <div class="opacation">
<routerLink to="/levelcheck"> <span
<span style="color:#4EA6FF;margin-right:25px;cursor:pointer"> onClick={() => {
查看 showCheckStu();
</span> }}
</routerLink> style="color:#4EA6FF;margin-right:25px;cursor:pointer"
>
查看
</span>
<span <span
onClick={() => { onClick={() => {
state.visible = true; state.visible = true;
@@ -788,6 +796,9 @@ export default {
const showImpStu = () => { const showImpStu = () => {
state.AddImpStuvisible = true; state.AddImpStuvisible = true;
}; };
const showCheckStu = () => {
state.CheckStuvisible = true;
};
return { return {
...toRefs(state), ...toRefs(state),
selectProjectName, selectProjectName,
@@ -802,6 +813,7 @@ export default {
closeChangeModal, closeChangeModal,
showAddStu, showAddStu,
showImpStu, showImpStu,
showCheckStu,
}; };
}, },
}; };
@@ -1640,7 +1652,7 @@ export default {
} }
.ant-table-selection-column { .ant-table-selection-column {
padding: 0px !important; padding: 0px !important;
padding-left: 45px !important; padding-left: 38px !important;
} }
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
background-color: rgba(239, 244, 252, 1); background-color: rgba(239, 244, 252, 1);