|
|
|
@ -18,7 +18,7 @@ import {BrowserStorageService} from "../../../utils/localStorage.service"; |
|
|
|
|
import {DATA, INIT_FLAG, LOGIN_DATA, USER_TOKEN} from "../../../data/login/localStorage.namespace"; |
|
|
|
|
import {NzDropDownDirective, NzDropdownMenuComponent} from "ng-zorro-antd/dropdown"; |
|
|
|
|
import {NzMessageService} from "ng-zorro-antd/message"; |
|
|
|
|
import {dictionaryData} from "../../../data/common/dictionary.namespace"; |
|
|
|
|
import {Dictionary, dictionaryData} from "../../../data/common/dictionary.namespace"; |
|
|
|
|
import {CommonService} from "../../../services/common/common.service"; |
|
|
|
|
import {LoginService} from "../../../services/login/login.service"; |
|
|
|
|
import {NzConfigService} from "ng-zorro-antd/core/config"; |
|
|
|
@ -80,6 +80,7 @@ export class IndexComponent { |
|
|
|
|
this.nzConfigService.set('treeSelect', { nzSize: 'large' }) |
|
|
|
|
// 缓存数据字典
|
|
|
|
|
this.commonService.queryDictionary('','',(data: any) => { |
|
|
|
|
dictionaryData.length = 0; |
|
|
|
|
for (let item of data['return_data']) { |
|
|
|
|
dictionaryData.push( |
|
|
|
|
{ |
|
|
|
|