1.0.31 • Published 3 years ago

dubhe-screen-api v1.0.31

Weekly downloads
-
License
Unlicense
Repository
-
Last release
3 years ago

dubhe-screen-api

DubheScreenApi - JavaScript client for dubhe-screen-api dubhe screen demo This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.2
  • Package version: 1.0.2
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen For more information, please visit http://www.openkosmos.com

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install dubhe-screen-api --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your dubhe-screen-api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var DubheScreenApi = require('dubhe-screen-api');


var api = new DubheScreenApi.AccessControllerApi()
api.fetchAccessesUsingPOST().then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Documentation for API Endpoints

All URIs are relative to http://localhost:28101

ClassMethodHTTP requestDescription
DubheScreenApi.AccessControllerApifetchAccessesUsingPOSTPOST /rest/access/fetch获取权限
DubheScreenApi.AccessControllerApifetchMenuUsingPOSTPOST /rest/access/menu获取菜单
DubheScreenApi.AuthControllerApiloginUsingPOSTPOST /auth/login认证接口
DubheScreenApi.ClassesControllerApicreateClassesLightUsingPOSTPOST /rest/classes/createClassesLight创建班级信息
DubheScreenApi.ClassesControllerApicreateClassesUsingPOSTPOST /rest/classes/createClasses创建班级信息
DubheScreenApi.ClassesControllerApideleteClassesUsingDELETEDELETE /rest/classes/deleteClasses/{id}删除班级信息
DubheScreenApi.ClassesControllerApifetchClassesByNameUsingGETGET /rest/classes/fetchClassesByName查询班级信息
DubheScreenApi.ClassesControllerApiupdateClassesUsingPUTPUT /rest/classes/updateClasses修改班级信息
DubheScreenApi.CodeAddressControllerApiaddRetryUsingPOSTPOST /rest/obtain/addRetry/{codeAddress}addRetry
DubheScreenApi.CodeAddressControllerApifindDisptchLocationsUsingGETGET /rest/obtain/findDisptchLocationsfindDisptchLocations
DubheScreenApi.CodeAddressControllerApifindRetryLocationsUsingGETGET /rest/obtain/findRetryLocationsfindRetryLocations
DubheScreenApi.CodeAddressControllerApiupdateLocationUsingPUTPUT /rest/obtain/updateLocationupdateLocation
DubheScreenApi.HosControllerApiselecIncomeAllAreasUsingGETGET /rest/hos/selecIncomeAllAreasselecIncomeAllAreas
DubheScreenApi.HosControllerApiselectCmiUsingGETGET /rest/hos/selectCmiselectCmi CMI
DubheScreenApi.HosControllerApiselectCommonAreasUsingGETGET /rest/hos/selectCommonAreasselectCommonAreas
DubheScreenApi.HosControllerApiselectCostUsingGETGET /rest/hos/selectCostselectCost
DubheScreenApi.HosControllerApiselectDeliveryUsingGETGET /rest/hos/selectDeliveryselectDelivery
DubheScreenApi.HosControllerApiselectDeptIncomeUsingGETGET /rest/hos/selectDeptIncomeselectDeptIncome
DubheScreenApi.HosControllerApiselectHosUsingGETGET /rest/hos/selectHosselectHos
DubheScreenApi.HosControllerApiselectIncomeAreasUsingGETGET /rest/hos/selectIncomeAreasselectIncomeAreas
DubheScreenApi.HosControllerApiselectIndexInstDashboardKindUsingGETGET /rest/hos/selectIndexInstDashboardKindselectIndexInstDashboardKind
DubheScreenApi.HosControllerApiselectIndexInstDashboardUsingGETGET /rest/hos/selectIndexInstDashboardselectIndexInstDashboard
DubheScreenApi.HosControllerApiselectMzIncomeUsingGETGET /rest/hos/selectMzIncomeselectMzIncome
DubheScreenApi.HosControllerApiselectPerInBedAreasUsingGETGET /rest/hos/selectPerInBedAreasselectPerInBedAreas平均住院日
DubheScreenApi.IdxControllerApiselecIncomeAllKindsUsingGETGET /rest/idx/selecIncomeAllKindsselecIncomeAllKinds
DubheScreenApi.IdxControllerApiselecIncomeByYearsUsingGETGET /rest/idx/selecIncomeByYearsselecIncomeByYears
DubheScreenApi.IdxControllerApiselectBeanUsingGETGET /rest/idx/selectBeanselectBean
DubheScreenApi.IdxControllerApiselectCategriesFromIncomeUsingGETGET /rest/idx/selectCategriesFromIncomeselectCategriesFromIncome
DubheScreenApi.IdxControllerApiselectDeptCategriesFromIncomeUsingGETGET /rest/idx/selectDeptCategriesFromIncomeselectDeptCategriesFromIncome
DubheScreenApi.IdxControllerApiselectLeaveHospitalUsingGETGET /rest/idx/selectLeaveHospital出院人次
DubheScreenApi.IdxControllerApiselectOrgFromIncomeUsingGETGET /rest/idx/selectOrgFromIncomeselectOrgFromIncome
DubheScreenApi.IdxControllerApiselectPeopleCountUsingGETGET /rest/idx/selectPeopleCount就诊人次
DubheScreenApi.IdxControllerApiselectPeopleCountWithTypeUsingGETGET /rest/idx/selectPeopleCountWithType就诊人次 根据类型划分
DubheScreenApi.IdxControllerApiselectPercentCostUsingGETGET /rest/idx/selectPercentCost平均每病人总费用
DubheScreenApi.IdxControllerApiselectRegistration2UsingGETGET /rest/idx/selectRegistration2门诊挂号人次2
DubheScreenApi.IdxControllerApiselectRegistrationUsingGETGET /rest/idx/selectRegistration门诊挂号人次
DubheScreenApi.IdxControllerApiselectSurgicalOperationUsingGETGET /rest/idx/selectSurgicalOperation住院手术
DubheScreenApi.LibControllerApiselectByXdateKindsUsingGETGET /rest/lib/selectByXdateKindsselectByXdateKinds
DubheScreenApi.LibControllerApiselectByYearsKindsUsingGETGET /rest/lib/selectByYearsKindsselectByYearsKinds
DubheScreenApi.LibControllerApitestStandardArrayUsingGETGET /rest/lib/testStandardArraytestStandardArray
DubheScreenApi.LibControllerApitestStandardUsingGETGET /rest/lib/testStandardtestStandard
DubheScreenApi.LocationControllerApilistLocationCalendarTpUsingGETGET /rest/location/listLocationCalendarTplistLocationCalendarTp
DubheScreenApi.LocationControllerApilistLocationCalendarUsingGETGET /rest/location/listLocationCalendarlistLocationCalendar
DubheScreenApi.LocationControllerApilistLocationsTpUsingGETGET /rest/location/listLocationsTplistLocationsTp
DubheScreenApi.LocationControllerApilistLocationsUsingGETGET /rest/location/listLocationslistLocations
DubheScreenApi.LoginControllerApirefreshTokenUsingPOSTPOST /rest/login/refresh/token登录接口
DubheScreenApi.MonitorStatusDemoControllerApifetchMonitorStatusPageSqlUsingGETGET /rest/test/fetchMonitorStatusPageSql测试fetch分页sql
DubheScreenApi.MonitorStatusDemoControllerApifetchMonitorStatusPageUsingGETGET /rest/test/fetchMonitorStatusPage测试fetch分页nosql
DubheScreenApi.MonitorStatusDemoControllerApifetchMonitorStatusUsingGETGET /rest/test/fetchMonitorStatus测试fetch
DubheScreenApi.ScreenConfigControllerApifetchAllScreenConfigUsingGETGET /rest/screen/config/fetchAllScreenConfigfetchAllScreenConfig
DubheScreenApi.ScreenConfigControllerApifetchScreenConfigUsingGETGET /rest/screen/config/fetchScreenConfigfetchScreenConfig
DubheScreenApi.ScreenConfigControllerApimodifyScreenConfigUsingPATCHPATCH /rest/screen/config/modifyScreenConfigmodifyScreenConfig
DubheScreenApi.ScreenSettingControllerApicardUsingGETGET /rest/setting/cardcard
DubheScreenApi.ScreenSettingControllerApicardUsingGET1GET /setting/cardcard
DubheScreenApi.ScreenSettingControllerApifetchByEnumUsingGETGET /rest/setting/fetchByEnum测试参数枚举
DubheScreenApi.ScreenSettingControllerApifetchByEnumUsingGET1GET /setting/fetchByEnum测试参数枚举
DubheScreenApi.ScreenSettingControllerApitimelineUsingGETGET /rest/setting/timelinetimeline
DubheScreenApi.ScreenSettingControllerApitimelineUsingGET1GET /setting/timelinetimeline
DubheScreenApi.SystemConfigControllerApifetchAllItemSettingUsingGETGET /rest/systemConfig/fetchAllItemSetting获取全部配置项设置值
DubheScreenApi.SystemConfigControllerApifetchConfigByGroupCodeUsingGETGET /rest/systemConfig/fetchConfigByGroupCode/{groupCode}获取配置组信息
DubheScreenApi.SystemConfigControllerApifetchItemSettingByItemCodeUsingGETGET /rest/systemConfig/fetchItemSettingByItemCode/{itemCode}获取配置项设置值
DubheScreenApi.SystemConfigControllerApiupdateConfigByGroupSettingUsingPUTPUT /rest/systemConfig/updateSystemConfigGroupSetting保存组配置信息
DubheScreenApi.SystemConfigControllerApiupdateDisableSystemConfigUsingPUTPUT /rest/systemConfig/updateDisableSystemConfig/{itemCode}禁用配置项
DubheScreenApi.SystemConfigControllerApiupdateEnableSystemConfigUsingPUTPUT /rest/systemConfig/updateEnableSystemConfig/{itemCode}启用配置项
DubheScreenApi.SystemConfigControllerApiupdateSystemConfigSettingUsingPUTPUT /rest/systemConfig/updateSystemConfigItemSetting保存项配置信息
DubheScreenApi.UserControllerApicurrentUsingPOSTPOST /rest/user/current获取当前用户信息
DubheScreenApi.UserControllerApiquerAllAvailableUsingGETGET /rest/user/all获取当前用户信息

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

1.0.31

3 years ago

1.0.30

3 years ago

1.0.19

3 years ago

1.0.2

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.22

3 years ago

1.0.20

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago