mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 21:06:44 +08:00
榜单修改
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/check.png
Normal file
BIN
src/assets/images/taskpage/check.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 563 B |
BIN
src/assets/images/taskpage/edit.png
Normal file
BIN
src/assets/images/taskpage/edit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 443 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"
|
||||||
|
dropdownClassName="changetreedropdown"
|
||||||
|
:dropdown-style="{
|
||||||
|
maxHeight: '400px',
|
||||||
|
overflow: 'auto',
|
||||||
|
}"
|
||||||
|
placeholder="请输入组织名称"
|
||||||
|
allow-clear
|
||||||
|
tree-default-expand-all
|
||||||
|
:tree-data="treeData"
|
||||||
|
>
|
||||||
|
</a-tree-select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="t1">
|
||||||
|
<div class="organize">姓名:</div>
|
||||||
|
<a-input
|
||||||
|
v-model:value="nameadd"
|
||||||
|
style="width: 200px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
<!-- 选完后出现下面 -->
|
||||||
<a-tab-pane key="3" tab="受众关联">
|
<div class="searchdown">
|
||||||
<div class="tab1">
|
|
||||||
<div class="nameinp">
|
|
||||||
<div class="namee">受众名称:</div>
|
|
||||||
<div class="select">
|
|
||||||
<a-select
|
|
||||||
v-model:value="choosevalue"
|
|
||||||
style="width: 264px; border-radius: 8px"
|
|
||||||
placeholder="请输入组织名称"
|
|
||||||
:options="organizeList1"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="btns">
|
<div class="btns">
|
||||||
<div class="btn1">
|
<div class="btn1">
|
||||||
<div class="img1">
|
<div class="img1">
|
||||||
@@ -133,8 +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,116 @@ export default {
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
tableDataTotal: 50,
|
tableDataTotal: 50,
|
||||||
|
pageSize1: 10,
|
||||||
|
currentPage1: 1,
|
||||||
|
tableDataTotal1: 50,
|
||||||
|
pageSize2: 10,
|
||||||
|
currentPage2: 1,
|
||||||
|
tableDataTotal2: 50,
|
||||||
|
selectedRowKeys: [],
|
||||||
|
selectedRowKeys1: [],
|
||||||
|
selectedRowKeys2: [],
|
||||||
activeKey: "1",
|
activeKey: "1",
|
||||||
name: "", //输入名字搜索
|
|
||||||
value: [], //级联选择框
|
value: [], //级联选择框
|
||||||
choosevalue: null, //受众选择
|
choosevalue: null, //受众选择
|
||||||
organizeList: [
|
valueSelect: null, //树形选择
|
||||||
|
name: "",
|
||||||
|
nameadd: "",
|
||||||
|
nameaddd: "",
|
||||||
|
treeData: [
|
||||||
{
|
{
|
||||||
id: 1,
|
title: "京东方",
|
||||||
value: "京东方",
|
value: "京东方",
|
||||||
label: "京东方",
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id: 2,
|
title: "产研部",
|
||||||
value: "产研部",
|
value: "产研部",
|
||||||
label: "产研部",
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id: 4,
|
title: "产品部",
|
||||||
value: "产品部门",
|
value: "产品部",
|
||||||
label: "产品部门",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 5,
|
title: "研究部",
|
||||||
value: "研发部门",
|
value: "研究部",
|
||||||
label: "研发部门",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
title: "二级标题",
|
||||||
value: "人力资源部",
|
value: "二级标题",
|
||||||
label: "人力资源部",
|
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id: 6,
|
title: "三级标题",
|
||||||
|
value: "三级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "四级标题",
|
||||||
|
value: "四级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "五级标题",
|
||||||
|
value: "五级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "六级标题",
|
||||||
|
value: "六级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "七级标题",
|
||||||
|
value: "七级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "八级标题",
|
||||||
|
value: "八级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "九级标题",
|
||||||
|
value: "九级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "十级标题",
|
||||||
|
value: "十级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "十一级标题",
|
||||||
|
value: "十一级标题",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "十二级标题",
|
||||||
|
value: "十二级标题",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "人力资源部",
|
||||||
|
value: "人力资源部",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
title: "人事部",
|
||||||
value: "人事部",
|
value: "人事部",
|
||||||
label: "人事部",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 7,
|
title: "行政部",
|
||||||
value: "行政部",
|
value: "行政部",
|
||||||
label: "行政部",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -290,55 +437,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 +507,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 +534,71 @@ export default {
|
|||||||
tabledata1: [
|
tabledata1: [
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: "学习受众",
|
name: "小李",
|
||||||
time: "2022-10-31 23:12:00",
|
bum: "产研部",
|
||||||
total: "1",
|
numb: "000000",
|
||||||
state: "已发布",
|
guishu: "",
|
||||||
type: "普通受众",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: "2",
|
name: "小刘",
|
||||||
time: "2022-10-31 23:12:00",
|
bum: "产研部",
|
||||||
total: "2",
|
numb: "000000",
|
||||||
state: "已发布",
|
guishu: "",
|
||||||
type: "普通受众",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: "mask",
|
name: "小李",
|
||||||
time: "2022-10-31 23:12:00",
|
bum: "产研部",
|
||||||
total: "1",
|
numb: "000000",
|
||||||
state: "已发布",
|
guishu: "",
|
||||||
type: "普通受众",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 4,
|
key: 4,
|
||||||
name: "学习受众",
|
name: "小李",
|
||||||
time: "2022-10-31 23:12:00",
|
bum: "产研部",
|
||||||
total: "1",
|
numb: "000000",
|
||||||
state: "已发布",
|
guishu: "",
|
||||||
type: "普通受众",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 5,
|
key: 5,
|
||||||
name: "学业受众",
|
name: "小李",
|
||||||
time: "2022-10-31 23:12:00",
|
bum: "产研部",
|
||||||
total: "2",
|
numb: "000000",
|
||||||
state: "已发布",
|
guishu: "",
|
||||||
type: "普通受众",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 6,
|
key: 6,
|
||||||
name: "案例受众",
|
name: "小李",
|
||||||
time: "2022-10-31 23:12:00",
|
bum: "产研部",
|
||||||
total: "3",
|
numb: "000000",
|
||||||
state: "已发布",
|
guishu: "",
|
||||||
type: "普通受众",
|
},
|
||||||
|
{
|
||||||
|
key: 7,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 8,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 9,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
tablecolumns1: [
|
tablecolumns1: [
|
||||||
{
|
{
|
||||||
title: "受众名称",
|
title: "姓名",
|
||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
key: "name",
|
key: "name",
|
||||||
width: 30,
|
width: 30,
|
||||||
@@ -427,84 +606,188 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "创建时间",
|
title: "工号",
|
||||||
dataIndex: "time",
|
dataIndex: "numb",
|
||||||
key: "time",
|
key: "numb",
|
||||||
|
width: 35,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "归属组织",
|
||||||
|
dataIndex: "guishu",
|
||||||
|
key: "guishu",
|
||||||
|
width: 30,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "部门",
|
||||||
|
dataIndex: "bum",
|
||||||
|
key: "bum",
|
||||||
width: 40,
|
width: 40,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
|
],
|
||||||
|
tabledata2: [
|
||||||
{
|
{
|
||||||
title: "人数",
|
key: 1,
|
||||||
dataIndex: "total",
|
name: "小李",
|
||||||
key: "total",
|
bum: "产研部",
|
||||||
width: 20,
|
numb: "000000",
|
||||||
align: "center",
|
guishu: "",
|
||||||
className: "h",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "状态",
|
key: 2,
|
||||||
dataIndex: "state",
|
name: "小刘",
|
||||||
key: "state",
|
bum: "产研部",
|
||||||
width: 20,
|
numb: "000000",
|
||||||
align: "center",
|
guishu: "",
|
||||||
className: "h",
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "类型",
|
key: 3,
|
||||||
dataIndex: "type",
|
name: "小李",
|
||||||
key: "type",
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 4,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 5,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 6,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 7,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 8,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 9,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
numb: "000000",
|
||||||
|
guishu: "",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
tablecolumns2: [
|
||||||
|
{
|
||||||
|
title: "姓名",
|
||||||
|
dataIndex: "name",
|
||||||
|
key: "name",
|
||||||
width: 30,
|
width: 30,
|
||||||
|
align: "left",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "工号",
|
||||||
|
dataIndex: "numb",
|
||||||
|
key: "numb",
|
||||||
|
width: 35,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "归属组织",
|
||||||
|
dataIndex: "guishu",
|
||||||
|
key: "guishu",
|
||||||
|
width: 30,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "部门",
|
||||||
|
dataIndex: "bum",
|
||||||
|
key: "bum",
|
||||||
|
width: 40,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
organizeList1: [
|
organizeList1: [
|
||||||
{
|
{
|
||||||
value: "项目一",
|
value: "产品受众群体",
|
||||||
label: "项目一",
|
label: "产品受众群体",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: "人力资源hrbp",
|
||||||
|
label: "人力资源hrbp",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
|
state.activeKey = "1";
|
||||||
ctx.emit("update:AddSvisible", false);
|
ctx.emit("update:AddSvisible", false);
|
||||||
};
|
};
|
||||||
|
|
||||||
const afterVisibleChange = (bool) => {
|
const afterVisibleChange = (bool) => {
|
||||||
console.log("state", bool);
|
console.log("state", bool);
|
||||||
};
|
};
|
||||||
|
const onSelectChange = (selectedRowKeys) => {
|
||||||
|
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||||
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
|
};
|
||||||
|
const onSelectChange1 = (selectedRowKeys) => {
|
||||||
|
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||||
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
|
};
|
||||||
|
const onSelectChange2 = (selectedRowKeys) => {
|
||||||
|
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||||
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
afterVisibleChange,
|
afterVisibleChange,
|
||||||
closeDrawer,
|
closeDrawer,
|
||||||
|
onSelectChange,
|
||||||
|
onSelectChange1,
|
||||||
|
onSelectChange2,
|
||||||
// change,
|
// change,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" >
|
<style lang="scss">
|
||||||
.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;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-shrink: 0;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
// background-color: red;
|
// background-color: red;
|
||||||
@@ -519,11 +802,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 +815,12 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
.t1 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
.nameinp {
|
.nameinp {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -578,6 +868,43 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.btns {
|
||||||
|
display: flex;
|
||||||
|
margin-top: 10px;
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 16px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 14px;
|
||||||
|
background: #409eff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
cursor: pointer;
|
||||||
|
.wz {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #409eff;
|
||||||
|
font-size: 14px;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
.wz {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.line {
|
.line {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
@@ -672,18 +999,38 @@ export default {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
// position: absolute;
|
// position: absolute;
|
||||||
// bottom: 20px;
|
// bottom: 20px;
|
||||||
|
.ant-pagination-item,
|
||||||
|
.ant-pagination-prev,
|
||||||
|
.ant-pagination-next {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab2 {
|
.tab2 {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
.t1 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
.organize {
|
.organize {
|
||||||
color: rgba(0, 0, 0, 0.85);
|
color: rgba(0, 0, 0, 0.85);
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-select-dropdown {
|
||||||
|
min-width: 800px !important;
|
||||||
}
|
}
|
||||||
.ant-select {
|
.ant-select {
|
||||||
border-radius: 8px !important;
|
border-radius: 8px !important;
|
||||||
|
// background-color: red;
|
||||||
}
|
}
|
||||||
.ant-cascader {
|
.ant-cascader {
|
||||||
width: 264px;
|
width: 264px;
|
||||||
@@ -697,6 +1044,46 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.searchdown {
|
||||||
|
.btns {
|
||||||
|
display: flex;
|
||||||
|
margin-top: 10px;
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 16px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 14px;
|
||||||
|
background: #409eff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
cursor: pointer;
|
||||||
|
.wz {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #409eff;
|
||||||
|
font-size: 14px;
|
||||||
|
background: #ffffff;
|
||||||
|
border-radius: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
.wz {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.right {
|
.right {
|
||||||
@@ -707,13 +1094,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 +1175,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 +1204,14 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.changetreedropdown {
|
||||||
|
width: 550px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-select-tree-list-scrollbar {
|
||||||
|
width: 5px !important;
|
||||||
|
.ant-select-tree-list-scrollbar-thumb {
|
||||||
|
background-color: #4ea6ff !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -78,12 +78,12 @@
|
|||||||
<div class="btnss" style="margin-top: 20px">
|
<div class="btnss" style="margin-top: 20px">
|
||||||
<div class="btn btn1" style="margin-right: 20px">
|
<div class="btn btn1" style="margin-right: 20px">
|
||||||
<div class="img1"></div>
|
<div class="img1"></div>
|
||||||
<div class="wz">导入学员</div>
|
<div class="wz" @click="showImpStu">导入学员</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn2">
|
<div class="btn btn2" @click="showCopyModal">
|
||||||
<div class="wz">批量签到</div>
|
<div class="wz">批量签到</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn2">
|
<div class="btn btn2" @click="showStopModal">
|
||||||
<div class="wz" @click="showEntryScore">批量签退</div>
|
<div class="wz" @click="showEntryScore">批量签退</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn2">
|
<div class="btn btn2">
|
||||||
@@ -149,12 +149,76 @@
|
|||||||
<button class="btn2">确定</button>
|
<button class="btn2">确定</button>
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
|
<!-- 导入学员抽屉 -->
|
||||||
|
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
|
||||||
|
<!-- 批量签到弹窗 -->
|
||||||
|
<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>
|
||||||
|
<div class="del_btnbox">
|
||||||
|
<div class="del_btn btn1">
|
||||||
|
<div class="btnText" @click="delete_exit">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="del_btn btn2">
|
||||||
|
<div class="btnText" @click="delete_exit">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { toRefs, reactive } from "vue";
|
import { toRefs, reactive } from "vue";
|
||||||
|
import ImpStu from "../../components/drawers/AddLevelImportStu";
|
||||||
export default {
|
export default {
|
||||||
name: "FaceManage",
|
name: "FaceManage",
|
||||||
|
components: { ImpStu },
|
||||||
props: {
|
props: {
|
||||||
FSvisible: {
|
FSvisible: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@@ -165,6 +229,11 @@ export default {
|
|||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
Evisible: false, //录入成绩抽屉
|
Evisible: false, //录入成绩抽屉
|
||||||
|
AddImpStuvisible: false, //导入学员抽屉
|
||||||
|
copyModal: false, //批量签到弹窗
|
||||||
|
closeCopy: false, //签到弹窗关闭图标
|
||||||
|
stopModal: false, //签退弹窗
|
||||||
|
closeStop: false, //签退弹窗关闭图标
|
||||||
name: null,
|
name: null,
|
||||||
showmodal: false, //勾选提示框
|
showmodal: false, //勾选提示框
|
||||||
closable: false, //modal右上角的关闭按钮
|
closable: false, //modal右上角的关闭按钮
|
||||||
@@ -346,7 +415,21 @@ export default {
|
|||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
ctx.emit("update:FSvisible", false);
|
ctx.emit("update:FSvisible", false);
|
||||||
};
|
};
|
||||||
|
const showImpStu = () => {
|
||||||
|
state.AddImpStuvisible = true;
|
||||||
|
};
|
||||||
|
const showCopyModal = () => {
|
||||||
|
state.copyModal = true;
|
||||||
|
};
|
||||||
|
const closeCopyModal = () => {
|
||||||
|
state.copyModal = false;
|
||||||
|
};
|
||||||
|
const showStopModal = () => {
|
||||||
|
state.stopModal = true;
|
||||||
|
};
|
||||||
|
const closeStopModal = () => {
|
||||||
|
state.stopModal = false;
|
||||||
|
};
|
||||||
const showEntryScore = () => {
|
const showEntryScore = () => {
|
||||||
state.Evisible = true;
|
state.Evisible = true;
|
||||||
};
|
};
|
||||||
@@ -498,6 +581,11 @@ export default {
|
|||||||
showEntryScore,
|
showEntryScore,
|
||||||
tableDataFunc,
|
tableDataFunc,
|
||||||
getTableData,
|
getTableData,
|
||||||
|
showImpStu,
|
||||||
|
showCopyModal,
|
||||||
|
closeCopyModal,
|
||||||
|
showStopModal,
|
||||||
|
closeStopModal,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -509,7 +597,117 @@ export default {
|
|||||||
padding: 0px;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.largeDrawerStyle {
|
.largeDrawerStyle {
|
||||||
// width: 80%;
|
// width: 80%;
|
||||||
.ant-drawer-content-wrapper {
|
.ant-drawer-content-wrapper {
|
||||||
|
|||||||
546
src/components/drawers/ProjPowerList.vue
Normal file
546
src/components/drawers/ProjPowerList.vue
Normal file
@@ -0,0 +1,546 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="ProjPvisible"
|
||||||
|
class="drawerStyle ProjPowerList"
|
||||||
|
placement="right"
|
||||||
|
width="60%"
|
||||||
|
@after-visible-change="afterVisibleChange"
|
||||||
|
>
|
||||||
|
<div class="drawerMain">
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTitle">授权名单</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
@click="closeDrawer"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="main">
|
||||||
|
<div class="search">
|
||||||
|
<div class="leftchoose">
|
||||||
|
<div class="namecon" style="margin-right: 30px">
|
||||||
|
<div class="name">姓名:</div>
|
||||||
|
<a-input
|
||||||
|
v-model:value="name"
|
||||||
|
style="width: 270px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btns">
|
||||||
|
<div class="btn btn1" style="margin-right: 20px">
|
||||||
|
<div class="img1"></div>
|
||||||
|
<div class="wz">搜索</div>
|
||||||
|
</div>
|
||||||
|
<div class="btn btn2">
|
||||||
|
<div class="img2"></div>
|
||||||
|
<div class="wz">重置</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tableBox" style="margin-top: 10px">
|
||||||
|
<a-table
|
||||||
|
style="border: 1px solid #f2f6fe"
|
||||||
|
:columns="tableDataFunc()"
|
||||||
|
:data-source="tableData"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
expandRowByClick="true"
|
||||||
|
@expand="expandTable"
|
||||||
|
:scroll="{ x: 900, y: 400 }"
|
||||||
|
:pagination="false"
|
||||||
|
:row-selection="{
|
||||||
|
columnWidth: 30,
|
||||||
|
selectedRowKeys: selectedRowKeys,
|
||||||
|
onChange: onSelectChange,
|
||||||
|
}"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="pa">
|
||||||
|
<a-pagination
|
||||||
|
showSizeChanger="true"
|
||||||
|
showQuickJumper="true"
|
||||||
|
hideOnSinglePage="true"
|
||||||
|
:pageSize="pageSize"
|
||||||
|
:current="currentPage"
|
||||||
|
:total="tableDataTotal"
|
||||||
|
class="pagination"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="tab" style="margin-top: 20px; margin-bottom: 100px">
|
||||||
|
<a-table
|
||||||
|
style="border: 1px solid #f2f6fe"
|
||||||
|
:columns="tablecolumns"
|
||||||
|
:data-source="tabledata"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
expandRowByClick="true"
|
||||||
|
:scroll="{ x: 900, y: 350 }"
|
||||||
|
@expand="expandTable"
|
||||||
|
:pagination="false"
|
||||||
|
:row-selection="{
|
||||||
|
columnWidth: 30,
|
||||||
|
selectedRowKeys: selectedRowKeys,
|
||||||
|
onChange: onSelectChange,
|
||||||
|
}"
|
||||||
|
/>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 取消授权弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="cancelModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closeCancel"
|
||||||
|
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="closeCancelModal"></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 class="botm"></div>
|
||||||
|
<div class="btnn">
|
||||||
|
<button class="btn1">取消</button>
|
||||||
|
<button class="btn2">确定</button>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { toRefs, reactive } from "vue";
|
||||||
|
export default {
|
||||||
|
name: "ProjPowerList",
|
||||||
|
props: {
|
||||||
|
ProjPvisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({
|
||||||
|
name: null,
|
||||||
|
showmodal: false, //勾选提示框
|
||||||
|
closable: false, //modal右上角的关闭按钮
|
||||||
|
pageSize: 10,
|
||||||
|
currentPage: 1,
|
||||||
|
tableDataTotal: 100,
|
||||||
|
selectedRowKeys: [],
|
||||||
|
cancelModal: false, //取消授权弹窗
|
||||||
|
closeCancel: false, //取消授权弹窗关闭图标
|
||||||
|
tableData: [
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 4,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 5,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 6,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
|
||||||
|
state: "归属权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 7,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
|
||||||
|
state: "查看权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 8,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 9,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 10,
|
||||||
|
name: "张三",
|
||||||
|
com: "产研部",
|
||||||
|
gang: "产品经理",
|
||||||
|
state: "管理权",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
|
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:ProjPvisible", false);
|
||||||
|
};
|
||||||
|
|
||||||
|
const onSelectChange = (selectedRowKeys) => {
|
||||||
|
console.log("selectedRowKeys changed: ", selectedRowKeys);
|
||||||
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
|
};
|
||||||
|
const showCancelModal = () => {
|
||||||
|
state.cancelModal = true;
|
||||||
|
};
|
||||||
|
const closeCancelModal = () => {
|
||||||
|
state.cancelModal = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
const tableDataFunc = () => {
|
||||||
|
const columns = [
|
||||||
|
{
|
||||||
|
title: "姓名",
|
||||||
|
dataIndex: "name",
|
||||||
|
// width: "30%",
|
||||||
|
key: "name",
|
||||||
|
width: 70,
|
||||||
|
align: "left",
|
||||||
|
className: "classify",
|
||||||
|
scopedSlots: { customRender: "action" }, //引入的插槽
|
||||||
|
customRender: (text) => {
|
||||||
|
// console.log(text.record.checked1);
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<span> {text.record.name}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "归属组织",
|
||||||
|
dataIndex: "com",
|
||||||
|
// width: "30%",
|
||||||
|
key: "com",
|
||||||
|
width: 100,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "所在岗位",
|
||||||
|
dataIndex: "gang",
|
||||||
|
key: "gang",
|
||||||
|
width: 100,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
title: "拥有权限",
|
||||||
|
dataIndex: "state",
|
||||||
|
key: "state",
|
||||||
|
width: 100,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "操作",
|
||||||
|
className: "h",
|
||||||
|
dataIndex: "opacation",
|
||||||
|
key: "opacation",
|
||||||
|
width: 100,
|
||||||
|
align: "center",
|
||||||
|
scopedSlots: { customRender: "action" }, //引入的插槽
|
||||||
|
customRender: () => {
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
class="opa"
|
||||||
|
onClick={() => {
|
||||||
|
showCancelModal();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
取消授权
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
];
|
||||||
|
return columns;
|
||||||
|
};
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
closeDrawer,
|
||||||
|
onSelectChange,
|
||||||
|
tableDataFunc,
|
||||||
|
showCancelModal,
|
||||||
|
closeCancelModal,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" >
|
||||||
|
.me {
|
||||||
|
.ant-modal-body {
|
||||||
|
padding: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProjPowerList {
|
||||||
|
// width: 80%;
|
||||||
|
.ant-drawer-content-wrapper {
|
||||||
|
// max-width: 1000px;
|
||||||
|
.ant-drawer-header {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.ant-drawer-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.drawerMain {
|
||||||
|
min-width: 600px;
|
||||||
|
margin: 0px 32px 0px 32px;
|
||||||
|
overflow-x: scroll;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
// background-color: red;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
// margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
// background-color: #bfa;
|
||||||
|
// overflow-y: auto;
|
||||||
|
.search {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
margin-top: 10px;
|
||||||
|
justify-content: space-between;
|
||||||
|
.leftchoose {
|
||||||
|
display: flex;
|
||||||
|
margin-right: 20px;
|
||||||
|
.namecon {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
.name {
|
||||||
|
margin-top: 8px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
// .name {
|
||||||
|
// margin-top: 8px;
|
||||||
|
|
||||||
|
// color: rgba(0, 0, 0, 0.85);
|
||||||
|
// font-size: 14px;
|
||||||
|
// font-weight: 400;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btns {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
.img1 {
|
||||||
|
width: 15px;
|
||||||
|
height: 17px;
|
||||||
|
background-image: url(../../assets/images/courseManage/search0.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
.img2 {
|
||||||
|
width: 16px;
|
||||||
|
height: 18px;
|
||||||
|
background-image: url(../../assets/images/courseManage/reset1.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
background: #388be1;
|
||||||
|
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background: #ffffff;
|
||||||
|
|
||||||
|
color: #388be1;
|
||||||
|
border: 1px solid #388be1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tableBox {
|
||||||
|
// margin-bottom: 80px;
|
||||||
|
|
||||||
|
.classify {
|
||||||
|
// margin-left: 11px !important;
|
||||||
|
// padding-left: 9px !important;
|
||||||
|
padding-left: 0px !important;
|
||||||
|
}
|
||||||
|
.ant-checkbox-wrapper {
|
||||||
|
align-items: center;
|
||||||
|
margin-top: -2px;
|
||||||
|
}
|
||||||
|
.ant-table-selection-column {
|
||||||
|
padding: 0px !important;
|
||||||
|
// padding-left: 45px !important;
|
||||||
|
}
|
||||||
|
.ant-table-thead > tr > th {
|
||||||
|
background-color: rgba(239, 244, 252, 1);
|
||||||
|
}
|
||||||
|
th.h {
|
||||||
|
background-color: #eff4fc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-table-tbody
|
||||||
|
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||||
|
> td {
|
||||||
|
background: #f6f9fd;
|
||||||
|
}
|
||||||
|
.opa {
|
||||||
|
// background-color: #bfa;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #388be1;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.pa {
|
||||||
|
// left: 0;
|
||||||
|
margin-top: 25px;
|
||||||
|
margin-bottom: 70px;
|
||||||
|
width: 100%;
|
||||||
|
// height: 20px;
|
||||||
|
// background-color: red;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
// position: absolute;
|
||||||
|
// bottom: 20px;
|
||||||
|
}
|
||||||
|
// .tab {
|
||||||
|
// .ant-table-thead > tr > th {
|
||||||
|
// background-color: rgba(239, 244, 252, 1) !important;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// th.h {
|
||||||
|
// background-color: #eff4fc !important;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .ant-table-tbody
|
||||||
|
// > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||||
|
// > td {
|
||||||
|
// background: #f6f9fd;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// .botm {
|
||||||
|
// width: 100%;
|
||||||
|
// height: 100%;
|
||||||
|
// background-color: red;
|
||||||
|
// // flex-shrink: 1;
|
||||||
|
// }
|
||||||
|
.btnn {
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
background-color: #fff;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
color: #4ea6ff;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -24,18 +24,26 @@
|
|||||||
<div class="nameinp">
|
<div class="nameinp">
|
||||||
<div class="namee">姓名:</div>
|
<div class="namee">姓名:</div>
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="name"
|
v-model:value="name"
|
||||||
style="width: 270px; height: 40px; border-radius: 8px"
|
style="width: 270px; height: 40px; border-radius: 8px"
|
||||||
placeholder="请输入姓名"
|
placeholder="请输入姓名"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="btns">
|
<div class="btns">
|
||||||
<div class="btn1">
|
<div class="btn1">
|
||||||
<div class="img1"><img src="../../assets/images/courseManage/search0.png"/></div>
|
<div class="img1">
|
||||||
|
<img
|
||||||
|
src="../../assets/images/courseManage/search0.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div class="wz">搜索</div>
|
<div class="wz">搜索</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn2">
|
<div class="btn2">
|
||||||
<div class="img2"><img src="../../assets/images/courseManage/reset1.png"/></div>
|
<div class="img2">
|
||||||
|
<img
|
||||||
|
src="../../assets/images/courseManage/reset1.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div class="wz">重置</div>
|
<div class="wz">重置</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -86,9 +94,9 @@
|
|||||||
<div class="tab2">
|
<div class="tab2">
|
||||||
<div class="organize">组织:</div>
|
<div class="organize">组织:</div>
|
||||||
<a-cascader
|
<a-cascader
|
||||||
v-model:value="value"
|
v-model:value="value"
|
||||||
placeholder="请输入组织名称"
|
placeholder="请输入组织名称"
|
||||||
:options="organizeList"
|
:options="organizeList"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
@@ -97,19 +105,27 @@
|
|||||||
<div class="nameinp">
|
<div class="nameinp">
|
||||||
<div class="namee">受众名称:</div>
|
<div class="namee">受众名称:</div>
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="value"
|
v-model:value="value"
|
||||||
style="width: 264px;border-radius: 8px"
|
style="width: 264px; border-radius: 8px"
|
||||||
placeholder="请输入组织名称"
|
placeholder="请输入组织名称"
|
||||||
:options="organizeList1"
|
:options="organizeList1"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="btns">
|
<div class="btns">
|
||||||
<div class="btn1">
|
<div class="btn1">
|
||||||
<div class="img1"><img src="../../assets/images/courseManage/search0.png"/></div>
|
<div class="img1">
|
||||||
|
<img
|
||||||
|
src="../../assets/images/courseManage/search0.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div class="wz">搜索</div>
|
<div class="wz">搜索</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn2">
|
<div class="btn2">
|
||||||
<div class="img2"><img src="../../assets/images/courseManage/reset1.png"/></div>
|
<div class="img2">
|
||||||
|
<img
|
||||||
|
src="../../assets/images/courseManage/reset1.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
<div class="wz">重置</div>
|
<div class="wz">重置</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -168,6 +184,78 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="selecteds">
|
<div class="selecteds">
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
|
<div class="chose">
|
||||||
|
李明
|
||||||
|
<div class="ch"></div>
|
||||||
|
</div>
|
||||||
<div class="chose">
|
<div class="chose">
|
||||||
李明
|
李明
|
||||||
<div class="ch"></div>
|
<div class="ch"></div>
|
||||||
@@ -201,7 +289,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -227,38 +314,38 @@ export default {
|
|||||||
label: "京东方",
|
label: "京东方",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id:2,
|
id: 2,
|
||||||
value: "产研部",
|
value: "产研部",
|
||||||
label: "产研部",
|
label: "产研部",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id:4,
|
id: 4,
|
||||||
value: "产品部门",
|
value: "产品部门",
|
||||||
label: "产品部门",
|
label: "产品部门",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id:5,
|
id: 5,
|
||||||
value: "研发部门",
|
value: "研发部门",
|
||||||
label: "研发部门",
|
label: "研发部门",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id:3,
|
id: 3,
|
||||||
value: "人力资源部",
|
value: "人力资源部",
|
||||||
label: "人力资源部",
|
label: "人力资源部",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
id:6,
|
id: 6,
|
||||||
value: "人事部",
|
value: "人事部",
|
||||||
label: "人事部",
|
label: "人事部",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id:7,
|
id: 7,
|
||||||
value: "行政部",
|
value: "行政部",
|
||||||
label: "行政部",
|
label: "行政部",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -449,7 +536,7 @@ export default {
|
|||||||
|
|
||||||
const stuaddChange = (e) => {
|
const stuaddChange = (e) => {
|
||||||
state.stuaddTab = e;
|
state.stuaddTab = e;
|
||||||
}
|
};
|
||||||
|
|
||||||
const afterVisibleChange = (bool) => {
|
const afterVisibleChange = (bool) => {
|
||||||
console.log("state", bool);
|
console.log("state", bool);
|
||||||
@@ -466,7 +553,7 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" >
|
<style lang="scss">
|
||||||
.stuadd {
|
.stuadd {
|
||||||
// .ant-drawer-content-wrapper {
|
// .ant-drawer-content-wrapper {
|
||||||
// // max-width: 1000px;
|
// // max-width: 1000px;
|
||||||
|
|||||||
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>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnss" style="margin-top: 20px">
|
<div class="btnss" style="margin-top: 20px">
|
||||||
<div class="btn btn1" style="margin-right: 20px; cursor: pointer">
|
<div class="btn btn1" @click="showopen" style="margin-right: 20px; cursor: pointer">
|
||||||
<div class="img2"></div>
|
<div class="img2"></div>
|
||||||
<div class="wz">催促考试</div>
|
<div class="wz">催促考试</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -80,12 +80,17 @@
|
|||||||
<button class="btn1">取消</button>
|
<button class="btn1">取消</button>
|
||||||
<button class="btn2">确定</button>
|
<button class="btn2">确定</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="noticebox" v-show="open">
|
||||||
|
<div><img src="../../assets/images/taskpage/check.png"/></div>
|
||||||
|
<div class="notext">催促学员成功</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { toRefs, reactive } from "vue";
|
import { toRefs, reactive, onMounted, onUnmounted} from "vue";
|
||||||
export default {
|
export default {
|
||||||
name: "TestManage",
|
name: "TestManage",
|
||||||
props: {
|
props: {
|
||||||
@@ -102,6 +107,7 @@ export default {
|
|||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
name: null,
|
name: null,
|
||||||
|
open: false,
|
||||||
projectNameList: [
|
projectNameList: [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
@@ -291,11 +297,25 @@ export default {
|
|||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
ctx.emit("update:TMvisible", false);
|
ctx.emit("update:TMvisible", false);
|
||||||
};
|
};
|
||||||
|
const showopen=()=>{
|
||||||
|
state.open = true;
|
||||||
|
};
|
||||||
|
let timer;
|
||||||
|
onMounted(()=> {
|
||||||
|
timer = setInterval(()=>{
|
||||||
|
state.open = false;
|
||||||
|
},3000);
|
||||||
|
});
|
||||||
|
onUnmounted(()=>{
|
||||||
|
clearInterval(timer);
|
||||||
|
});
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
closeDrawer,
|
closeDrawer,
|
||||||
|
showopen,
|
||||||
|
onMounted,
|
||||||
|
onUnmounted,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -324,6 +344,24 @@ export default {
|
|||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
position: relative;
|
||||||
|
.noticebox {
|
||||||
|
width: 240px;
|
||||||
|
height: 64px;
|
||||||
|
background: rgba(255, 255, 255, 1);
|
||||||
|
border-radius: 4px;
|
||||||
|
position: absolute;
|
||||||
|
top: 161px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
.notext {
|
||||||
|
color: rgba(51, 51, 51, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.header {
|
.header {
|
||||||
height: 73px;
|
height: 73px;
|
||||||
border-bottom: 1px solid #e8e8e8;
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnss" style="margin-top: 20px">
|
<div class="btnss" style="margin-top: 20px">
|
||||||
<div class="btn btn1" style="margin-right: 20px">
|
<div class="btn btn1" @click="showopen" style="margin-right: 20px">
|
||||||
<div class="img1"></div>
|
<div class="img1"></div>
|
||||||
<div class="wz">催促学习</div>
|
<div class="wz">催促学习</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -91,12 +91,16 @@
|
|||||||
<button class="btn1">取消</button>
|
<button class="btn1">取消</button>
|
||||||
<button class="btn2">确定</button>
|
<button class="btn2">确定</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="noticebox" v-show="open">
|
||||||
|
<div><img src="../../assets/images/taskpage/check.png"/></div>
|
||||||
|
<div class="notext">催促学员成功</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-drawer>
|
</a-drawer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { toRefs, reactive } from "vue";
|
import { toRefs, reactive, onMounted, onUnmounted} from "vue";
|
||||||
export default {
|
export default {
|
||||||
name: "TimeManage",
|
name: "TimeManage",
|
||||||
props: {
|
props: {
|
||||||
@@ -113,6 +117,7 @@ export default {
|
|||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
name: null,
|
name: null,
|
||||||
|
open: false,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
tableDataTotal: 100,
|
tableDataTotal: 100,
|
||||||
@@ -269,10 +274,25 @@ export default {
|
|||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
ctx.emit("update:Tvisible", false);
|
ctx.emit("update:Tvisible", false);
|
||||||
};
|
};
|
||||||
|
const showopen=()=>{
|
||||||
|
state.open = true;
|
||||||
|
};
|
||||||
|
let timer;
|
||||||
|
onMounted(()=> {
|
||||||
|
timer = setInterval(()=>{
|
||||||
|
state.open = false;
|
||||||
|
},3000);
|
||||||
|
});
|
||||||
|
onUnmounted(()=>{
|
||||||
|
clearInterval(timer);
|
||||||
|
});
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
closeDrawer,
|
closeDrawer,
|
||||||
|
showopen,
|
||||||
|
onMounted,
|
||||||
|
onUnmounted,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -297,6 +317,23 @@ export default {
|
|||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
.noticebox {
|
||||||
|
width: 240px;
|
||||||
|
height: 64px;
|
||||||
|
background: rgba(255, 255, 255, 1);
|
||||||
|
border-radius: 4px;
|
||||||
|
position: absolute;
|
||||||
|
top: 161px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
.notext {
|
||||||
|
color: rgba(51, 51, 51, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
.header {
|
.header {
|
||||||
height: 73px;
|
height: 73px;
|
||||||
border-bottom: 1px solid #e8e8e8;
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
|||||||
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>
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -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,14 +541,168 @@
|
|||||||
</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" />
|
||||||
|
<!-- 授权名单抽屉 -->
|
||||||
|
<proj-power-list v-model:ProjPvisible="ProjPvisible" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs, onMounted } from "vue";
|
import { reactive, toRefs, onMounted } from "vue";
|
||||||
import ProjOwnerShip from "../../components/drawers/ProjectOwn";
|
import ProjOwnerShip from "../../components/drawers/ProjectOwn";
|
||||||
|
import ProjPowerList from "../../components/drawers/ProjPowerList";
|
||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
title: "项目名称",
|
title: "项目名称",
|
||||||
@@ -583,7 +759,7 @@ const columns = [
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "projectManage",
|
name: "projectManage",
|
||||||
components: { ProjOwnerShip },
|
components: { ProjOwnerShip, ProjPowerList },
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
projectNameList: [
|
projectNameList: [
|
||||||
@@ -864,7 +1040,18 @@ 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,
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
@@ -896,7 +1083,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -936,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>
|
||||||
@@ -952,7 +1147,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -972,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 === "已结束" ? (
|
||||||
@@ -986,7 +1189,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1006,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>
|
||||||
@@ -1028,7 +1241,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1059,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>
|
||||||
@@ -1078,7 +1301,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1102,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">
|
||||||
@@ -1115,7 +1346,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1135,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>
|
||||||
@@ -1156,7 +1397,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1185,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>
|
||||||
@@ -1210,7 +1463,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1230,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"
|
||||||
@@ -1239,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>
|
||||||
@@ -1264,7 +1531,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1284,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"
|
||||||
@@ -1294,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>
|
||||||
@@ -1316,7 +1597,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1336,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"
|
||||||
@@ -1345,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>
|
||||||
@@ -1377,7 +1672,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1406,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>
|
||||||
@@ -1431,7 +1738,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1451,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"
|
||||||
@@ -1460,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>
|
||||||
@@ -1485,7 +1806,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1505,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"
|
||||||
@@ -1514,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>
|
||||||
@@ -1539,7 +1874,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1559,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"
|
||||||
@@ -1568,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>
|
||||||
@@ -1604,7 +1953,13 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="权限名单" label="权限名单">
|
<a-select-option value="权限名单" label="权限名单">
|
||||||
<div>权限名单</div>
|
<div
|
||||||
|
onClick={() => {
|
||||||
|
showProjPrower();
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
权限名单
|
||||||
|
</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="归属权" label="归属权">
|
<a-select-option value="归属权" label="归属权">
|
||||||
<div
|
<div
|
||||||
@@ -1628,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 === "草稿" ? (
|
||||||
@@ -1639,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>
|
||||||
@@ -1665,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>
|
||||||
@@ -1691,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>
|
||||||
@@ -1747,9 +2114,42 @@ 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;
|
||||||
};
|
};
|
||||||
|
const showProjPrower = () => {
|
||||||
|
state.ProjPvisible = true;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
columns,
|
columns,
|
||||||
@@ -1763,8 +2163,19 @@ export default {
|
|||||||
closeModal2,
|
closeModal2,
|
||||||
showModal3,
|
showModal3,
|
||||||
closeModal3,
|
closeModal3,
|
||||||
|
showCopyModal,
|
||||||
|
closeCopyModal,
|
||||||
|
showStopModal,
|
||||||
|
closeStopModal,
|
||||||
|
showDeleteModal,
|
||||||
|
closeDeleteModal,
|
||||||
|
showStartModal,
|
||||||
|
closeStartModal,
|
||||||
|
showBackModal,
|
||||||
|
closeBackModal,
|
||||||
getTableDate,
|
getTableDate,
|
||||||
showProjOwner,
|
showProjOwner,
|
||||||
|
showProjPrower,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -2217,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>
|
||||||
|
|||||||
@@ -5,10 +5,12 @@
|
|||||||
<div class="tit">
|
<div class="tit">
|
||||||
阶段<img
|
阶段<img
|
||||||
src="../../assets/images/projectadd/right.png"
|
src="../../assets/images/projectadd/right.png"
|
||||||
style="margin-left: 10px"
|
style="margin-left: 10px; cursor: pointer"
|
||||||
|
@click="showCancel"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn btn3" @click="showModal" style="margin-left: 19px">
|
<!-- @click="showModal" -->
|
||||||
|
<div class="btn btn3" @click="showConfirm" style="margin-left: 19px">
|
||||||
<div class="search"></div>
|
<div class="search"></div>
|
||||||
<div class="btnText">添加阶段</div>
|
<div class="btnText">添加阶段</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -250,47 +252,66 @@
|
|||||||
<span class="editext">批量删除</span>
|
<span class="editext">批量删除</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="talk">
|
<!-- 无数据样式 -->
|
||||||
<img class="im" src="../../assets/images/leveladd/gan.png" />
|
<div class="notable" style="display:none;">
|
||||||
<div class="xu">
|
<div class="notablebox">
|
||||||
<span class="yi">已选择</span>
|
<div class="boxbody">
|
||||||
<div style="width: 5px; display: inline-block"></div>
|
<div class="boximg"></div>
|
||||||
<span class="th">3</span>
|
<div class="boxtitle">
|
||||||
<div style="width: 5px; display: inline-block"></div>
|
<span style="color: #ffb64e; font-size: 20px">无课程</span>
|
||||||
<span class="yi">项</span>
|
</div>
|
||||||
<span class="zon">任务总数:</span>
|
<div class="boxtitle2">
|
||||||
<span class="yi">5</span>
|
<span style="color: #878b92">请点击新建开课,创建课程</span>
|
||||||
<span class="yi">条</span>
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="smallleft"></div>
|
||||||
|
<div class="smallright"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tableBox">
|
<div class="rwbox">
|
||||||
<a-table
|
<div class="talk">
|
||||||
style="border: 1px solid #f2f6fe"
|
<img class="im" src="../../assets/images/leveladd/gan.png" />
|
||||||
:columns="tableDataFunc()"
|
<div class="xu">
|
||||||
:data-source="tableData"
|
<span class="yi">已选择</span>
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
<div style="width: 5px; display: inline-block"></div>
|
||||||
expandRowByClick="true"
|
<span class="th">3</span>
|
||||||
@expand="expandTable"
|
<div style="width: 5px; display: inline-block"></div>
|
||||||
:pagination="false"
|
<span class="yi">项</span>
|
||||||
:row-selection="{
|
<span class="zon">任务总数:</span>
|
||||||
columnWidth: 30,
|
<span class="yi">5</span>
|
||||||
selectedRowKeys: selectedRowKeys,
|
<span class="yi">条</span>
|
||||||
onChange: onSelectChange,
|
</div>
|
||||||
}"
|
</div>
|
||||||
/>
|
<div class="tableBox">
|
||||||
|
<a-table
|
||||||
<div class="pa">
|
style="border: 1px solid #f2f6fe"
|
||||||
<a-pagination
|
:columns="tableDataFunc()"
|
||||||
showSizeChanger="true"
|
:data-source="tableData"
|
||||||
showQuickJumper="true"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
hideOnSinglePage="true"
|
expandRowByClick="true"
|
||||||
:pageSize="pageSize"
|
@expand="expandTable"
|
||||||
:current="currentPage"
|
:pagination="false"
|
||||||
:total="tableDataTotal"
|
:row-selection="{
|
||||||
class="pagination"
|
columnWidth: 30,
|
||||||
|
selectedRowKeys: selectedRowKeys,
|
||||||
|
onChange: onSelectChange,
|
||||||
|
}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<div class="pa">
|
||||||
|
<a-pagination
|
||||||
|
showSizeChanger="true"
|
||||||
|
showQuickJumper="true"
|
||||||
|
hideOnSinglePage="true"
|
||||||
|
:pageSize="pageSize"
|
||||||
|
:current="currentPage"
|
||||||
|
:total="tableDataTotal"
|
||||||
|
class="pagination"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 编辑在线侧弹窗 -->
|
<!-- 编辑在线侧弹窗 -->
|
||||||
<div>
|
<div>
|
||||||
<edit-online v-model:editonlineVisible="editonlinevisible" />
|
<edit-online v-model:editonlineVisible="editonlinevisible" />
|
||||||
@@ -309,6 +330,7 @@
|
|||||||
wrapClassName="addstage"
|
wrapClassName="addstage"
|
||||||
width="624px"
|
width="624px"
|
||||||
height="388px"
|
height="388px"
|
||||||
|
centered="true"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="modalHeader"
|
class="modalHeader"
|
||||||
@@ -405,6 +427,96 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- 确认添加阶段弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="confirmModal"
|
||||||
|
: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="closeConfirm"></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>
|
||||||
|
<!-- 确认取消阶段弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="cancelModal"
|
||||||
|
: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="closeCancel"></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>
|
||||||
|
<!-- 确认删除阶段弹窗 -->
|
||||||
|
<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>
|
||||||
|
|
||||||
@@ -729,6 +841,10 @@ export default {
|
|||||||
addvotevisible: false,
|
addvotevisible: false,
|
||||||
stage: false,
|
stage: false,
|
||||||
selectedRowKeys: [],
|
selectedRowKeys: [],
|
||||||
|
confirmModal: false, //确认添加阶段弹窗
|
||||||
|
cC: false,
|
||||||
|
cancelModal: false, //确认取消阶段弹窗
|
||||||
|
deleteModal: false, //确认删除弹窗
|
||||||
});
|
});
|
||||||
const selectProjectName = (value, index) => {
|
const selectProjectName = (value, index) => {
|
||||||
console.log("value", value, index);
|
console.log("value", value, index);
|
||||||
@@ -849,7 +965,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>
|
||||||
);
|
);
|
||||||
@@ -870,8 +993,11 @@ export default {
|
|||||||
// 40 +
|
// 40 +
|
||||||
// "px";
|
// "px";
|
||||||
// };
|
// };
|
||||||
|
//添加阶段详情
|
||||||
const showModal = () => {
|
const showModal = () => {
|
||||||
state.stage = true;
|
state.stage = true;
|
||||||
|
//关闭确认框
|
||||||
|
closeConfirm();
|
||||||
};
|
};
|
||||||
const closeModal = () => {
|
const closeModal = () => {
|
||||||
state.stage = false;
|
state.stage = false;
|
||||||
@@ -922,6 +1048,24 @@ export default {
|
|||||||
const showDrawerAddVote = () => {
|
const showDrawerAddVote = () => {
|
||||||
state.addvotevisible = true;
|
state.addvotevisible = true;
|
||||||
};
|
};
|
||||||
|
const showConfirm = () => {
|
||||||
|
state.confirmModal = true;
|
||||||
|
};
|
||||||
|
const closeConfirm = () => {
|
||||||
|
state.confirmModal = false;
|
||||||
|
};
|
||||||
|
const showCancel = () => {
|
||||||
|
state.cancelModal = true;
|
||||||
|
};
|
||||||
|
const closeCancel = () => {
|
||||||
|
state.cancelModal = false;
|
||||||
|
};
|
||||||
|
const showDelete = () => {
|
||||||
|
state.deleteModal = true;
|
||||||
|
};
|
||||||
|
const closeDelete = () => {
|
||||||
|
state.deleteModal = false;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
@@ -945,6 +1089,12 @@ export default {
|
|||||||
showDrawerAddEval,
|
showDrawerAddEval,
|
||||||
showDrawerAddInvist,
|
showDrawerAddInvist,
|
||||||
showDrawerAddVote,
|
showDrawerAddVote,
|
||||||
|
showConfirm,
|
||||||
|
closeConfirm,
|
||||||
|
showCancel,
|
||||||
|
closeCancel,
|
||||||
|
showDelete,
|
||||||
|
closeDelete,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -957,6 +1107,117 @@ export default {
|
|||||||
width: 384px;
|
width: 384px;
|
||||||
height: 88px;
|
height: 88px;
|
||||||
}
|
}
|
||||||
|
.ConfirmModal {
|
||||||
|
.ant-modal {
|
||||||
|
width: 424px !important;
|
||||||
|
height: 258px !important;
|
||||||
|
.ant-modal-content {
|
||||||
|
width: 424px !important;
|
||||||
|
height: 258px !important;
|
||||||
|
.ant-modal-body {
|
||||||
|
width: 424px !important;
|
||||||
|
height: 258px !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
.delete {
|
||||||
|
z-index: 999;
|
||||||
|
width: 424px;
|
||||||
|
height: 258px;
|
||||||
|
background: #ffffff;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
border-radius: 4px;
|
||||||
|
// position: absolute;
|
||||||
|
// left: 50%;
|
||||||
|
// top: 10%;
|
||||||
|
// transform: translate(-50%, -50%);
|
||||||
|
.del_header {
|
||||||
|
position: absolute;
|
||||||
|
width: calc(100%);
|
||||||
|
height: 40px;
|
||||||
|
background: linear-gradient(
|
||||||
|
rgba(78, 166, 255, 0.2) 0%,
|
||||||
|
rgba(78, 166, 255, 0) 100%
|
||||||
|
);
|
||||||
|
}
|
||||||
|
.del_main {
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
.header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-left: 26px;
|
||||||
|
font-size: 16px;
|
||||||
|
.icon {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
margin-right: 10px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/QR.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
.close_exit {
|
||||||
|
position: absolute;
|
||||||
|
right: 42px;
|
||||||
|
cursor: pointer;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background-image: url(@/assets/images/coursewareManage/close.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.body {
|
||||||
|
width: 100%;
|
||||||
|
margin: 34px auto 56px auto;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
flex-direction: column;
|
||||||
|
// background-color: red;
|
||||||
|
position: relative;
|
||||||
|
.back {
|
||||||
|
position: absolute;
|
||||||
|
top: 30px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.del_btnbox {
|
||||||
|
display: flex;
|
||||||
|
margin: 30px auto;
|
||||||
|
justify-content: center;
|
||||||
|
.del_btn {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: rgba(64, 158, 255, 0);
|
||||||
|
border-radius: 8px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn1 {
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
color: #4ea6ff;
|
||||||
|
margin-right: 14px;
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
background-color: #4ea6ff;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.addstage {
|
.addstage {
|
||||||
.ant-modal {
|
.ant-modal {
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
@@ -1453,7 +1714,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.boom {
|
.boom {
|
||||||
position: relative;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@@ -1516,74 +1776,125 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.talk {
|
.notable {
|
||||||
margin-top: 24px;
|
|
||||||
margin-bottom: 11px;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 50px;
|
|
||||||
background: #f5faff;
|
|
||||||
border: 1px solid #4ea6ff;
|
|
||||||
// opacity: 0.22;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
justify-content: center;
|
||||||
.im {
|
.notablebox {
|
||||||
width: 14px;
|
width: 412px;
|
||||||
height: 15px;
|
height: 212px;
|
||||||
margin-left: 27px;
|
background: linear-gradient(180deg, #fef3dd 0%, #fffaf0 100%);
|
||||||
}
|
border-radius: 10px;
|
||||||
.xu {
|
display: flex;
|
||||||
height: 100%;
|
justify-content: center;
|
||||||
line-height: 50px;
|
text-align: center;
|
||||||
margin-left: 13px;
|
margin-top: 77px;
|
||||||
.yi {
|
margin-bottom: 109px;
|
||||||
color: #4f5156;
|
cursor: pointer;
|
||||||
font-size: 14px;
|
position: relative;
|
||||||
|
.smallleft {
|
||||||
|
position: absolute;
|
||||||
|
top: 18px;
|
||||||
|
left: 0px;
|
||||||
|
width: 8px;
|
||||||
|
height: 21px;
|
||||||
|
border-radius: 0px 4px 4px 0px;
|
||||||
|
background-color: #ffb64e;
|
||||||
}
|
}
|
||||||
.zon {
|
.smallright {
|
||||||
color: #999ba3;
|
position: absolute;
|
||||||
font-size: 14px;
|
bottom: 18px;
|
||||||
margin-left: 34px;
|
right: 0px;
|
||||||
|
width: 8px;
|
||||||
|
height: 21px;
|
||||||
|
border-radius: 4px 0px 0px 4px;
|
||||||
|
background-color: #ffb64e;
|
||||||
}
|
}
|
||||||
.th {
|
.boxbody {
|
||||||
color: #4ea6ff;
|
.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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tableBox {
|
.rwbox {
|
||||||
margin-bottom: 80px;
|
position: relative;
|
||||||
.classify {
|
.talk {
|
||||||
margin-left: 10px !important;
|
margin-top: 24px;
|
||||||
padding-left: 9px !important;
|
margin-bottom: 11px;
|
||||||
}
|
|
||||||
.ant-checkbox-wrapper {
|
|
||||||
align-items: center;
|
|
||||||
margin-top: -2px;
|
|
||||||
}
|
|
||||||
.ant-table-selection-column {
|
|
||||||
padding: 0px !important;
|
|
||||||
padding-left: 60px !important;
|
|
||||||
}
|
|
||||||
.ant-table-thead > tr > th {
|
|
||||||
background-color: rgba(239, 244, 252, 1);
|
|
||||||
}
|
|
||||||
th.h {
|
|
||||||
background-color: #eff4fc !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ant-table-tbody
|
|
||||||
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
|
||||||
> td {
|
|
||||||
background: #f6f9fd;
|
|
||||||
}
|
|
||||||
.pa {
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
// height: 20px;
|
height: 50px;
|
||||||
// background-color: red;
|
background: #f5faff;
|
||||||
|
border: 1px solid #4ea6ff;
|
||||||
|
// opacity: 0.22;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
align-items: center;
|
||||||
position: absolute;
|
.im {
|
||||||
bottom: 20px;
|
width: 14px;
|
||||||
|
height: 15px;
|
||||||
|
margin-left: 27px;
|
||||||
|
}
|
||||||
|
.xu {
|
||||||
|
height: 100%;
|
||||||
|
line-height: 50px;
|
||||||
|
margin-left: 13px;
|
||||||
|
.yi {
|
||||||
|
color: #4f5156;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.zon {
|
||||||
|
color: #999ba3;
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: 34px;
|
||||||
|
}
|
||||||
|
.th {
|
||||||
|
color: #4ea6ff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.tableBox {
|
||||||
|
padding-bottom: 80px;
|
||||||
|
.classify {
|
||||||
|
margin-left: 10px !important;
|
||||||
|
padding-left: 9px !important;
|
||||||
|
}
|
||||||
|
.ant-checkbox-wrapper {
|
||||||
|
align-items: center;
|
||||||
|
margin-top: -2px;
|
||||||
|
}
|
||||||
|
.ant-table-selection-column {
|
||||||
|
padding: 0px !important;
|
||||||
|
padding-left: 60px !important;
|
||||||
|
}
|
||||||
|
.ant-table-thead > tr > th {
|
||||||
|
background-color: rgba(239, 244, 252, 1);
|
||||||
|
}
|
||||||
|
th.h {
|
||||||
|
background-color: #eff4fc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-table-tbody
|
||||||
|
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||||
|
> td {
|
||||||
|
background: #f6f9fd;
|
||||||
|
}
|
||||||
|
.pa {
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
// height: 20px;
|
||||||
|
// background-color: red;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -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>
|
||||||
@@ -69,21 +69,25 @@
|
|||||||
@expand="expandTable"
|
@expand="expandTable"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
showSizeChanger="true"
|
showSizeChanger="true"
|
||||||
showQuickJumper="true"
|
showQuickJumper="true"
|
||||||
hideOnSinglePage="true"
|
hideOnSinglePage="true"
|
||||||
:pageSize="pageSize"
|
:pageSize="pageSize"
|
||||||
:current="currentPage"
|
:current="currentPage"
|
||||||
:total="tableDataTotal"
|
:total="tableDataTotal"
|
||||||
class="pagination"
|
class="pagination"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<!-- 表格 -->
|
<!-- 表格 -->
|
||||||
<a-modal v-model:visible="out" :footer="null" :closable="false" style="margin-top: 250px">
|
<a-modal
|
||||||
|
v-model:visible="out"
|
||||||
|
:footer="null"
|
||||||
|
:closable="false"
|
||||||
|
style="margin-top: 250px"
|
||||||
|
>
|
||||||
<div class="out">
|
<div class="out">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
<img class="topimg" src="../../assets/images/courseManage/add1.png" />
|
<img class="topimg" src="../../assets/images/courseManage/add1.png" />
|
||||||
@@ -107,7 +111,8 @@
|
|||||||
<div class="in">
|
<div class="in">
|
||||||
<a-input
|
<a-input
|
||||||
v-model:value="value"
|
v-model:value="value"
|
||||||
show-count :maxlength="15"
|
show-count
|
||||||
|
:maxlength="15"
|
||||||
style="border-radius: 8px"
|
style="border-radius: 8px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -119,6 +124,53 @@
|
|||||||
</div>
|
</div>
|
||||||
</div></a-modal
|
</div></a-modal
|
||||||
>
|
>
|
||||||
|
<!--操作弹窗 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="delete_hs"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closableQR"
|
||||||
|
wrapClassName="DelModal"
|
||||||
|
style="margin-top: 400px"
|
||||||
|
@cancel="delete_exit"
|
||||||
|
>
|
||||||
|
<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" :style="{ display: del_hs || over_hs ? 'block' : 'none' }"><img src="@/assets/images/coursewareManage/notice.png" alt=""></div>
|
||||||
|
<div class="del-icon" :style="{ display: copy_hs || back_hs || pub_hs ? 'block' : 'none' }"><img src="@/assets/images/coursewareManage/QR.png" alt=""></div>
|
||||||
|
<span>提示</span>
|
||||||
|
<div class="close_exit" @click="delete_exit"></div>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
<div :style="{ display: del_hs ? 'block' : 'none' }">
|
||||||
|
<span>您确定要删除此调研吗</span>
|
||||||
|
</div>
|
||||||
|
<div :style="{ display: over_hs ? 'block' : 'none' }">
|
||||||
|
<span>您确定要结束此调研吗</span>
|
||||||
|
</div>
|
||||||
|
<div :style="{ display: copy_hs ? 'block' : 'none' }">
|
||||||
|
<span>您确定要复制此调研吗</span>
|
||||||
|
</div>
|
||||||
|
<div :style="{ display: back_hs ? 'block' : 'none' }">
|
||||||
|
<span>您确定要撤回此调研吗</span>
|
||||||
|
</div>
|
||||||
|
<div :style="{ display: pub_hs ? 'block' : 'none' }">
|
||||||
|
<span>您确定要发布此调研吗</span>
|
||||||
|
</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>
|
||||||
|
<!--操作弹窗 -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -149,6 +201,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,
|
||||||
@@ -202,6 +271,12 @@ export default {
|
|||||||
valueE: ref(" "),
|
valueE: ref(" "),
|
||||||
valueEE: ref(" "),
|
valueEE: ref(" "),
|
||||||
valuei: ref(" "),
|
valuei: ref(" "),
|
||||||
|
delete_hs: false,
|
||||||
|
del_hs: false,
|
||||||
|
over_hs: false,
|
||||||
|
copy_hs: false,
|
||||||
|
back_hs: false,
|
||||||
|
pub_hs: false,
|
||||||
});
|
});
|
||||||
const tableDataFunc = () => {
|
const tableDataFunc = () => {
|
||||||
const columns = [
|
const columns = [
|
||||||
@@ -269,7 +344,6 @@ export default {
|
|||||||
key: "opacation",
|
key: "opacation",
|
||||||
width: 200,
|
width: 200,
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
return columns;
|
return columns;
|
||||||
@@ -282,38 +356,74 @@ export default {
|
|||||||
//单层项目
|
//单层项目
|
||||||
value.opacation = (
|
value.opacation = (
|
||||||
<div class="operation">
|
<div class="operation">
|
||||||
|
{value.state === "已发布" ? (
|
||||||
{value.state === "已发布" ? (
|
<div class="fb">
|
||||||
<div class="fb">
|
<router-link to="/managepage" class="jc">
|
||||||
<router-link to="/managepage" class="jc">管理</router-link>
|
管理
|
||||||
<div class="jc">复制</div>
|
</router-link>
|
||||||
<div class="jc">撤回</div>
|
<div class="jc"
|
||||||
<div class="jc">结束</div>
|
onClick={()=>{
|
||||||
</div>
|
state.delete_hs = true;
|
||||||
) : (
|
state.copy_hs = true;
|
||||||
<div></div>
|
}}>复制</div>
|
||||||
)}
|
<div class="jc"
|
||||||
{value.state === "待发布" ? (
|
onClick={()=>{
|
||||||
<div class="fb">
|
state.delete_hs = true;
|
||||||
<router-link to="/researchadd" class="jc">基础信息</router-link>
|
state.back_hs = true;
|
||||||
<router-link to="/managepage" class="jc">管理</router-link>
|
}}>撤回</div>
|
||||||
<div class="jc">复制</div>
|
<div class="jc"
|
||||||
<div class="jc">编辑</div>
|
onClick={()=>{
|
||||||
<div class="jc">删除</div>
|
state.delete_hs = true;
|
||||||
</div>
|
state.over_hs = true;
|
||||||
) : (
|
}}>结束</div>
|
||||||
<div></div>
|
</div>
|
||||||
)}
|
) : (
|
||||||
{value.state === "已结束" ? (
|
<div></div>
|
||||||
<div class="fb">
|
)}
|
||||||
<div class="jc">复制</div>
|
{value.state === "待发布" ? (
|
||||||
<div class="jc">删除</div>
|
<div class="fb">
|
||||||
|
<router-link to="/researchadd" class="jc">
|
||||||
</div>
|
基础信息
|
||||||
) : (
|
</router-link>
|
||||||
<div></div>
|
<router-link to="/managepage" class="jc">
|
||||||
)}
|
管理
|
||||||
|
</router-link>
|
||||||
|
<div class="jc"
|
||||||
|
onClick={()=>{
|
||||||
|
state.delete_hs = true;
|
||||||
|
state.pub_hs = true;
|
||||||
|
}}>发布</div>
|
||||||
|
<div class="jc"
|
||||||
|
onClick={()=>{
|
||||||
|
state.delete_hs = true;
|
||||||
|
state.copy_hs = true;
|
||||||
|
}}>复制</div>
|
||||||
|
<div class="jc">编辑</div>
|
||||||
|
<div class="jc"
|
||||||
|
onClick={()=>{
|
||||||
|
state.delete_hs = true;
|
||||||
|
state.del_hs = true;
|
||||||
|
}}>删除</div>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<div></div>
|
||||||
|
)}
|
||||||
|
{value.state === "已结束" ? (
|
||||||
|
<div class="fb">
|
||||||
|
<div class="jc"
|
||||||
|
onClick={()=>{
|
||||||
|
state.delete_hs = true;
|
||||||
|
state.copy_hs = true;
|
||||||
|
}}>复制</div>
|
||||||
|
<div class="jc"
|
||||||
|
onClick={()=>{
|
||||||
|
state.delete_hs = true;
|
||||||
|
state.del_hs = true;
|
||||||
|
}}>删除</div>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<div></div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -327,6 +437,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);
|
||||||
@@ -337,14 +450,24 @@ export default {
|
|||||||
const chooseImg = (id) => {
|
const chooseImg = (id) => {
|
||||||
console.log(id);
|
console.log(id);
|
||||||
};
|
};
|
||||||
|
const delete_exit = () => {
|
||||||
|
state.delete_hs = false;
|
||||||
|
state.del_hs = false;
|
||||||
|
state.over_hs = false;
|
||||||
|
state.copy_hs = false;
|
||||||
|
state.back_hs = false;
|
||||||
|
state.pub_hs = false;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
|
selectProjectState,
|
||||||
expandTable,
|
expandTable,
|
||||||
handleOut,
|
handleOut,
|
||||||
tableDataFunc,
|
tableDataFunc,
|
||||||
chooseImg,
|
chooseImg,
|
||||||
getTableDate,
|
getTableDate,
|
||||||
|
delete_exit,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -357,108 +480,108 @@ export default {
|
|||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
.out {
|
.out {
|
||||||
//display: flex;
|
//display: flex;
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 120px;
|
top: 120px;
|
||||||
width: 680px;
|
width: 680px;
|
||||||
// height: 525px;
|
// height: 525px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
box-shadow: 0 0 10px rgba(118, 136, 166, 0.21);
|
box-shadow: 0 0 10px rgba(118, 136, 166, 0.21);
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 20%;
|
top: 20%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
.top {
|
.top {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 68px;
|
height: 68px;
|
||||||
|
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
rgba(78, 166, 255, 0.2) 0%,
|
rgba(78, 166, 255, 0.2) 0%,
|
||||||
rgba(78, 166, 255, 0) 100%
|
rgba(78, 166, 255, 0) 100%
|
||||||
);
|
);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.topimg {
|
.topimg {
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
margin-left: 27px;
|
margin-left: 27px;
|
||||||
}
|
|
||||||
.topc {
|
|
||||||
color: #000000;
|
|
||||||
font-size: 16px;
|
|
||||||
margin-left: 8px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.mid {
|
.topc {
|
||||||
width: 100%;
|
color: #000000;
|
||||||
height: 100%;
|
font-size: 16px;
|
||||||
background-color: #fff;
|
margin-left: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mid {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: #fff;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
.d {
|
||||||
|
// margin-top: 8px;
|
||||||
|
// color: #ff4e4e;
|
||||||
|
margin-left: -5px;
|
||||||
|
}
|
||||||
|
.name {
|
||||||
|
width: 78%;
|
||||||
|
// background-color: lightcoral;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
margin-top: 20px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
.d {
|
height: 40px;
|
||||||
// margin-top: 8px;
|
// border: 1px solid black;
|
||||||
// color: #ff4e4e;
|
|
||||||
margin-left: -5px;
|
|
||||||
}
|
|
||||||
.name {
|
|
||||||
width: 78%;
|
|
||||||
// background-color: lightcoral;
|
|
||||||
display: flex;
|
|
||||||
margin-top: 20px;
|
|
||||||
align-items: center;
|
|
||||||
height: 40px;
|
|
||||||
// border: 1px solid black;
|
|
||||||
|
|
||||||
.inname {
|
.inname {
|
||||||
color: #6f6f6f;
|
color: #6f6f6f;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
|
}
|
||||||
|
.in {
|
||||||
|
margin-left: 14px;
|
||||||
|
width: 81%;
|
||||||
|
.ant-input {
|
||||||
|
border-radius: 5px;
|
||||||
|
// height: 120%;
|
||||||
|
width: 100%;
|
||||||
|
height: 30px;
|
||||||
}
|
}
|
||||||
.in {
|
.showcount {
|
||||||
margin-left: 14px;
|
|
||||||
width: 81%;
|
|
||||||
.ant-input {
|
|
||||||
border-radius: 5px;
|
|
||||||
// height: 120%;
|
|
||||||
width: 100%;
|
|
||||||
height: 30px;
|
|
||||||
}
|
|
||||||
.showcount {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
color: #c7cbd2;
|
color: #c7cbd2;
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.btn {
|
}
|
||||||
width: 33%;
|
.btn {
|
||||||
margin-top: 30px;
|
width: 33%;
|
||||||
display: flex;
|
margin-top: 30px;
|
||||||
justify-content: space-between;
|
display: flex;
|
||||||
margin-bottom: 30px;
|
justify-content: space-between;
|
||||||
.samtn {
|
margin-bottom: 30px;
|
||||||
width: 100px;
|
.samtn {
|
||||||
height: 40px;
|
width: 100px;
|
||||||
font-size: 14px;
|
height: 40px;
|
||||||
border: 1px solid #409EFF;
|
font-size: 14px;
|
||||||
border-radius: 8px;
|
border: 1px solid #409eff;
|
||||||
cursor: pointer;
|
border-radius: 8px;
|
||||||
}
|
cursor: pointer;
|
||||||
.btn1 {
|
}
|
||||||
background-color: #fff;
|
.btn1 {
|
||||||
color: #4ea6ff;
|
background-color: #fff;
|
||||||
}
|
color: #4ea6ff;
|
||||||
.btn2 {
|
}
|
||||||
margin-left: 10px;
|
.btn2 {
|
||||||
background-color: #409EFF;
|
margin-left: 10px;
|
||||||
color: #fff;
|
background-color: #409eff;
|
||||||
}
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.researchmanage {
|
.researchmanage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -560,7 +683,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tableBox {
|
.tableBox {
|
||||||
margin: 20px 38px 30px ;
|
margin: 20px 38px 30px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
//position: relative;
|
//position: relative;
|
||||||
@@ -575,38 +698,142 @@ export default {
|
|||||||
> td {
|
> td {
|
||||||
background: #f6f9fd;
|
background: #f6f9fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.pa {
|
.pa {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
// height: 20px;
|
// height: 20px;
|
||||||
// background-color: red;
|
// background-color: red;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
//position: absolute;
|
//position: absolute;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
.pagination {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
.pagination {
|
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.unout {
|
.unout {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.operation {
|
.operation {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: right;
|
justify-content: right;
|
||||||
.fb {
|
.fb {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
.jc {
|
.jc {
|
||||||
color: #4ea6ff;
|
color: #4ea6ff;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
|
white-space: nowrap;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.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 {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-right: 10px;
|
||||||
|
// background-image: url(@/assets/images/coursewareManage/notice.png);
|
||||||
|
img{
|
||||||
|
background-size: 100% 100%;
|
||||||
|
width: 16px;
|
||||||
|
height: 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;
|
||||||
|
}
|
||||||
|
.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>
|
||||||
|
|||||||
Reference in New Issue
Block a user