提交代码
This commit is contained in:
1 parent
6008940807
commit
e8665410fd
7 files changed
+494
-19
No files matched your search
@@ -19,6 +19,26 @@ export interface XgClassPosMsgVO {
|
||||
*/
|
||||
className: string;
|
||||
|
||||
/**
|
||||
* 专业ID,关联sys_dept.dept_id
|
||||
*/
|
||||
majorId: string | number;
|
||||
|
||||
/**
|
||||
* 专业名称(联表查询获取)
|
||||
*/
|
||||
majorName: string;
|
||||
|
||||
/**
|
||||
* 学院ID,关联sys_dept.dept_id
|
||||
*/
|
||||
collegeId: string | number;
|
||||
|
||||
/**
|
||||
* 学院名称(联表查询获取)
|
||||
*/
|
||||
collegeName: string;
|
||||
|
||||
/**
|
||||
* 学生ID,关联xg_student_msg.id
|
||||
*/
|
||||
@@ -122,6 +142,26 @@ export interface XgClassPosMsgForm extends BaseEntity {
|
||||
*/
|
||||
className?: string;
|
||||
|
||||
/**
|
||||
* 专业ID,关联sys_dept.dept_id
|
||||
*/
|
||||
majorId?: string | number;
|
||||
|
||||
/**
|
||||
* 专业名称(显示用,非数据库字段)
|
||||
*/
|
||||
majorName?: string;
|
||||
|
||||
/**
|
||||
* 学院ID,关联sys_dept.dept_id
|
||||
*/
|
||||
collegeId?: string | number;
|
||||
|
||||
/**
|
||||
* 学院名称(显示用,非数据库字段)
|
||||
*/
|
||||
collegeName?: string;
|
||||
|
||||
/**
|
||||
* 学生ID,关联xg_student_msg.id
|
||||
*/
|
||||
|
||||
@@ -147,6 +147,9 @@
|
||||
<el-table-column label="学号" align="center" prop="studentNo" />
|
||||
<el-table-column label="学生姓名" align="center" prop="studentName" />
|
||||
<el-table-column label="职务名称" align="center" prop="positionName" />
|
||||
<el-table-column label="学院名称" align="center" prop="collegeName" />
|
||||
<el-table-column label="专业名称" align="center" prop="majorName" />
|
||||
<el-table-column label="班级名称" align="center" prop="className" />
|
||||
<!-- <el-table-column label="任职日期" align="center" prop="appointmentDate" width="180">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.appointmentDate, '{y}-{m}-{d}') }}</span>
|
||||
@@ -692,10 +695,10 @@ const setDefaultRootNode = (treeData: any[]) => {
|
||||
/** 节点单击事件 */
|
||||
const handleNodeClick = (data: any) => {
|
||||
// 只有班级节点才可以点击(disabled=false的节点)
|
||||
if (data.disabled) {
|
||||
ElMessage.warning('没有该节点权限,请联系管理员');
|
||||
return;
|
||||
}
|
||||
// if (data.disabled) {
|
||||
// ElMessage.warning('没有该节点权限,请联系管理员');
|
||||
// return;
|
||||
// }
|
||||
|
||||
// 保存当前选中的节点信息
|
||||
currentSelectedNode.value = data;
|
||||
|
||||
Reference in new issue
Block a user