2020-06-09 00:10:59 +00:00
|
|
|
파일뷰어 다이얼로그
|
|
|
|
미디어 컴포넌트
|
|
|
|
이미지 컴포넌트
|
|
|
|
next, prev
|
2020-06-10 05:38:49 +00:00
|
|
|
|
2020-06-09 00:10:59 +00:00
|
|
|
파일 컴포넌트
|
|
|
|
문서 컴포넌트
|
|
|
|
|
2020-06-10 05:38:49 +00:00
|
|
|
대화 복사
|
|
|
|
일반 텍스트
|
|
|
|
장문 텍스트
|
|
|
|
|
|
|
|
combineLatest([
|
|
|
|
this.store.pipe(select(LoginSelector.loginRes)),
|
|
|
|
this.store.pipe(select(DepartmentSelector.departmentInfoList))
|
|
|
|
])
|
|
|
|
.pipe(takeUntil(this.ngOnDestroySubject))
|
|
|
|
.subscribe(([loginRes, deptInfoList]) => {
|
|
|
|
this.loginRes = loginRes;
|
|
|
|
this.treeData = {
|
|
|
|
deptInfoList,
|
|
|
|
displayRoot: environment.productConfig.organization.displayRoot,
|
|
|
|
expanded: !!this._initialExpanded
|
|
|
|
? [this._initialExpanded]
|
|
|
|
: undefined
|
|
|
|
};
|
|
|
|
this.changeDetectorRef.markForCheck();
|
|
|
|
if (!!loginRes && !!deptInfoList) {
|
|
|
|
this._initialExpanded = undefined;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
http://lftalk2.lfcorp.com:8011/Common/FileTalkDownload.aspx
|
|
|
|
?
|
|
|
|
p_user_seq=102&
|
|
|
|
p_device_type=P&
|
|
|
|
p_token=MTg1MDM5NTc5Nzk1MTQ1MTk0ODU0MTY2MTI0NDE2ODY3NjY5ODY5Ng&
|
|
|
|
p_att_seq=68450
|
|
|
|
|
|
|
|
|
|
|
|
attachmentsSeq: "15186849"
|
|
|
|
deviceType: "W"
|
|
|
|
token: "NDcyNDEwMjg2NjcyMjg3MTkxNzAyNDk2ODEwMzg2MDI4NjY5NzcyNA"
|
|
|
|
userSeq: 770074
|
|
|
|
|
|
|
|
http://13.124.88.127:8011/Common/FileTalkDownload.aspx?p_user_seq=770074&p_device_type=W&p_token=NDcyNDEwMjg2NjcyMjg3MTkxNzAyNDk2ODEwMzg2MDI4NjY5NzcyNA&p_att_seq=15186849
|
|
|
|
|
|
|
|
public urlForFileTalkDownload(
|
|
|
|
req: FileTalkDownloadRequest,
|
|
|
|
fileTalkDownloadUrl?: string
|
|
|
|
): string {
|
|
|
|
const fileTalkDownloadEncodeMap = {
|
|
|
|
userSeq: 'p_user_seq',
|
|
|
|
deviceType: 'p_device_type',
|
|
|
|
token: 'p_token',
|
|
|
|
attachmentsSeq: 'p_att_seq'
|
|
|
|
};
|
|
|
|
const extraParams: any = {};
|
|
|
|
|
|
|
|
const url = ParameterUtil.encode(
|
|
|
|
fileTalkDownloadEncodeMap,
|
|
|
|
req,
|
|
|
|
extraParams
|
|
|
|
);
|
|
|
|
const params = encodeFileTalkDownload(req);
|
|
|
|
|
|
|
|
const tttt = `${fileTalkDownloadUrl}?${url.toString()}`;
|
|
|
|
const temp = `${fileTalkDownloadUrl}${
|
|
|
|
!!params ? `?${params.toString()}` : ''
|
|
|
|
}`;
|
|
|
|
return tttt;
|
|
|
|
}
|