From 35b1970aa850c233f7f9f26a5992ece5d356fe92 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期五, 12 十二月 2025 14:58:42 +0800
Subject: [PATCH] 修改新增
---
src/views/build/conpanyFunctionConsult/orgStructure/departManage/components/dutyDialog.vue | 33 +++++++++++++++++----------------
1 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/orgStructure/departManage/components/dutyDialog.vue b/src/views/build/conpanyFunctionConsult/orgStructure/departManage/components/dutyDialog.vue
index c97c48e..20a850e 100644
--- a/src/views/build/conpanyFunctionConsult/orgStructure/departManage/components/dutyDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/orgStructure/departManage/components/dutyDialog.vue
@@ -38,9 +38,9 @@
>
<el-option
v-for="item in state.userList"
- :key="item.id"
+ :key="item.userId"
:label="item.name"
- :value="item.id"
+ :value="item.userId"
/>
</el-select>
</el-form-item>
@@ -110,17 +110,17 @@
</el-input>
</template>
</el-table-column>
- <el-table-column label="相关证据材料" prop="evidenceMaterials" align="center">
- <template #default="scope">
- <el-input
- v-model.trim="scope.row.evidenceMaterials"
- size="large"
- type="textarea"
- style="width: 100%;"
- >
- </el-input>
- </template>
- </el-table-column>
+<!-- <el-table-column label="相关证据材料" prop="evidenceMaterials" align="center">-->
+<!-- <template #default="scope">-->
+<!-- <el-input-->
+<!-- v-model.trim="scope.row.evidenceMaterials"-->
+<!-- size="large"-->
+<!-- type="textarea"-->
+<!-- style="width: 100%;"-->
+<!-- >-->
+<!-- </el-input>-->
+<!-- </template>-->
+<!-- </el-table-column>-->
<el-table-column label="现有管理类文件" prop="managementDocuments" align="center" width="150">
<template #default="scope">
<el-input
@@ -176,6 +176,7 @@
import {ElMessage} from "element-plus";
import {getDeptInfo, saveResponsibility} from "@/api/orgStructure/depart";
import {listUser} from "@/api/system/user";
+import {getEmployeeRecords} from "@/api/onlineEducation/user";
const emit = defineEmits(["getList"]);
const dialogVisible = ref(false)
const superRef = ref()
@@ -233,9 +234,9 @@
}
const getUserList = async ()=> {
- const res = await listUser()
+ const res = await getEmployeeRecords()
if(res.code == 200){
- state.userList = res.data.list?res.data.list:[]
+ state.userList = res.data ? res.data :[]
}else{
ElMessage.warning(res.message)
}
@@ -323,4 +324,4 @@
font-size: 14px !important;
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.2