Commit 0d27cccb authored by yanzhengyang's avatar yanzhengyang

日常报销bug修复

parent 6eb940ba
......@@ -236,6 +236,7 @@
import FlowChart from '@/components/FlowChart/index.vue'
import { listCostManage,projectList,deleteDailyReimburse,getAllapproveList } from "@/api/costManage/cost.js";
import { listUser } from "@/api/system/user.js";
import { getProjectManagerName} from "@/api/examineAndApprove/examineAndApprove.js"
import {useRouter} from "vue-router";
import {ArrowDown} from "@element-plus/icons-vue";
......@@ -322,14 +323,20 @@ const getProjectList = () => {
}
})
})
listUser().then(response => {
headOptions.value = response.rows.map(item => {
//项目经理
getProjectManagerName().then(res => {
// console.log("我是项目经理测试",res.data)
managerOptions.value = res.data.map(item => {
return {
value: item.userId,
label: item.nickName
value: item.projectManagerId,
label: item.projectManagerName
}
})
managerOptions.value = response.rows.map(item => {
// console.log("我是项目经理",headOptions.value)
})
//事业部负责人
listUser().then(response => {
headOptions.value = response.rows.map(item => {
return {
value: item.userId,
label: item.nickName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment