feat:增加项目及学习路径面授任务学员

This commit is contained in:
lixg
2023-01-05 20:48:09 +08:00
parent 55e7eb85e3
commit d5f34009df
8 changed files with 2235 additions and 26 deletions

View File

@@ -397,6 +397,7 @@ textarea {
overflow-x: auto; overflow-x: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
} }

View File

@@ -37,7 +37,7 @@
placeholder="请输入姓名" placeholder="请输入姓名"
/> />
</div> </div>
<div class="namecon" style="margin-right: 30px"> <!-- <div class="namecon" style="margin-right: 30px">
<div class="name">考勤</div> <div class="name">考勤</div>
<div class="select"> <div class="select">
<a-select <a-select
@@ -50,7 +50,7 @@
showSearch showSearch
></a-select> ></a-select>
</div> </div>
</div> </div> -->
<div class="namecon"> <div class="namecon">
<div class="name">签到状态</div> <div class="name">签到状态</div>
<div class="select"> <div class="select">
@@ -146,7 +146,7 @@
</div> </div>
</div> </div>
<div class="botm"></div> <div class="botm" style="height: 100px"></div>
<div class="btnn"> <div class="btnn">
<button class="btn1">取消</button> <button class="btn1">取消</button>
<button class="btn2">确定</button> <button class="btn2">确定</button>
@@ -414,20 +414,42 @@ export default {
}, },
{ {
title: "所在部门", title: "所在部门",
dataIndex: "com", dataIndex: "studentDepartName",
// width: "30%", // width: "30%",
key: "com", key: "studentDepartName",
width: 50, width: 50,
align: "center", align: "center",
className: "h", className: "h",
customRender: (text) => {
return (
<div class="racona">
<span>
{text.record.studentDepartName
? text.record.studentDepartName
: "-"}
</span>
</div>
);
},
}, },
{ {
title: "所在岗位", title: "所在岗位",
dataIndex: "gang", dataIndex: "studentJobName",
key: "gang", key: "studentJobName",
width: 50, width: 50,
align: "center", align: "center",
className: "h", className: "h",
customRender: (text) => {
return (
<div class="racona">
<span>
{text.record.studentJobName
? text.record.studentJobName
: "-"}
</span>
</div>
);
},
}, },
{ {
title: "签到时间", title: "签到时间",

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
:visible="Fvisible" :visible="Fvisible"
class="drawerStyle ProjectFaceTaskManage" class="drawerStyle ProjectFaceTaskManage"
placement="right" placement="right"
width="60%" width="80%"
@after-visible-change="afterVisibleChange" @after-visible-change="afterVisibleChange"
> >
<div class="drawerMain"> <div class="drawerMain">
@@ -629,8 +629,11 @@ export default {
<style lang="scss"> <style lang="scss">
.ProjectFaceTaskManage { .ProjectFaceTaskManage {
.ant-drawer-content-wrapper {
max-width: 1300px;
}
.drawerMain { .drawerMain {
min-width: 550px; min-width: 700px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: auto; overflow-x: auto;
display: flex; display: flex;

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
:visible="FaceTeachModelVisible" :visible="FaceTeachModelVisible"
class="drawerStyle ProjectFaceTaskManage" class="drawerStyle ProjectFaceTaskManage"
placement="right" placement="right"
width="60%" width="80%"
@after-visible-change="afterVisibleChange" @after-visible-change="afterVisibleChange"
> >
<div class="drawerMain"> <div class="drawerMain">
@@ -643,8 +643,11 @@ export default {
<style lang="scss"> <style lang="scss">
.ProjectFaceTaskManage { .ProjectFaceTaskManage {
.ant-drawer-content-wrapper {
max-width: 1300px;
}
.drawerMain { .drawerMain {
min-width: 550px; min-width: 700px;
margin: 0px 32px 0px 32px; margin: 0px 32px 0px 32px;
overflow-x: auto; overflow-x: auto;
display: flex; display: flex;

View File

@@ -908,11 +908,12 @@
v-model:studentId="studentId" v-model:studentId="studentId"
/> />
<!-- 面授学员抽屉 --> <!-- 面授学员抽屉 -->
<face-stu v-model:FSvisible="FSvisible" :datasource="studentData" /> <RouterFaceStu v-model:FSvisible="FSvisible" :datasource="facestudent" />
<!-- 活动考勤抽屉 --> <!-- 活动考勤抽屉 -->
<active-attendance <active-attendance
v-model:AAvisible="AAvisible" v-model:AAvisible="AAvisible"
:title="showKaoqinText" :title="showKaoqinText"
classify="2"
/> />
<!-- 时间管理抽屉 --> <!-- 时间管理抽屉 -->
<time-manage v-model:Tvisible="visible" :title="showTimeText" /> <time-manage v-model:Tvisible="visible" :title="showTimeText" />
@@ -1161,7 +1162,7 @@ import { message, Modal } from "ant-design-vue";
import ProjCheckShip from "../../components/drawers/ProjCheckPower"; import ProjCheckShip from "../../components/drawers/ProjCheckPower";
import ImpStu from "../../components/drawers/AddLevelImportStu"; import ImpStu from "../../components/drawers/AddLevelImportStu";
import CheckStu from "../../components/drawers/CheckStu"; import CheckStu from "../../components/drawers/CheckStu";
import FaceStu from "../../components/drawers/FaceStu"; import RouterFaceStu from "../../components/drawers/router/RouterFaceStu";
import ActiveAttendance from "../../components/drawers/ActiveAttendance"; import ActiveAttendance from "../../components/drawers/ActiveAttendance";
import TimeManage from "../../components/drawers/TimeManage"; import TimeManage from "../../components/drawers/TimeManage";
import TestManage from "../../components/drawers/TestManage"; import TestManage from "../../components/drawers/TestManage";
@@ -1195,7 +1196,7 @@ export default {
ProjCheckShip, ProjCheckShip,
ImpStu, ImpStu,
CheckStu, CheckStu,
FaceStu, RouterFaceStu,
ActiveAttendance, ActiveAttendance,
TimeManage, TimeManage,
TestManage, TestManage,
@@ -1396,7 +1397,7 @@ export default {
examLevelName: "", examLevelName: "",
evaluationLevelName: "", evaluationLevelName: "",
studentData: "", facestudent: "",
}); });
const levelList = reactive({ const levelList = reactive({
@@ -1606,8 +1607,8 @@ export default {
//面授学员的弹窗 //面授学员的弹窗
const showFS = (item) => { const showFS = (item) => {
state.FSvisible = true; state.FSvisible = true;
state.studentData = item; state.facestudent = item;
console.log("studentData", state.studentData); console.log("facestudent", state.facestudent);
}; };
//考勤的抽屉 //考勤的抽屉
const showAA = (course) => { const showAA = (course) => {

View File

@@ -573,7 +573,7 @@
<div <div
class="operation" class="operation"
style="cursor: pointer" style="cursor: pointer"
@click="showFS" @click="showFS(item)"
v-if="item.type == 2" v-if="item.type == 2"
> >
学员 学员
@@ -625,7 +625,12 @@
: item.type == '5' : item.type == '5'
? showTest(item.name, item.projectTaskId, item) ? showTest(item.name, item.projectTaskId, item)
: item.type == '10' : item.type == '10'
? showEval(item.name, item.projectTaskId, item.type, item) ? showEval(
item.name,
item.projectTaskId,
item.type,
item
)
: item.type == '12' : item.type == '12'
? showWork(item.name, item.projectTaskId) ? showWork(item.name, item.projectTaskId)
: item.type == '13' : item.type == '13'
@@ -1164,9 +1169,16 @@
v-model:projectId="projectId" v-model:projectId="projectId"
/> />
<!-- 面授学员抽屉 --> <!-- 面授学员抽屉 -->
<face-stu v-model:FSvisible="FSvisible" /> <ProjectFaceStu
v-model:FSvisible="FSvisible"
:projectTaskInfo="facestudent"
/>
<!-- 活动考勤抽屉 --> <!-- 活动考勤抽屉 -->
<active-attendance v-model:AAvisible="AAvisible" :title="showkaoqinText" /> <active-attendance
v-model:AAvisible="AAvisible"
:title="showkaoqinText"
classify="1"
/>
<!-- 批量面授报名 --> <!-- 批量面授报名 -->
<task-imp-stu v-model:TaskFaceImpStuvisible="TaskFaceImpStuvisible" /> <task-imp-stu v-model:TaskFaceImpStuvisible="TaskFaceImpStuvisible" />
@@ -1728,7 +1740,7 @@ import ProjectEvalManage from "../../components/drawers/project/ProjectEvalManag
import SubsetManage from "../../components/drawers/SubsetManage"; import SubsetManage from "../../components/drawers/SubsetManage";
import MemberList from "../../components/drawers/MemberList"; import MemberList from "../../components/drawers/MemberList";
import ActiveAttendance from "../../components/drawers/ActiveAttendance"; import ActiveAttendance from "../../components/drawers/ActiveAttendance";
import FaceStu from "../../components/drawers/FaceStu"; import ProjectFaceStu from "../../components/drawers/project/ProjectFaceStu";
import ProjCheckShip from "../../components/drawers/ProjCheckPower"; import ProjCheckShip from "../../components/drawers/ProjCheckPower";
import ImportStu from "../../components/drawers/ImportStu"; import ImportStu from "../../components/drawers/ImportStu";
import SeeStu from "../../components/drawers/SeeStu"; import SeeStu from "../../components/drawers/SeeStu";
@@ -1776,7 +1788,7 @@ export default {
ProjectEvalManage, ProjectEvalManage,
SubsetManage, SubsetManage,
MemberList, MemberList,
FaceStu, ProjectFaceStu,
ActiveAttendance, ActiveAttendance,
// StuAdd, // StuAdd,
ProjCheckShip, ProjCheckShip,
@@ -2455,7 +2467,8 @@ export default {
commonData: "", commonData: "",
commonLevelName: "", commonLevelName: "",
evaltype: "", evaltype: "",
evalData: "" evalData: "",
facestudent: "",
}); });
const levelList = reactive({ const levelList = reactive({
@@ -2726,8 +2739,10 @@ export default {
state.subsetVisivle = true; state.subsetVisivle = true;
}; };
//面授学员的弹窗 //面授学员的弹窗
const showFS = () => { const showFS = (item) => {
state.FSvisible = true; state.FSvisible = true;
state.facestudent = item;
console.log("facestudent", state.facestudent);
}; };
//面授学员的弹窗 //面授学员的弹窗
const showMemberList = (id) => { const showMemberList = (id) => {