mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
feat:新增时间管理抽屉 面授管理抽屉
This commit is contained in:
556
src/components/drawers/FaceManage.vue
Normal file
556
src/components/drawers/FaceManage.vue
Normal file
@@ -0,0 +1,556 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:visible="Fvisible"
|
||||
class="drawerStyle"
|
||||
placement="right"
|
||||
width="60%"
|
||||
@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="endtime">起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00</div>
|
||||
<div class="search">
|
||||
<div class="namecon" style="margin-right: 30px">
|
||||
<div class="name">姓名:</div>
|
||||
<a-input
|
||||
v-model:value="name"
|
||||
style="width: 270px; height: 40px; border-radius: 8px"
|
||||
placeholder="请输入姓名"
|
||||
/>
|
||||
</div>
|
||||
<div class="namecon" style="margin-right: 50px">
|
||||
<div class="name">任务状态:</div>
|
||||
<div class="select">
|
||||
<a-select
|
||||
v-model:value="projectName"
|
||||
style="width: 270px"
|
||||
placeholder="请选择"
|
||||
:options="projectNameList"
|
||||
@change="selectProjectName"
|
||||
allowClear
|
||||
showSearch
|
||||
></a-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btns">
|
||||
<div class="btn btn1" style="margin-right: 20px">
|
||||
<div class="img1"></div>
|
||||
<div class="wz">搜索</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">重置</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btn btn1" style="margin-right: 20px">
|
||||
<div class="img1"></div>
|
||||
<div class="wz">催促学习</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="wz">批量标注完成</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="wz">批量录入成绩</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">导出数据</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line">
|
||||
<div class="inline">
|
||||
<div class="left">
|
||||
<div class="img"></div>
|
||||
<div class="text" style="margin-left: 10px">已选择</div>
|
||||
<div class="text2">2</div>
|
||||
<div class="text">项</div>
|
||||
<div class="text3">列表选项总计:</div>
|
||||
<div class="text4">9条</div>
|
||||
</div>
|
||||
<div class="right">清空</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab" style="margin-top: 20px; margin-bottom: 100px">
|
||||
<a-table
|
||||
style="border: 1px solid #f2f6fe"
|
||||
:columns="tablecolumns"
|
||||
:data-source="tabledata"
|
||||
:loading="tableDataTotal === -1 ? true : false"
|
||||
expandRowByClick="true"
|
||||
:scroll="{ x: 900, y: 350 }"
|
||||
@expand="expandTable"
|
||||
:pagination="false"
|
||||
:row-selection="{
|
||||
columnWidth: 30,
|
||||
selectedRowKeys: selectedRowKeys,
|
||||
onChange: onSelectChange,
|
||||
}"
|
||||
/>
|
||||
<div class="pa">
|
||||
<a-pagination
|
||||
showSizeChanger="true"
|
||||
showQuickJumper="true"
|
||||
hideOnSinglePage="true"
|
||||
:pageSize="pageSize"
|
||||
:current="currentPage"
|
||||
:total="tableDataTotal"
|
||||
class="pagination"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnn">
|
||||
<button class="btn1">取消</button>
|
||||
<button class="btn2">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { toRefs, reactive } from "vue";
|
||||
export default {
|
||||
name: "FaceManage",
|
||||
props: {
|
||||
Fvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
|
||||
setup(props, ctx) {
|
||||
const state = reactive({
|
||||
name: null,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
tableDataTotal: 100,
|
||||
selectedRowKeys: [],
|
||||
projectNameList: [
|
||||
{
|
||||
id: 1,
|
||||
value: "项目一",
|
||||
label: "项目一",
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
value: "项目二",
|
||||
label: "项目二",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
value: "项目三",
|
||||
label: "项目三",
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
value: "项目四",
|
||||
label: "项目四",
|
||||
},
|
||||
],
|
||||
tabledata: [
|
||||
{
|
||||
key: 1,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "-",
|
||||
state: "未完成",
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "-",
|
||||
state: "未完成",
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "合格",
|
||||
state: "完成",
|
||||
},
|
||||
{
|
||||
key: 4,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "合格",
|
||||
state: "完成",
|
||||
},
|
||||
{
|
||||
key: 5,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "合格",
|
||||
state: "完成",
|
||||
},
|
||||
{
|
||||
key: 6,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "合格",
|
||||
state: "完成",
|
||||
},
|
||||
{
|
||||
key: 7,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "合格",
|
||||
state: "完成",
|
||||
},
|
||||
{
|
||||
key: 8,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "不合格",
|
||||
state: "完成",
|
||||
},
|
||||
{
|
||||
key: 9,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "不合格",
|
||||
state: "完成",
|
||||
},
|
||||
{
|
||||
key: 10,
|
||||
name: "哈哈",
|
||||
bum: "产品部",
|
||||
gangw: "产品经理",
|
||||
score: "不合格",
|
||||
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: "score",
|
||||
key: "score",
|
||||
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);
|
||||
};
|
||||
const closeDrawer = () => {
|
||||
ctx.emit("update:Fvisible", false);
|
||||
};
|
||||
const onSelectChange = (selectedRowKeys) => {
|
||||
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||
state.selectedRowKeys = selectedRowKeys;
|
||||
};
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
closeDrawer,
|
||||
onSelectChange,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss" >
|
||||
.drawerStyle {
|
||||
.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 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// background-color: #bfa;
|
||||
// overflow-y: auto;
|
||||
.endtime {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
.search {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 20px;
|
||||
|
||||
.namecon {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
margin-bottom: 10px;
|
||||
// .name {
|
||||
// margin-top: 8px;
|
||||
|
||||
// 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;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
.tab {
|
||||
.ant-table-thead > tr > th {
|
||||
background-color: rgba(239, 244, 252, 1);
|
||||
}
|
||||
|
||||
th.h {
|
||||
background-color: #eff4fc !important;
|
||||
}
|
||||
|
||||
.ant-table-tbody
|
||||
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||
> td {
|
||||
background: #f6f9fd;
|
||||
}
|
||||
.pa {
|
||||
// left: 0;
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
// height: 20px;
|
||||
// background-color: red;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
// position: absolute;
|
||||
// bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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);
|
||||
.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>
|
||||
473
src/components/drawers/TimeManage.vue
Normal file
473
src/components/drawers/TimeManage.vue
Normal file
@@ -0,0 +1,473 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
:visible="Tvisible"
|
||||
class="drawerStyle"
|
||||
placement="right"
|
||||
width="60%"
|
||||
@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="endtime">起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00</div>
|
||||
<div class="search">
|
||||
<div class="namecon" style="margin-right: 30px">
|
||||
<div class="name">姓名:</div>
|
||||
<a-input
|
||||
v-model:value="name"
|
||||
style="width: 270px; height: 40px; border-radius: 8px"
|
||||
placeholder="请输入姓名"
|
||||
/>
|
||||
</div>
|
||||
<div class="namecon" style="margin-right: 50px">
|
||||
<div class="name">任务状态:</div>
|
||||
<div class="select">
|
||||
<a-select
|
||||
v-model:value="projectName"
|
||||
style="width: 270px"
|
||||
placeholder="请选择"
|
||||
:options="projectNameList"
|
||||
@change="selectProjectName"
|
||||
allowClear
|
||||
showSearch
|
||||
></a-select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btns">
|
||||
<div class="btn btn1" style="margin-right: 20px">
|
||||
<div class="img1"></div>
|
||||
<div class="wz">搜索</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">重置</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnss" style="margin-top: 20px">
|
||||
<div class="btn btn1" style="margin-right: 20px">
|
||||
<div class="img1"></div>
|
||||
<div class="wz">催促学习</div>
|
||||
</div>
|
||||
<div class="btn btn2">
|
||||
<div class="img2"></div>
|
||||
<div class="wz">导出数据</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab" style="margin-top: 20px; margin-bottom: 100px">
|
||||
<a-table
|
||||
style="border: 1px solid #f2f6fe"
|
||||
:columns="tablecolumns"
|
||||
:data-source="tabledata"
|
||||
:loading="tableDataTotal === -1 ? true : false"
|
||||
expandRowByClick="true"
|
||||
:scroll="{ x: 900, y: 350 }"
|
||||
@expand="expandTable"
|
||||
:pagination="false"
|
||||
/>
|
||||
<div class="pa">
|
||||
<a-pagination
|
||||
showSizeChanger="true"
|
||||
showQuickJumper="true"
|
||||
hideOnSinglePage="true"
|
||||
:pageSize="pageSize"
|
||||
:current="currentPage"
|
||||
:total="tableDataTotal"
|
||||
class="pagination"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnn">
|
||||
<button class="btn1">取消</button>
|
||||
<button class="btn2">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { toRefs, reactive } from "vue";
|
||||
export default {
|
||||
name: "TimeManage",
|
||||
props: {
|
||||
Tvisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
|
||||
setup(props, ctx) {
|
||||
const state = reactive({
|
||||
name: 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);
|
||||
};
|
||||
const closeDrawer = () => {
|
||||
ctx.emit("update:Tvisible", false);
|
||||
};
|
||||
return {
|
||||
...toRefs(state),
|
||||
selectProjectName,
|
||||
closeDrawer,
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss" >
|
||||
.drawerStyle {
|
||||
.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 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// background-color: #bfa;
|
||||
// overflow-y: auto;
|
||||
.endtime {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
.search {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 20px;
|
||||
|
||||
.namecon {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
margin-bottom: 10px;
|
||||
// .name {
|
||||
// margin-top: 8px;
|
||||
|
||||
// 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;
|
||||
|
||||
color: #ffffff;
|
||||
}
|
||||
.btn2 {
|
||||
background: #ffffff;
|
||||
|
||||
color: #388be1;
|
||||
border: 1px solid #388be1;
|
||||
}
|
||||
}
|
||||
.tab {
|
||||
th.h {
|
||||
background-color: #eff4fc !important;
|
||||
}
|
||||
|
||||
.ant-table-tbody
|
||||
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||
> td {
|
||||
background: #f6f9fd;
|
||||
}
|
||||
.pa {
|
||||
// left: 0;
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
// height: 20px;
|
||||
// background-color: red;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
// position: absolute;
|
||||
// bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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);
|
||||
.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>
|
||||
@@ -354,12 +354,6 @@ export default {
|
||||
width: 100,
|
||||
align: "center",
|
||||
className: "h",
|
||||
// ellipsis: true,
|
||||
// scopedSlots: { customRender: "action" }, //引入的插槽
|
||||
// customRender: (text, record) => {
|
||||
// console.log(text, record);
|
||||
// return <span>{text.text}</span>;
|
||||
// },
|
||||
},
|
||||
{
|
||||
title: "路径图名称",
|
||||
@@ -411,38 +405,6 @@ export default {
|
||||
key: "opacation",
|
||||
width: 200,
|
||||
align: "center",
|
||||
// scopedSlots: { customRender: "action" }, //引入的插槽
|
||||
// customRender: (text) => {
|
||||
// console.log(text);
|
||||
// return (
|
||||
// <div class="opa">
|
||||
// <div class="opacation">
|
||||
// <span class={text.record.haspub ? "activecls" : "errorCls"}>
|
||||
// 发布
|
||||
// </span>
|
||||
// <span style={{ "margin-left": "25px" }}>编辑</span>
|
||||
// <router-link to="/leveladd">
|
||||
// <span style={{ "margin-left": "25px" }}>关卡</span>
|
||||
// </router-link>
|
||||
|
||||
// <div style={{ "margin-left": "25px" }} class="more">
|
||||
// <span>授权</span>
|
||||
// <div class="moreArrow"></div>
|
||||
// <div class="moreItems"></div>
|
||||
// </div>
|
||||
|
||||
// <div
|
||||
// style={{ "margin-left": "21px", "margin-right": "30px" }}
|
||||
// class="more"
|
||||
// >
|
||||
// <span>更多</span>
|
||||
// <div class="moreArrow"></div>
|
||||
// <div class="moreItems"></div>
|
||||
// </div>
|
||||
// </div>
|
||||
// </div>
|
||||
// );
|
||||
// },
|
||||
},
|
||||
];
|
||||
return columns;
|
||||
|
||||
@@ -38,38 +38,109 @@
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="split" style="flex-shrink: 0;"></div>
|
||||
<div class="split" style="flex-shrink: 0"></div>
|
||||
<div class="content">
|
||||
<a-tabs class="tab"
|
||||
<a-tabs
|
||||
class="tab"
|
||||
v-model:activeKey="activeKey"
|
||||
size="large"
|
||||
:tabBarStyle="{ marginLeft: '10px',marginTop: '5px' }">
|
||||
:tabBarStyle="{ marginLeft: '10px', marginTop: '5px' }"
|
||||
>
|
||||
<a-tab-pane key="1" tab="概览">
|
||||
<div class="split"></div>
|
||||
<div class="onerow"><div class="taskmain">快速创建项目详情</div></div>
|
||||
<!-- 概览(无数据) -->
|
||||
<div style="display: none">
|
||||
<div class="onerow">
|
||||
<div class="taskmain">快速创建项目详情</div>
|
||||
</div>
|
||||
<div class="second">
|
||||
<div class="taskbox" style="background:linear-gradient(180deg,rgba(254, 243, 221, 1) 100%,rgba(255, 250, 240, 1) 100%);">
|
||||
<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="taskbox"
|
||||
style="
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(254, 243, 221, 1) 100%,
|
||||
rgba(255, 250, 240, 1) 100%
|
||||
);
|
||||
"
|
||||
>
|
||||
<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>
|
||||
<div class="taskbox" style="background:linear-gradient(180deg,rgba(221, 234, 255, 1) 100%,rgba(240, 248, 254, 1) 100%);">
|
||||
<div class="leftt"><img src="../../assets/images/taskpage/left2.png"/></div>
|
||||
<div class="photo"><img src="../../assets/images/taskpage/picture2.png"/></div>
|
||||
<div class="rightt"><img src="../../assets/images/taskpage/right2.png"/></div>
|
||||
<div class="centerbox" style="color: rgba(78, 166, 255, 1)">添加学员</div>
|
||||
<div
|
||||
class="taskbox"
|
||||
style="
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(221, 234, 255, 1) 100%,
|
||||
rgba(240, 248, 254, 1) 100%
|
||||
);
|
||||
"
|
||||
>
|
||||
<div class="leftt">
|
||||
<img src="../../assets/images/taskpage/left2.png" />
|
||||
</div>
|
||||
<div class="photo">
|
||||
<img src="../../assets/images/taskpage/picture2.png" />
|
||||
</div>
|
||||
<div class="rightt">
|
||||
<img src="../../assets/images/taskpage/right2.png" />
|
||||
</div>
|
||||
<div class="centerbox" style="color: rgba(78, 166, 255, 1)">
|
||||
添加学员
|
||||
</div>
|
||||
<div class="centermain">快速添加学员</div>
|
||||
</div>
|
||||
<div class="taskbox" @click="showModal" style="background:linear-gradient(180deg,rgba(229, 246, 236, 1) 100%,rgba(238, 249, 243, 1) 100%);">
|
||||
<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="taskbox"
|
||||
@click="showModal"
|
||||
style="
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(229, 246, 236, 1) 100%,
|
||||
rgba(238, 249, 243, 1) 100%
|
||||
);
|
||||
"
|
||||
>
|
||||
<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 class="onerow"><div class="taskmain">项目概览</div></div>
|
||||
<div class="second">
|
||||
<div class="nubbox">
|
||||
<span class="nub1">200</span>
|
||||
<div class="nub2">总人数</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 概览(有数据) -->
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="2" tab="任务" force-render>
|
||||
<div class="split"></div>
|
||||
@@ -77,17 +148,24 @@
|
||||
<div class="taskmain">任务大纲</div>
|
||||
<button class="btn">批量面授报名</button>
|
||||
<router-link to="/taskadd" class="edit">
|
||||
<img class="editimg" src="../../assets/images/projectadd/edit.png"/>
|
||||
<img
|
||||
class="editimg"
|
||||
src="../../assets/images/projectadd/edit.png"
|
||||
/>
|
||||
<span class="editext">编辑</span>
|
||||
</router-link>
|
||||
</div>
|
||||
<div class="stage">
|
||||
<span class="stageimg"><img src="../../assets/images/projectadd/open.png"/></span>
|
||||
<span class="stageimg"
|
||||
><img src="../../assets/images/projectadd/open.png"
|
||||
/></span>
|
||||
<span class="stagename">阶段1腾飞班阶级1</span>
|
||||
</div>
|
||||
<div class="course">
|
||||
<div class="first">
|
||||
<div class="icon"><img src="../../assets/images/leveladd/zai.png"/></div>
|
||||
<div class="icon">
|
||||
<img src="../../assets/images/leveladd/zai.png" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="iconame">「在线」</div>
|
||||
<div class="icontext">时间管理</div>
|
||||
@@ -103,19 +181,26 @@
|
||||
<div class="progress">
|
||||
<div class="progresstext">25/50人</div>
|
||||
<div style="display: flex">
|
||||
<a-progress :showInfo="false" :percent="50" strokeColor="#FFC067" trailColor="rgba(253, 209, 98, 0.2)"/>
|
||||
<a-progress
|
||||
:showInfo="false"
|
||||
:percent="50"
|
||||
strokeColor="#FFC067"
|
||||
trailColor="rgba(253, 209, 98, 0.2)"
|
||||
/>
|
||||
<span class="progresstext" style="margin-left: 10px">50%</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="operations">
|
||||
|
||||
<div class="operation">管理</div>
|
||||
|
||||
<div class="operation" style="cursor: pointer" @click="showTime">
|
||||
管理
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="course">
|
||||
<div class="first">
|
||||
<div class="icon"><img src="../../assets/images/leveladd/zhi.png"/></div>
|
||||
<div class="icon">
|
||||
<img src="../../assets/images/leveladd/zhi.png" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="iconame">「直播」</div>
|
||||
<div class="icontext">管理直播间</div>
|
||||
@@ -131,7 +216,12 @@
|
||||
<div class="progress">
|
||||
<div class="progresstext">0/50人</div>
|
||||
<div style="display: flex">
|
||||
<a-progress :showInfo="false" :percent="0" strokeColor="#FFC067" trailColor="rgba(253, 209, 98, 0.2)"/>
|
||||
<a-progress
|
||||
:showInfo="false"
|
||||
:percent="0"
|
||||
strokeColor="#FFC067"
|
||||
trailColor="rgba(253, 209, 98, 0.2)"
|
||||
/>
|
||||
<span class="progresstext" style="margin-left: 10px">0%</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -143,7 +233,9 @@
|
||||
</div>
|
||||
<div class="course">
|
||||
<div class="first">
|
||||
<div class="icon"><img src="../../assets/images/leveladd/mian.png"/></div>
|
||||
<div class="icon">
|
||||
<img src="../../assets/images/leveladd/mian.png" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="iconame">「面授」</div>
|
||||
<div class="icontext">管理面授课</div>
|
||||
@@ -159,19 +251,28 @@
|
||||
<div class="progress">
|
||||
<div class="progresstext">0/50人</div>
|
||||
<div style="display: flex">
|
||||
<a-progress :showInfo="false" :percent="0" strokeColor="#FFC067" trailColor="rgba(253, 209, 98, 0.2)"/>
|
||||
<a-progress
|
||||
:showInfo="false"
|
||||
:percent="0"
|
||||
strokeColor="#FFC067"
|
||||
trailColor="rgba(253, 209, 98, 0.2)"
|
||||
/>
|
||||
<span class="progresstext" style="margin-left: 10px">0%</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="operations">
|
||||
<div class="operation">学员</div>
|
||||
<div class="operation">管理</div>
|
||||
<div class="operation" style="cursor: pointer" @click="showFace">
|
||||
管理
|
||||
</div>
|
||||
<div class="operation">二维码</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="course">
|
||||
<div class="first">
|
||||
<div class="icon"><img src="../../assets/images/leveladd/huo.png"/></div>
|
||||
<div class="icon">
|
||||
<img src="../../assets/images/leveladd/huo.png" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="iconame">「活动」</div>
|
||||
<div class="icontext">管理活动</div>
|
||||
@@ -187,7 +288,12 @@
|
||||
<div class="progress">
|
||||
<div class="progresstext">0/50人</div>
|
||||
<div style="display: flex">
|
||||
<a-progress :showInfo="false" :percent="0" strokeColor="#FFC067" trailColor="rgba(253, 209, 98, 0.2)"/>
|
||||
<a-progress
|
||||
:showInfo="false"
|
||||
:percent="0"
|
||||
strokeColor="#FFC067"
|
||||
trailColor="rgba(253, 209, 98, 0.2)"
|
||||
/>
|
||||
<span class="progresstext" style="margin-left: 10px">0%</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -199,7 +305,9 @@
|
||||
</div>
|
||||
<div class="course">
|
||||
<div class="first">
|
||||
<div class="icon"><img src="../../assets/images/leveladd/zuo.png"/></div>
|
||||
<div class="icon">
|
||||
<img src="../../assets/images/leveladd/zuo.png" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="iconame">「作业」</div>
|
||||
<div class="icontext">管理者作业</div>
|
||||
@@ -215,19 +323,24 @@
|
||||
<div class="progress">
|
||||
<div class="progresstext">0/50人</div>
|
||||
<div style="display: flex">
|
||||
<a-progress :showInfo="false" :percent="0" strokeColor="#FFC067" trailColor="rgba(253, 209, 98, 0.2)"/>
|
||||
<a-progress
|
||||
:showInfo="false"
|
||||
:percent="0"
|
||||
strokeColor="#FFC067"
|
||||
trailColor="rgba(253, 209, 98, 0.2)"
|
||||
/>
|
||||
<span class="progresstext" style="margin-left: 10px">0%</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="operations">
|
||||
|
||||
<div class="operation">管理</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="course">
|
||||
<div class="first">
|
||||
<div class="icon"><img src="../../assets/images/leveladd/kao.png"/></div>
|
||||
<div class="icon">
|
||||
<img src="../../assets/images/leveladd/kao.png" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="iconame">「考试」</div>
|
||||
<div class="icontext">管理者考试</div>
|
||||
@@ -243,18 +356,23 @@
|
||||
<div class="progress">
|
||||
<div class="progresstext">0/50人</div>
|
||||
<div style="display: flex">
|
||||
<a-progress :showInfo="false" :percent="0" strokeColor="#FFC067" trailColor="rgba(253, 209, 98, 0.2)"/>
|
||||
<a-progress
|
||||
:showInfo="false"
|
||||
:percent="0"
|
||||
strokeColor="#FFC067"
|
||||
trailColor="rgba(253, 209, 98, 0.2)"
|
||||
/>
|
||||
<span class="progresstext" style="margin-left: 10px">0%</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="operations">
|
||||
|
||||
<div class="operation">管理</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="stage" style="margin-top: 0">
|
||||
<span class="stageimg"><img src="../../assets/images/projectadd/close.png"/></span>
|
||||
<span class="stageimg"
|
||||
><img src="../../assets/images/projectadd/close.png"
|
||||
/></span>
|
||||
<span class="stagename">阶段2 腾飞班阶级2</span>
|
||||
</div>
|
||||
<div style="display: flex; height: 20px"></div>
|
||||
@@ -266,6 +384,11 @@
|
||||
<a-tab-pane key="7" tab="设置">Content of Tab Pane 3</a-tab-pane>
|
||||
</a-tabs>
|
||||
</div>
|
||||
<!-- 时间管理抽屉 -->
|
||||
<time-manage v-model:Tvisible="visible" />
|
||||
<!-- 面授管理抽屉 -->
|
||||
<face-manage v-model:Fvisible="FaceVisivle" />
|
||||
<!-- 项目发布弹窗 -->
|
||||
<div>
|
||||
<a-modal
|
||||
v-model:visible="pubproject"
|
||||
@@ -277,12 +400,30 @@
|
||||
width="679px"
|
||||
height="437px"
|
||||
>
|
||||
<div class="modalHeader"
|
||||
style="width: 100%;height: 68px;display: flex;align-items: center;justify-content: space-between;background:linear-gradient(0deg,rgba(78, 166, 255, 0) 0%,rgba(78, 166, 255, 0.2000) 100%)"
|
||||
<div
|
||||
class="modalHeader"
|
||||
style="
|
||||
width: 100%;
|
||||
height: 68px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
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">
|
||||
<span style="width: 15px;height: 15px"><img src="../../assets/images/taskpage/pub.png"/></span>
|
||||
<span class="headerLeftText" style="font-size: 16px;margin-left:10px">项目发布</span>
|
||||
<span style="width: 15px; height: 15px"
|
||||
><img src="../../assets/images/taskpage/pub.png"
|
||||
/></span>
|
||||
<span
|
||||
class="headerLeftText"
|
||||
style="font-size: 16px; margin-left: 10px"
|
||||
>项目发布</span
|
||||
>
|
||||
</div>
|
||||
<div style="cursor: pointer; margin-right: 32px" @click="closeModal">
|
||||
<img
|
||||
@@ -293,7 +434,10 @@
|
||||
</div>
|
||||
<div class="modalMain">
|
||||
<div class="projectname">管理者进阶-腾飞班1</div>
|
||||
<div class="projecttime"><span class="timeti">项目时间:</span><span class="timeme">2022/08/01-2022/08/30</span></div>
|
||||
<div class="projecttime">
|
||||
<span class="timeti">项目时间:</span
|
||||
><span class="timeme">2022/08/01-2022/08/30</span>
|
||||
</div>
|
||||
<div class="projectbox">
|
||||
<div class="promessage">
|
||||
<div class="messageme">项目信息</div>
|
||||
@@ -309,29 +453,39 @@
|
||||
<span class="sendtext">发送项目通知</span>
|
||||
</div>
|
||||
<div class="ckb">
|
||||
<a-checkbox v-model:checked="checked1"><span class="sendpeo">发给老师</span></a-checkbox>
|
||||
<a-checkbox v-model:checked="checked2"><span class="sendpeo">发给学员</span></a-checkbox>
|
||||
<a-checkbox v-model:checked="checked1"
|
||||
><span class="sendpeo">发给老师</span></a-checkbox
|
||||
>
|
||||
<a-checkbox v-model:checked="checked2"
|
||||
><span class="sendpeo">发给学员</span></a-checkbox
|
||||
>
|
||||
</div>
|
||||
<div class="pubtn">
|
||||
<a-button class="pubtn1">取消</a-button>
|
||||
<a-button class="pubtn2">发布</a-button>
|
||||
<a-button class="pubtn1" @click="closeModal">取消</a-button>
|
||||
<a-button class="pubtn2" @click="closeModal">发布</a-button>
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
</div>
|
||||
<!-- 项目发布弹窗 -->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { reactive, toRefs } from "vue";
|
||||
import TimeManage from "../../components/drawers/TimeManage";
|
||||
import FaceManage from "../../components/drawers/FaceManage";
|
||||
export default {
|
||||
name: "taskPage",
|
||||
components: { TimeManage, FaceManage },
|
||||
setup() {
|
||||
const state = reactive({
|
||||
visible: false, //时间管理
|
||||
FaceVisivle: true, //面授管理
|
||||
pubproject: false,
|
||||
checked: false,
|
||||
checked1: true,
|
||||
checked2: false,
|
||||
activeKey: '1',
|
||||
activeKey: "1",
|
||||
});
|
||||
const showModal = () => {
|
||||
state.pubproject = true;
|
||||
@@ -339,13 +493,24 @@ export default {
|
||||
const closeModal = () => {
|
||||
state.pubproject = false;
|
||||
};
|
||||
const showTime = () => {
|
||||
console.log("点击管理");
|
||||
state.visible = true;
|
||||
};
|
||||
const showFace = () => {
|
||||
//面授管理的抽屉
|
||||
// console.log("点击管理");
|
||||
state.FaceVisivle = true;
|
||||
};
|
||||
return {
|
||||
...toRefs(state),
|
||||
showModal,
|
||||
closeModal,
|
||||
showTime,
|
||||
showFace,
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.pubproject {
|
||||
@@ -380,7 +545,11 @@ export default {
|
||||
.promessage {
|
||||
width: 280px;
|
||||
height: 110px;
|
||||
background:linear-gradient(180deg,rgba(254, 243, 221, 1),rgba(255, 250, 240, 1));
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(254, 243, 221, 1),
|
||||
rgba(255, 250, 240, 1)
|
||||
);
|
||||
border-radius: 10px;
|
||||
margin-right: 7px;
|
||||
.messageme {
|
||||
@@ -399,7 +568,11 @@ export default {
|
||||
.stumessage {
|
||||
width: 280px;
|
||||
height: 110px;
|
||||
background:linear-gradient(180deg,rgba(221, 234, 255, 1),rgba(240, 248, 254, 1));
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(221, 234, 255, 1),
|
||||
rgba(240, 248, 254, 1)
|
||||
);
|
||||
border-radius: 10px;
|
||||
.messageme1 {
|
||||
color: rgba(78, 166, 255, 1);
|
||||
@@ -445,25 +618,25 @@ export default {
|
||||
height: 40px;
|
||||
margin-right: 16px;
|
||||
margin-bottom: 29px;
|
||||
border: 1px solid #409EFF;
|
||||
border: 1px solid #409eff;
|
||||
border-radius: 4px;
|
||||
color: rgba(78, 166, 255, 1);
|
||||
font-size: 14px;
|
||||
//line-height: 36px;
|
||||
align-items: center;
|
||||
background: rgba(255, 255, 255, 1)
|
||||
background: rgba(255, 255, 255, 1);
|
||||
}
|
||||
.pubtn2 {
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
margin-bottom: 29px;
|
||||
border: 1px solid #409EFF;
|
||||
border: 1px solid #409eff;
|
||||
border-radius: 4px;
|
||||
color: #FFFFFF;
|
||||
color: #ffffff;
|
||||
font-size: 14px;
|
||||
align-items: center;
|
||||
//line-height: 36px;
|
||||
background: #409EFF;
|
||||
background: #409eff;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -633,7 +806,6 @@ export default {
|
||||
padding: 5px 16px;
|
||||
background-color: #eff4fc;
|
||||
}
|
||||
|
||||
}
|
||||
.split {
|
||||
width: 100%;
|
||||
@@ -663,22 +835,22 @@ export default {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 168px;
|
||||
background-color: #409EFF;
|
||||
background-color: #409eff;
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #409EFF;
|
||||
color: #FFFFFF;
|
||||
border: 1px solid #409eff;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
}
|
||||
.edit {
|
||||
position: absolute;
|
||||
right: 48px;
|
||||
top: 0;
|
||||
color: #409EFF;
|
||||
color: #409eff;
|
||||
width: 100px;
|
||||
height: 40px;
|
||||
border: 1px solid #409EFF;
|
||||
border: 1px solid #409eff;
|
||||
border-radius: 8px;
|
||||
.editimg {
|
||||
width: 15px;
|
||||
@@ -692,8 +864,8 @@ export default {
|
||||
}
|
||||
}
|
||||
.edit:hover {
|
||||
color: #FFFFFF;
|
||||
background-color: #409EFF;
|
||||
color: #ffffff;
|
||||
background-color: #409eff;
|
||||
cursor: pointer;
|
||||
.editimg {
|
||||
background-image: url("../../assets/images/projectadd/edit1.png");
|
||||
@@ -705,6 +877,21 @@ export default {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 40px;
|
||||
.nubbox {
|
||||
width: 253px;
|
||||
height: 116px;
|
||||
align-items: center;
|
||||
background: #fafbfc;
|
||||
border-radius: 10px;
|
||||
.nub1 {
|
||||
color: #ffb54a;
|
||||
font-size: 30px;
|
||||
}
|
||||
.nub2 {
|
||||
color: #6d7584;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
.taskbox {
|
||||
width: 412px;
|
||||
height: 160px;
|
||||
@@ -748,7 +935,7 @@ export default {
|
||||
.stage {
|
||||
display: flex;
|
||||
height: 49px;
|
||||
background-color: #EFF4FC;
|
||||
background-color: #eff4fc;
|
||||
align-items: center;
|
||||
margin-top: 20px;
|
||||
margin-left: 38px;
|
||||
@@ -757,7 +944,7 @@ export default {
|
||||
margin-left: 31px;
|
||||
}
|
||||
.stagename {
|
||||
color: #409EFF;
|
||||
color: #409eff;
|
||||
font-size: 16px;
|
||||
padding-left: 9px;
|
||||
line-height: 36px;
|
||||
@@ -772,7 +959,7 @@ export default {
|
||||
margin-left: 38px;
|
||||
margin-right: 38px;
|
||||
//margin: 0 12px;
|
||||
border: 1px solid #F2F6FC;
|
||||
border: 1px solid #f2f6fc;
|
||||
.first {
|
||||
//position: relative;
|
||||
display: flex;
|
||||
@@ -786,12 +973,12 @@ export default {
|
||||
}
|
||||
.iconame {
|
||||
//position: absolute;
|
||||
color: #4F5156;
|
||||
color: #4f5156;
|
||||
font-size: 16px;
|
||||
}
|
||||
.icontext {
|
||||
//positipn: absolute;
|
||||
color: #999BA3;
|
||||
color: #999ba3;
|
||||
font-size: 14px;
|
||||
margin-left: 8px;
|
||||
width: 83px;
|
||||
@@ -806,18 +993,18 @@ export default {
|
||||
.typename {
|
||||
width: 63px;
|
||||
height: 23px;
|
||||
color: #5DC988;
|
||||
color: #5dc988;
|
||||
font-size: 14px;
|
||||
background-color: #F2F6FC;
|
||||
background-color: #f2f6fc;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
.typename1 {
|
||||
width: 63px;
|
||||
height: 23px;
|
||||
color: #F0F4FE;
|
||||
color: #f0f4fe;
|
||||
font-size: 14px;
|
||||
background-color: #5DC988;
|
||||
background-color: #5dc988;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -828,7 +1015,7 @@ export default {
|
||||
margin-right: 50px;
|
||||
.timetext {
|
||||
font-size: 14px;
|
||||
color: #999BA3;
|
||||
color: #999ba3;
|
||||
}
|
||||
}
|
||||
.progress {
|
||||
@@ -837,7 +1024,7 @@ export default {
|
||||
margin-right: 50px;
|
||||
flex-grow: 1;
|
||||
.progresstext {
|
||||
color: #FFC067;
|
||||
color: #ffc067;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
@@ -846,7 +1033,7 @@ export default {
|
||||
width: 200px;
|
||||
//flex-grow: 1;
|
||||
.operation {
|
||||
color: #4EA6FF;
|
||||
color: #4ea6ff;
|
||||
font-size: 14px;
|
||||
padding: 10px;
|
||||
margin-left: auto;
|
||||
@@ -855,4 +1042,201 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
.drawerStyle {
|
||||
.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 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// background-color: #bfa;
|
||||
// overflow-y: auto;
|
||||
.endtime {
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
.search {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 20px;
|
||||
|
||||
.namecon {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
margin-bottom: 10px;
|
||||
.name {
|
||||
margin-top: 8px;
|
||||
|
||||
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;
|
||||
|
||||
color: #ffffff;
|
||||
}
|
||||
.btn2 {
|
||||
background: #ffffff;
|
||||
|
||||
color: #388be1;
|
||||
border: 1px solid #388be1;
|
||||
}
|
||||
}
|
||||
.tab {
|
||||
th.h {
|
||||
background-color: #eff4fc !important;
|
||||
}
|
||||
|
||||
.ant-table-tbody
|
||||
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||
> td {
|
||||
background: #f6f9fd;
|
||||
}
|
||||
.pa {
|
||||
// left: 0;
|
||||
margin-top: 15px;
|
||||
width: 100%;
|
||||
// height: 20px;
|
||||
// background-color: red;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
// position: absolute;
|
||||
// bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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);
|
||||
.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>
|
||||
Reference in New Issue
Block a user