diff options
author | 2019-09-29 14:50:27 +0800 | |
---|---|---|
committer | 2019-09-29 14:50:31 +0800 | |
commit | 7e93b16cf903c308909e8ee2ef69c56140b06985 (patch) | |
tree | 9eadf8465d07bd21fd9a3ce5c96af11faf390b58 /usecaseui-portal/src/app/core/models | |
parent | e564a3e86e3880269290c9712b097336ab6db28e (diff) |
feat:optimize data type definition and data type reference
Change-Id: I640e9500556cb20783a4e1f604bc334a740ddeac
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/core/models')
-rw-r--r-- | usecaseui-portal/src/app/core/models/dataInterface.ts | 47 |
1 files changed, 1 insertions, 46 deletions
diff --git a/usecaseui-portal/src/app/core/models/dataInterface.ts b/usecaseui-portal/src/app/core/models/dataInterface.ts index 012b23e6..969651f4 100644 --- a/usecaseui-portal/src/app/core/models/dataInterface.ts +++ b/usecaseui-portal/src/app/core/models/dataInterface.ts @@ -2,55 +2,10 @@ enum baseUrl{ baseUrl = '/api/usecaseui-server/v1' //online // baseUrl = 'http://10.73.191.100:8082' //local two } -interface homeData { - services:{ - number:number, - chartdata:Object[] - }, - performance:{ - per_Vnf:number, - per_VmPm:number - }, - alarm:{ - chartdata:Object[] - }, - Vm_performance:{ - names:string[] - } -}; - -interface homeVmLineData { - CPU:number[], - Memory:number[] -} - -interface servicesSelectData { - customer:string[], - serviceType:string[] -} interface servicesTableData { total:number, tableList:string[] } -interface creatensData { - total:number, - tableList:string[] -} - -interface onboardTableData { - total:number, - tableList:string[] -} - -interface onboardDataVNF { - total:number, - tableList:string[] -} - -interface onboardDataPNF { - total:number, - tableList:string[] -} -export {homeData, homeVmLineData, servicesSelectData, servicesTableData, creatensData, onboardTableData, onboardDataVNF, onboardDataPNF , baseUrl} +export {servicesTableData , baseUrl} |