parent
ba49ee7658
commit
134a76b869
@ -1,7 +1,7 @@ |
|||||||
import {NgModule} from '@angular/core'; |
import {NgModule} from '@angular/core'; |
||||||
import {CommonModule} from '@angular/common'; |
import {CommonModule} from '@angular/common'; |
||||||
// 论坛组件
|
// 论坛组件
|
||||||
import {ForumComponent} from '../forum.component'; |
import {ForumComponent} from './forum/forum.component'; |
||||||
import {TranslateModule} from '@ngx-translate/core'; |
import {TranslateModule} from '@ngx-translate/core'; |
||||||
import {RouterModule} from '@angular/router'; |
import {RouterModule} from '@angular/router'; |
||||||
|
|
@ -1,13 +1,13 @@ |
|||||||
import {Component, OnInit} from '@angular/core'; |
import {Component, OnInit} from '@angular/core'; |
||||||
import {Router} from '@angular/router'; |
import {Router} from '@angular/router'; |
||||||
import {ForumService} from './forum.service'; |
import {ForumService} from '../forum.service'; |
||||||
import {Result} from '../interface/Result'; |
import {Result} from '../../interface/Result'; |
||||||
import {Active, Complaint, Forum} from '../interface/ForumType'; |
import {Active, Complaint, Forum} from '../../interface/ForumType'; |
||||||
import {Notice} from '../interface/Notice'; |
import {Notice} from '../../interface/Notice'; |
||||||
import {MessageInterface, MessageUtil} from '../message/message.service'; |
import {MessageInterface, MessageUtil} from '../../message/message.service'; |
||||||
import {NoticeService} from './notice/notice.service'; |
import {NoticeService} from '../notice/notice.service'; |
||||||
import {TranslateService} from '@ngx-translate/core'; |
import {TranslateService} from '@ngx-translate/core'; |
||||||
import {ForumNewResponse} from '../interface/Response'; |
import {ForumNewResponse} from '../../interface/Response'; |
||||||
|
|
||||||
/** |
/** |
||||||
* 论坛组件 |
* 论坛组件 |
@ -0,0 +1,19 @@ |
|||||||
|
export interface Visitor { |
||||||
|
id: string; |
||||||
|
// 预约人
|
||||||
|
appointment: string; |
||||||
|
// 预约时间
|
||||||
|
time: number; |
||||||
|
// 拜访目的
|
||||||
|
notes: string; |
||||||
|
// 审核状态
|
||||||
|
status: VisitorStatus; |
||||||
|
// 审核管理员
|
||||||
|
managerName: string; |
||||||
|
} |
||||||
|
|
||||||
|
export enum VisitorStatus { |
||||||
|
uncheck = 'uncheck', |
||||||
|
ok = 'ok', |
||||||
|
fail = 'fail' |
||||||
|
} |
Loading…
Reference in new issue