Commit 5a512254 by niewei

departmentNumber大小写,需要改成departmentnumber

parent 04a31f1a
......@@ -581,13 +581,13 @@ export default {
let orgObj = this.header.orgList.find(item => item.id === param)
let roleObj = this.header.roleTypeList.find(item => item.key === this.header.curRole.id+"")
this.initRoleList(orgObj);
if(this.header.roleList && this.header.roleList.length>0 && ((orgObj.departmentNumber==="1000" && roleObj.value!=="HEAD")
||(orgObj.departmentNumber!=="1000" && roleObj.value==="HEAD"))){
if(this.header.roleList && this.header.roleList.length>0 && ((orgObj.departmentnumber==="1000" && roleObj.value!=="HEAD")
||(orgObj.departmentnumber!=="1000" && roleObj.value==="HEAD"))){
this.changeRoles(this.header.roleList[0].id);
sessionStorage.setItem('curRole', JSON.stringify(this.header.roleList[0]));
}
if(this.header.roleList && this.header.roleList.length===0 ) {
if (orgObj.departmentNumber === "1000") {
if (orgObj.departmentnumber === "1000") {
this.$notify({title: "失败", message: "请先维护总行机构角色!", type: "error",});
} else {
this.$notify({title: "失败", message: "请先维护分行机构角色!", type: "error",});
......
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