From e3b897dc1fee03c9d7bbf97718d256bca40be09c Mon Sep 17 00:00:00 2001 From: zhangsir Date: Mon, 11 Nov 2024 14:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E5=8F=91=E7=94=9F=E7=BB=84?= =?UTF-8?q?=E7=BB=87=E6=8B=85=E5=BD=93=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/project/AddApprover.vue | 521 +++++++++++++++++++++++++ src/views/lecturer/Organization.vue | 26 +- 2 files changed, 538 insertions(+), 9 deletions(-) create mode 100644 src/components/project/AddApprover.vue diff --git a/src/components/project/AddApprover.vue b/src/components/project/AddApprover.vue new file mode 100644 index 00000000..16a7e4df --- /dev/null +++ b/src/components/project/AddApprover.vue @@ -0,0 +1,521 @@ + + + diff --git a/src/views/lecturer/Organization.vue b/src/views/lecturer/Organization.vue index 587798e9..0c52a39f 100644 --- a/src/views/lecturer/Organization.vue +++ b/src/views/lecturer/Organization.vue @@ -120,7 +120,10 @@ - + + + + @@ -211,14 +214,15 @@ import { queryTrainOrg,deleteTrainOrg,addReviewer,updateTrainOrg} from "../../ap import AddOrgContent from "../../components/project/AddOrgContent.vue" import * as lecturer from "../../api/Lecturer.js"; import lockLecturer from "@/components/project/lockLecturer" +import AddApprover from '@/components/project/AddApprover' export default{ name:"organization", components: { - ProjectManager, - FolderAddOutlined,//图标--新增 - AddOrgContent, - lockLecturer - + ProjectManager, + FolderAddOutlined,//图标--新增 + AddOrgContent, + lockLecturer, + AddApprover, }, setup() { const formRef = ref(); @@ -296,7 +300,7 @@ export default{ width: 200, }, { - title: '是否为根节点(未命名) ', + title: '是否为根节点', dataIndex: 'isParent', key: 'isParent', ellipsis: true, align: "center", @@ -308,7 +312,7 @@ export default{ }, }, { - title: '担当(未命名) ', + title: '担当', dataIndex: 'leaderName', key: 'leaderName', ellipsis: true, @@ -316,7 +320,7 @@ export default{ width: 200, }, { - title: '状态(未命名) ', + title: '状态', dataIndex: 'type', key: 'type', ellipsis: true, align: "center", @@ -547,6 +551,9 @@ const getTableDate = (obj) => { }); }); } + const valueChange = (val) => { + console.log(val,'vallll') + } //保存 const createTeacherDialog = async () => { console.log(state.formParam,'state.formParam') @@ -620,6 +627,7 @@ const getTableDate = (obj) => { changePagination, TeacherSystem, createTeacherDialog, + valueChange, validateField, } }