mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
feat:添加学员管理列表图片
This commit is contained in:
BIN
src/assets/images/projectadd/nopro.png
Normal file
BIN
src/assets/images/projectadd/nopro.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 911 B |
BIN
src/assets/images/taskpage/excellent.png
Normal file
BIN
src/assets/images/taskpage/excellent.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 621 B |
BIN
src/assets/images/taskpage/picture8.png
Normal file
BIN
src/assets/images/taskpage/picture8.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
@@ -48,7 +48,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 +60,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 +68,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 +92,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"
|
||||||
|
:dropdown-style="{
|
||||||
|
overflow: 'auto',
|
||||||
|
width: '400px',
|
||||||
|
}"
|
||||||
|
dropdownClassName="dropdown"
|
||||||
|
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 +140,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 +220,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 +242,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 +255,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 +316,74 @@ 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: "五级标题",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "人力资源部",
|
||||||
|
value: "人力资源部",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "人事部",
|
||||||
value: "人事部",
|
value: "人事部",
|
||||||
label: "人事部",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 7,
|
title: "行政部",
|
||||||
value: "行政部",
|
value: "行政部",
|
||||||
label: "行政部",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -290,55 +395,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 +465,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 +492,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,42 +564,137 @@ 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",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
@@ -473,34 +705,41 @@ export default {
|
|||||||
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">
|
||||||
.AddLevelAddStu {
|
.AddLevelAddStu {
|
||||||
// .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;
|
||||||
@@ -519,11 +758,12 @@ export default {
|
|||||||
}
|
}
|
||||||
.main {
|
.main {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 80%;
|
// height: 80%;
|
||||||
|
margin-bottom: 72px;
|
||||||
.left {
|
.left {
|
||||||
// overflow-y: auto;
|
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 +771,11 @@ 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;
|
||||||
|
}
|
||||||
.nameinp {
|
.nameinp {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -578,6 +823,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;
|
||||||
@@ -678,9 +960,16 @@ export default {
|
|||||||
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;
|
||||||
|
}
|
||||||
.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 {
|
.ant-select {
|
||||||
border-radius: 8px !important;
|
border-radius: 8px !important;
|
||||||
@@ -696,6 +985,51 @@ export default {
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ant-tree-select {
|
||||||
|
.dropdown {
|
||||||
|
width: 800px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -707,13 +1041,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;
|
||||||
@@ -774,6 +1122,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;
|
||||||
@@ -802,4 +1151,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
354
src/components/drawers/TaskFaceIn.vue
Normal file
354
src/components/drawers/TaskFaceIn.vue
Normal file
@@ -0,0 +1,354 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="TaskFaceImpStuvisible"
|
||||||
|
class="drawerStyle TaskFaceImpStu"
|
||||||
|
placement="right"
|
||||||
|
width="40%"
|
||||||
|
@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="minatitl">
|
||||||
|
<div class="up1">请下载</div>
|
||||||
|
<div class="up2">模板</div>
|
||||||
|
<div class="up1">,按要求填写数据并导入</div>
|
||||||
|
</div>
|
||||||
|
<div class="upload">
|
||||||
|
<div class="text">上传:</div>
|
||||||
|
<div class="right">
|
||||||
|
<div class="load">
|
||||||
|
<div class="cloud"></div>
|
||||||
|
<div class="tip">点击或将文件拖拽到此处上传</div>
|
||||||
|
<div class="tipz">支持扩展名:.xls/.xlsx</div>
|
||||||
|
</div>
|
||||||
|
<div class="loadstate">
|
||||||
|
<div class="loadborder">
|
||||||
|
<div class="content">
|
||||||
|
<div class="img"></div>
|
||||||
|
<div class="timebox">
|
||||||
|
<div class="timetop">
|
||||||
|
<div class="tit">京东方商业模型.xls</div>
|
||||||
|
<div class="stateloading">正在上传</div>
|
||||||
|
</div>
|
||||||
|
<div class="prog">
|
||||||
|
<div class="inprogloading"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="curloading">
|
||||||
|
<div class="cur">55%</div>
|
||||||
|
<div class="cancel" style="margin-left: 20px">暂停</div>
|
||||||
|
<div class="cancel" style="margin-left: 15px">取消</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="loadborder">
|
||||||
|
<div class="content">
|
||||||
|
<div class="img"></div>
|
||||||
|
<div class="timebox">
|
||||||
|
<div class="timetop">
|
||||||
|
<div class="tit">京东方商业模型.xls</div>
|
||||||
|
<div class="statedefeat">上传失败</div>
|
||||||
|
</div>
|
||||||
|
<div class="prog">
|
||||||
|
<div class="inprogdefeat"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="curloading">
|
||||||
|
<div class="cur">55%</div>
|
||||||
|
<div class="cancel" style="margin-left: 20px">暂停</div>
|
||||||
|
<div class="cancel" style="margin-left: 15px">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="defeat">下载失败数据</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="loadborder">
|
||||||
|
<div class="content">
|
||||||
|
<div class="img"></div>
|
||||||
|
<div class="timebox">
|
||||||
|
<div class="timetop">
|
||||||
|
<div class="tit">京东方商业模型.xls</div>
|
||||||
|
<div class="statesucce">上传成功</div>
|
||||||
|
</div>
|
||||||
|
<div class="prog">
|
||||||
|
<div class="inprogsucce"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="curloading">
|
||||||
|
<div class="cur">55%</div>
|
||||||
|
<div class="cancel" style="margin-left: 20px">删除</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btnn">
|
||||||
|
<button class="btn1">取消</button>
|
||||||
|
<button class="btn2">确定</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { reactive, toRefs } from "vue";
|
||||||
|
export default {
|
||||||
|
name: "TaskImpStu",
|
||||||
|
props: {
|
||||||
|
TaskFaceImpStuvisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({});
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:TaskFaceImpStuvisible", false);
|
||||||
|
};
|
||||||
|
|
||||||
|
const afterVisibleChange = (bool) => {
|
||||||
|
console.log("state", bool);
|
||||||
|
};
|
||||||
|
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
afterVisibleChange,
|
||||||
|
closeDrawer,
|
||||||
|
// change,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" >
|
||||||
|
.TaskFaceImpStu {
|
||||||
|
.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 {
|
||||||
|
.minatitl {
|
||||||
|
display: flex;
|
||||||
|
.up1 {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.up2 {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #388be1;
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.upload {
|
||||||
|
margin-top: 32px;
|
||||||
|
display: flex;
|
||||||
|
.text {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.right {
|
||||||
|
margin-left: 6px;
|
||||||
|
.load {
|
||||||
|
width: 500px;
|
||||||
|
height: 176px;
|
||||||
|
background: #f5f9fd;
|
||||||
|
border-radius: 4px;
|
||||||
|
// opacity: 0.3;
|
||||||
|
border: 1px dashed #caddfd;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
.cloud {
|
||||||
|
margin-top: 52px;
|
||||||
|
width: 28px;
|
||||||
|
height: 28px;
|
||||||
|
background-image: url(../../assets/images/basicinfo/cloud.png);
|
||||||
|
}
|
||||||
|
.tip {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #388be1;
|
||||||
|
margin-top: 15px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.tipz {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #999999;
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.loadstate {
|
||||||
|
width: 500px;
|
||||||
|
margin-bottom: 100px;
|
||||||
|
|
||||||
|
.loadborder {
|
||||||
|
width: 500px;
|
||||||
|
height: 173px;
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 1px dashed #eaeaea;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 20px;
|
||||||
|
position: relative;
|
||||||
|
.defeat {
|
||||||
|
position: absolute;
|
||||||
|
left: 46px;
|
||||||
|
top: 38px;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #ff7474;
|
||||||
|
}
|
||||||
|
.img {
|
||||||
|
width: 30px;
|
||||||
|
height: 34px;
|
||||||
|
background-image: url(../../assets/images/basicinfo/exl.png);
|
||||||
|
}
|
||||||
|
.timebox {
|
||||||
|
margin-left: 15px;
|
||||||
|
margin-top: -5px;
|
||||||
|
.timetop {
|
||||||
|
display: flex;
|
||||||
|
width: 262px;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
.tit {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.stateloading {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #388be1;
|
||||||
|
}
|
||||||
|
.statedefeat {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #ff7474;
|
||||||
|
}
|
||||||
|
.statesucce {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #35ae69;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.prog {
|
||||||
|
width: 262px;
|
||||||
|
height: 5px;
|
||||||
|
background: #eaf1fe;
|
||||||
|
border-radius: 4px;
|
||||||
|
.inprogloading {
|
||||||
|
width: 55%;
|
||||||
|
height: 5px;
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
|
background: #388be1;
|
||||||
|
}
|
||||||
|
//下载失败条
|
||||||
|
.inprogdefeat {
|
||||||
|
width: 55%;
|
||||||
|
height: 5px;
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
|
background: #ff7474;
|
||||||
|
}
|
||||||
|
//下载成功条
|
||||||
|
.inprogsucce {
|
||||||
|
width: 100%;
|
||||||
|
height: 5px;
|
||||||
|
border-radius: 4px;
|
||||||
|
|
||||||
|
background: #57c887;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.curloading {
|
||||||
|
margin-left: 15px;
|
||||||
|
margin-top: 15px;
|
||||||
|
display: flex;
|
||||||
|
.cur {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.cancel {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #387df7;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btnn {
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
background-color: #fff;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
161
src/components/windows/DelWins.vue
Normal file
161
src/components/windows/DelWins.vue
Normal file
@@ -0,0 +1,161 @@
|
|||||||
|
<template>
|
||||||
|
<!--删除弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="delete_hs"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closableQR"
|
||||||
|
wrapClassName="DelModal"
|
||||||
|
style="margin-top: 400px"
|
||||||
|
>
|
||||||
|
<div class="delete" :style="{ display: delete_hs ? 'block' : 'none' }">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="del-icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="delete_exit"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>您确定要删除此课程吗</span>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
<!--删除弹窗 -->
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { toRefs, reactive, defineComponent } from "vue";
|
||||||
|
export default defineComponent({
|
||||||
|
name: "DelWins",
|
||||||
|
props: {
|
||||||
|
delete_hs: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup() {
|
||||||
|
const state = reactive({
|
||||||
|
delete_hs: false,
|
||||||
|
closableQR: false,
|
||||||
|
})
|
||||||
|
const delete_exit = () => {
|
||||||
|
state.delete_hs = false;
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
delete_exit,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scope>
|
||||||
|
.DelModal {
|
||||||
|
.ant-modal {
|
||||||
|
.ant-modal-content {
|
||||||
|
width: 424px !important;
|
||||||
|
.ant-modal-body {
|
||||||
|
.delete {
|
||||||
|
z-index: 999;
|
||||||
|
width: 424px;
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
border-radius: 4px;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 10%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
.del_header {
|
||||||
|
position: absolute;
|
||||||
|
width: calc(100%);
|
||||||
|
height: 40px;
|
||||||
|
background: linear-gradient(
|
||||||
|
rgba(78, 166, 255, 0.2) 0%,
|
||||||
|
rgba(78, 166, 255, 0) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
.del_main {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
.header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-left: 26px;
|
||||||
|
font-size: 16px;
|
||||||
|
.del-icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/notice.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/QR.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.close_exit {
|
||||||
|
position: absolute;
|
||||||
|
right: 42px;
|
||||||
|
cursor: pointer;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/close.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.body {
|
||||||
|
width: 100%;
|
||||||
|
margin: 34px auto 56px auto;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.del_btnbox {
|
||||||
|
display: flex;
|
||||||
|
margin: 30px auto;
|
||||||
|
justify-content: center;
|
||||||
|
.del_btn {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: rgba(64, 158, 255, 0);
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 14px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1 {
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
color: #4ea6ff;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -107,6 +107,28 @@
|
|||||||
</a-table>
|
</a-table>
|
||||||
</div>
|
</div>
|
||||||
<!-- 表格 -->
|
<!-- 表格 -->
|
||||||
|
<!-- 无项目 -->
|
||||||
|
<div class="tableBox" style="display: none">
|
||||||
|
<div
|
||||||
|
class="taskbox"
|
||||||
|
@click="showModal1"
|
||||||
|
style="background: linear-gradient(180deg, #ddeaff, #f0f8fe)"
|
||||||
|
>
|
||||||
|
<div class="leftt">
|
||||||
|
<img src="../../assets/images/taskpage/left2.png" />
|
||||||
|
</div>
|
||||||
|
<div class="photo">
|
||||||
|
<img src="../../assets/images/projectadd/nopro.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>
|
||||||
<!-- 创建子项目弹窗 -->
|
<!-- 创建子项目弹窗 -->
|
||||||
<div>
|
<div>
|
||||||
<a-modal
|
<a-modal
|
||||||
@@ -519,7 +541,158 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- 创建多层子项目弹窗 -->
|
<!-- 创建多层子项目弹窗 -->
|
||||||
|
<!-- 复制路径弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="copyModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closeCopy"
|
||||||
|
wrapClassName="CopyModal"
|
||||||
|
centered="true"
|
||||||
|
>
|
||||||
|
<div class="delete">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="closeCopyModal"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>您确定要复制此路径吗</span>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
<!-- 结束项目弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="stopModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closeStop"
|
||||||
|
wrapClassName="CopyModal"
|
||||||
|
centered="true"
|
||||||
|
>
|
||||||
|
<div class="delete">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="closeStopModal"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>是否结束项目</span>
|
||||||
|
<div class="back">(项目结束后学员将无法继续学习,此操作不可逆)</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
<!-- 删除项目弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="deleteModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closeDelete"
|
||||||
|
wrapClassName="CopyModal"
|
||||||
|
centered="true"
|
||||||
|
>
|
||||||
|
<div class="delete">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="closeDeleteModal"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>您确定要删除此项目吗</span>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
<!-- 存为模板弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="startModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closeStart"
|
||||||
|
wrapClassName="CopyModal"
|
||||||
|
centered="true"
|
||||||
|
>
|
||||||
|
<div class="delete">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="closeStartModal"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>您确定要存为模板吗</span>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
<!-- 撤回路径弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="backModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closeBack"
|
||||||
|
wrapClassName="CopyModal"
|
||||||
|
centered="true"
|
||||||
|
>
|
||||||
|
<div class="delete">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="closeBackModal"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>是否撤回项目</span>
|
||||||
|
<div class="back">(项目撤回后学员进度保留,发布后可继续学习)</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
<!-- 归属权抽屉 -->
|
<!-- 归属权抽屉 -->
|
||||||
<proj-owner-ship v-model:ProjOwnervisible="ProjOwnervisible" />
|
<proj-owner-ship v-model:ProjOwnervisible="ProjOwnervisible" />
|
||||||
<!-- 授权名单抽屉 -->
|
<!-- 授权名单抽屉 -->
|
||||||
@@ -867,6 +1040,16 @@ export default {
|
|||||||
estabish: false,
|
estabish: false,
|
||||||
doublepro: false,
|
doublepro: false,
|
||||||
doublesonpro: false,
|
doublesonpro: false,
|
||||||
|
copyModal: false, //复制弹窗
|
||||||
|
closeCopy: false, //复制弹窗关闭图标
|
||||||
|
stopModal: false, //停用弹窗
|
||||||
|
closeStop: false, //停用弹窗关闭图标
|
||||||
|
deleteModal: false, //删除弹窗
|
||||||
|
closeDelete: false, //删除弹窗关闭图标
|
||||||
|
startModal: false, //启用弹窗
|
||||||
|
closeStart: false, //启用弹窗关闭图标
|
||||||
|
backModal: false, //撤回弹窗
|
||||||
|
closeBack: false, //撤回弹窗关闭图标
|
||||||
ProjOwnervisible: false,
|
ProjOwnervisible: false,
|
||||||
ProjPvisible: false,
|
ProjPvisible: false,
|
||||||
});
|
});
|
||||||
@@ -946,7 +1129,9 @@ export default {
|
|||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
@@ -988,7 +1173,9 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
<span class="more"></span>
|
<span class="more"></span>
|
||||||
</div>
|
</div>
|
||||||
) : value.state === "已结束" ? (
|
) : value.state === "已结束" ? (
|
||||||
@@ -1028,8 +1215,12 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
<span class="more">删除</span>
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
|
<span class="more" onClick={() => {
|
||||||
|
showDeleteModal();
|
||||||
|
}}>删除</span>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div></div>
|
<div></div>
|
||||||
@@ -1087,10 +1278,14 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="复制" label="复制">
|
<a-select-option value="复制" label="复制">
|
||||||
<div>复制</div>
|
<div onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div>删除</div>
|
<div onClick={() => {
|
||||||
|
showDeleteModal();
|
||||||
|
}}>删除</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
@@ -1136,7 +1331,9 @@ export default {
|
|||||||
<router-link to="/classadd" class="operation3">
|
<router-link to="/classadd" class="operation3">
|
||||||
创建班级
|
创建班级
|
||||||
</router-link>
|
</router-link>
|
||||||
<span class="more">复制</span>
|
<span class="more" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
</div>
|
</div>
|
||||||
) : item.state === "已结束" ? (
|
) : item.state === "已结束" ? (
|
||||||
<div class="operation">
|
<div class="operation">
|
||||||
@@ -1175,8 +1372,12 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
<span class="more">删除</span>
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
|
<span class="more" onClick={() => {
|
||||||
|
showDeleteModal();
|
||||||
|
}}>删除</span>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div></div>
|
<div></div>
|
||||||
@@ -1231,13 +1432,19 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="复制" label="复制">
|
<a-select-option value="复制" label="复制">
|
||||||
<div>复制</div>
|
<div onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div>删除</div>
|
<div onClick={() => {
|
||||||
|
showDeleteModal();
|
||||||
|
}}>删除</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1282,7 +1489,9 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1291,13 +1500,19 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="撤回" label="撤回">
|
<a-select-option value="撤回" label="撤回">
|
||||||
<div>撤回</div>
|
<div onClick={() => {
|
||||||
|
showBackModal();
|
||||||
|
}}>撤回</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="结束" label="结束">
|
<a-select-option value="结束" label="结束">
|
||||||
<div>结束</div>
|
<div onClick={() => {
|
||||||
|
showStopModal();
|
||||||
|
}}>结束</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1342,8 +1557,12 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
<span class="operation3">复制</span>
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1352,10 +1571,14 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div>删除</div>
|
<div onClick={() => {
|
||||||
|
showDeleteModal();
|
||||||
|
}}>删除</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1400,7 +1623,9 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1409,13 +1634,19 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="结束" label="结束">
|
<a-select-option value="结束" label="结束">
|
||||||
<div>结束</div>
|
<div onClick={() => {
|
||||||
|
showStopModal();
|
||||||
|
}}>结束</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="撤回" label="撤回">
|
<a-select-option value="撤回" label="撤回">
|
||||||
<div>撤回</div>
|
<div onClick={() => {
|
||||||
|
showBackModal();
|
||||||
|
}}>撤回</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1476,13 +1707,19 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="复制" label="复制">
|
<a-select-option value="复制" label="复制">
|
||||||
<div>复制</div>
|
<div onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div>删除</div>
|
<div onClick={() => {
|
||||||
|
showDeleteModal();
|
||||||
|
}}>删除</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1527,7 +1764,9 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1536,13 +1775,19 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="撤回" label="撤回">
|
<a-select-option value="撤回" label="撤回">
|
||||||
<div>撤回</div>
|
<div onClick={() => {
|
||||||
|
showBackModal();
|
||||||
|
}}>撤回</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="结束" label="结束">
|
<a-select-option value="结束" label="结束">
|
||||||
<div>结束</div>
|
<div onClick={() => {
|
||||||
|
showStopModal();
|
||||||
|
}}>结束</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1587,7 +1832,9 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1596,13 +1843,19 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div>删除</div>
|
<div onClick={() => {
|
||||||
|
showDeleteModal();
|
||||||
|
}}>删除</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="结束" label="结束">
|
<a-select-option value="结束" label="结束">
|
||||||
<div>结束</div>
|
<div onClick={() => {
|
||||||
|
showStopModal();
|
||||||
|
}}>结束</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1647,7 +1900,9 @@ export default {
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
</a-select>
|
</a-select>
|
||||||
</div>
|
</div>
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -1656,13 +1911,19 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="撤回" label="撤回">
|
<a-select-option value="撤回" label="撤回">
|
||||||
<div>撤回</div>
|
<div onClick={() => {
|
||||||
|
showBackModal();
|
||||||
|
}}>撤回</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="结束" label="结束">
|
<a-select-option value="结束" label="结束">
|
||||||
<div>结束</div>
|
<div onClick={() => {
|
||||||
|
showStopModal();
|
||||||
|
}}>结束</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1722,7 +1983,9 @@ export default {
|
|||||||
{value.state === "草稿" ? (
|
{value.state === "草稿" ? (
|
||||||
<span class="operation3">发布</span>
|
<span class="operation3">发布</span>
|
||||||
) : (
|
) : (
|
||||||
<span class="operation3">复制</span>
|
<span class="operation3" onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</span>
|
||||||
)}
|
)}
|
||||||
<div class="tableSelect">
|
<div class="tableSelect">
|
||||||
{value.state === "草稿" ? (
|
{value.state === "草稿" ? (
|
||||||
@@ -1733,19 +1996,23 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="复制" label="复制">
|
<a-select-option value="复制" label="复制">
|
||||||
<div>复制</div>
|
<div onClick={() => {
|
||||||
|
showCopyModal();
|
||||||
|
}}>复制</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div
|
<div
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
console.log("点击了");
|
showDeleteModal();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</div>
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1759,19 +2026,23 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="结束" label="结束">
|
<a-select-option value="结束" label="结束">
|
||||||
<div
|
<div
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
console.log("点击了");
|
showStopModal();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
结束
|
结束
|
||||||
</div>
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="撤回" label="撤回">
|
<a-select-option value="撤回" label="撤回">
|
||||||
<div>撤回</div>
|
<div onClick={() => {
|
||||||
|
showBackModal();
|
||||||
|
}}>撤回</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="基础信息" label="基础信息">
|
<a-select-option value="基础信息" label="基础信息">
|
||||||
<router-link to="/taskpage">基础信息</router-link>
|
<router-link to="/taskpage">基础信息</router-link>
|
||||||
@@ -1785,13 +2056,15 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="存为模板" label="存为模板">
|
<a-select-option value="存为模板" label="存为模板">
|
||||||
<div>存为模板</div>
|
<div onClick={() => {
|
||||||
|
showStartModal();
|
||||||
|
}}>存为模板</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div
|
<div
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
console.log("点击了");
|
showDeleteModal();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
删除
|
删除
|
||||||
</div>
|
</div>
|
||||||
@@ -1841,6 +2114,36 @@ export default {
|
|||||||
const closeModal3 = () => {
|
const closeModal3 = () => {
|
||||||
state.doublesonpro = false;
|
state.doublesonpro = false;
|
||||||
};
|
};
|
||||||
|
const showCopyModal = () => {
|
||||||
|
state.copyModal = true;
|
||||||
|
};
|
||||||
|
const closeCopyModal = () => {
|
||||||
|
state.copyModal = false;
|
||||||
|
};
|
||||||
|
const showStopModal = () => {
|
||||||
|
state.stopModal = true;
|
||||||
|
};
|
||||||
|
const closeStopModal = () => {
|
||||||
|
state.stopModal = false;
|
||||||
|
};
|
||||||
|
const showDeleteModal = () => {
|
||||||
|
state.deleteModal = true;
|
||||||
|
};
|
||||||
|
const closeDeleteModal = () => {
|
||||||
|
state.deleteModal = false;
|
||||||
|
};
|
||||||
|
const showStartModal = () => {
|
||||||
|
state.startModal = true;
|
||||||
|
};
|
||||||
|
const closeStartModal = () => {
|
||||||
|
state.startModal = false;
|
||||||
|
};
|
||||||
|
const showBackModal = () => {
|
||||||
|
state.backModal = true;
|
||||||
|
};
|
||||||
|
const closeBackModal = () => {
|
||||||
|
state.backModal = false;
|
||||||
|
};
|
||||||
const showProjOwner = () => {
|
const showProjOwner = () => {
|
||||||
state.ProjOwnervisible = true;
|
state.ProjOwnervisible = true;
|
||||||
};
|
};
|
||||||
@@ -1860,6 +2163,16 @@ export default {
|
|||||||
closeModal2,
|
closeModal2,
|
||||||
showModal3,
|
showModal3,
|
||||||
closeModal3,
|
closeModal3,
|
||||||
|
showCopyModal,
|
||||||
|
closeCopyModal,
|
||||||
|
showStopModal,
|
||||||
|
closeStopModal,
|
||||||
|
showDeleteModal,
|
||||||
|
closeDeleteModal,
|
||||||
|
showStartModal,
|
||||||
|
closeStartModal,
|
||||||
|
showBackModal,
|
||||||
|
closeBackModal,
|
||||||
getTableDate,
|
getTableDate,
|
||||||
showProjOwner,
|
showProjOwner,
|
||||||
showProjPrower,
|
showProjPrower,
|
||||||
@@ -2315,4 +2628,115 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.CopyModal {
|
||||||
|
.ant-modal {
|
||||||
|
width: 424px !important;
|
||||||
|
height: 258px !important;
|
||||||
|
.ant-modal-content {
|
||||||
|
width: 424px !important;
|
||||||
|
height: 258px !important;
|
||||||
|
.ant-modal-body {
|
||||||
|
width: 424px !important;
|
||||||
|
height: 258px !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
.delete {
|
||||||
|
z-index: 999;
|
||||||
|
width: 424px;
|
||||||
|
height: 258px;
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
border-radius: 4px;
|
||||||
|
// position: absolute;
|
||||||
|
// left: 50%;
|
||||||
|
// top: 10%;
|
||||||
|
// transform: translate(-50%, -50%);
|
||||||
|
.del_header {
|
||||||
|
position: absolute;
|
||||||
|
width: calc(100%);
|
||||||
|
height: 68px;
|
||||||
|
background: linear-gradient(
|
||||||
|
rgba(78, 166, 255, 0.2) 0%,
|
||||||
|
rgba(78, 166, 255, 0) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
.del_main {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
.header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-left: 26px;
|
||||||
|
font-size: 16px;
|
||||||
|
.icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/QR.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.close_exit {
|
||||||
|
position: absolute;
|
||||||
|
right: 42px;
|
||||||
|
cursor: pointer;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/close.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.body {
|
||||||
|
width: 100%;
|
||||||
|
margin: 34px auto 56px auto;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
// background-color: red;
|
||||||
|
position: relative;
|
||||||
|
.back {
|
||||||
|
position: absolute;
|
||||||
|
top: 30px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.del_btnbox {
|
||||||
|
display: flex;
|
||||||
|
margin: 30px auto;
|
||||||
|
justify-content: center;
|
||||||
|
.del_btn {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: rgba(64, 158, 255, 0);
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1 {
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
color: #4ea6ff;
|
||||||
|
margin-right: 14px;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -468,6 +468,36 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
|
<!-- 确认删除阶段弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="deleteModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="cC"
|
||||||
|
wrapClassName="ConfirmModal"
|
||||||
|
centered="true"
|
||||||
|
>
|
||||||
|
<div class="delete">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="closeDelete"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>您确定要删除此任务吗</span>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="showModal">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -795,6 +825,7 @@ export default {
|
|||||||
confirmModal: false, //确认添加阶段弹窗
|
confirmModal: false, //确认添加阶段弹窗
|
||||||
cC: false,
|
cC: false,
|
||||||
cancelModal: false, //确认取消阶段弹窗
|
cancelModal: false, //确认取消阶段弹窗
|
||||||
|
deleteModal: false, //确认删除弹窗
|
||||||
});
|
});
|
||||||
const selectProjectName = (value, index) => {
|
const selectProjectName = (value, index) => {
|
||||||
console.log("value", value, index);
|
console.log("value", value, index);
|
||||||
@@ -915,7 +946,14 @@ export default {
|
|||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
</span>
|
</span>
|
||||||
<span style="color:#4EA6FF;cursor:pointer">删除</span>
|
<span
|
||||||
|
style="color:#4EA6FF;cursor:pointer"
|
||||||
|
onClick={() => {
|
||||||
|
showDelete();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
删除
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@@ -1003,7 +1041,12 @@ export default {
|
|||||||
const closeCancel = () => {
|
const closeCancel = () => {
|
||||||
state.cancelModal = false;
|
state.cancelModal = false;
|
||||||
};
|
};
|
||||||
|
const showDelete = () => {
|
||||||
|
state.deleteModal = true;
|
||||||
|
};
|
||||||
|
const closeDelete = () => {
|
||||||
|
state.deleteModal = false;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
@@ -1031,6 +1074,8 @@ export default {
|
|||||||
closeConfirm,
|
closeConfirm,
|
||||||
showCancel,
|
showCancel,
|
||||||
closeCancel,
|
closeCancel,
|
||||||
|
showDelete,
|
||||||
|
closeDelete,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -208,12 +208,28 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 概览(有数据) -->
|
<!-- 概览(有数据) -->
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="2" tab="任务">
|
<a-tab-pane key="2" tab="任务" force-render>
|
||||||
<div style="flex: 1">
|
<div style="flex: 1">
|
||||||
<div class="split"></div>
|
<div class="split"></div>
|
||||||
|
<!-- 无数据样式 -->
|
||||||
|
<div class="notable" style="display: none">
|
||||||
|
<div class="notablebox">
|
||||||
|
<div class="boxbody">
|
||||||
|
<div class="boximg"></div>
|
||||||
|
<div class="boxtitle">
|
||||||
|
<span style="color: #ffb64e; font-size: 20px">无课程</span>
|
||||||
|
</div>
|
||||||
|
<div class="boxtitle2">
|
||||||
|
<span style="color: #878b92">请点击新建开课,创建课程</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="smallleft"></div>
|
||||||
|
<div class="smallright"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="onerow">
|
<div class="onerow">
|
||||||
<div class="taskmain">任务大纲</div>
|
<div class="taskmain">任务大纲</div>
|
||||||
<button class="btn">批量面授报名</button>
|
<button class="btn" @click="showFaceIn">批量面授报名</button>
|
||||||
<router-link to="/taskadd" class="edit">
|
<router-link to="/taskadd" class="edit">
|
||||||
<img
|
<img
|
||||||
class="editimg"
|
class="editimg"
|
||||||
@@ -222,6 +238,16 @@
|
|||||||
<span class="editext">编辑</span>
|
<span class="editext">编辑</span>
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- <div class="taskSyllabus">
|
||||||
|
<a-collapse v-model:activeKey="taskSyllabusActive" accordion>
|
||||||
|
<template #expandIcon="{ isActive }">
|
||||||
|
<img
|
||||||
|
class="editimg"
|
||||||
|
src="../../assets/images/projectadd/edit.png"
|
||||||
|
/>
|
||||||
|
<span class="editext">编辑</span>
|
||||||
|
</router-link>
|
||||||
|
</div> -->
|
||||||
<div class="taskSyllabus">
|
<div class="taskSyllabus">
|
||||||
<a-collapse v-model:activeKey="taskSyllabusActive" accordion>
|
<a-collapse v-model:activeKey="taskSyllabusActive" accordion>
|
||||||
<template #expandIcon="{ isActive }">
|
<template #expandIcon="{ isActive }">
|
||||||
@@ -393,6 +419,29 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-collapse-panel>
|
</a-collapse-panel>
|
||||||
</a-collapse>
|
</a-collapse>
|
||||||
|
<!-- 无数据创建任务 -->
|
||||||
|
<div
|
||||||
|
class="taskbox"
|
||||||
|
style="
|
||||||
|
background: linear-gradient(180deg, #ddeaff, #f0f8fe);
|
||||||
|
display: none;
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<div class="leftt">
|
||||||
|
<img src="../../assets/images/taskpage/left2.png" />
|
||||||
|
</div>
|
||||||
|
<div class="photo">
|
||||||
|
<img src="../../assets/images/taskpage/picture8.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>
|
</div>
|
||||||
<div style="display: flex; height: 20px"></div>
|
<div style="display: flex; height: 20px"></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -772,7 +821,63 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="5" tab="项目积分">Content of Tab Pane 3</a-tab-pane>
|
<a-tab-pane key="5" tab="项目积分">
|
||||||
|
<div class="split"></div>
|
||||||
|
<div class="content3">
|
||||||
|
<a-tabs v-model:activeKey="activeKey2">
|
||||||
|
<a-tab-pane key="1" tab="学员获取"> </a-tab-pane>
|
||||||
|
<a-tab-pane key="2" tab="榜单"> </a-tab-pane>
|
||||||
|
<a-tab-pane key="3" tab="获取规则">
|
||||||
|
<div class="projectscore">
|
||||||
|
<div class="pjc_body">
|
||||||
|
<div class="pjcb_header">
|
||||||
|
<span>规则</span>
|
||||||
|
<div class="edit_btn">
|
||||||
|
<div class="edit"></div>
|
||||||
|
<div class="btnText">编辑</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="pjcb_content">
|
||||||
|
<div class="content content1">
|
||||||
|
<span
|
||||||
|
>当前设计下,学员可以获得
|
||||||
|
<a-input
|
||||||
|
v-model:value="inputValue"
|
||||||
|
:maxlength="3"
|
||||||
|
style="width: 50px"
|
||||||
|
/>
|
||||||
|
积分</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="content content2">
|
||||||
|
<span
|
||||||
|
>完成【必修/选修】获得
|
||||||
|
<a-input
|
||||||
|
v-model:value="inputValue2"
|
||||||
|
:maxlength="3"
|
||||||
|
style="width: 50px"
|
||||||
|
/>
|
||||||
|
积分</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="content content3">
|
||||||
|
<span
|
||||||
|
>优秀学员可获得
|
||||||
|
<a-input
|
||||||
|
v-model:value="inputValue3"
|
||||||
|
:maxlength="3"
|
||||||
|
style="width: 50px"
|
||||||
|
/>
|
||||||
|
积分</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-tab-pane>
|
||||||
|
</a-tabs>
|
||||||
|
</div>
|
||||||
|
</a-tab-pane>
|
||||||
<a-tab-pane key="6" tab="排行榜">
|
<a-tab-pane key="6" tab="排行榜">
|
||||||
<div class="content6">
|
<div class="content6">
|
||||||
<div class="title">排行榜</div>
|
<div class="title">排行榜</div>
|
||||||
@@ -908,7 +1013,7 @@
|
|||||||
<div class="set_body">
|
<div class="set_body">
|
||||||
<div class="edit" @click="edit_hShow">
|
<div class="edit" @click="edit_hShow">
|
||||||
<div class="img"></div>
|
<div class="img"></div>
|
||||||
<div class="ed">编辑11</div>
|
<div class="ed">编辑</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="set_content">
|
<div class="set_content">
|
||||||
<div class="setc_name"><span>项目名称:</span></div>
|
<div class="setc_name"><span>项目名称:</span></div>
|
||||||
@@ -1007,6 +1112,8 @@
|
|||||||
<work-manage v-model:Wvisible="Wvisible" />
|
<work-manage v-model:Wvisible="Wvisible" />
|
||||||
<!-- 考试管理抽屉 -->
|
<!-- 考试管理抽屉 -->
|
||||||
<test-manage v-model:TMvisible="TMvisible" :title="showTestText" />
|
<test-manage v-model:TMvisible="TMvisible" :title="showTestText" />
|
||||||
|
<!-- 批量面授报名 -->
|
||||||
|
<task-imp-stu v-model:TaskFaceImpStuvisible="TaskFaceImpStuvisible" />
|
||||||
|
|
||||||
<!-- 概览(无数据)-项目发布弹窗 -->
|
<!-- 概览(无数据)-项目发布弹窗 -->
|
||||||
<div>
|
<div>
|
||||||
@@ -1220,7 +1327,7 @@
|
|||||||
>编辑</span
|
>编辑</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="cursor: pointer; margin-right: 32px" @click="closeModal">
|
<div style="cursor: pointer; margin-right: 32px" @click="edit_exit">
|
||||||
<img
|
<img
|
||||||
style="width: 22px; height: 22px"
|
style="width: 22px; height: 22px"
|
||||||
src="../../assets/images/basicinfo/close.png"
|
src="../../assets/images/basicinfo/close.png"
|
||||||
@@ -1253,24 +1360,11 @@
|
|||||||
<div class="signbox">
|
<div class="signbox">
|
||||||
<span style="margin-right: 3px">直播封面:</span>
|
<span style="margin-right: 3px">直播封面:</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="textarea">
|
<div class="lodalimg">
|
||||||
<a-upload
|
<div class="lodalcenter">
|
||||||
v-model:file-list="fileList"
|
<span style="color: #448ef7; margin-right: 10px">+</span>
|
||||||
name="avatar"
|
<span style="color: #448ef7">添加图片</span>
|
||||||
list-type="picture-card"
|
</div>
|
||||||
class="avatar-uploader"
|
|
||||||
:show-upload-list="false"
|
|
||||||
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
|
|
||||||
:before-upload="beforeUpload"
|
|
||||||
@change="handleChange"
|
|
||||||
>
|
|
||||||
<img v-if="imageUrl" :src="imageUrl" alt="avatar" />
|
|
||||||
<div v-else>
|
|
||||||
<loading-outlined v-if="loading"></loading-outlined>
|
|
||||||
<plus-outlined v-else></plus-outlined>
|
|
||||||
<div class="ant-upload-text">Upload</div>
|
|
||||||
</div>
|
|
||||||
</a-upload>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="main_item">
|
<div class="main_item">
|
||||||
@@ -1427,6 +1521,39 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- 编辑弹窗 -->
|
<!-- 编辑弹窗 -->
|
||||||
|
<!-- 删除弹窗 -->
|
||||||
|
<div>
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="delete_hs"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closableQR"
|
||||||
|
wrapClassName="DelModal"
|
||||||
|
style="margin-top: 400px"
|
||||||
|
>
|
||||||
|
<div class="delete" :style="{ display: delete_hs ? 'block' : 'none' }">
|
||||||
|
<div class="del_header"></div>
|
||||||
|
<div class="del_main">
|
||||||
|
<div class="header">
|
||||||
|
<div class="del-icon"></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="delete_exit"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<span>您确定要删除此课程吗</span>
|
||||||
|
</div>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
|
</div>
|
||||||
|
<!-- 删除弹窗 -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -1444,6 +1571,7 @@ import StuAdd from "../../components/drawers/StuAdd";
|
|||||||
import ImportStu from "../../components/drawers/ImportStu";
|
import ImportStu from "../../components/drawers/ImportStu";
|
||||||
import SeeStu from "../../components/drawers/SeeStu";
|
import SeeStu from "../../components/drawers/SeeStu";
|
||||||
import ChangeGroup from "../../components/drawers/ChangeGroup";
|
import ChangeGroup from "../../components/drawers/ChangeGroup";
|
||||||
|
import TaskImpStu from "../../components/drawers/TaskFaceIn";
|
||||||
export default {
|
export default {
|
||||||
name: "taskPage",
|
name: "taskPage",
|
||||||
components: {
|
components: {
|
||||||
@@ -1460,6 +1588,7 @@ export default {
|
|||||||
ImportStu,
|
ImportStu,
|
||||||
SeeStu,
|
SeeStu,
|
||||||
ChangeGroup,
|
ChangeGroup,
|
||||||
|
TaskImpStu,
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
@@ -1556,6 +1685,7 @@ export default {
|
|||||||
Seevisible: false, //查看学员
|
Seevisible: false, //查看学员
|
||||||
Changevisible: false, //学员换组
|
Changevisible: false, //学员换组
|
||||||
edit_hs: false, //编辑弹窗
|
edit_hs: false, //编辑弹窗
|
||||||
|
delete_hs: false, //删除弹窗
|
||||||
pubproject: false,
|
pubproject: false,
|
||||||
stugroup: false,
|
stugroup: false,
|
||||||
canclestu: false,
|
canclestu: false,
|
||||||
@@ -1568,10 +1698,15 @@ export default {
|
|||||||
radioV2: "",
|
radioV2: "",
|
||||||
activeKey: "3",
|
activeKey: "3",
|
||||||
activeKey1: "8",
|
activeKey1: "8",
|
||||||
|
activeKey2: "3",
|
||||||
|
inputValue: 5,
|
||||||
|
inputValue2: 5,
|
||||||
|
inputValue3: 5,
|
||||||
valueName: "", //排行榜输入姓名
|
valueName: "", //排行榜输入姓名
|
||||||
valueDate: "", //排行榜输入日期
|
valueDate: "", //排行榜输入日期
|
||||||
noticeChecked: true,
|
noticeChecked: true,
|
||||||
noticeContent: "",
|
noticeContent: "",
|
||||||
|
TaskFaceImpStuvisible: false, //批量面授报名
|
||||||
|
|
||||||
//进度排行表
|
//进度排行表
|
||||||
jindutabledata: [
|
jindutabledata: [
|
||||||
@@ -2022,6 +2157,79 @@ export default {
|
|||||||
//考试、测评页面传递参数
|
//考试、测评页面传递参数
|
||||||
showTestText: "",
|
showTestText: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//学员学员管理渲染
|
||||||
|
const getTableDate = () => {
|
||||||
|
let datas = state.tabledata;
|
||||||
|
datas.map((value) => {
|
||||||
|
{
|
||||||
|
//单层项目
|
||||||
|
value.operations = (
|
||||||
|
<div class="operation">
|
||||||
|
<div class="nSelect">
|
||||||
|
<div class="nselect">
|
||||||
|
<div
|
||||||
|
class="jc"
|
||||||
|
onClick={() => {
|
||||||
|
// state.QR_hs = true;
|
||||||
|
// state.ftsQR_hs = true;
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
优秀学员
|
||||||
|
</div>
|
||||||
|
<div
|
||||||
|
class="jc"
|
||||||
|
onClick={() => {
|
||||||
|
state.Seevisible = true;
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
查看
|
||||||
|
</div>
|
||||||
|
<div class="tableSelect">
|
||||||
|
<a-select
|
||||||
|
style="width: 50px;margin-top:2px;margin-left:25px"
|
||||||
|
value="更多"
|
||||||
|
// options={state.projectNameList}
|
||||||
|
dropdownClassName="tabledropdown"
|
||||||
|
>
|
||||||
|
<a-select-option
|
||||||
|
value="换组"
|
||||||
|
label="换组"
|
||||||
|
style="padding-left:35px"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
// state.copy_hs = true;
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
复制
|
||||||
|
</div>
|
||||||
|
</a-select-option>
|
||||||
|
<a-select-option
|
||||||
|
value="删除"
|
||||||
|
label="删除"
|
||||||
|
style="padding-left:35px"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
state.delete_hs = true;
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
删除
|
||||||
|
</div>
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
state.tableData = datas;
|
||||||
|
};
|
||||||
|
getTableDate();
|
||||||
|
|
||||||
const showModal = () => {
|
const showModal = () => {
|
||||||
state.pubproject = true;
|
state.pubproject = true;
|
||||||
};
|
};
|
||||||
@@ -2040,6 +2248,9 @@ export default {
|
|||||||
const closeModal2 = () => {
|
const closeModal2 = () => {
|
||||||
state.stugroup = false;
|
state.stugroup = false;
|
||||||
};
|
};
|
||||||
|
const showFaceIn = () => {
|
||||||
|
state.TaskFaceImpStuvisible = true;
|
||||||
|
};
|
||||||
//新增
|
//新增
|
||||||
const showTime = (course, name) => {
|
const showTime = (course, name) => {
|
||||||
console.log("点击管理");
|
console.log("点击管理");
|
||||||
@@ -2102,6 +2313,8 @@ export default {
|
|||||||
};
|
};
|
||||||
const edit_exit = () => {
|
const edit_exit = () => {
|
||||||
state.edit_hs = false;
|
state.edit_hs = false;
|
||||||
|
state.radioV1 = "";
|
||||||
|
state.radioV2 = "";
|
||||||
};
|
};
|
||||||
const cloradio1 = (value) => {
|
const cloradio1 = (value) => {
|
||||||
if (value != "") {
|
if (value != "") {
|
||||||
@@ -2182,7 +2395,10 @@ export default {
|
|||||||
>
|
>
|
||||||
<span class="stydentName">{text.value}</span>
|
<span class="stydentName">{text.value}</span>
|
||||||
<div class="studentExcellent">
|
<div class="studentExcellent">
|
||||||
<img class="studentExcellentImg" />
|
<img
|
||||||
|
class="studentExcellentImg"
|
||||||
|
src={require("../../assets/images/taskpage/excellent.png")}
|
||||||
|
/>
|
||||||
<span class="studentExcellentT">优秀</span>
|
<span class="studentExcellentT">优秀</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -2266,7 +2482,9 @@ export default {
|
|||||||
];
|
];
|
||||||
return tablecolumns;
|
return tablecolumns;
|
||||||
};
|
};
|
||||||
|
const delete_exit = () => {
|
||||||
|
state.delete_hs = false;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
showModal,
|
showModal,
|
||||||
@@ -2289,11 +2507,13 @@ export default {
|
|||||||
showImportStu,
|
showImportStu,
|
||||||
showSeeStu,
|
showSeeStu,
|
||||||
showChangeGroup,
|
showChangeGroup,
|
||||||
|
showFaceIn,
|
||||||
edit_hShow,
|
edit_hShow,
|
||||||
edit_exit,
|
edit_exit,
|
||||||
cloradio1,
|
cloradio1,
|
||||||
cloradio2,
|
cloradio2,
|
||||||
studentColumns,
|
studentColumns,
|
||||||
|
delete_exit,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -2858,6 +3078,55 @@ export default {
|
|||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
.notable {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
.notablebox {
|
||||||
|
width: 412px;
|
||||||
|
height: 212px;
|
||||||
|
background: linear-gradient(180deg, #fef3dd 0%, #fffaf0 100%);
|
||||||
|
border-radius: 10px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 77px;
|
||||||
|
margin-bottom: 109px;
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
.smallleft {
|
||||||
|
position: absolute;
|
||||||
|
top: 18px;
|
||||||
|
left: 0px;
|
||||||
|
width: 8px;
|
||||||
|
height: 21px;
|
||||||
|
border-radius: 0px 4px 4px 0px;
|
||||||
|
background-color: #ffb64e;
|
||||||
|
}
|
||||||
|
.smallright {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 18px;
|
||||||
|
right: 0px;
|
||||||
|
width: 8px;
|
||||||
|
height: 21px;
|
||||||
|
border-radius: 4px 0px 0px 4px;
|
||||||
|
background-color: #ffb64e;
|
||||||
|
}
|
||||||
|
.boxbody {
|
||||||
|
.boximg {
|
||||||
|
width: 72px;
|
||||||
|
height: 72px;
|
||||||
|
margin: 32px auto 20px auto;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/nostate.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.boxtitle {
|
||||||
|
margin-bottom: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.onerow {
|
.onerow {
|
||||||
//width: 100%;
|
//width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -3116,6 +3385,46 @@ export default {
|
|||||||
border-top: 0px;
|
border-top: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.taskbox {
|
||||||
|
width: 412px;
|
||||||
|
height: 160px;
|
||||||
|
border-radius: 10px;
|
||||||
|
position: relative;
|
||||||
|
margin-left: 68px;
|
||||||
|
margin-bottom: 40px;
|
||||||
|
margin-top: 32px;
|
||||||
|
cursor: pointer;
|
||||||
|
.leftt {
|
||||||
|
position: absolute;
|
||||||
|
top: 18px;
|
||||||
|
left: 0;
|
||||||
|
}
|
||||||
|
.photo {
|
||||||
|
position: absolute;
|
||||||
|
top: 42px;
|
||||||
|
left: 37px;
|
||||||
|
}
|
||||||
|
.rightt {
|
||||||
|
position: absolute;
|
||||||
|
top: 69px;
|
||||||
|
right: 26px;
|
||||||
|
}
|
||||||
|
.centerbox {
|
||||||
|
position: absolute;
|
||||||
|
top: 52px;
|
||||||
|
left: 145px;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 700;
|
||||||
|
//line-height: 36px;
|
||||||
|
}
|
||||||
|
.centermain {
|
||||||
|
color: rgba(135, 139, 146, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
position: absolute;
|
||||||
|
left: 144px;
|
||||||
|
bottom: 49px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.stage {
|
.stage {
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 49px;
|
height: 49px;
|
||||||
@@ -3445,7 +3754,30 @@ export default {
|
|||||||
// position: absolute;
|
// position: absolute;
|
||||||
// bottom: 20px;
|
// bottom: 20px;
|
||||||
}
|
}
|
||||||
|
.operation {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
color: #4ea6ff;
|
||||||
|
.nselect {
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
.jc {
|
||||||
|
margin-left: 20px;
|
||||||
|
cursor: pointer;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tableSelect {
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-left: -5px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: right;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
.studentName {
|
.studentName {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@@ -3462,16 +3794,16 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.studentExcellentImg {
|
.studentExcellentImg {
|
||||||
width: 13px;
|
width: 16px;
|
||||||
height: 14px;
|
height: 16px;
|
||||||
margin-left: 8px;
|
margin-left: 7px;
|
||||||
}
|
}
|
||||||
.studentExcellentT {
|
.studentExcellentT {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #ffb64e;
|
color: #ffb64e;
|
||||||
line-height: 17px;
|
line-height: 17px;
|
||||||
margin-left: 5px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3674,6 +4006,54 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.projectscore {
|
||||||
|
.pjc_body {
|
||||||
|
margin-left: 34px;
|
||||||
|
margin-right: 34px;
|
||||||
|
.pjcb_header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin: 24px auto;
|
||||||
|
.edit_btn {
|
||||||
|
width: 100px;
|
||||||
|
// padding: 0px 26px 0px 26px;
|
||||||
|
height: 38px;
|
||||||
|
background: rgb(64, 158, 255);
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
.edit {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/export1.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.pjcb_content {
|
||||||
|
border: 1px solid #388be1;
|
||||||
|
padding: 32px;
|
||||||
|
.pjcb_content :last-child {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.content6 {
|
.content6 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -3958,6 +4338,19 @@ export default {
|
|||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.lodalimg {
|
||||||
|
width: 120px;
|
||||||
|
height: 120px;
|
||||||
|
border: 1px dashed #387df7;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
.lodalimg {
|
||||||
|
display: flex;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
.kqszbox {
|
.kqszbox {
|
||||||
.qdqtbox {
|
.qdqtbox {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
@@ -4048,4 +4441,104 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.DelModal {
|
||||||
|
.ant-modal {
|
||||||
|
.ant-modal-content {
|
||||||
|
width: 424px !important;
|
||||||
|
.ant-modal-body {
|
||||||
|
.delete {
|
||||||
|
z-index: 999;
|
||||||
|
width: 424px;
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
border-radius: 4px;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 10%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
.del_header {
|
||||||
|
position: absolute;
|
||||||
|
width: calc(100%);
|
||||||
|
height: 40px;
|
||||||
|
background: linear-gradient(
|
||||||
|
rgba(78, 166, 255, 0.2) 0%,
|
||||||
|
rgba(78, 166, 255, 0) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
.del_main {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
.header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-left: 26px;
|
||||||
|
font-size: 16px;
|
||||||
|
.del-icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/notice.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/QR.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.close_exit {
|
||||||
|
position: absolute;
|
||||||
|
right: 42px;
|
||||||
|
cursor: pointer;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/close.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.body {
|
||||||
|
width: 100%;
|
||||||
|
margin: 34px auto 56px auto;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.del_btnbox {
|
||||||
|
display: flex;
|
||||||
|
margin: 30px auto;
|
||||||
|
justify-content: center;
|
||||||
|
.del_btn {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: rgba(64, 158, 255, 0);
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 14px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1 {
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
color: #4ea6ff;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -21,8 +21,8 @@
|
|||||||
v-model:value="projectName"
|
v-model:value="projectName"
|
||||||
style="width: 270px"
|
style="width: 270px"
|
||||||
placeholder="请选择状态"
|
placeholder="请选择状态"
|
||||||
:options="projectNameList"
|
:options="projectStateList"
|
||||||
@change="selectProjectName"
|
@change="selectProjectState"
|
||||||
allowClear
|
allowClear
|
||||||
showSearch
|
showSearch
|
||||||
></a-select>
|
></a-select>
|
||||||
@@ -149,6 +149,23 @@ export default {
|
|||||||
label: "项目四",
|
label: "项目四",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
projectStateList: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
value: "已发布",
|
||||||
|
label: "已发布",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
value: "待发布",
|
||||||
|
label: "待发布",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
value: "已结束",
|
||||||
|
label: "已结束",
|
||||||
|
},
|
||||||
|
],
|
||||||
out: false,
|
out: false,
|
||||||
number: null,
|
number: null,
|
||||||
selectTime: null,
|
selectTime: null,
|
||||||
@@ -327,6 +344,9 @@ export default {
|
|||||||
const selectProjectName = (value, index) => {
|
const selectProjectName = (value, index) => {
|
||||||
console.log("value", value, index);
|
console.log("value", value, index);
|
||||||
};
|
};
|
||||||
|
const selectProjectState = (value, index) => {
|
||||||
|
console.log("value", value, index);
|
||||||
|
};
|
||||||
const expandTable = (e, a) => {
|
const expandTable = (e, a) => {
|
||||||
// console.log("惦记了");
|
// console.log("惦记了");
|
||||||
console.log("e", e, a);
|
console.log("e", e, a);
|
||||||
@@ -340,6 +360,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
|
selectProjectState,
|
||||||
expandTable,
|
expandTable,
|
||||||
handleOut,
|
handleOut,
|
||||||
tableDataFunc,
|
tableDataFunc,
|
||||||
|
|||||||
Reference in New Issue
Block a user