feat:新增学习路径管理权 查看权 修改添加学员类各抽屉样式 新增学员查看,说明
BIN
src/assets/images/navtop/download.png
Normal file
|
After Width: | Height: | Size: 469 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 733 B |
BIN
src/assets/images/taskpage/QR.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
src/assets/images/taskpage/copper.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
src/assets/images/taskpage/erweima.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
src/assets/images/taskpage/gold.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
src/assets/images/taskpage/group.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
src/assets/images/taskpage/group0.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/assets/images/taskpage/pub0.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
src/assets/images/taskpage/siler.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
src/assets/images/taskpage/stu.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
src/assets/images/taskpage/stu0.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
@@ -33,23 +33,37 @@
|
|||||||
/>
|
/>
|
||||||
<div>李玉冰</div>
|
<div>李玉冰</div>
|
||||||
</div>
|
</div>
|
||||||
<img
|
<div
|
||||||
style="
|
class="signOutMain"
|
||||||
width: 27px;
|
style="margin: 0px 33px 0px 35px"
|
||||||
height: 26px;
|
@click="showDrawer"
|
||||||
margin: 27px 29px 0px 31px;
|
>
|
||||||
cursor: pointer;
|
<img
|
||||||
"
|
style="width: 22px; height: 22px"
|
||||||
src="../assets/images/navtop/signout.png"
|
src="../assets/images/navtop/download.png"
|
||||||
/>
|
/>
|
||||||
|
<span class="signOut">下载</span>
|
||||||
|
</div>
|
||||||
|
<div class="signOutMain">
|
||||||
|
<img
|
||||||
|
style="width: 27px; height: 27px"
|
||||||
|
src="../assets/images/navtop/signout.png"
|
||||||
|
/>
|
||||||
|
<span class="signOut">退出</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<down-load v-model:downloadVisible="visible" />
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs } from "vue";
|
import { reactive, toRefs } from "vue";
|
||||||
|
import DownLoad from "../components/drawers/DownLoad";
|
||||||
export default {
|
export default {
|
||||||
name: "NavTop",
|
name: "NavTop",
|
||||||
|
components: {
|
||||||
|
DownLoad,
|
||||||
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
selectRole: "管理员",
|
selectRole: "管理员",
|
||||||
@@ -63,6 +77,8 @@ export default {
|
|||||||
name: "学员",
|
name: "学员",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
|
visible: false,
|
||||||
});
|
});
|
||||||
const changeRole = (value) => {
|
const changeRole = (value) => {
|
||||||
state.roleList.map((item) => {
|
state.roleList.map((item) => {
|
||||||
@@ -71,9 +87,14 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
const showDrawer = () => {
|
||||||
|
state.visible = true;
|
||||||
|
console.log("点击下载", state.visible);
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
changeRole,
|
changeRole,
|
||||||
|
showDrawer,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -148,6 +169,19 @@ export default {
|
|||||||
color: #b3bdc4;
|
color: #b3bdc4;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
}
|
}
|
||||||
|
.signOutMain {
|
||||||
|
cursor: pointer;
|
||||||
|
margin-right: 29px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.signOut {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #242424;
|
||||||
|
line-height: 22px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -52,26 +52,19 @@
|
|||||||
:columns="columns1"
|
:columns="columns1"
|
||||||
:data-source="tableData1"
|
:data-source="tableData1"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
:pagination="{
|
:pagination="false"
|
||||||
showSizeChanger: true,
|
|
||||||
showQuickJumper: true,
|
|
||||||
hideOnSinglePage: true,
|
|
||||||
pageSizeOptions: [],
|
|
||||||
pageSize: pageSize,
|
|
||||||
current: currentPage,
|
|
||||||
total: tableDataTotal,
|
|
||||||
onChange: (page, pageSize) => {
|
|
||||||
currentPage = page;
|
|
||||||
// console.log('page', page)
|
|
||||||
// 加翻页查找代码
|
|
||||||
// this.setState({
|
|
||||||
// currentPage: page,
|
|
||||||
// }, () => {
|
|
||||||
// this.getMilitaryDeployment()
|
|
||||||
// })
|
|
||||||
},
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
|
<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 class="main_btns">
|
<div class="main_btns">
|
||||||
@@ -316,6 +309,44 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.main_table {
|
||||||
|
position: relative;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.main_btns {
|
.main_btns {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
:visible="AddSvisible"
|
:visible="AddSvisible"
|
||||||
class="drawerStyle AddLevelAddStu"
|
class="drawerStyle AddLevelAddStu"
|
||||||
placement="right"
|
placement="right"
|
||||||
width="60%"
|
width="70%"
|
||||||
@after-visible-change="afterVisibleChange"
|
@after-visible-change="afterVisibleChange"
|
||||||
>
|
>
|
||||||
<div class="drawerMain">
|
<div class="drawerMain">
|
||||||
@@ -20,35 +20,39 @@
|
|||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
<a-tabs v-model:activeKey="activeKey">
|
<a-tabs v-model:activeKey="activeKey">
|
||||||
<a-tab-pane key="1" tab="快速选人">
|
<a-tab-pane key="1" tab="快速选人">
|
||||||
<div class="tab1">
|
<div
|
||||||
<div class="nameinp">
|
:style="{ height: screenHeight - 235 + 'px' }"
|
||||||
<div class="namee">姓名:</div>
|
style="overflow-y: auto"
|
||||||
<a-input
|
>
|
||||||
v-model:value="name"
|
<div class="tab1">
|
||||||
style="width: 270px; height: 40px; border-radius: 8px"
|
<div class="nameinp">
|
||||||
placeholder="请输入姓名"
|
<div class="namee">姓名:</div>
|
||||||
/>
|
<a-input
|
||||||
</div>
|
v-model:value="name"
|
||||||
<div class="btns">
|
style="width: 270px; height: 40px; border-radius: 8px"
|
||||||
<div class="btn1">
|
placeholder="请输入姓名"
|
||||||
<div class="img1">
|
/>
|
||||||
<img
|
|
||||||
src="../../assets/images/courseManage/search0.png"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div class="wz">搜索</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="btn2">
|
<div class="btns">
|
||||||
<div class="img2">
|
<div class="btn1">
|
||||||
<img
|
<div class="img1">
|
||||||
src="../../assets/images/courseManage/reset1.png"
|
<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="wz">重置</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>
|
||||||
@@ -61,90 +65,11 @@
|
|||||||
<div class="right1">清空</div>
|
<div class="right1">清空</div>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="tabb" style="margin-top: 16px">
|
|
||||||
<a-table
|
|
||||||
style="border: 1px solid #f2f6fe"
|
|
||||||
:columns="tablecolumns"
|
|
||||||
:data-source="tabledata"
|
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
|
||||||
expandRowByClick="true"
|
|
||||||
:scroll="{ x: 500, y: 560 }"
|
|
||||||
@expand="expandTable"
|
|
||||||
:pagination="false"
|
|
||||||
:row-selection="{
|
|
||||||
columnWidth: 30,
|
|
||||||
selectedRowKeys: selectedRowKeys,
|
|
||||||
onChange: onSelectChange,
|
|
||||||
}"
|
|
||||||
/>
|
|
||||||
<div class="pa">
|
|
||||||
<a-pagination
|
|
||||||
showSizeChanger="true"
|
|
||||||
showQuickJumper="true"
|
|
||||||
hideOnSinglePage="true"
|
|
||||||
:pageSize="pageSize"
|
|
||||||
:current="currentPage"
|
|
||||||
:total="tableDataTotal"
|
|
||||||
class="pagination"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a-tab-pane>
|
|
||||||
<a-tab-pane key="2" tab="添加组织" force-render>
|
|
||||||
<div class="tab2">
|
|
||||||
<div class="t1">
|
|
||||||
<div class="organize">选择组织:</div>
|
|
||||||
<div class="select">
|
|
||||||
<a-tree-select
|
|
||||||
v-model:value="valueSelect"
|
|
||||||
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 class="searchdown">
|
|
||||||
<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="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="tablecolumns"
|
||||||
:data-source="tabledata1"
|
:data-source="tabledata"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
expandRowByClick="true"
|
expandRowByClick="true"
|
||||||
:scroll="{ x: 500, y: 560 }"
|
:scroll="{ x: 500, y: 560 }"
|
||||||
@@ -152,8 +77,8 @@
|
|||||||
:pagination="false"
|
:pagination="false"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
columnWidth: 30,
|
columnWidth: 30,
|
||||||
selectedRowKeys: selectedRowKeys1,
|
selectedRowKeys: selectedRowKeys,
|
||||||
onChange: onSelectChange1,
|
onChange: onSelectChange,
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
<div class="pa">
|
<div class="pa">
|
||||||
@@ -161,54 +86,147 @@
|
|||||||
showSizeChanger="true"
|
showSizeChanger="true"
|
||||||
showQuickJumper="true"
|
showQuickJumper="true"
|
||||||
hideOnSinglePage="true"
|
hideOnSinglePage="true"
|
||||||
:pageSize="pageSize1"
|
:pageSize="pageSize"
|
||||||
:current="currentPage1"
|
:current="currentPage"
|
||||||
:total="tableDataTotal1"
|
:total="tableDataTotal"
|
||||||
class="pagination"
|
class="pagination"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="3" tab="受众关联">
|
<a-tab-pane key="2" tab="添加组织" force-render>
|
||||||
<div class="tab1">
|
<div
|
||||||
<div class="t1">
|
:style="{ height: screenHeight - 235 + 'px' }"
|
||||||
<div class="nameinp">
|
style="overflow-y: auto"
|
||||||
<div class="namee">选择受众:</div>
|
>
|
||||||
|
<div class="tab2">
|
||||||
|
<div class="t1">
|
||||||
|
<div class="organize">选择组织:</div>
|
||||||
<div class="select">
|
<div class="select">
|
||||||
<a-select
|
<a-tree-select
|
||||||
v-model:value="choosevalue"
|
v-model:value="valueSelect"
|
||||||
style="width: 200px; border-radius: 8px"
|
style="width: 200px"
|
||||||
|
dropdownClassName="changetreedropdown"
|
||||||
|
:dropdown-style="{
|
||||||
|
maxHeight: '400px',
|
||||||
|
overflow: 'auto',
|
||||||
|
}"
|
||||||
placeholder="请输入组织名称"
|
placeholder="请输入组织名称"
|
||||||
:options="organizeList1"
|
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 class="searchdown">
|
||||||
|
<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="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>
|
</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>
|
||||||
<div class="btns">
|
</a-tab-pane>
|
||||||
<div class="btn1">
|
<a-tab-pane key="3" tab="受众关联">
|
||||||
<div class="img1">
|
<div
|
||||||
<img src="../../assets/images/courseManage/search0.png" />
|
:style="{ height: screenHeight - 235 + 'px' }"
|
||||||
|
style="overflow-y: auto"
|
||||||
|
>
|
||||||
|
<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>
|
||||||
<div class="wz">搜索</div>
|
<div class="t1" style="margin-top: 10px">
|
||||||
</div>
|
<div class="organize">姓名:</div>
|
||||||
<div class="btn2">
|
<a-input
|
||||||
<div class="img2">
|
v-model:value="nameaddd"
|
||||||
<img src="../../assets/images/courseManage/reset1.png" />
|
style="width: 200px; height: 40px; border-radius: 8px"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="wz">重置</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="btns">
|
||||||
<!-- <div class="line">
|
<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>
|
||||||
@@ -221,32 +239,33 @@
|
|||||||
<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="tablecolumns2"
|
:columns="tablecolumns2"
|
||||||
:data-source="tabledata2"
|
:data-source="tabledata2"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
expandRowByClick="true"
|
expandRowByClick="true"
|
||||||
:scroll="{ x: 500, y: 560 }"
|
:scroll="{ x: 500, y: 560 }"
|
||||||
@expand="expandTable"
|
@expand="expandTable"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:row-selection="{
|
:row-selection="{
|
||||||
columnWidth: 30,
|
columnWidth: 30,
|
||||||
selectedRowKeys: selectedRowKeys2,
|
selectedRowKeys: selectedRowKeys2,
|
||||||
onChange: onSelectChange2,
|
onChange: onSelectChange2,
|
||||||
}"
|
}"
|
||||||
/>
|
|
||||||
<div class="pa">
|
|
||||||
<a-pagination
|
|
||||||
showSizeChanger="true"
|
|
||||||
showQuickJumper="true"
|
|
||||||
hideOnSinglePage="true"
|
|
||||||
:pageSize="pageSize2"
|
|
||||||
:current="currentPage2"
|
|
||||||
:total="tableDataTotal2"
|
|
||||||
class="pagination"
|
|
||||||
/>
|
/>
|
||||||
|
<div class="pa">
|
||||||
|
<a-pagination
|
||||||
|
showSizeChanger="true"
|
||||||
|
showQuickJumper="true"
|
||||||
|
hideOnSinglePage="true"
|
||||||
|
:pageSize="pageSize2"
|
||||||
|
:current="currentPage2"
|
||||||
|
:total="tableDataTotal2"
|
||||||
|
class="pagination"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
@@ -265,7 +284,179 @@
|
|||||||
<span class="allclear">全部清除</span>
|
<span class="allclear">全部清除</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="selecteds">
|
<div
|
||||||
|
class="selecteds"
|
||||||
|
:style="{ 'max-height': screenHeight - 235 + 'px' }"
|
||||||
|
style="overflow-y: auto"
|
||||||
|
>
|
||||||
|
<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="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="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>
|
||||||
@@ -302,7 +493,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { reactive, toRefs } from "vue";
|
import { reactive, toRefs, onMounted, onUnmounted } from "vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "AddStu",
|
name: "AddStu",
|
||||||
props: {
|
props: {
|
||||||
@@ -313,6 +505,7 @@ export default {
|
|||||||
},
|
},
|
||||||
setup(props, ctx) {
|
setup(props, ctx) {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
|
screenHeight: document.body.clientHeight, // 屏幕高度
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
tableDataTotal: 50,
|
tableDataTotal: 50,
|
||||||
@@ -394,6 +587,73 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "十二级标题",
|
title: "十二级标题",
|
||||||
value: "十二级标题",
|
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:
|
||||||
|
"二十级标题二十级标题",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -761,6 +1021,18 @@ export default {
|
|||||||
state.selectedRowKeys = selectedRowKeys;
|
state.selectedRowKeys = selectedRowKeys;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const getMousePosition = () => {
|
||||||
|
state.screenHeight = document.body.clientHeight;
|
||||||
|
};
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
// console.log("11111", 1);
|
||||||
|
window.addEventListener("resize", getMousePosition, false);
|
||||||
|
// judgeUrl();
|
||||||
|
});
|
||||||
|
onUnmounted(() => {
|
||||||
|
window.removeEventListener("resize", getMousePosition, false);
|
||||||
|
});
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
afterVisibleChange,
|
afterVisibleChange,
|
||||||
@@ -779,7 +1051,7 @@ export default {
|
|||||||
.drawerMain {
|
.drawerMain {
|
||||||
min-width: 600px;
|
min-width: 600px;
|
||||||
margin: 0px 32px 0px 32px;
|
margin: 0px 32px 0px 32px;
|
||||||
|
// overflow-y: scroll;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
@@ -804,7 +1076,6 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
// height: 80%;
|
// height: 80%;
|
||||||
margin-bottom: 72px;
|
margin-bottom: 72px;
|
||||||
overflow-y: scroll;
|
|
||||||
.left {
|
.left {
|
||||||
// overflow-y: auto;
|
// overflow-y: auto;
|
||||||
width: 65%;
|
width: 65%;
|
||||||
@@ -812,6 +1083,7 @@ export default {
|
|||||||
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;
|
||||||
|
|
||||||
.tab1 {
|
.tab1 {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -1207,13 +1479,15 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.changetreedropdown {
|
.changetreedropdown {
|
||||||
width: 550px !important;
|
width: 500px !important;
|
||||||
}
|
.ant-select-tree-list-scrollbar {
|
||||||
|
width: 5px !important;
|
||||||
.ant-select-tree-list-scrollbar {
|
.ant-select-tree-list-scrollbar-thumb {
|
||||||
width: 5px !important;
|
background-color: #4ea6ff !important;
|
||||||
.ant-select-tree-list-scrollbar-thumb {
|
}
|
||||||
background-color: #4ea6ff !important;
|
}
|
||||||
|
.ant-select-tree-indent-unit {
|
||||||
|
width: 7px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -78,26 +78,20 @@
|
|||||||
:columns="columns1"
|
:columns="columns1"
|
||||||
:data-source="tableData1"
|
:data-source="tableData1"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
:pagination="{
|
this.getMilitaryDeployment()
|
||||||
showSizeChanger: true,
|
:pagination="false"
|
||||||
showQuickJumper: true,
|
|
||||||
hideOnSinglePage: true,
|
|
||||||
pageSizeOptions: [],
|
|
||||||
pageSize: pageSize,
|
|
||||||
current: currentPage,
|
|
||||||
total: tableDataTotal,
|
|
||||||
onChange: (page, pageSize) => {
|
|
||||||
currentPage = page;
|
|
||||||
// console.log('page', page)
|
|
||||||
// 加翻页查找代码
|
|
||||||
// this.setState({
|
|
||||||
// currentPage: page,
|
|
||||||
// }, () => {
|
|
||||||
// this.getMilitaryDeployment()
|
|
||||||
// })
|
|
||||||
},
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
|
<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 class="main_btns">
|
<div class="main_btns">
|
||||||
@@ -417,6 +411,44 @@ export default {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.main_table {
|
||||||
|
position: relative;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.main_btns {
|
.main_btns {
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss" >
|
<style lang="scss" >
|
||||||
.changegroup {
|
.changegroup {
|
||||||
|
|
||||||
.drawerMain {
|
.drawerMain {
|
||||||
|
|||||||
406
src/components/drawers/CheckStu.vue
Normal file
@@ -0,0 +1,406 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="CheckStuvisible"
|
||||||
|
class="drawerStyle CheckStu"
|
||||||
|
placement="right"
|
||||||
|
width="70%"
|
||||||
|
@after-visible-change="afterVisibleChange"
|
||||||
|
>
|
||||||
|
<div class="drawerMain">
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTitle">查看</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
@click="closeDrawer"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="main">
|
||||||
|
<div class="stuinfor">
|
||||||
|
<div class="portrait">
|
||||||
|
<img src="../../assets/images/studentimg/character.png" />
|
||||||
|
</div>
|
||||||
|
<div class="stumation">
|
||||||
|
<div class="stuname">王明</div>
|
||||||
|
<div class="stugangw">产研部门 - 产品经理</div>
|
||||||
|
</div>
|
||||||
|
<div class="sortbox">
|
||||||
|
<div class="sortname">进度排名</div>
|
||||||
|
<div class="sortnub">
|
||||||
|
<span class="nub1">2</span>
|
||||||
|
<span class="total">/10</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a-divider
|
||||||
|
type="vertical"
|
||||||
|
style="
|
||||||
|
height: 49px;
|
||||||
|
margin-left: 34px;
|
||||||
|
background-color: rgba(170, 166, 166, 0.3);
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
<div class="sortbox" style="margin-left: 34px">
|
||||||
|
<div class="sortname">完成必修</div>
|
||||||
|
<div class="sortnub">
|
||||||
|
<span class="nub1">3</span>
|
||||||
|
<span class="total">/10</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a-divider
|
||||||
|
type="vertical"
|
||||||
|
style="
|
||||||
|
height: 49px;
|
||||||
|
margin-left: 34px;
|
||||||
|
background-color: rgba(170, 166, 166, 0.3);
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
<div class="sortbox" style="margin-left: 34px">
|
||||||
|
<div class="sortname">已修证书</div>
|
||||||
|
<div class="sortnub">
|
||||||
|
<span class="nub1">1</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="secondrow">
|
||||||
|
<div class="rowleft">产品经理管理 - 腾飞班1</div>
|
||||||
|
<div class="rowbox" @click="showProMess">
|
||||||
|
<div class="shuom">说明</div>
|
||||||
|
<div><img src="../../assets/images/studentimg/chak.png" /></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mainbox">
|
||||||
|
<div class="rowtitle" @click="changeDown">
|
||||||
|
<div class="titleimg">
|
||||||
|
<img
|
||||||
|
:src="
|
||||||
|
showDown
|
||||||
|
? require('../../assets/images/studentimg/open.png')
|
||||||
|
: require('../../assets/images/studentimg/close.png')
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="titletext">阶段1 腾飞班阶段1</div>
|
||||||
|
</div>
|
||||||
|
<div :style="{ display: showDown ? 'block' : 'none' }">
|
||||||
|
<div class="rowclass">
|
||||||
|
<div class="leftclass">
|
||||||
|
<div><img src="../../assets/images/leveladd/zai.png" /></div>
|
||||||
|
<div class="text1">在线</div>
|
||||||
|
<div class="text2">如何成为一个产品经理</div>
|
||||||
|
</div>
|
||||||
|
<div class="alreadyclass">
|
||||||
|
<div class="alimg">
|
||||||
|
<img src="../../assets/images/studentimg/complete.png" />
|
||||||
|
</div>
|
||||||
|
<div class="altext">已完成</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="rowclass">
|
||||||
|
<div class="leftclass">
|
||||||
|
<div><img src="../../assets/images/leveladd/zhi.png" /></div>
|
||||||
|
<div class="text1">直播</div>
|
||||||
|
<div class="text2">管理者播课</div>
|
||||||
|
</div>
|
||||||
|
<div class="alreadyclass">
|
||||||
|
<div class="alimg">
|
||||||
|
<img src="../../assets/images/studentimg/complete.png" />
|
||||||
|
</div>
|
||||||
|
<div class="altext">已完成</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="rowclass">
|
||||||
|
<div class="leftclass">
|
||||||
|
<div><img src="../../assets/images/leveladd/mian.png" /></div>
|
||||||
|
<div class="text1">面授</div>
|
||||||
|
<div class="text2">管理面授课</div>
|
||||||
|
</div>
|
||||||
|
<div class="alreadyclass">
|
||||||
|
<div class="alimg">
|
||||||
|
<img src="../../assets/images/studentimg/notice.png" />
|
||||||
|
</div>
|
||||||
|
<div class="altext">未完成</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="rowclass">
|
||||||
|
<div class="leftclass">
|
||||||
|
<div><img src="../../assets/images/leveladd/huo.png" /></div>
|
||||||
|
<div class="text1">活动</div>
|
||||||
|
<div class="text2">管理者活动</div>
|
||||||
|
</div>
|
||||||
|
<div class="alreadyclass">
|
||||||
|
<div class="alimg">
|
||||||
|
<img src="../../assets/images/studentimg/notice.png" />
|
||||||
|
</div>
|
||||||
|
<div class="altext">未完成</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="rowclass">
|
||||||
|
<div class="leftclass">
|
||||||
|
<div><img src="../../assets/images/leveladd/zuo.png" /></div>
|
||||||
|
<div class="text1">作业</div>
|
||||||
|
<div class="text2">管理者作业</div>
|
||||||
|
</div>
|
||||||
|
<div class="alreadyclass">
|
||||||
|
<div class="alimg">
|
||||||
|
<img src="../../assets/images/studentimg/notice.png" />
|
||||||
|
</div>
|
||||||
|
<div class="altext">未完成</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="mainbox" style="margin-top: 15px; height: 56px">
|
||||||
|
<div class="rowtitle">
|
||||||
|
<div class="titleimg">
|
||||||
|
<img src="../../assets/images/studentimg/close.png" />
|
||||||
|
</div>
|
||||||
|
<div class="titletext">阶段2 腾飞班阶段2</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btnn">
|
||||||
|
<button class="btn2">关闭</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
<check-stu-mess v-model:StuMessvisible="StuMessvisible" />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { reactive, toRefs } from "vue";
|
||||||
|
import CheckStuMess from "./CheckStuMess.vue";
|
||||||
|
export default {
|
||||||
|
name: "CheckStu",
|
||||||
|
components: { CheckStuMess },
|
||||||
|
props: {
|
||||||
|
CheckStuvisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({
|
||||||
|
StuMessvisible: false,
|
||||||
|
showDown: false,
|
||||||
|
});
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:CheckStuvisible", false);
|
||||||
|
};
|
||||||
|
|
||||||
|
const showProMess = () => {
|
||||||
|
state.StuMessvisible = true;
|
||||||
|
};
|
||||||
|
const afterVisibleChange = (bool) => {
|
||||||
|
console.log("state", bool);
|
||||||
|
};
|
||||||
|
const changeDown = () => {
|
||||||
|
state.showDown = !state.showDown;
|
||||||
|
};
|
||||||
|
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
afterVisibleChange,
|
||||||
|
closeDrawer,
|
||||||
|
showProMess,
|
||||||
|
changeDown,
|
||||||
|
// change,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" >
|
||||||
|
.CheckStu {
|
||||||
|
.ant-drawer-content-wrapper {
|
||||||
|
// max-width: 1000px;
|
||||||
|
.ant-drawer-header {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.ant-drawer-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.drawerMain {
|
||||||
|
min-width: 600px;
|
||||||
|
margin: 0px 32px 0px 32px;
|
||||||
|
overflow-x: scroll;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
// background-color: red;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
// margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding-bottom: 80px;
|
||||||
|
.stuinfor {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
height: 133px;
|
||||||
|
margin-top: 20px;
|
||||||
|
margin-right: 37px;
|
||||||
|
background-image: url("../../assets/images/studentimg/bgimg.png");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: right;
|
||||||
|
.stumation {
|
||||||
|
margin-left: 24px;
|
||||||
|
.stuname {
|
||||||
|
color: #333333;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.stugangw {
|
||||||
|
color: #999999;
|
||||||
|
font-size: 16px;
|
||||||
|
margin-top: 7px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.sortbox {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: 114px;
|
||||||
|
.sortname {
|
||||||
|
color: #666660;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.sortnub {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 7px;
|
||||||
|
.nub1 {
|
||||||
|
color: #0060ff;
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
.total {
|
||||||
|
color: #999999;
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.secondrow {
|
||||||
|
margin-top: 32px;
|
||||||
|
display: flex;
|
||||||
|
.rowleft {
|
||||||
|
color: rgba(51, 51, 51, 1);
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
.rowbox {
|
||||||
|
width: 64px;
|
||||||
|
height: 24px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
margin-left: 24px;
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
background: rgba(64, 158, 255, 0.1);
|
||||||
|
cursor: pointer;
|
||||||
|
.shuom {
|
||||||
|
color: rgba(64, 158, 255, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 20px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.mainbox {
|
||||||
|
// height: 463px;
|
||||||
|
margin-right: 37px;
|
||||||
|
margin-top: 32px;
|
||||||
|
border: 1px solid rgba(221, 238, 255, 1);
|
||||||
|
border-radius: 6px;
|
||||||
|
.rowtitle {
|
||||||
|
height: 56px;
|
||||||
|
background: rgba(240, 246, 252, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.titleimg {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
margin-left: 23px;
|
||||||
|
}
|
||||||
|
.titletext {
|
||||||
|
color: rgba(51, 51, 51, 1);
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.rowclass {
|
||||||
|
height: 81px;
|
||||||
|
border-bottom: 1px solid rgba(221, 238, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
.leftclass {
|
||||||
|
display: flex;
|
||||||
|
margin-left: 25px;
|
||||||
|
align-items: center;
|
||||||
|
.text1 {
|
||||||
|
color: #000000;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-left: 25px;
|
||||||
|
}
|
||||||
|
.text2 {
|
||||||
|
color: rgba(51, 51, 51, 0.8);
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: 65px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.alreadyclass {
|
||||||
|
display: flex;
|
||||||
|
margin-right: 57px;
|
||||||
|
.alimg {
|
||||||
|
height: 16px;
|
||||||
|
width: 16px;
|
||||||
|
}
|
||||||
|
.altext {
|
||||||
|
color: rgba(56, 125, 247, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btnn {
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
background-color: #fff;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
141
src/components/drawers/CheckStuMess.vue
Normal file
@@ -0,0 +1,141 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="StuMessvisible"
|
||||||
|
class="drawerStyle StuMess"
|
||||||
|
placement="right"
|
||||||
|
width="50%"
|
||||||
|
@after-visible-change="afterVisibleChange"
|
||||||
|
>
|
||||||
|
<div class="drawerMain">
|
||||||
|
<div class="header">
|
||||||
|
<div class="headerTitle">任务信息</div>
|
||||||
|
<img
|
||||||
|
style="width: 29px; height: 29px; cursor: pointer"
|
||||||
|
src="../../assets/images/basicinfo/close.png"
|
||||||
|
@click="closeDrawer"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="main">
|
||||||
|
<div class="one">
|
||||||
|
<span class="left">班级名称:</span>
|
||||||
|
<span class="right">产品经理管理-腾飞班1</span>
|
||||||
|
</div>
|
||||||
|
<div class="one second">
|
||||||
|
<span class="left">说明:</span>
|
||||||
|
<span class="right"
|
||||||
|
>班级说明,此班级为产品经理班级,其他岗位不要进入请大家按照规定时间进行任务学习</span
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="btnn">
|
||||||
|
<button class="btn2">关闭</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { reactive, toRefs } from "vue";
|
||||||
|
export default {
|
||||||
|
name: "CheckStuMess",
|
||||||
|
props: {
|
||||||
|
StuMessvisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
setup(props, ctx) {
|
||||||
|
const state = reactive({});
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:StuMessvisible", false);
|
||||||
|
};
|
||||||
|
|
||||||
|
const afterVisibleChange = (bool) => {
|
||||||
|
console.log("state", bool);
|
||||||
|
};
|
||||||
|
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
afterVisibleChange,
|
||||||
|
closeDrawer,
|
||||||
|
// change,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss" >
|
||||||
|
.StuMess {
|
||||||
|
.ant-drawer-content-wrapper {
|
||||||
|
// max-width: 1000px;
|
||||||
|
.ant-drawer-header {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.ant-drawer-body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.drawerMain {
|
||||||
|
min-width: 600px;
|
||||||
|
margin: 0px 32px 0px 32px;
|
||||||
|
overflow-x: scroll;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
// background-color: red;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
// margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.main {
|
||||||
|
.one {
|
||||||
|
margin-top: 38px;
|
||||||
|
margin-left: 53px;
|
||||||
|
.left {
|
||||||
|
color: rgba(51, 51, 51, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.right {
|
||||||
|
color: rgba(102, 102, 102, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
margin-left: 12px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.second {
|
||||||
|
margin-left: 81px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btnn {
|
||||||
|
height: 72px;
|
||||||
|
width: 100%;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.16);
|
||||||
|
.btn2 {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
background: #4ea6ff;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 0;
|
||||||
|
margin-left: 15px;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -51,25 +51,7 @@
|
|||||||
:columns="columns1"
|
:columns="columns1"
|
||||||
:data-source="tableData1"
|
:data-source="tableData1"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
:pagination="{
|
:pagination="false"
|
||||||
showSizeChanger: true,
|
|
||||||
showQuickJumper: true,
|
|
||||||
hideOnSinglePage: true,
|
|
||||||
pageSizeOptions: [],
|
|
||||||
pageSize: pageSize,
|
|
||||||
current: currentPage,
|
|
||||||
total: tableDataTotal,
|
|
||||||
onChange: (page, pageSize) => {
|
|
||||||
currentPage = page;
|
|
||||||
// console.log('page', page)
|
|
||||||
// 加翻页查找代码
|
|
||||||
// this.setState({
|
|
||||||
// currentPage: page,
|
|
||||||
// }, () => {
|
|
||||||
// this.getMilitaryDeployment()
|
|
||||||
// })
|
|
||||||
},
|
|
||||||
}"
|
|
||||||
>
|
>
|
||||||
<template #bodyCell="{ column }">
|
<template #bodyCell="{ column }">
|
||||||
<template v-if="column.key === 'opacation'">
|
<template v-if="column.key === 'opacation'">
|
||||||
@@ -77,6 +59,17 @@
|
|||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
|
<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 class="main_btns">
|
<div class="main_btns">
|
||||||
@@ -316,6 +309,44 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.main_table {
|
||||||
|
position: relative;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.main_btns {
|
.main_btns {
|
||||||
|
|||||||
71
src/components/drawers/DownLoad.vue
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<template>
|
||||||
|
<a-drawer
|
||||||
|
:visible="downloadVisible"
|
||||||
|
class="drawerStyle downloadDrawer"
|
||||||
|
placement="right"
|
||||||
|
width="80%"
|
||||||
|
@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>
|
||||||
|
</div>
|
||||||
|
</a-drawer>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { toRefs, reactive } from "vue";
|
||||||
|
export default {
|
||||||
|
name: "DownLoad",
|
||||||
|
props: {
|
||||||
|
downloadVisible: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
setup(props, ctx) {
|
||||||
|
console.log("props", props.downloadVisible);
|
||||||
|
const state = reactive({});
|
||||||
|
|
||||||
|
const closeDrawer = () => {
|
||||||
|
ctx.emit("update:downloadVisible", false);
|
||||||
|
};
|
||||||
|
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
closeDrawer,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.downloadDrawer {
|
||||||
|
.drawerMain {
|
||||||
|
.header {
|
||||||
|
height: 73px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
.headerTitle {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333333;
|
||||||
|
line-height: 25px;
|
||||||
|
margin-left: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.contentMain {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
67
src/components/drawers/NoticePub.vue
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
<!--发布公告-->
|
||||||
|
<template>
|
||||||
|
<div class="noticeTitle"><span style="font-size: 18px;">公告</span>
|
||||||
|
<a-divider style="margin-top: 0px;margin-bottom:30px;"></a-divider>
|
||||||
|
<a-switch v-model:checked="noticeChecked" size="small"/><span style="margin-left: 16px;">开启</span>
|
||||||
|
<template v-if="noticeChecked">
|
||||||
|
<p style="margin-top: 35px;">公告内容</p>
|
||||||
|
<a-textarea v-model:value="noticeContent" show-count :maxlength="150" style="margin-top: -10px;margin-bottom:30px;height: 110px;"/>
|
||||||
|
<div class="publish"><div class="iconPub"></div><div class="btnText">发布</div></div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>s
|
||||||
|
<script>
|
||||||
|
import { reactive,toRefs} from "vue";
|
||||||
|
export default {
|
||||||
|
name: "NoticePub",
|
||||||
|
setup(){
|
||||||
|
const state = reactive({
|
||||||
|
noticeChecked: true,
|
||||||
|
});
|
||||||
|
return{
|
||||||
|
...toRefs(state),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
.noticeTitle {
|
||||||
|
margin-left: 38px;
|
||||||
|
margin-right: 38px;
|
||||||
|
padding-top: 20px;
|
||||||
|
.publish {
|
||||||
|
width: 100px;
|
||||||
|
height:38px;
|
||||||
|
background: rgb(64, 158, 255);
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
float: right;
|
||||||
|
margin-top: 60px;
|
||||||
|
margin-bottom: 60px;
|
||||||
|
margin-right: 20px;
|
||||||
|
cursor: pointer;
|
||||||
|
.iconPub {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
background-image: url(@/assets/images/taskpage/pub0.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
}
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
535
src/components/drawers/ProjectScore.vue
Normal file
@@ -0,0 +1,535 @@
|
|||||||
|
<!--发布公告-->
|
||||||
|
<template>
|
||||||
|
<div class="content3">
|
||||||
|
<a-tabs v-model:activeKey="activeKeyScore">
|
||||||
|
<a-tab-pane key="1" tab="学员获取">
|
||||||
|
<div class="group">
|
||||||
|
<div class="groupleft">
|
||||||
|
<div class="groupname" style="width: 42px">姓名:</div>
|
||||||
|
<a-input
|
||||||
|
v-model:value="value"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
style="width: 131px"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="groupright">
|
||||||
|
<div class="btn1">
|
||||||
|
<img src="../../assets/images/courseManage/search0.png" />
|
||||||
|
<span class="btn1text">搜索</span>
|
||||||
|
</div>
|
||||||
|
<div class="btn2">
|
||||||
|
<img src="../../assets/images/courseManage/reset1.png" />
|
||||||
|
<span class="btn2text">重置</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="tab" style="margin: 20px 32px 30px 32px">
|
||||||
|
<a-table
|
||||||
|
style="border: 1px solid #f2f6fe"
|
||||||
|
:columns="tablecolumnStu"
|
||||||
|
:data-source="tabledataStu"
|
||||||
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
|
expandRowByClick="true"
|
||||||
|
@expand="expandTable"
|
||||||
|
:pagination="false"
|
||||||
|
/>
|
||||||
|
<div class="pa">
|
||||||
|
<a-pagination
|
||||||
|
showSizeChanger="true"
|
||||||
|
showQuickJumper="true"
|
||||||
|
hideOnSinglePage="true"
|
||||||
|
:pageSize="pageSize"
|
||||||
|
:current="currentPage"
|
||||||
|
:total="tableDataTotal"
|
||||||
|
class="pagination"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-tab-pane>
|
||||||
|
<a-tab-pane key="2" tab="榜单" force-render>
|
||||||
|
<div class="scorelist">
|
||||||
|
<div class="grouprightscore">
|
||||||
|
<div class="sbutton" @click="stuValue = !stuValue">
|
||||||
|
<img v-if=stuValue src="../../assets/images/taskpage/stu0.png"/>
|
||||||
|
<img v-else src="../../assets/images/taskpage/stu.png"/>
|
||||||
|
<div :class="stuValue ? '' : 'btn1'">学员积分榜</div>
|
||||||
|
</div>
|
||||||
|
<div class="sbutton" @click="stuValue = !stuValue">
|
||||||
|
|
||||||
|
<img v-if=stuValue src="../../assets/images/taskpage/group.png"/>
|
||||||
|
<img v-else src="../../assets/images/taskpage/group0.png"/>
|
||||||
|
<div :class="stuValue ? 'btn1' : ''">小组积分榜</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="group" style="justify-content: center">
|
||||||
|
<div class="groupleft">
|
||||||
|
<div class="groupname" style="width: 42px">姓名:</div>
|
||||||
|
<a-input
|
||||||
|
v-model:value="value"
|
||||||
|
placeholder="请输入姓名"
|
||||||
|
style="width: 130px"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<div class="groupright">
|
||||||
|
<div class="btn1" style="margin-left: 16px ;">
|
||||||
|
<img src="../../assets/images/courseManage/search0.png" />
|
||||||
|
<span class="btn1text">搜索</span>
|
||||||
|
</div>
|
||||||
|
<div class="btn2">
|
||||||
|
<img src="../../assets/images/courseManage/reset1.png" />
|
||||||
|
<span class="btn2text">重置</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="radiobutton">
|
||||||
|
<a-radio-group
|
||||||
|
v-model:value="todayvalue"
|
||||||
|
button-style="solid"
|
||||||
|
@change="changeday"
|
||||||
|
>
|
||||||
|
<a-radio-button class="today" value="1">今天</a-radio-button>
|
||||||
|
<a-radio-button class="today" value="2">七天</a-radio-button>
|
||||||
|
<a-radio-button class="today" value="3">近一个月</a-radio-button>
|
||||||
|
</a-radio-group>
|
||||||
|
</div>
|
||||||
|
<div class="slist">
|
||||||
|
<a-list :data-source="stuValue ? datascoreg : datascore">
|
||||||
|
<template #renderItem="{ item }">
|
||||||
|
<div class="item">
|
||||||
|
<div v-if="item.id == 1" class="itemleft">
|
||||||
|
<div class="itemimage">
|
||||||
|
<img src="../../assets/images/taskpage/gold.png" />
|
||||||
|
</div>
|
||||||
|
<div class="itemid">{{ item.id }}</div>
|
||||||
|
</div>
|
||||||
|
<div v-else-if="item.id == 2" class="itemleft">
|
||||||
|
<div class="itemimage">
|
||||||
|
<img src="../../assets/images/taskpage/siler.png" />
|
||||||
|
</div>
|
||||||
|
<div class="itemid">{{ item.id }}</div>
|
||||||
|
</div>
|
||||||
|
<div v-else-if="item.id == 3" class="itemleft">
|
||||||
|
<div class="itemimage">
|
||||||
|
<img src="../../assets/images/taskpage/copper.png" />
|
||||||
|
</div>
|
||||||
|
<div class="itemid">{{ item.id }}</div>
|
||||||
|
</div>
|
||||||
|
<div v-else class="itemleft">
|
||||||
|
<div class="elseid">{{ item.id }}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="itemcenter">{{ item.name }}</div>
|
||||||
|
<div class="itemright">{{ item.score }}</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</a-list>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-tab-pane>
|
||||||
|
<a-tab-pane key="3" tab="获取规则">
|
||||||
|
<div class="projectscore">
|
||||||
|
<div class="pjc_body">
|
||||||
|
<div class="pjcb_header">
|
||||||
|
<span>规则</span>
|
||||||
|
<div class="btns">
|
||||||
|
<div class="edit_btn1">
|
||||||
|
<div class="btnText">取消</div>
|
||||||
|
</div>
|
||||||
|
<div class="edit_btn2">
|
||||||
|
<div class="btnText">确定</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="pjcb_content">
|
||||||
|
<div class="content content1">
|
||||||
|
<span>当前设计下,学员可以获得 10 积分</span>
|
||||||
|
</div>
|
||||||
|
<div class="content content2">
|
||||||
|
<span>完成【必修/选修】获得 5 积分</span>
|
||||||
|
</div>
|
||||||
|
<div class="content content3">
|
||||||
|
<span>优秀学员可获得 5 积分</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div></a-tab-pane
|
||||||
|
>
|
||||||
|
</a-tabs>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { reactive, toRefs } from "vue";
|
||||||
|
export default {
|
||||||
|
name: "ProjectScore",
|
||||||
|
setup() {
|
||||||
|
const state = reactive({
|
||||||
|
tabledataStu: [
|
||||||
|
{
|
||||||
|
key: 1,
|
||||||
|
name: "小李",
|
||||||
|
bum: "产研部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
group: "好好学习",
|
||||||
|
diploma: "0",
|
||||||
|
operation: "查看",
|
||||||
|
putin: "手动加入",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 2,
|
||||||
|
name: "小刘",
|
||||||
|
bum: "产研部",
|
||||||
|
gangw: "产品经理",
|
||||||
|
group: "天天向上",
|
||||||
|
diploma: "0",
|
||||||
|
operation: "查看",
|
||||||
|
putin: "手动加入",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: "小王",
|
||||||
|
bum: "产研部",
|
||||||
|
gangw: "后端",
|
||||||
|
group: "好好学习",
|
||||||
|
diploma: "0",
|
||||||
|
operation: "查看",
|
||||||
|
putin: "手动加入",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 4,
|
||||||
|
name: "小赵",
|
||||||
|
bum: "产研部",
|
||||||
|
gangw: "前端",
|
||||||
|
group: "天天向上",
|
||||||
|
diploma: "0",
|
||||||
|
operation: "查看",
|
||||||
|
putin: "手动加入",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
|
||||||
|
tablecolumnStu: [
|
||||||
|
{
|
||||||
|
title: "姓名",
|
||||||
|
dataIndex: "name",
|
||||||
|
key: "name",
|
||||||
|
width: 30,
|
||||||
|
align: "left",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "部门",
|
||||||
|
dataIndex: "bum",
|
||||||
|
key: "bum",
|
||||||
|
width: 40,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "岗位",
|
||||||
|
dataIndex: "gangw",
|
||||||
|
key: "gangw",
|
||||||
|
width: 40,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "所属小组",
|
||||||
|
dataIndex: "group",
|
||||||
|
key: "group",
|
||||||
|
width: 40,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "证书",
|
||||||
|
dataIndex: "diploma",
|
||||||
|
key: "diploma",
|
||||||
|
width: 40,
|
||||||
|
align: "center",
|
||||||
|
className: "h",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "操作",
|
||||||
|
dataIndex: "operation",
|
||||||
|
key: "operation",
|
||||||
|
width: 60,
|
||||||
|
align: "center",
|
||||||
|
className: "operation",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
datascore: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "张三的名字很长很长很长",
|
||||||
|
score: "10分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
name: "李四",
|
||||||
|
score: "10分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
name: "王五的名字一定要比张三的还长",
|
||||||
|
score: "10分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 4,
|
||||||
|
name: "赵六",
|
||||||
|
score: "10分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
name: "冯七",
|
||||||
|
score: "10分",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
datascoreg: [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
name: "第一组的同学们",
|
||||||
|
score: "10分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
name: "第2组的同学们",
|
||||||
|
score: "9分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 3,
|
||||||
|
name: "第3组的同学们",
|
||||||
|
score: "8分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 4,
|
||||||
|
name: "第4组的同学们",
|
||||||
|
score: "7分",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
name: "第五组的同学们",
|
||||||
|
score: "6分",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
valueName: "", //排行榜输入姓名
|
||||||
|
valueDate: "", //排行榜输入日期
|
||||||
|
noticeChecked: true,
|
||||||
|
noticeContent: "请输入要发布的公告",
|
||||||
|
activeKeyScore: "1",
|
||||||
|
stuName: "请输入姓名",
|
||||||
|
todayvalue: "1",
|
||||||
|
tableDataTotal: 30,
|
||||||
|
stuValue: false,
|
||||||
|
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
...toRefs(state),
|
||||||
|
};
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.content3 {
|
||||||
|
margin-top: 20px;
|
||||||
|
|
||||||
|
.group {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
.groupleft {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-left: 32px;
|
||||||
|
.groupname {
|
||||||
|
height: 22px;
|
||||||
|
width: 70px;
|
||||||
|
color: #000000;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.groupright {
|
||||||
|
display: flex;
|
||||||
|
.btn1 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 16px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 8px;
|
||||||
|
background: #409eff;
|
||||||
|
cursor: pointer;
|
||||||
|
.btn1text {
|
||||||
|
color: #ffffff;
|
||||||
|
margin-left: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.btn2 {
|
||||||
|
width: 100px;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-right: 32px;
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
border-radius: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
background: #ffffff;
|
||||||
|
.btn2text {
|
||||||
|
color: #409eff;
|
||||||
|
margin-left: 5px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.scorelist {
|
||||||
|
padding-left: 20%;
|
||||||
|
padding-right: 20%;
|
||||||
|
padding-bottom: 100px;
|
||||||
|
padding-top: 50px;
|
||||||
|
.grouprightscore {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
text-align: center;
|
||||||
|
.sbutton {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-left: 10%;
|
||||||
|
margin-right: 10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn1 {
|
||||||
|
color: #409eff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.radiobutton {
|
||||||
|
margin-top: 23px;
|
||||||
|
margin-bottom: 23px;
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
text-align: center;
|
||||||
|
.today {
|
||||||
|
width: 105px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.slist {
|
||||||
|
background-color: #f5f8fc;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-right: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
padding-top: 10px;
|
||||||
|
font-size: 18px;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-evenly;
|
||||||
|
text-align: center;
|
||||||
|
border-bottom: none;
|
||||||
|
height: 60px;
|
||||||
|
align-items: center;
|
||||||
|
background-color: white;
|
||||||
|
border-radius: 21px;
|
||||||
|
margin-top: 10px;
|
||||||
|
.itemleft {
|
||||||
|
justify-content: center;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
width: 150px;
|
||||||
|
.itemid {
|
||||||
|
font-size: 46px;
|
||||||
|
font-family: math;
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #409eff;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
.elseid {
|
||||||
|
font-size: 26px;
|
||||||
|
font-family: math;
|
||||||
|
font-weight: 500;
|
||||||
|
margin-left: 40px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.itemcenter {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
.itemright {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.projectscore {
|
||||||
|
.pjc_body {
|
||||||
|
margin-left: 34px;
|
||||||
|
margin-right: 34px;
|
||||||
|
.pjcb_header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin: 24px auto;
|
||||||
|
.btns {
|
||||||
|
display: flex;
|
||||||
|
.edit_btn1 {
|
||||||
|
width: 100px;
|
||||||
|
// padding: 0px 26px 0px 26px;
|
||||||
|
height: 38px;
|
||||||
|
margin-left: 15px;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: rgb(255, 255, 255);
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: rgb(64, 158, 255);
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.edit_btn2 {
|
||||||
|
width: 100px;
|
||||||
|
// padding: 0px 26px 0px 26px;
|
||||||
|
height: 38px;
|
||||||
|
margin-left: 15px;
|
||||||
|
border-radius: 8px;
|
||||||
|
border: 1px solid rgba(64, 158, 255, 1);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-shrink: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
background-color: rgb(64, 158, 255);
|
||||||
|
.btnText {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: rgb(255, 255, 255);
|
||||||
|
line-height: 36px;
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.pjcb_content {
|
||||||
|
border: 1px solid #409eff;
|
||||||
|
padding: 32px;
|
||||||
|
.pjcb_content :last-child {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
margin-bottom: 130px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<a-drawer
|
<a-drawer
|
||||||
:visible="Seevisible"
|
:visible="Seevisible"
|
||||||
class="drawerStyle seestu"
|
class="drawerStyle seestu"
|
||||||
|
|||||||
@@ -1082,26 +1082,19 @@
|
|||||||
:scroll="{ x: 700, y: 800 }"
|
:scroll="{ x: 700, y: 800 }"
|
||||||
expandRowByClick="true"
|
expandRowByClick="true"
|
||||||
@expand="expandTable"
|
@expand="expandTable"
|
||||||
:pagination="{
|
:pagination="false"
|
||||||
showSizeChanger: true,
|
|
||||||
showQuickJumper: true,
|
|
||||||
hideOnSinglePage: true,
|
|
||||||
pageSizeOptions: [],
|
|
||||||
pageSize: pageSize,
|
|
||||||
current: currentPage,
|
|
||||||
total: tableDataTotal,
|
|
||||||
onChange: (page, pageSize) => {
|
|
||||||
currentPage = page;
|
|
||||||
// console.log('page', page)
|
|
||||||
// 加翻页查找代码
|
|
||||||
// this.setState({
|
|
||||||
// currentPage: page,
|
|
||||||
// }, () => {
|
|
||||||
// this.getMilitaryDeployment()
|
|
||||||
// })
|
|
||||||
},
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
|
<div class="pa">
|
||||||
|
<a-pagination
|
||||||
|
showSizeChanger="true"
|
||||||
|
showQuickJumper="true"
|
||||||
|
hideOnSinglePage="true"
|
||||||
|
:pageSize="pageSize"
|
||||||
|
:current="currentPage"
|
||||||
|
:total="tableDataTotal"
|
||||||
|
class="pagination"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 有数据表格 -->
|
<!-- 有数据表格 -->
|
||||||
</div>
|
</div>
|
||||||
@@ -1439,26 +1432,19 @@
|
|||||||
:scroll="{ x: 800 }"
|
:scroll="{ x: 800 }"
|
||||||
expandRowByClick="true"
|
expandRowByClick="true"
|
||||||
@expand="expandTable"
|
@expand="expandTable"
|
||||||
:pagination="{
|
:pagination="false"
|
||||||
showSizeChanger: true,
|
|
||||||
showQuickJumper: true,
|
|
||||||
hideOnSinglePage: true,
|
|
||||||
pageSizeOptions: [],
|
|
||||||
pageSize: pageSize,
|
|
||||||
current: currentPage,
|
|
||||||
total: tableDataTotal,
|
|
||||||
onChange: (page, pageSize) => {
|
|
||||||
currentPage = page;
|
|
||||||
// console.log('page', page)
|
|
||||||
// 加翻页查找代码
|
|
||||||
// this.setState({
|
|
||||||
// currentPage: page,
|
|
||||||
// }, () => {
|
|
||||||
// this.getMilitaryDeployment()
|
|
||||||
// })
|
|
||||||
},
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
|
<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>
|
||||||
@@ -3753,7 +3739,7 @@ export default defineComponent({
|
|||||||
width: 479px !important;
|
width: 479px !important;
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
.QR {
|
.QR {
|
||||||
z-index: 999;
|
z-index: 9999;
|
||||||
width: 520px;
|
width: 520px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
@@ -3798,12 +3784,14 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
.qrm_body {
|
.qrm_body {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin-top: 22px;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
.QR_img {
|
.QR_img {
|
||||||
width: 176px;
|
width: 176px;
|
||||||
height: 176px;
|
height: 176px;
|
||||||
margin: 1px auto;
|
margin: 1px auto;
|
||||||
background-color: red;
|
background-image: url(@/assets/images/taskpage/QR.png);
|
||||||
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.qrm_footer {
|
.qrm_footer {
|
||||||
@@ -3837,7 +3825,7 @@ export default defineComponent({
|
|||||||
// width:679px !important;
|
// width:679px !important;
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
.recordgrade {
|
.recordgrade {
|
||||||
z-index: 999;
|
z-index: 9999;
|
||||||
width: 679px;
|
width: 679px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
@@ -3939,7 +3927,7 @@ export default defineComponent({
|
|||||||
// width:679px !important;
|
// width:679px !important;
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
.graduate {
|
.graduate {
|
||||||
z-index: 999;
|
z-index: 9999;
|
||||||
width: 679px;
|
width: 679px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
@@ -4046,7 +4034,7 @@ export default defineComponent({
|
|||||||
// width:679px !important;
|
// width:679px !important;
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
.agreestudy {
|
.agreestudy {
|
||||||
z-index: 999;
|
z-index: 9999;
|
||||||
width: 679px;
|
width: 679px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
@@ -4851,9 +4839,31 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.stm_table {
|
.stm_table {
|
||||||
width: 90%;
|
position: relative;
|
||||||
margin: 30px auto;
|
padding-bottom: 80px;
|
||||||
border: 1px solid #f0f4fe;
|
.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;
|
||||||
|
}
|
||||||
.operation {
|
.operation {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -4876,6 +4886,16 @@ export default defineComponent({
|
|||||||
justify-content: right;
|
justify-content: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.pa {
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
// height: 20px;
|
||||||
|
// background-color: red;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5063,7 +5083,33 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.stmm_i6 {
|
.stmm_i6 {
|
||||||
margin-top: 20px;
|
position: relative;
|
||||||
|
padding-top: 15px;
|
||||||
|
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;
|
||||||
|
}
|
||||||
.operation,
|
.operation,
|
||||||
.nselect {
|
.nselect {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -5076,6 +5122,16 @@ export default defineComponent({
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.pa {
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
// height: 20px;
|
||||||
|
// background-color: red;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5151,7 +5207,7 @@ export default defineComponent({
|
|||||||
width: 424px !important;
|
width: 424px !important;
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
.delete {
|
.delete {
|
||||||
z-index: 999;
|
z-index: 9999;
|
||||||
width: 424px;
|
width: 424px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
|||||||
@@ -221,7 +221,7 @@
|
|||||||
<a-table
|
<a-table
|
||||||
style="border: 1px solid #f2f6fe"
|
style="border: 1px solid #f2f6fe"
|
||||||
:columns="tableDataFunc()"
|
:columns="tableDataFunc()"
|
||||||
:scroll="{ x: 1600, y: 235 }"
|
:scroll="{ x: 1500, y: 235 }"
|
||||||
:data-source="tableData"
|
:data-source="tableData"
|
||||||
:loading="tableDataTotal === -1 ? true : false"
|
:loading="tableDataTotal === -1 ? true : false"
|
||||||
expandRowByClick="true"
|
expandRowByClick="true"
|
||||||
@@ -390,7 +390,7 @@
|
|||||||
<div class="cur">当前关卡:</div>
|
<div class="cur">当前关卡:</div>
|
||||||
<div class="select">
|
<div class="select">
|
||||||
<a-select
|
<a-select
|
||||||
v-model:value="projectName"
|
v-model:value="curLevel"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
placeholder="请选择关卡"
|
placeholder="请选择关卡"
|
||||||
:options="projectNameList4"
|
:options="projectNameList4"
|
||||||
@@ -442,6 +442,8 @@
|
|||||||
<add-stu v-model:AddSvisible="AddSvisible" />
|
<add-stu v-model:AddSvisible="AddSvisible" />
|
||||||
<!-- 导入学员抽屉 -->
|
<!-- 导入学员抽屉 -->
|
||||||
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
|
<imp-stu v-model:AddImpStuvisible="AddImpStuvisible" />
|
||||||
|
<!-- 学员管理查看抽屉 -->
|
||||||
|
<check-stu v-model:CheckStuvisible="CheckStuvisible" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -449,9 +451,10 @@
|
|||||||
import { ref, reactive, toRefs } from "vue";
|
import { ref, reactive, toRefs } from "vue";
|
||||||
import AddStu from "../../components/drawers/AddLevelAddStu";
|
import AddStu from "../../components/drawers/AddLevelAddStu";
|
||||||
import ImpStu from "../../components/drawers/AddLevelImportStu";
|
import ImpStu from "../../components/drawers/AddLevelImportStu";
|
||||||
|
import CheckStu from "../../components/drawers/CheckStu";
|
||||||
export default {
|
export default {
|
||||||
name: "LevelAdd",
|
name: "LevelAdd",
|
||||||
components: { AddStu, ImpStu },
|
components: { AddStu, ImpStu, CheckStu },
|
||||||
methods: {},
|
methods: {},
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
@@ -460,6 +463,7 @@ export default {
|
|||||||
deleteAll: false, //批量删除学员弹窗
|
deleteAll: false, //批量删除学员弹窗
|
||||||
AddSvisible: false, //添加学员抽屉
|
AddSvisible: false, //添加学员抽屉
|
||||||
AddImpStuvisible: false, //导入学员抽屉
|
AddImpStuvisible: false, //导入学员抽屉
|
||||||
|
CheckStuvisible: false, //学员管理的查看抽屉
|
||||||
projectNameListt: [
|
projectNameListt: [
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
@@ -547,6 +551,7 @@ export default {
|
|||||||
visible: false,
|
visible: false,
|
||||||
sh: false,
|
sh: false,
|
||||||
closeDeleteAll: false,
|
closeDeleteAll: false,
|
||||||
|
curLevel: "",
|
||||||
//关卡的数据
|
//关卡的数据
|
||||||
level: [
|
level: [
|
||||||
// {
|
// {
|
||||||
@@ -669,7 +674,7 @@ export default {
|
|||||||
dataIndex: "name",
|
dataIndex: "name",
|
||||||
// width: "30%",
|
// width: "30%",
|
||||||
key: "name",
|
key: "name",
|
||||||
width: 100,
|
width: 110,
|
||||||
align: "left",
|
align: "left",
|
||||||
className: "classify",
|
className: "classify",
|
||||||
|
|
||||||
@@ -727,7 +732,7 @@ export default {
|
|||||||
title: "开始时间",
|
title: "开始时间",
|
||||||
dataIndex: "time",
|
dataIndex: "time",
|
||||||
key: "time",
|
key: "time",
|
||||||
width: 110,
|
width: 120,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
},
|
},
|
||||||
@@ -736,17 +741,21 @@ export default {
|
|||||||
className: "h",
|
className: "h",
|
||||||
dataIndex: "opacation",
|
dataIndex: "opacation",
|
||||||
key: "opacation",
|
key: "opacation",
|
||||||
width: 110,
|
width: 140,
|
||||||
align: "center",
|
align: "center",
|
||||||
scopedSlots: { customRender: "action" }, //引入的插槽
|
scopedSlots: { customRender: "action" }, //引入的插槽
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
return (
|
return (
|
||||||
<div class="opa">
|
<div class="opa">
|
||||||
<div class="opacation">
|
<div class="opacation">
|
||||||
<span style="color:#4EA6FF;margin-right:25px;cursor:pointer">
|
<span
|
||||||
|
onClick={() => {
|
||||||
|
showCheckStu();
|
||||||
|
}}
|
||||||
|
style="color:#4EA6FF;margin-right:25px;cursor:pointer"
|
||||||
|
>
|
||||||
查看
|
查看
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
state.visible = true;
|
state.visible = true;
|
||||||
@@ -787,6 +796,9 @@ export default {
|
|||||||
const showImpStu = () => {
|
const showImpStu = () => {
|
||||||
state.AddImpStuvisible = true;
|
state.AddImpStuvisible = true;
|
||||||
};
|
};
|
||||||
|
const showCheckStu = () => {
|
||||||
|
state.CheckStuvisible = true;
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
...toRefs(state),
|
...toRefs(state),
|
||||||
selectProjectName,
|
selectProjectName,
|
||||||
@@ -801,6 +813,7 @@ export default {
|
|||||||
closeChangeModal,
|
closeChangeModal,
|
||||||
showAddStu,
|
showAddStu,
|
||||||
showImpStu,
|
showImpStu,
|
||||||
|
showCheckStu,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -1639,7 +1652,7 @@ export default {
|
|||||||
}
|
}
|
||||||
.ant-table-selection-column {
|
.ant-table-selection-column {
|
||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
padding-left: 45px !important;
|
padding-left: 38px !important;
|
||||||
}
|
}
|
||||||
.ant-table-thead > tr > th {
|
.ant-table-thead > tr > th {
|
||||||
background-color: rgba(239, 244, 252, 1);
|
background-color: rgba(239, 244, 252, 1);
|
||||||
|
|||||||
@@ -372,6 +372,10 @@
|
|||||||
? 'flex'
|
? 'flex'
|
||||||
: 'none',
|
: 'none',
|
||||||
}"
|
}"
|
||||||
|
|
||||||
|
@click="
|
||||||
|
item.course === '面授' ? showCopyModal(item.course) : null
|
||||||
|
"
|
||||||
>
|
>
|
||||||
二维码
|
二维码
|
||||||
</div>
|
</div>
|
||||||
@@ -784,84 +788,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="4" tab="公告">
|
<a-tab-pane key="4" tab="公告">
|
||||||
<div class="noticeTitle">
|
|
||||||
<h3>公告</h3>
|
<NoticePub></NoticePub>
|
||||||
<a-divider style="margin-top: -5px"></a-divider>
|
|
||||||
<a-switch
|
|
||||||
v-model:checked="noticeChecked"
|
|
||||||
style="size: small"
|
|
||||||
/><span style="margin-left: 13px">开启</span>
|
|
||||||
<p style="margin-top: 35px">公告内容</p>
|
|
||||||
<a-textarea
|
|
||||||
v-model:value="noticeContent"
|
|
||||||
placeholder="请输入要发布的公告"
|
|
||||||
show-count
|
|
||||||
:maxlength="150"
|
|
||||||
style="margin-top: -10px; height: 110px"
|
|
||||||
/>
|
|
||||||
<div class="publish">
|
|
||||||
<div class="iconPub"></div>
|
|
||||||
<div class="btnText">发布</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="5" tab="项目积分">
|
<a-tab-pane key="5" tab="项目积分">
|
||||||
<div class="split"></div>
|
<ProjectScore></ProjectScore>
|
||||||
<div class="content3">
|
|
||||||
<a-tabs v-model:activeKey="activeKey2">
|
|
||||||
<a-tab-pane key="1" tab="学员获取"> </a-tab-pane>
|
|
||||||
<a-tab-pane key="2" tab="榜单"> </a-tab-pane>
|
|
||||||
<a-tab-pane key="3" tab="获取规则">
|
|
||||||
<div class="projectscore">
|
|
||||||
<div class="pjc_body">
|
|
||||||
<div class="pjcb_header">
|
|
||||||
<span>规则</span>
|
|
||||||
<div class="edit_btn">
|
|
||||||
<div class="edit"></div>
|
|
||||||
<div class="btnText">编辑</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="pjcb_content">
|
|
||||||
<div class="content content1">
|
|
||||||
<span
|
|
||||||
>当前设计下,学员可以获得
|
|
||||||
<a-input
|
|
||||||
v-model:value="inputValue"
|
|
||||||
:maxlength="3"
|
|
||||||
style="width: 50px"
|
|
||||||
/>
|
|
||||||
积分</span
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="content content2">
|
|
||||||
<span
|
|
||||||
>完成【必修/选修】获得
|
|
||||||
<a-input
|
|
||||||
v-model:value="inputValue2"
|
|
||||||
:maxlength="3"
|
|
||||||
style="width: 50px"
|
|
||||||
/>
|
|
||||||
积分</span
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
<div class="content content3">
|
|
||||||
<span
|
|
||||||
>优秀学员可获得
|
|
||||||
<a-input
|
|
||||||
v-model:value="inputValue3"
|
|
||||||
:maxlength="3"
|
|
||||||
style="width: 50px"
|
|
||||||
/>
|
|
||||||
积分</span
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a-tab-pane>
|
|
||||||
</a-tabs>
|
|
||||||
</div>
|
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
|
|
||||||
<a-tab-pane key="6" tab="排行榜">
|
<a-tab-pane key="6" tab="排行榜">
|
||||||
<div class="content6">
|
<div class="content6">
|
||||||
<div class="title">排行榜</div>
|
<div class="title">排行榜</div>
|
||||||
@@ -1538,6 +1471,34 @@
|
|||||||
</a-modal>
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
<!-- 删除弹窗 -->
|
<!-- 删除弹窗 -->
|
||||||
|
<!-- 面授管理二维码 -->
|
||||||
|
<a-modal
|
||||||
|
v-model:visible="copyModal"
|
||||||
|
:footer="null"
|
||||||
|
:closable="closeCopy"
|
||||||
|
wrapClassName="facemanageModal"
|
||||||
|
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">
|
||||||
|
<div><img src="../../assets/images/taskpage/erweima.png"/></div>
|
||||||
|
</div>
|
||||||
|
<div class="footerr">
|
||||||
|
<div class="onload">下载二维码</div>
|
||||||
|
<div class="onloadpx">200*200</div>
|
||||||
|
<div class="onloadpx">400*400</div>
|
||||||
|
<div class="onloadpx">800*800</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</a-modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@@ -1555,6 +1516,8 @@ import StuAdd from "../../components/drawers/StuAdd";
|
|||||||
import ImportStu from "../../components/drawers/ImportStu";
|
import ImportStu from "../../components/drawers/ImportStu";
|
||||||
import SeeStu from "../../components/drawers/SeeStu";
|
import SeeStu from "../../components/drawers/SeeStu";
|
||||||
import ChangeGroup from "../../components/drawers/ChangeGroup";
|
import ChangeGroup from "../../components/drawers/ChangeGroup";
|
||||||
|
import NoticePub from "../../components/drawers/NoticePub";
|
||||||
|
import ProjectScore from "../../components/drawers/ProjectScore";
|
||||||
import TaskImpStu from "../../components/drawers/TaskFaceIn";
|
import TaskImpStu from "../../components/drawers/TaskFaceIn";
|
||||||
export default {
|
export default {
|
||||||
name: "taskPage",
|
name: "taskPage",
|
||||||
@@ -1572,7 +1535,10 @@ export default {
|
|||||||
ImportStu,
|
ImportStu,
|
||||||
SeeStu,
|
SeeStu,
|
||||||
ChangeGroup,
|
ChangeGroup,
|
||||||
|
NoticePub,
|
||||||
|
ProjectScore,
|
||||||
TaskImpStu,
|
TaskImpStu,
|
||||||
|
|
||||||
},
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
@@ -1670,6 +1636,8 @@ export default {
|
|||||||
Changevisible: false, //学员换组
|
Changevisible: false, //学员换组
|
||||||
edit_hs: false, //编辑弹窗
|
edit_hs: false, //编辑弹窗
|
||||||
delete_hs: false, //删除弹窗
|
delete_hs: false, //删除弹窗
|
||||||
|
copyModal: false, //面授二维码弹窗
|
||||||
|
closeCopy: false, //面授二维码关闭图标
|
||||||
pubproject: false,
|
pubproject: false,
|
||||||
stugroup: false,
|
stugroup: false,
|
||||||
canclestu: false,
|
canclestu: false,
|
||||||
@@ -2157,6 +2125,7 @@ export default {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
// state.QR_hs = true;
|
// state.QR_hs = true;
|
||||||
// state.ftsQR_hs = true;
|
// state.ftsQR_hs = true;
|
||||||
|
state.canclestu = true;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
优秀学员
|
优秀学员
|
||||||
@@ -2232,6 +2201,12 @@ export default {
|
|||||||
const closeModal2 = () => {
|
const closeModal2 = () => {
|
||||||
state.stugroup = false;
|
state.stugroup = false;
|
||||||
};
|
};
|
||||||
|
const showCopyModal = () => {
|
||||||
|
state.copyModal = true;
|
||||||
|
};
|
||||||
|
const closeCopyModal = () => {
|
||||||
|
state.copyModal = false;
|
||||||
|
};
|
||||||
const showFaceIn = () => {
|
const showFaceIn = () => {
|
||||||
state.TaskFaceImpStuvisible = true;
|
state.TaskFaceImpStuvisible = true;
|
||||||
};
|
};
|
||||||
@@ -2323,11 +2298,19 @@ export default {
|
|||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="studentopea1">
|
<div class="studentopea1" onClick={() => {
|
||||||
|
if(value.excellent === false){
|
||||||
|
state.canclestu = true;
|
||||||
|
}else if(value.excellent === true){
|
||||||
|
state.canclestu = false;
|
||||||
|
}
|
||||||
|
}}>
|
||||||
{value.excellent ? "取消优秀" : "优秀学员"}
|
{value.excellent ? "取消优秀" : "优秀学员"}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="studentopea2">查看</div>
|
<div class="studentopea2" onClick={() => {
|
||||||
|
state.Seevisible = true;
|
||||||
|
}}>查看</div>
|
||||||
<div class="studentSelect">
|
<div class="studentSelect">
|
||||||
<a-select
|
<a-select
|
||||||
style="width: 50px"
|
style="width: 50px"
|
||||||
@@ -2336,7 +2319,9 @@ export default {
|
|||||||
dropdownClassName="tabledropdown"
|
dropdownClassName="tabledropdown"
|
||||||
>
|
>
|
||||||
<a-select-option value="换组" label="换组">
|
<a-select-option value="换组" label="换组">
|
||||||
<div>换组</div>
|
<div onClick={() => {
|
||||||
|
state.Changevisible = true;
|
||||||
|
}}>换组</div>
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="删除" label="删除">
|
<a-select-option value="删除" label="删除">
|
||||||
<div
|
<div
|
||||||
@@ -2477,6 +2462,8 @@ export default {
|
|||||||
closeModal1,
|
closeModal1,
|
||||||
showModal2,
|
showModal2,
|
||||||
closeModal2,
|
closeModal2,
|
||||||
|
showCopyModal,
|
||||||
|
closeCopyModal,
|
||||||
showTime,
|
showTime,
|
||||||
showFace,
|
showFace,
|
||||||
showSubset,
|
showSubset,
|
||||||
@@ -2881,6 +2868,108 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.facemanageModal {
|
||||||
|
.ant-modal {
|
||||||
|
width: 532px !important;
|
||||||
|
height: 428px !important;
|
||||||
|
.ant-modal-content {
|
||||||
|
width: 532px !important;
|
||||||
|
height: 428px !important;
|
||||||
|
.ant-modal-body {
|
||||||
|
width: 532px !important;
|
||||||
|
height: 428px !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
.delete {
|
||||||
|
z-index: 999;
|
||||||
|
width: 532px;
|
||||||
|
height: 428px;
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.footerr {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
.onload {
|
||||||
|
color: rgba(51, 51, 51, 1);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.onloadpx {
|
||||||
|
width: 80px;
|
||||||
|
height: 32px;
|
||||||
|
border: 1px solid rgba(56, 125, 247, 1);
|
||||||
|
border-radius: 4px;
|
||||||
|
color: rgba(56, 125, 247, 1);
|
||||||
|
margin-left: 20px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.taskpage {
|
.taskpage {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -3471,42 +3560,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.noticeTitle {
|
|
||||||
margin-left: 38px;
|
|
||||||
margin-right: 38px;
|
|
||||||
padding-top: 20px;
|
|
||||||
.publish {
|
|
||||||
width: 100px;
|
|
||||||
// padding: 0px 26px 0px 26px;
|
|
||||||
height: 38px;
|
|
||||||
background: rgb(64, 158, 255);
|
|
||||||
border-radius: 8px;
|
|
||||||
border: 1px solid rgba(64, 158, 255, 1);
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
flex-shrink: 0;
|
|
||||||
float: right;
|
|
||||||
margin-top: 60px;
|
|
||||||
margin-bottom: 60px;
|
|
||||||
margin-right: 20px;
|
|
||||||
cursor: pointer;
|
|
||||||
.iconPub {
|
|
||||||
width: 15px;
|
|
||||||
height: 15px;
|
|
||||||
background-image: url(@/assets/images/taskpage/pub.png);
|
|
||||||
background-size: 100% 100%;
|
|
||||||
color: rgb(255, 255, 255);
|
|
||||||
}
|
|
||||||
.btnText {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 400;
|
|
||||||
color: rgb(255, 255, 255);
|
|
||||||
line-height: 36px;
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.content3 {
|
.content3 {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
@@ -4382,7 +4436,7 @@ export default {
|
|||||||
width: 424px !important;
|
width: 424px !important;
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
.delete {
|
.delete {
|
||||||
z-index: 999;
|
z-index: 9999;
|
||||||
width: 424px;
|
width: 424px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
|||||||
@@ -738,7 +738,7 @@ export default {
|
|||||||
width: 424px !important;
|
width: 424px !important;
|
||||||
.ant-modal-body {
|
.ant-modal-body {
|
||||||
.delete {
|
.delete {
|
||||||
z-index: 999;
|
z-index: 9999;
|
||||||
width: 424px;
|
width: 424px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
|
|||||||