@imedx/ics-chromely-plugin-imedx
v0.0.2
Published
提供获取IMedx客户端本地信息,例如当前日期时间等
Downloads
9
Maintainers
Keywords
Readme
Usage
npm i @imedx/ics-chromely-plugin-imedx
feature
0.0.0-beta.3 新增获取电子签名和机构Logo
0.0.0-beta.2 新增CheckLogin方法
0.0.0-beta.1 新增获取本地时间函数GetNow
Features
- IMedxHelper:IMedx帮助类
Importing library
You can import the generated bundle to use the whole library generated by this starter:
import IMedxHelper from '@imedx/ics-chromely-plugin-imedx'
或者
import { LogoType, IMedxHelper } from '@imedx/ics-chromely-plugin-imedx'
IMedxHelper
/**
* @description: 获取本地时间
*/
static GetNow(): Promise<any>;
/**
* 校验用户是否登录
* @param userName 用户账号
* @returns
*/
static CheckLogin(userName: string): Promise<any>;
/**
* 获取职工电子签名
* @param staffId 职工ID
* @returns base64图片
*/
static GetStaffSign(staffId: string): Promise<any>;
/**
* 获取机构徽标
* @param orgId 机构ID
* @param type logo类型 square:正方形 oblong:长方形
* @returns base64图片
*/
static GetOrgLogo(orgId: string, type?: LogoType): Promise<any>;