mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
feat:学习路径图任务数据获取初始化
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<a-drawer
|
||||
v-if="ExaminationModelVisible"
|
||||
:visible="ExaminationModelVisible"
|
||||
class="drawerStyle ProjectExamManage"
|
||||
placement="right"
|
||||
@@ -16,7 +17,7 @@
|
||||
/>
|
||||
</div>
|
||||
<div class="main">
|
||||
<div class="endtime">起止时间:2022-07-21 14:00 ~ 2022-7-30 14:00</div>
|
||||
<div class="endtime">起止时间:{{datasource.startTime}} ~ {{datasource.endTime}}</div>
|
||||
<div class="search">
|
||||
<div class="namecon" style="margin-right: 30px">
|
||||
<div class="name">姓名:</div>
|
||||
@@ -274,10 +275,11 @@
|
||||
state.projectName = "";
|
||||
state.selectedRowKeys = [];
|
||||
state.currentPage = 1;
|
||||
state.tabledata = [];
|
||||
};
|
||||
const afterVisibleChange = (bol) => {
|
||||
if (bol == true) {
|
||||
// getManageList();
|
||||
getData();
|
||||
}
|
||||
};
|
||||
const selectProjectName = (value) => {
|
||||
@@ -303,6 +305,22 @@
|
||||
const clearLine = () => {
|
||||
state.selectedRowKeys = [];
|
||||
};
|
||||
|
||||
// 获取数据
|
||||
function getData() {
|
||||
state.tabledata = [
|
||||
{
|
||||
workNum: "123",
|
||||
userName: "li",
|
||||
deptName: "开发",
|
||||
jobName: "前端开发",
|
||||
score: 89,
|
||||
examNum: 1,
|
||||
comptime: "2022-07-22 14:00:30",
|
||||
status: "已完成",
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
||||
Reference in New Issue
Block a user