let PathNameWindow = decodeURIComponent(window.location.pathname); // /gsimteam/archive let path_name = PathNameWindow.replace('archive', 'officialDoc'); // /gsimteam/officialDoc let project_id = PathNameWindow.split('/')[1]; // gsimteam export const docVars = { // 라우터 연결을 위한 변수 path_name: path_name, // 프로젝트 id project_id: project_id, // 오브젝트 스토리지 타입 (ONPREMISE / CLOUD) storageType: undefined, // 버킷 (프로젝트 id와 동일) bucket: project_id, // 마지막으로 클릭한 타켓 lastClickedListTarget: undefined, // 마지막으로 우클릭한 타겟 -> 컨텍스트 메뉴에 사용 lastContextTarget: undefined, // 로그 데이터 -> 활동 정보 activity-info-item(로그 데이터)에 사용 (활동 정보 아이템 클릭 시 상세 정보 표시에 사용) logData: undefined, // 변환중인 파일 경로를 저장하는 배열 workingFileArr: [], // 미리보기 뷰어 viewer: undefined, // 수신/발신 direction: undefined, allRecipientListByDirection: undefined, allSendingListByDirection: undefined, // 파일 리스트 sort용 현재 컬럼, 현재 정렬순 curSortCol : 'number', curSortOrder : 'asc', // allDocData: [], allDocOfficialData: [], allDocAttachData: [], currentDroppedFiles: [], currentDocId: null, currentGroupId: null, selectedDoc: null, selectedAttachItem: null, selectParams: { typeOptions: '', // depth1: 발주처/외 baseOptions: '', // depth2: 기준 targetOptions: '', // depth3: 상대기관 }, groupCompanyData: {}, originCompanyList: [], }; // window.docVars = docVars;