|
|
@ -24,7 +24,7 @@ export class LayoutComponent implements OnInit, AfterViewInit { |
|
|
|
|
|
|
|
isDragging: boolean = false; |
|
|
|
|
|
|
|
layoutUsers = ['digiwin0001', 'digiwin0002', 'digiwin0003', 'digiwin0004', 'digiwin0005', 'default', 'digiwinSummit', |
|
|
|
layoutUsers = ['digiwin0001', 'digiwin0002', 'digiwin0003', 'digiwin0004', 'digiwin0005', 'default', 'M00020', |
|
|
|
'digiwin0006', 'digiwin0007', 'digiwin0008', 'digiwin0009', 'digiwin0010', 'dongsk@digiwin.com']; |
|
|
|
|
|
|
|
divContent = { |
|
|
@ -63,7 +63,7 @@ export class LayoutComponent implements OnInit, AfterViewInit { |
|
|
|
const DwUserInfo = JSON.parse(sessionStorage.getItem("DwUserInfo")); |
|
|
|
|
|
|
|
this.USER_ID = DwUserInfo.userId; |
|
|
|
this.dragEnable = this.USER_ID === 'dongsk@digiwin.com'; |
|
|
|
this.dragEnable = this.USER_ID === 'dongsk@digiwin.com' || this.USER_ID === 'M00020'; |
|
|
|
|
|
|
|
console.log(this.dragEnable); |
|
|
|
|
|
|
@ -88,7 +88,7 @@ export class LayoutComponent implements OnInit, AfterViewInit { |
|
|
|
|
|
|
|
// 非管理员加载
|
|
|
|
this.divContent.userId = this.USER_ID; |
|
|
|
if (this.USER_ID === 'dongsk@digiwin.com') { |
|
|
|
if (this.USER_ID === 'dongsk@digiwin.com' || this.USER_ID === 'M00020') { |
|
|
|
this.divContent.userId = "default"; |
|
|
|
} |
|
|
|
|
|
|
@ -142,7 +142,7 @@ export class LayoutComponent implements OnInit, AfterViewInit { |
|
|
|
|
|
|
|
const DwUserInfo = JSON.parse(sessionStorage.getItem("DwUserInfo")); |
|
|
|
|
|
|
|
if (DwUserInfo.userId === 'dongsk@digiwin.com') { |
|
|
|
if (DwUserInfo.userId === 'dongsk@digiwin.com' || DwUserInfo.userId === 'M00020') { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|