|
@@ -4,7 +4,8 @@ import '@/types/global';
|
|
|
import {
|
|
|
NoticeRecord,
|
|
|
NoticeQueryParams,
|
|
|
- CustomerBlacklistItem
|
|
|
+ CustomerBlacklistItem,
|
|
|
+ BrandScopeItem
|
|
|
} from '@/api/types/announcement';
|
|
|
|
|
|
import {NoticeRecord} from '@/api/types/announcement';
|
|
@@ -125,7 +126,7 @@ export interface FormData {
|
|
|
orgCode?: string;
|
|
|
orgName?: string;
|
|
|
visibleRoles?: RoleType[] | VisibleRolesMask | RoleOption[];
|
|
|
- brandScope?: BrandScope | null;
|
|
|
+ brandScope?: BrandScopeItem[];
|
|
|
customerBlacklist?: CustomerBlacklistItem[];
|
|
|
remark?: string;
|
|
|
status?: number;
|
|
@@ -142,7 +143,7 @@ export interface FormData {
|
|
|
*/
|
|
|
export interface AnnouncementComponentData {
|
|
|
// Data properties
|
|
|
- form: Partial<NoticeRecord>;
|
|
|
+ form: FormData;
|
|
|
query: Partial<NoticeQueryParams>;
|
|
|
loading: boolean;
|
|
|
detailVisible: boolean;
|