Commit 555dc572 authored by Mac's avatar Mac

修改之前留下的bug

parent 3cbadd41
......@@ -278,7 +278,7 @@ export default defineComponent({
state.addMsg.DeptEmpList.forEach(x => {
let obj = {
Id: x.Id.split('-')[1],
Name: x.Name,
Name: x.DeptName,
Type: x.Type,
}
data.DeptEmpList.push(obj)
......@@ -367,6 +367,7 @@ export default defineComponent({
state.defaultArray= []
state.addMsg.DeptEmpList.forEach(x => {
x.Id = x.Type+'-'+x.Id
x.DeptName = x.Name
state.defaultArray.push(x.Id)
})
getusestageName()
......
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