培训发生组织担当修改

This commit is contained in:
zhangsir
2024-11-11 14:49:28 +08:00
parent 2419208d95
commit e3b897dc1f
2 changed files with 538 additions and 9 deletions

View File

@@ -120,7 +120,10 @@
<a-form-item label="组织担当:" name="actValue">
<!-- <a-select v-model:value="formParam.zzfzr" placeholder="请选择组织负责人"
:options="PlaceOfPayList" allowClear showSearch/> -->
<ProjectManager :type="0" v-model:value="formParam.actValue" :placeholder="'请选择担当'" v-model:arrayList="formParam.actArray" ></ProjectManager>
<!-- <ProjectManager :type="0" v-model:value="formParam.actValue" :placeholder="'请选择担当'" v-model:arrayList="formParam.actArray" ></ProjectManager> -->
<AddApprover v-model:arrayList="formParam.actArray" @valueChange="valueChange" :type="0">
<a-select v-model:value="formParam.actValue" :open="false" :placeholder="'请选择担当'"></a-select>
</AddApprover>
</a-form-item>
</a-col>
</a-row>
@@ -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,
}
}