Commit c6f777e8 authored by 陈帅's avatar 陈帅

fix tslint error

parent 4b28cfb9
......@@ -29,7 +29,7 @@ export interface INotice {
memberLink: string;
}
export interface currentuser {
export interface CurrentUser {
name: string;
avatar: string;
userid: string;
......
......@@ -29,7 +29,7 @@ export interface INotice {
memberLink: string;
}
export interface currentuser {
export interface CurrentUser {
name: string;
avatar: string;
userid: string;
......
export interface ivisitdata {
export interface IVisitData {
x: string;
y: number;
}
export interface ivisitdata2 {
export interface IVisitData2 {
x: string;
y: number;
}
export interface isalesdata {
export interface ISalesData {
x: string;
y: number;
}
export interface isearchdata {
export interface ISearchData {
index: number;
keyword: string;
count: number;
......@@ -21,39 +21,39 @@ export interface isearchdata {
status: number;
}
export interface iofflinedata {
export interface IOfflineData {
name: string;
cvr: number;
}
export interface iofflinechartdata {
export interface IOfflineChartData {
x: any;
y1: number;
y2: number;
}
export interface isalestypedata {
export interface ISalesTypeData {
x: string;
y: number;
}
export interface isalestypedataonline {
export interface ISalesTypeDataOnline {
x: string;
y: number;
}
export interface isalestypedataoffline {
export interface ISalesTypeDataOffline {
x: string;
y: number;
}
export interface iradardata {
export interface IRadarData {
name: string;
label: string;
value: number;
}
export interface ianalysisdata {
export interface IAnalysisData {
visitData: IVisitData[];
visitData2: IVisitData2[];
salesData: ISalesData[];
......
export interface itag {
export interface ITag {
key: string;
label: string;
}
export interface iprovince {
export interface IProvince {
label: string;
key: string;
}
export interface icity {
export interface ICity {
label: string;
key: string;
}
export interface geographic {
export interface IGeographic {
province: IProvince;
city: ICity;
}
export interface inotice {
export interface INotice {
id: string;
title: string;
logo: string;
......@@ -29,7 +29,7 @@ export interface inotice {
memberLink: string;
}
export interface icurrentuser {
export interface ICurrentUser {
name: string;
avatar: string;
userid: string;
......@@ -42,18 +42,17 @@ export interface icurrentuser {
notifyCount: number;
unreadCount: number;
country: string;
geographic: Geographic;
geographic: IGeographic;
address: string;
phone: string;
}
export interface imember {
export interface IMember {
avatar: string;
name: string;
id: string;
}
export interface iactivities {
export interface IActivities {
id: string;
updatedAt: string;
user: {
......@@ -72,7 +71,7 @@ export interface iactivities {
template: string;
}
export interface iradardata {
export interface IRadarData {
label: string;
name: string;
value: number;
......
import React from 'react';
import { Card } from 'antd';
import React from 'EditorFlow/node_modules/_@types_react@16.8.18@@types/react';
import { Card } from 'EditorFlow/node_modules/_antd@3.18.2@antd/lib';
import { ItemPanel, Item } from 'gg-editor';
import styles from './index.less';
......
import React from 'react';
import { RouteContext } from '@ant-design/pro-layout';
import { RouteContext, GridContent } from '@ant-design/pro-layout';
import { PageHeader, Tabs, Typography } from 'antd';
import styles from './index.less';
import { GridContent } from '@ant-design/pro-layout';
import { TabsProps } from 'antd/lib/tabs';
interface IPageHeaderTabConfig {
tabList?: Array<{
......
import React from 'react';
import { Row, Col } from 'antd';
import React from 'EditorFlow/node_modules/_@types_react@16.8.18@@types/react';
import { Row, Col } from 'EditorFlow/node_modules/_antd@3.18.2@antd/lib';
import GGEditor, { Flow } from 'gg-editor';
import EditorMinimap from './components/EditorMinimap';
import { FlowContextMenu } from './components/EditorContextMenu';
......
export interface member {
export interface Member {
avatar: string;
name: string;
id: string;
}
export interface listitemdatatype {
export interface ListItemDataType {
id: string;
owner: string;
title: string;
......
export interface member {
export interface Member {
avatar: string;
name: string;
id: string;
}
export interface listitemdatatype {
export interface ListItemDataType {
id: string;
owner: string;
title: string;
......
export interface tablelistitem {
export interface TableListItem {
key: number;
disabled?: boolean;
href: string;
......@@ -14,18 +14,18 @@ export interface tablelistitem {
progress: number;
}
export interface tablelistpagination {
export interface TableListPagination {
total: number;
pageSize: number;
current: number;
}
export interface tablelistdate {
export interface TableListDate {
list: TableListItem[];
pagination: Partial<TableListPagination>;
}
export interface tablelistparams {
export interface TableListParams {
sorter: string;
status: string;
name: string;
......
export interface advancedoperation1 {
export interface AdvancedOperation1 {
key: string;
type: string;
name: string;
......@@ -7,7 +7,7 @@ export interface advancedoperation1 {
memo: string;
}
export interface advancedoperation2 {
export interface AdvancedOperation2 {
key: string;
type: string;
name: string;
......@@ -16,7 +16,7 @@ export interface advancedoperation2 {
memo: string;
}
export interface advancedoperation3 {
export interface AdvancedOperation3 {
key: string;
type: string;
name: string;
......@@ -25,7 +25,7 @@ export interface advancedoperation3 {
memo: string;
}
export interface advancedprofiledata {
export interface AdvancedProfileData {
advancedOperation1: AdvancedOperation1[];
advancedOperation2: AdvancedOperation2[];
advancedOperation3: AdvancedOperation3[];
......
export interface basicgood {
export interface BasicGood {
id: string;
name: string;
barcode: string;
......@@ -7,7 +7,7 @@ export interface basicgood {
amount: string | number;
}
export interface basicprogress {
export interface BasicProgress {
key: string;
time: string;
rate: string;
......@@ -16,7 +16,7 @@ export interface basicprogress {
cost: string;
}
export interface basicprofiledatatype {
export interface BasicProfileDataType {
basicGoods: BasicGood[];
basicProgress: BasicProgress[];
}
......@@ -5,13 +5,12 @@
"lint": "npm run lint:ts && npm run lint:style && npm run lint:prettier",
"lint-staged": "lint-staged",
"lint-staged:ts": "tslint",
"lint:fix": "npm run tslint:fix && npm run lint:style",
"lint:fix": "npm run lint:style",
"lint:prettier": "check-prettier write",
"lint:style": "stylelint --syntax less --fix **/**.less ",
"lint:ts": "tslint -p . -c tslint.yml",
"prettier": "node ./_scripts/prettier.js",
"tslint": "npm run tslint:fix",
"tslint:fix": "tslint -p . -c tslint.yml --fix "
"tslint": "npm run tslint:fix"
},
"husky": {
"hooks": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment