判断当前用户是否拥有归属部门

This commit is contained in:
851673013@qq.com 2022-08-01 14:34:02 +08:00
parent a202bb27c9
commit 1cd5db6444
5 changed files with 15 additions and 5 deletions

View File

@ -677,7 +677,9 @@
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
if (obj.attrValueTwo) {
dataFrom.value.deptName = obj.attrValueTwo.label
}
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue

View File

@ -522,7 +522,9 @@
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
if (obj.attrValueTwo) {
dataFrom.value.deptName = obj.attrValueTwo.label
}
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue

View File

@ -600,7 +600,9 @@
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
if (obj.attrValueTwo) {
dataFrom.value.deptName = obj.attrValueTwo.label
}
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue

View File

@ -599,7 +599,9 @@
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
if (obj.attrValueTwo) {
dataFrom.value.deptName = obj.attrValueTwo.label
}
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue

View File

@ -496,7 +496,9 @@
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
if (obj.attrValueTwo) {
dataFrom.value.deptName = obj.attrValueTwo.label
}
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue