Appearance
Misc其它
概述
工具函数
jsonStringify
将对象obj转换为JSON字符串
javascript
Misc.jsonStringify(obj)
参数 | 类型 | 描述 |
---|---|---|
obj | Object | 需要序列化的对象 |
返回值
类型 String
obj序列化为JSON字符串,如果obj为null
返回值为null
示例
javascript
Misc.jsonStringify('123456'); //"123456"
Misc.jsonStringify([1, 2, 3, 4, 5, 6]); //[1,2,3,4,5,6]
Misc.jsonStringify({ "a": 1, "b": 2 }); //{"a":1,"b":2}
Misc.jsonStringify(date); //1667232000000
Misc.jsonStringify(true); //true
Misc.jsonStringify(null); //null
jsonParse
将字符串str转换为JSON对象
javascript
Misc.jsonParse(str)
参数 | 类型 | 描述 |
---|---|---|
str | String | 需要转换为对象的字符串 |
返回值
类型 Object
转换后的对象,如果str为null
或者不是正确的JSON结构,会抛出异常
示例
javascript
Misc.jsonParse('"123456"'); //123456
Misc.jsonParse('[1,2,3,4,5,6]'); //[1,2,3,4,5,6]
Misc.jsonParse('{"a":1,"b":2}'); //{a:1,b:2}
Misc.jsonParse(1667232000000); //1667232000000
Misc.jsonParse('"2022-12-03T15:31:10.844Z"'); //Sat Dec 03 23:31:10 CST 2022
Misc.jsonParse(true); //true
Misc.jsonParse(null); //null
parseFloat
将字符串str转换为小数
javascript
Misc.parseFloat(str)
参数 | 类型 | 描述 |
---|---|---|
str | String | 需要转换的字符串 |
返回值
类型 Double
转换后的小数,如果str为null
或者不是正确的数字格式会抛出异常
示例
javascript
Misc.parseFloat(1); //1.0
Misc.parseFloat(2.0); //2.0
Misc.parseFloat('2'); //2.0
Misc.parseFloat('a'); //null
Misc.parseFloat(true); //null
Misc.parseFloat(null); //null
parseInt
将字符串str转换为整数
javascript
Misc.parseInt(str)
参数 | 类型 | 描述 |
---|---|---|
str | String | 需要转换的字符串 |
返回值
类型 Integer
转换后的整数,如果str为null
或者不是正确的数字格式会抛出异常
示例
javascript
Misc.parseInt(1); //1
Misc.parseInt(2.0); //2
Misc.parseInt('2'); //2
Misc.parseInt('3.1415'); //3
Misc.parseInt('03.1415'); //3
Misc.parseInt('a'); //null
Misc.parseInt(true); //null
Misc.parseInt(null); //null
timestampToDate
距离UNIX时间戳数字值转换为日期类型
javascript
Misc.timestampToDate(timestamp)
参数 | 类型 | 描述 |
---|---|---|
timestamp | Integer | UNIX时间戳 |
返回值
类型 Date
转换后的日期,如果timestamp为null
返回null
示例
javascript
Misc.timestampToDate(1667232000000); //Tue Nov 01 00:00:00 CST 2022
Misc.timestampToDate('1667232000000'); //Tue Nov 01 00:00:00 CST 2022
Misc.timestampToDate('3.1415'); //null
Misc.timestampToDate('a'); //null
Misc.timestampToDate(null); //null
dateToTimestamp
日期类型转换为距离UNIX时间戳数字值
javascript
Misc.dateToTimestamp(date)
参数 | 类型 | 描述 |
---|---|---|
date | Date | 日期 |
返回值
类型 Integer
转换后的UNIX时间戳,如果date为null
返回null
示例
javascript
Misc.dateToTimestamp(new Date()); //1667232000000
Misc.timestampToDate(null); //null
formatDate
将变量date按照格式fmt(yyyy-MM-dd HH:mm:ss,SSS)转换为字符串
javascript
Misc.formatDate(date, fmt)
参数 | 类型 | 描述 |
---|---|---|
date | Date | 要转换的日期 |
fmt | String | 转换格式 |
返回值
类型 String
转换后的字符串,如果str为null
或者str不是给定的日期格式返回null
示例
javascript
//假设date的值是 2022-11-01 13:01:01,000, 时间戳 timestamp 为 1667278861000
Misc.formatDate(date, 'yyyy-MM'); //2022-11
Misc.formatDate(date, 'yyyy-MM-dd'); //2022-11-01
Misc.formatDate(date, 'yyyy'); //2022
Misc.formatDate(date, 'HH:mm:ss,SSS'); //13:01:01,000
Misc.formatDate(date, 'abc'); //null
Misc.formatDate(timestamp, 'yyyy-MM'); //2022-11
Misc.formatDate(timestamp, 'yyyy-MM-dd'); //2022-11-01
Misc.formatDate(timestamp, 'yyyy'); //2022
Misc.formatDate(timestamp, 'HH:mm:ss,SSS'); //13:01:01,000
Misc.formatDate(timestamp, 'abc'); //null
Misc.formatDate(null, 'yyyy-MM-dd'); //null
Misc.formatDate(date, null); //null
Misc.formatDate(timestamp, null); //null
Misc.formatDate(null, null); //null
parseDate
将str按照格式fmt(yyyy-MM-dd HH:mm:ss,SSS)转换为日期
javascript
Misc.parseDate(str, fmt)
参数 | 类型 | 描述 |
---|---|---|
str | String | 要转换的日期字符串 |
fmt | String | 转换格式 |
返回值
类型 Date
转换后的日期,如果str为null
或者str不是给定的日期格式返回null
示例
javascript
Misc.parseDate('2022-11-01 13:01:01,000', 'yyyy-MM'); //Tue Nov 01 00:00:00 CST 2022
Misc.parseDate('2022-11-01 13:01:01,000', 'yyyy-MM-dd'); //Tue Nov 01 00:00:00 CST 2022
Misc.parseDate('2022-11-01 13:01:01,000', 'yyyy'); //Sat Jan 01 00:00:00 CST 2022
Misc.parseDate('2022-11-01 13:01:01,000', 'HH:mm:ss,SSS'); //null
Misc.parseDate('2022-11-01 13:01:01,000', 'abc'); //null
Misc.parseDate(null, 'yyyy-MM-dd'); //null
Misc.parseDate('2022-11-01 13:01:01,000', null); //null
Misc.parseDate(null, null); //null
host
返回系统的首页地址
javascript
Misc.host()
返回值
类型 String
系统的首页地址
示例
javascript
Misc.host() // https://next.informat.cn/
pinyin
返回字符串 str 的中文拼音
javascript
Misc.pinyin(str)
参数 | 类型 | 描述 |
---|---|---|
str | String | 要转换为拼音的字符串 |
返回值
类型 String
转换后的拼音,如果str为null
则返回null
示例
javascript
Misc.pinyin('你好织信'); //ni hao zhi xin
Misc.pinyin('Hellow 织信'); //H e l l o w zhi xin
Misc.pinyin(null); //null
shortPinyin
返回字符串 str 的每个中文汉字拼音的首字母
javascript
Misc.shortPinyin(str)
参数 | 类型 | 描述 |
---|---|---|
str | String | 要转换为拼音的字符串 |
返回值
类型 String
转换后的拼音首字母,如果str为null
则返回null
示例
javascript
Misc.shortPinyin('你好织信'); //nhzx
Misc.shortPinyin('Hellow 织信'); //Hellow zx
Misc.shortPinyin(null); //null
expectNotNull
判定对象是否为空,为空则抛出提示为 message 的异常,否则返回对象
javascript
Misc.expectNotNull(obj, message)
参数 | 类型 | 描述 |
---|---|---|
obj | Object | 要判断的对象 |
message | String | 如果obj为空,异常的提示信息 |
返回值
类型 Object
传入的对象
示例
javascript
Misc.expectNotNull(null, '消息') //会抛出异常
Misc.expectNotNull('obj', '消息') //返回 'obj'
expectFirst
返回array第一个元素。如果array为空,则抛出提示为 message 的异常
javascript
Misc.expectFirst(array, message)
参数 | 类型 | 描述 |
---|---|---|
array | Array | 数组 |
message | String | 如果array为null或者长度为0,异常的提示信息 |
返回值
类型 Object
array的第一个元素
示例
javascript
Misc.expectFirst(null, '消息') //会抛出异常
Misc.expectFirst([], '消息') //会抛出异常
Misc.expectFirst(['1', '2'], '消息') //返回1
expectLast
返回array最后一个元素。如果array为空,则抛出提示为 message 的异常
javascript
Misc.expectLast(array, message)
参数 | 类型 | 描述 |
---|---|---|
array | Array | 数组 |
message | String | 如果array为null或者长度为0,异常的提示信息 |
返回值
类型 Object
array的最后一个元素
示例
javascript
Misc.expectLast(null, '消息') //会抛出异常
Misc.expectLast([], '消息') //会抛出异常
Misc.expectLast(['1', '2'], '消息') //返回2
invokeScript
调用脚本中的函数
脚本中的函数必须使用export
语法导出。如果脚本或者脚本中的函数不存在则抛出异常
javascript
Misc.invokeScript(script, func, ...args)
参数 | 类型 | 描述 |
---|---|---|
script | String | 脚本的路径 |
func | String | 函数名 |
args | ...Object | 参数列表 |
返回值
类型 Object
脚本函数的返回值,如果函数没有返回值则为null
示例
脚本test.js
javascript
export function add(a, b) {
return a + b;
}
javascript
Misc.invokeScript('test.js', 'add1') //会抛出异常
Misc.invokeScript('test.js', 'add', 1, 2) //3
invokeAutomatic
调用自动化程序
如果自动化程序不存在则抛出异常
javascript
Misc.invokeAutomatic(automaticId, ...args)
参数 | 类型 | 描述 |
---|---|---|
automaticId | String | 自动化程序的标识符 |
args | ...Object | 参数列表 |
返回值
类型 Object
自动化程序的返回值,如果自动化程序没有返回值则为null
示例
javascript
Misc.invokeAutomatic('testAutomatic', 1, 2) //3
httpGet
通过GET方式访问url地址,返回请求的内容
如果url地址不正确会抛出异常,如果http请求的response code不是200也会抛出异常
javascript
Misc.httpGet(url)
参数 | 类型 | 描述 |
---|---|---|
url | String | url地址 |
返回值
类型 String
http请求的返回的body内容
示例
javascript
Misc.httpGet('https://next.informat.cn/web0/api/i1mwqy35y88hl/helloworld') //hello world!
prop
取出对象 object 中的属性 key 的值
如果对象为Map
类型则返回键为key
的那一项,如果为对象类型则返回其中的key
属性。如果object为null
则返回null
javascript
Misc.prop(object, key)
参数 | 类型 | 描述 |
---|---|---|
object | Object | 要返回属性的对象 |
key | String | 要返回属性的名称,如果key为空时会抛出异常 |
返回值
类型 Object
object中key属性的值
示例 假设 对象 object的结构如下
javascript
Misc.prop({ 'a': '1', 'b': 2 }, 'a'); //1
Misc.prop({ 'a': '1', 'b': 2 }, 'c'); //null
Misc.prop({ 'a': '1', 'b': 2 }, null); //null
Misc.prop(null, 'c'); //null
Misc.prop(null, null); //null
appId
获取所在应用的ID
javascript
Misc.appId()
返回值
类型 String
所在应用的ID
getAppIdByKey
通过应用标识符查询团队下的应用ID
javascript
Misc.getAppIdByKey(key)
参数 | 类型 | 描述 |
---|---|---|
key | String | 应用标识符 |
返回值
类型 String
应用ID
attachmentURL
获取附件访问的链接地址
通过附件字段的数据表标识符、字段标识符、值获取访问链接地址
javascript
Misc.attachmentURL(tableKey, fieldKey, value)
参数 | 类型 | 描述 |
---|---|---|
tableKey | String | 数据表ID |
fieldKey | String | 字段ID |
value | String | TableAttachment中的id属性 |
返回值 类型 String
附件的访问地址
示例
javascript
Misc.attachmentURL('staff', 'photo', '1af34d8a031d4faeaef40a989585caa5.png')
//https://next.informat.cn/web0/file/fieldkey/psl4wawpyued1/staff/photo/1af34d8a031d4faeaef40a989585caa5.png
appResURL
获取应用资源库的资源地址
通过传入资源库资源ID获取访问链接地址
javascript
Misc.appResURL(appResId)
参数 | 类型 | 描述 |
---|---|---|
appResId | String | 资源ID |
返回值 类型 String
资源库的资源访问地址
示例
javascript
Misc.appResURL('cjkhd8819chd8dhs.jpg')
//https://next.informat.cn/web0/main/app_res/icxt9rsd1f0ai/demoApp/cjkhd8819chd8dhs.jpg
websiteResURL
获取应用网站模块的资源地址
通过传入网站模块ID和资源路径获取访问链接地址
javascript
Misc.websiteResURL(moduleKey,filePath)
参数 | 类型 | 描述 |
---|---|---|
moduleKey | String | 网站模块ID |
filePath | String | 文件路径 |
返回值 类型 String
返回网站模块的资源地址
示例
javascript
Misc.websiteResURL('websiteModule', 'logo.png');
//https://next.informat.cn/web0/website/od6km3qte7vdb/j8j56sgtoj8b7/logo.png
Misc.websiteResURL('websiteModule', './logo.png');
//https://next.informat.cn/web0/website/od6km3qte7vdb/j8j56sgtoj8b7/./logo.png
barcodeURL
返回表示条码图片的BASE64值
javascript
Misc.barcodeURL(value, format)
参数 | 类型 | 描述 |
---|---|---|
value | String | 条码的值,只能包含数字 |
format | String | 条码格式,可选值为 CODE39 CODE128 CODE128A CODE128B CODE128C ISBN EAN13 EAN8 EAN5 EAN2 UPC ITF ITF14 MSI MSI11 MSI1010 MSI1110 pharmacode codabar |
返回值 类型 String
条码图片的BASE64值
示例
javascript
Misc.barcodeURL('12345', 'CODE39');
// data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPQAAACOCAYAAAAGliVZAAAAAXNSR0IArs4c6QAAD+hJREFUeF7tXWvIlEUbHiFFK00LIlQSLbXE1A4/PJWSUYhHiiACxRAUFRQFSzG18pCoYGZBP7T0hwqeoCz8oZDHQiVEQqHCMJU8RYmKqIl+3PO6+727+zx73XPvPLvr2/X8Kd+ZZ+aea+7rPs3sbrM7d+7ccXyIABFoEgg0I6GbxD5yEUTAI0BCUxGIQBNCgIRuQpvJpRABEpo6QASaEAIkdBPaTC6FCJDQ1AEi0IQQIKGb0GZyKUSAhKYOEIEmhAAJ3YQ2k0shAmpCN2vWzKOVdrGsuD3372KIc+9r2639i+dNk886PpI/q/mteFrlKcYn7d9p4yN5Q/HXjhdLntD1Vms9aaaLh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YPf999+XvL948WJPxNzz6KOPegOQe4Tob731Vv7f33zzjRs1alSeyA899JA7c+ZMvl0IOn78+FQ5T5065Tp16pRvP3DgQIHRuHjxohMZ0p4FCxa4999/H+LADvERIKHjYwpH/Pvvv90jjzySJ1yfPn08scsRev/+/e7dd9/1xGrRooX7+eef3ezZs913333nx7l8+XI+rD527Jg7dOiQe+2111z79u19+8mTJ703X7dunf+3hOEPPPBAoqwjR45027dvh4SWKOGPP/4oGaNVq1auZcuWEAd2iI8ACR0fUziiEPrpp5928+fPd+PGjXObNm3yIWoaoW/evOlJXPwcPHjQh93yFHvRJCGE1J07d/ZNP/74Y/7dxn23bNni3nzzTffhhx/68P/KlSslY+c8tBBaDAmf+kGAhK7RXty6dcvdd999fva1a9eWJXSaiDJG8+bNfbOE8Cg3PnHihHvyySd9f8mtu3btWjD0P//845566ilvPH755Rf32GOPkdA10g/rtCS0FbmI71kJffToUSfhujzi9du1a5coleTsx48f91538+bNvsAl7xY/UsySQpjk4CNGjHBt2rQpS2h5/+WXX/b5effu3Z0U3aZOnZoqR0TIOFQKAiR0HaiGhdC3b992Q4YMcbt373Zvv/22W79+fclKhLRjx451586dyxfRunXr5qvlzz33XEF/yeFfeuklN2zYMPftt9/6Ng2hiyeVYpnk9S+88EIdIPvfE4GEroM9txB6xYoVbsaMGb7aLN43V2RrvBw5EhswYEDBCufNm+fee+89d//99+f/fv36dde7d28fhsuRVy4sTyO05NUyjuTaErb/+++/TuaaPn2699Y9evRwR44cScz76wDuJi0CCV0H2xtK6MbHUnLMJcW0tEfy7L/++svt2LHDffXVV76aLl5aKuG5HP6jjz7yBTohqYTluSeN0GlzyZg9e/b0zZqcvg6gb3IikNB1sKUhhN67d68bNGiQl1qq4+Iltc+NGzd8/iyeWIg9cOBAJ4Wwhx9+2A8h+XXjG2hDhw71f1+6dKl75plnfH90Q036SMX9s88+c1OmTNGKxn6RECChIwFZyTBaQv/000/53FSKVxMnTgyeVopWcjNt1qxZ7uOPP3Z//vmn69Chg2ocyckb3xhLemn48OE+hxZPLx6fT3URIKGri3fibBpCS54sZ86Svy5ZssTnwZZn9OjR7uuvv/bV6JUrV/oLJp988kniUHPnzvV/l7PyJ554wk2YMKHsDTGJAB5//HFfgAuNHixr4TulCJDQdaAViNC///6769evnyeKXKmUq5XlnjVr1vjjLDlGyj3Xrl1zW7du9VVveeT/X3/99bLjpOXQ27Zt84UvObPOPXL5ZebMme7TTz/1fzp9+rTr2LFjHaD73xKBhK7RfkuBSu5yyyM3r8TzytOlSxf/XyGjeDl5cufD8v9pJJH73mPGjPH95fhJcmQZS3JfKYzlrohK+4svvuh27doFq9BphM55eQm/5fxZvqBRqty5++Li8adNm1YjZP/b05LQNdp/UXo55kl75LhJ7m8XEzqt/+eff+4mT57smxctWuQviDT+QEbuPcmdJVxv27YtXHkaoaUiLpXx4keMjazrjTfegGOzQzYIkNDZ4FoXo549e9aH6eL95Rqn5LdJd8ItwkqILZ/KkhtqEgFINCBz8KktAiR0bfHn7EQgKgIkdFQ4ORgRqC0CJHRt8efsRCAqAiR0VDg5GBGoLQIkdG3x5+xEICoCJHRUODkYEagtAiR0bfHn7EQgKgIkdFQ4ORgRqC0CJHRt8efsRCAqAv8DcxPZ+gRC0sQAAAAASUVORK5CYII=
qrcodeURL
返回表示条码图片的BASE64值
javascript
Misc.qrcodeURL(value, format)
参数 | 类型 | 描述 |
---|---|---|
value | String | 二维码内容 |
width | Interger | 生成的二维码大小 |
返回值 类型 String
二维码图片的BASE64值
示例
javascript
Misc.qrcodeURL('12345', 300)
// data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZX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7UdYUdObwzTD8voDkC0JzjyxjfGAs4WUa2ZOKHNeCIElmtbpM8nmVZJiJduAy61SaRIr5UTGlCfKL3UBuXl95npqWE9BpGlGZhRUWSy9TkgyxAFj7Nfp6xOs7Z9O69cxXW1PtkqIgL5rSJTYFclwNOXZ29DAKwsIrma1HLZQU2kp9EqcwvOsKqcnyN2aLUGGSra0vpqsL3m1HWFHTm8M0w/L6ArA21cXH2ziOU6BmtY6IblgRla+P6Vi4uXLxMjo/wBxvsinFdV2FMhsGyjULJOAZ3Y372tif4mJ0oYI6txNdReoas6JVCWlIRA7Ljbr9BnxMw88wQC37ZcWo8E7FyCbGWaNpc+fJsm1GzWbrqZXVk8TxYL1xPE4L+tx/Y7BN86bSqPEbSumg1Z/E14e3RftxHt1qUrOSYuDv/ajrCjpzeGaYfl9AZAoCX6wVlGxMLrWKKcl5LrnVqyTa688arXDKxWNy4xja8SATn8cQCeVStMbxVqqISn9pIa/Q9P0+v0Uspa2tpw0fNqOsKOnN4Zph+X0A2o6wo6c3hmmH5fQGQKAAAAAAAAAAAAAAAC/5mMfrRexN9XAC/4AzBM9W3prB9QBrOIqVQCoEAAAAAAAC/5mMfrRexN9XAC/4AAADAHAAAAAAGn3mVO6yfzr/unw6xVAW/QGQLnR2/XnN2ZuDyPoCAEAAAAAAAAAAAAAAAAAAAAAAX/Mxj9aL2Jvq4AX/AGYJnq29NYPqANZxFSqAVAgAAAAAAAX/Mxj9aL2Jvq4AX/AAAAYA4AAAAAA0+8yp3WT+df90+HWKoC36AyBc6O3685uzNweR9AQAgAAAAAD/9k=
eval
使用上下文 context 变量执行表达式引擎替换表达式字符串 str 模板中的数据
javascript
Misc.eval(str, context)
参数 | 类型 | 描述 |
---|---|---|
str | String | 表达式字符串 |
context | Object | 上下文变量 |
返回值 类型 Object
模板表达式执行后的值
示例
javascript
Misc.eval(null,null) // null
Misc.eval('${true}',null)// true
Misc.eval('${true}',{}) // true
Misc.eval('name',{"name":"informat"}) // 'name'
Misc.eval('${name}',{"name":"informat"}) // 'informat'
Misc.eval('${detail.age}',{"name":"informat","detail":{"age":12}}) // 12
Misc.eval('${detail.sex}',{"name":"informat","detail":{"age":12}}) // null
Misc.eval(null,{"name":"informat"})//null
safesql
为带有占位符?
的sql
生成安全的完整sql
javascript
Misc.safesql(sql, params);
参数 | 类型 | 描述 |
---|---|---|
sql | String | 带有占位符? 的sql |
params | Array<Object> | 参数,按占位符的顺序与数组序号一一对应进行替换 |
返回值
类型 String
安全的sql
示例
javascript
Misc.safesql(`update tab set age=?,name=? where id=?`, [18, "李四", `'张' or 1=1`])
// update tab set age=18,name='李四' where id='''张'' or 1=1'
uuid16
生成一个16位的uuid字符串
javascript
Misc.uuid16();
返回值
类型 String
示例
javascript
Misc.uuid16()//lqjfw3xaglp38tru
Misc.uuid16()//xnqdnq24zubdrk1y
uuid32
生成一个32位的uuid字符串
javascript
Misc.uuid32();
返回值
类型 String
例子:
javascript
Misc.uuid32()//rigzv6usysisu2gmkash6hdg526y10b5
Misc.uuid32()//h7b1gde1bz402kwhgoq383hfl6k2p77m
newObject
构建一个空对象
javascript
Misc.newObject();
返回值
类型 Object
示例
javascript
Misc.newObject()//{}
recordSql
执行SQL查询数据表记录列表,只运行执行Select
语句,并且只支持查询数据表模块的记录
javascript
Misc.recordSql(sql, parameters)
参数 | 类型 | 描述 |
---|---|---|
sql | String | SQL语句 |
parameters | Array<Object> | 参数列表 |
返回值
类型 Array<Object>
查询的结果集
示例