5.0.222版本发布
parent
799b64615c
commit
35acaa187b
File diff suppressed because one or more lines are too long
|
@ -32,19 +32,19 @@ layui.define('layer', function (exports) {
|
|||
var fourTel = /^400[0-9]{7}/;
|
||||
var eightTel = /^800[0-9]{7}/;
|
||||
var telPhone = /^1\d{10}$/
|
||||
if(value){
|
||||
if(value.indexOf("-") != -1) {
|
||||
var num = (value.split('-')).length-1;
|
||||
if(!tel.test(value) && num==1){
|
||||
if (value) {
|
||||
if (value.indexOf("-") != -1) {
|
||||
var num = (value.split('-')).length - 1;
|
||||
if (!tel.test(value) && num == 1) {
|
||||
return '请输入正确的固定电话!';
|
||||
}else if(value.substring(0, 3)=='400' && !fourTel.test(value) && num==2){
|
||||
} else if (value.substring(0, 3) == '400' && !fourTel.test(value) && num == 2) {
|
||||
return '请输入正确的400固话(400-6050-322或4000-809-009)!';
|
||||
}
|
||||
}else if(value.substring(0, 3)=='800' && !eightTel.test(value)){
|
||||
} else if (value.substring(0, 3) == '800' && !eightTel.test(value)) {
|
||||
return '请输入正确的800固话(8007878789)!';
|
||||
}else if(value.length == 11 && !telPhone.test(value)) {
|
||||
} else if (value.length == 11 && !telPhone.test(value)) {
|
||||
return '请输入正确的手机号!'
|
||||
}else if(value.length != 11 && !tel.test(value) && value.substring(0, 3)!='800' && value.substring(0, 3)!='400'){
|
||||
} else if (value.length != 11 && !tel.test(value) && value.substring(0, 3) != '800' && value.substring(0, 3) != '400') {
|
||||
return '请输入有效手机号或固定电话!'
|
||||
}
|
||||
}
|
||||
|
@ -54,8 +54,8 @@ layui.define('layer', function (exports) {
|
|||
// /^1\d{10}$/
|
||||
// , '请输入正确的手机号'
|
||||
// ]
|
||||
, email:function(value){
|
||||
if(value && !/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(value)){
|
||||
, email: function (value) {
|
||||
if (value && !/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(value)) {
|
||||
return '邮箱格式不正确!'
|
||||
}
|
||||
}
|
||||
|
@ -63,8 +63,8 @@ layui.define('layer', function (exports) {
|
|||
// /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/
|
||||
// , '邮箱格式不正确'
|
||||
// ]
|
||||
, hrefurl: function(value){
|
||||
if(value && !/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/.test(value)){
|
||||
, hrefurl: function (value) {
|
||||
if (value && !/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/.test(value)) {
|
||||
return '链接格式不正确!'
|
||||
}
|
||||
}
|
||||
|
@ -78,8 +78,8 @@ layui.define('layer', function (exports) {
|
|||
, numberInt: function (value) {
|
||||
if (value && !/^\d+$/.test(value)) return '只能填写正整数'
|
||||
}
|
||||
, date: function(value){
|
||||
if(value && !/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/.test(value)){
|
||||
, date: function (value) {
|
||||
if (value && !/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/.test(value)) {
|
||||
return '日期格式不正确!'
|
||||
}
|
||||
}
|
||||
|
@ -87,8 +87,8 @@ layui.define('layer', function (exports) {
|
|||
// /^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/
|
||||
// , '日期格式不正确'
|
||||
// ]
|
||||
, identity: function(value){
|
||||
if(value && !/(^\d{15}$)|(^\d{17}(x|X|\d)$)/.test(value)){
|
||||
, identity: function (value) {
|
||||
if (value && !/(^\d{15}$)|(^\d{17}(x|X|\d)$)/.test(value)) {
|
||||
return '请输入正确的身份证号!'
|
||||
}
|
||||
}
|
||||
|
@ -97,25 +97,25 @@ layui.define('layer', function (exports) {
|
|||
// , '请输入正确的身份证号'
|
||||
// ]
|
||||
, postalCode: function (value) {
|
||||
if(value && !/^[0-9]{6}$/.test(value)){
|
||||
if (value && !/^[0-9]{6}$/.test(value)) {
|
||||
return '请输入正确的邮政编码!'
|
||||
}
|
||||
}
|
||||
, url: function (value) {
|
||||
if(value && !/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/.test(value)){
|
||||
if (value && !/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/.test(value)) {
|
||||
return '请输入正确的链接地址!'
|
||||
}
|
||||
}
|
||||
, name: function (value) {
|
||||
var reg = /^[\u4E00-\u9FA5·sA-Za-z]{2,32}$/;
|
||||
if(value && !reg.test(value)){
|
||||
if (value && !reg.test(value)) {
|
||||
return '请输入正确的中英文名字,并且字符长度大于2小于等于32个字符!'
|
||||
}
|
||||
}
|
||||
, specialCharacters: function (value) {
|
||||
var regEn = /[`~!@#$%^&*()_+<>?:"{},.\/;'[\]]/im,
|
||||
regCn = /[·!#¥(——):;“”‘、,|《。》?、【】[\]]/im;
|
||||
if(value && (regEn.test(value) || regCn.test(value))){
|
||||
if (value && (regEn.test(value) || regCn.test(value))) {
|
||||
return '不能输入特殊字符!'
|
||||
}
|
||||
}
|
||||
|
@ -124,8 +124,8 @@ layui.define('layer', function (exports) {
|
|||
};
|
||||
|
||||
//添加数组IndexOf方法
|
||||
if (!Array.prototype.indexOf){
|
||||
Array.prototype.indexOf = function(elt /*, from*/){
|
||||
if (!Array.prototype.indexOf) {
|
||||
Array.prototype.indexOf = function (elt /*, from*/) {
|
||||
var len = this.length >>> 0;
|
||||
|
||||
var from = Number(arguments[1]) || 0;
|
||||
|
@ -135,7 +135,7 @@ layui.define('layer', function (exports) {
|
|||
if (from < 0)
|
||||
from += len;
|
||||
|
||||
for (; from < len; from++){
|
||||
for (; from < len; from++) {
|
||||
if (from in this && this[from] === elt)
|
||||
return from;
|
||||
}
|
||||
|
@ -195,23 +195,23 @@ layui.define('layer', function (exports) {
|
|||
return that.getValue(filter);
|
||||
};
|
||||
|
||||
Form.prototype.getValue = function(filter, itemForm){
|
||||
itemForm = itemForm || $(ELEM + '[lay-filter="' + filter +'"]').eq(0);
|
||||
Form.prototype.getValue = function (filter, itemForm) {
|
||||
itemForm = itemForm || $(ELEM + '[lay-filter="' + filter + '"]').eq(0);
|
||||
|
||||
var nameIndex = {} //数组 name 索引
|
||||
,field = {}
|
||||
,fieldElem = itemForm.find('input,select,textarea') //获取所有表单域
|
||||
, field = {}
|
||||
, fieldElem = itemForm.find('input,select,textarea') //获取所有表单域
|
||||
|
||||
layui.each(fieldElem, function(_, item){
|
||||
layui.each(fieldElem, function (_, item) {
|
||||
item.name = (item.name || '').replace(/^\s*|\s*&/, '');
|
||||
|
||||
if(!item.name) return;
|
||||
if (!item.name) return;
|
||||
|
||||
//用于支持数组 name
|
||||
if(/^.*\[\]$/.test(item.name)){
|
||||
if (/^.*\[\]$/.test(item.name)) {
|
||||
var key = item.name.match(/^(.*)\[\]$/g)[0];
|
||||
nameIndex[key] = nameIndex[key] | 0;
|
||||
item.name = item.name.replace(/^(.*)\[\]$/, '$1['+ (nameIndex[key]++) +']');
|
||||
item.name = item.name.replace(/^(.*)\[\]$/, '$1[' + (nameIndex[key]++) + ']');
|
||||
}
|
||||
|
||||
// modify by gk 由于启用开关这类型的如果是关闭时候 提交from是不会出现在field里面的.改成value=1|0的 代表自定义打开|关闭的值.
|
||||
|
@ -223,12 +223,12 @@ layui.define('layer', function (exports) {
|
|||
//modify by gk
|
||||
else if (!item.checked && $(item).attr('lay-skin')) {
|
||||
field[item.name] = '1';
|
||||
}else if(!item.checked) {
|
||||
} else if (!item.checked) {
|
||||
return
|
||||
} else {
|
||||
field[item.name] = item.value;
|
||||
}
|
||||
}else {
|
||||
} else {
|
||||
field[item.name] = item.value;
|
||||
}
|
||||
});
|
||||
|
@ -254,7 +254,7 @@ layui.define('layer', function (exports) {
|
|||
var $elems = $(cmp.tagName + '[name="' + objName + '"]');
|
||||
if ($elems.length > 0) {
|
||||
$elems.each(function (index, $elem) {
|
||||
if ($elem.attributes.loaded == undefined || $elem.attributes.loaded.nodeValue!='1') {
|
||||
if ($elem.attributes.loaded == undefined || $elem.attributes.loaded.nodeValue != '1') {
|
||||
layui.event('WM_USERDEF', 'WM_DRAW', WParam);
|
||||
}
|
||||
});
|
||||
|
@ -262,16 +262,16 @@ layui.define('layer', function (exports) {
|
|||
});
|
||||
},
|
||||
//必填项添加星号标识
|
||||
addAsterisk: function(){
|
||||
addAsterisk: function () {
|
||||
var layVerify = elemForm.find('[lay-verify]');
|
||||
layVerify.each(function () {
|
||||
var versArr = $(this).attr('lay-verify').split('|'),
|
||||
parentDiv = $(this).parents(".layui-input-block"),
|
||||
str = parentDiv.prev().text(),
|
||||
noStr = str.indexOf("*") === -1;
|
||||
if(noStr && (versArr.indexOf("required")>-1)){
|
||||
if (noStr && (versArr.indexOf("required") > -1)) {
|
||||
parentDiv.prev().prepend('<span style="color:red">*</span>');
|
||||
}else{
|
||||
} else {
|
||||
return
|
||||
}
|
||||
});
|
||||
|
@ -292,7 +292,7 @@ layui.define('layer', function (exports) {
|
|||
}
|
||||
|
||||
//各种事件
|
||||
, events = function (reElem, disabled, isSearch,readonly) {
|
||||
, events = function (reElem, disabled, isSearch, readonly) {
|
||||
var select = $(this)
|
||||
, title = reElem.find('.' + TITLE)
|
||||
, input = title.find('input')
|
||||
|
@ -322,6 +322,8 @@ layui.define('layer', function (exports) {
|
|||
reElem.addClass(CLASS + 'up');
|
||||
}
|
||||
|
||||
dl.css({ 'z-index': Date.now() });
|
||||
|
||||
followScroll();
|
||||
}
|
||||
|
||||
|
@ -747,9 +749,9 @@ layui.define('layer', function (exports) {
|
|||
, value
|
||||
, verType = othis.attr('lay-verType');//提示方式
|
||||
|
||||
if(typeof($(this).attr("zlcomponent"))=="undefined" || $(this)[0].tagName=='SELECT'){
|
||||
if (typeof ($(this).attr("zlcomponent")) == "undefined" || $(this)[0].tagName == 'SELECT') {
|
||||
value = othis.val();
|
||||
}else{
|
||||
} else {
|
||||
value = othis.find("input").val();
|
||||
}
|
||||
othis.removeClass(DANGER);
|
||||
|
@ -816,12 +818,12 @@ layui.define('layer', function (exports) {
|
|||
//modify by gk
|
||||
else if (!item.checked && $(item).attr('lay-skin')) {
|
||||
field[item.name] = '1';
|
||||
}else if(!item.checked) {
|
||||
} else if (!item.checked) {
|
||||
return
|
||||
} else {
|
||||
field[item.name] = item.value;
|
||||
}
|
||||
}else {
|
||||
} else {
|
||||
field[item.name] = item.value;
|
||||
}
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3913,6 +3913,13 @@ appendChildCmp(childCmp: ComponentBase): void
|
|||
*/
|
||||
appendChildHtmlElemt(childCmp: ComponentBase): void
|
||||
|
||||
/**
|
||||
* 释放资源析构函数.组件移除之前会调用
|
||||
一般不要主动调用. 该函数并没有删除和释放组件.只是调用了组件的资源释放函数
|
||||
|
||||
*/
|
||||
destory(): void
|
||||
|
||||
/**
|
||||
* 更新组件,当修改了属性时候需要修改重新画组件的时候调用.
|
||||
子类可以覆盖来自定义更新重画
|
||||
|
@ -3927,6 +3934,15 @@ doUpdate(): void
|
|||
*/
|
||||
eachChild(eachCallback: any): void
|
||||
|
||||
/**
|
||||
* 遍历所有子子孙组件
|
||||
如果要中断循环返回 false
|
||||
* @param eachCallback 遍历的回到函数
|
||||
* @param onlyChild 只是直接下级
|
||||
|
||||
*/
|
||||
eachChildEx(eachCallback: any,onlyChild: boolean): void
|
||||
|
||||
/**
|
||||
* 判断是否存在组件
|
||||
* @param childCmp 需要判断存在的组件* @returns 成功就返回true,否则返回false
|
||||
|
@ -4016,11 +4032,18 @@ getElemt(): JQuery<any>
|
|||
|
||||
/**
|
||||
* 获取组件的位置索引
|
||||
* @returns 返回组件的位置索引
|
||||
* @returns 返回组件的位置索引,不存在父亲返回 -1
|
||||
|
||||
*/
|
||||
getIndex(): number
|
||||
|
||||
/**
|
||||
* 得到下一个兄弟(弟弟)组件
|
||||
* @returns 存在返回组件实例,否则返回null
|
||||
|
||||
*/
|
||||
getNext(): ComponentBase
|
||||
|
||||
/**
|
||||
* 得到当前组件的page 组件
|
||||
* @returns 返回找到的designerPage 组件实例
|
||||
|
@ -4035,6 +4058,13 @@ getPage(): DesignerPageBase
|
|||
*/
|
||||
getParent(): ComponentBase
|
||||
|
||||
/**
|
||||
* 得到前一个兄弟(哥哥)组件
|
||||
* @returns 存在返回组件实例,否则返回null
|
||||
|
||||
*/
|
||||
getPrev(): ComponentBase
|
||||
|
||||
/**
|
||||
* 初始化组件的css
|
||||
* @returns 返回组件样式对象.
|
||||
|
@ -4150,9 +4180,10 @@ removeAllChildComponent(): void
|
|||
/**
|
||||
* 移除下一级的子组件
|
||||
* @param cmp 需要移除的组件实例
|
||||
* @param isDestory 可选参数; 是否要释放资源,默认 false;
|
||||
|
||||
*/
|
||||
removeChildComponent(cmp: ComponentBase): void
|
||||
removeChildComponent(cmp: ComponentBase,isDestory: boolean): void
|
||||
|
||||
/**
|
||||
* 移除子组件通过组件id
|
||||
|
@ -4171,9 +4202,10 @@ removeChildComponentByName(cmpName: string): void
|
|||
/**
|
||||
* 移除下一级的子组件
|
||||
* @param callback 移除每个组件时候的回调,注意会回调多次
|
||||
* @param isDestory 可选参数; 是否要释放资源,默认 false;
|
||||
|
||||
*/
|
||||
removeChildComponentExt(callback: any): void
|
||||
removeChildComponentExt(callback: any,isDestory: boolean): void
|
||||
|
||||
/**
|
||||
* 设置背景颜色
|
||||
|
@ -9584,6 +9616,13 @@ removeAllRow(): void
|
|||
*/
|
||||
removeField(field: IField): void
|
||||
|
||||
/**
|
||||
* 移除字段
|
||||
* @param fieldId 字段实例
|
||||
|
||||
*/
|
||||
removeFieldById(fieldId: string): void
|
||||
|
||||
/**
|
||||
* 通过字段名称移除字段
|
||||
* @param fieldName 字段名称
|
||||
|
@ -9745,6 +9784,12 @@ html(): string
|
|||
|
||||
*/
|
||||
init(): void
|
||||
|
||||
/**
|
||||
* 刷新字段
|
||||
|
||||
*/
|
||||
refreshFields(): void
|
||||
}
|
||||
/**
|
||||
*数据源基类的配置接口
|
||||
|
@ -10457,7 +10502,7 @@ copy(newId: any): Row
|
|||
endEdit(): void
|
||||
|
||||
/**
|
||||
* 获取数据值
|
||||
* 获取行字段数据值
|
||||
* @param fieldName 字段名* @returns 返回当前行的字段的值;受format 影响.如果field的设置的格式则反回格式化的值(对于时间/数字类型回如果设置了format只会返回string) 否则返回原始的数据类型的值.
|
||||
|
||||
*/
|
||||
|
@ -10558,7 +10603,7 @@ getKeys(): string[]
|
|||
getOriginalData(): object
|
||||
|
||||
/**
|
||||
* 返回行的原始数据,不受format的影响
|
||||
* 获取行字段数据值,不受format的影响
|
||||
* @param fieldName 字段名* @returns 返回当前行的字段的值.不受format 影响.
|
||||
|
||||
*/
|
||||
|
@ -11026,6 +11071,10 @@ field: string
|
|||
*字段标题
|
||||
*/
|
||||
title: string
|
||||
/**
|
||||
*字段标题的宽度
|
||||
*/
|
||||
width: Number
|
||||
|
||||
}
|
||||
/**
|
||||
|
@ -16645,6 +16694,7 @@ clear(): void
|
|||
|
||||
/**
|
||||
* 反注册处理
|
||||
注意: fn不要使用 bing() 的方式.由于无法比较bing()是否相等.会导致很多函数反注册有误
|
||||
* @param handle 注册过的事件字符串
|
||||
* @param msgFilter 消息字符串
|
||||
* @param fn 消息处理函数
|
||||
|
@ -17304,7 +17354,7 @@ static applyIf(o: any,c: any): any
|
|||
* @param showLoading 是否显示加载进度条 默认值false
|
||||
|
||||
*/
|
||||
static asyncAjax(url: string,metho: MethodType,param: any,callBackFunc: any,showLoading: boolean): void
|
||||
static asyncAjax(url: string,metho: MethodType,param: any,callBackFunc: AjaxHandle,showLoading: boolean): void
|
||||
|
||||
/**
|
||||
* 根据数据填充Layuiform
|
||||
|
@ -17357,7 +17407,7 @@ static compressImg(file: any,type: string,mx: number,mh: number): Promise<any>
|
|||
* @param title 提示框的标题* @returns 返回弹出层的唯一index
|
||||
|
||||
*/
|
||||
static confirm(text: string,callBackFunc: any,title: string): number
|
||||
static confirm(text: string,callBackFunc: ConfirmCallBackHandle,title: string): number
|
||||
|
||||
/**
|
||||
* 简单数据类型转换
|
||||
|
@ -17407,6 +17457,15 @@ static disableAmd(): void
|
|||
*/
|
||||
static doError(xhr: any,textStatus: any): void
|
||||
|
||||
/**
|
||||
* 下载文件
|
||||
* @param url 下载地址
|
||||
* @param completeCallback 完成回调函数
|
||||
* @param paramobj 参数对象
|
||||
|
||||
*/
|
||||
static download(url: string,completeCallback: DownloadHandle,paramobj: object): void
|
||||
|
||||
/**
|
||||
* 下载文件
|
||||
注意:这个函数中文文件名存在乱码现象
|
||||
|
@ -17417,16 +17476,7 @@ static doError(xhr: any,textStatus: any): void
|
|||
* @param completeCallback 完成回调函数
|
||||
|
||||
*/
|
||||
static downloaFile(url: string,paramObj: object,onStarCallBack: any,processCallBack: any,completeCallback: any): void
|
||||
|
||||
/**
|
||||
* 下载文件
|
||||
* @param url 下载地址
|
||||
* @param completeCallback 完成回调函数
|
||||
* @param paramobj 参数对象
|
||||
|
||||
*/
|
||||
static download(url: string,completeCallback: any,paramobj: object): void
|
||||
static downloadFile(url: string,paramObj: object,onStarCallBack: DownloadOnStartHandle,processCallBack: DownloadProcessHandle,completeCallback: DownloadHandle): void
|
||||
|
||||
/**
|
||||
* 生效AMD加载
|
||||
|
@ -17989,7 +18039,7 @@ static stringify(o: Object,excludes: string[]): string
|
|||
* @param callBackFunc 点击确定回调函数
|
||||
|
||||
*/
|
||||
static successAlert(text: string,callBackFunc: Function): void
|
||||
static successAlert(text: string,callBackFunc: ConfirmCallBackHandle): void
|
||||
|
||||
/**
|
||||
* 弹出成功msg提示框
|
||||
|
@ -18309,6 +18359,26 @@ oldFileName: string
|
|||
|
||||
*/
|
||||
declare type AjaxHandle = (res: IRetVo) => void
|
||||
/**
|
||||
*确定对话
|
||||
|
||||
*/
|
||||
declare type ConfirmCallBackHandle = () => any
|
||||
/**
|
||||
*文件下载回调
|
||||
|
||||
*/
|
||||
declare type DownloadHandle = (errorMsg: string) => Boolean
|
||||
/**
|
||||
*开始文件下载事件回调
|
||||
|
||||
*/
|
||||
declare type DownloadOnStartHandle = () => void
|
||||
/**
|
||||
*文件下载进度事件
|
||||
|
||||
*/
|
||||
declare type DownloadProcessHandle = (progress: number) => void
|
||||
/**
|
||||
*加密辅助类
|
||||
*/
|
||||
|
@ -19053,7 +19123,7 @@ getArrayValue(): string[]
|
|||
* @param val 值* @returns 返回item实例
|
||||
|
||||
*/
|
||||
getItemByVal(val: string): number | ICheckItem | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any
|
||||
getItemByVal(val: string): number | ICheckItem | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any
|
||||
|
||||
/**
|
||||
* 值发生改变事件
|
||||
|
@ -19272,7 +19342,7 @@ addRadioItem(item: IRadioItem): void
|
|||
* @param val 值* @returns 返回item实例
|
||||
|
||||
*/
|
||||
getItemByVal(val: string): number | IRadioItem | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any
|
||||
getItemByVal(val: string): number | IRadioItem | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any | any
|
||||
|
||||
/**
|
||||
* 得到组件值
|
||||
|
@ -21141,9 +21211,10 @@ setRowCheck(rowIndex: number,checked: boolean): void
|
|||
* 设置选中/未选中的行
|
||||
* @param row 行实例
|
||||
* @param checked 是否打钩
|
||||
* @param raiseEvent 是否触发onCheck事件 默认值:true
|
||||
|
||||
*/
|
||||
setRowCheckByRow(row: Row,checked: boolean): void
|
||||
setRowCheckByRow(row: Row,checked: boolean,raiseEvent: boolean): void
|
||||
|
||||
}
|
||||
/**
|
||||
|
@ -22258,9 +22329,9 @@ openNewTabPageByMenuCode(menuCode: string,param: object): void
|
|||
|
||||
/**
|
||||
* 通过的表单编号来打开主框架上的页签
|
||||
* @param pageModelCode 菜单的唯一编号(菜单管理内必须保证编号的唯一性)
|
||||
* @param pageModelCode 表单的唯一编号(表单管理内必须保证编号的唯一性)
|
||||
* @param title 可选参数 标题
|
||||
* @param resid 可选参数 资源id(资源表内的菜单的rwid)
|
||||
* @param resid 可选参数 资源id
|
||||
* @param param 可选参数 可选附带的参数。注意 这个参数由于是拼接到URL后面因此存在了长度限制。
|
||||
|
||||
*/
|
||||
|
@ -22268,7 +22339,7 @@ openNewTabPageByPageCode(pageModelCode: string,title: string,resid: string,param
|
|||
|
||||
/**
|
||||
* 通过的表单编号开启一个最顶层的页面
|
||||
* @param pageModelCode 菜单的唯一编号(菜单管理内必须保证编号的唯一性)
|
||||
* @param pageModelCode 表单的唯一编号(表单管理内必须保证编号的唯一性)
|
||||
* @param pageConfig 可选参数 可选附带的参数.类型IFormOptions 可以设置弹出的窗口大各种属性 例如: pageConfig={XXXid:'xxxxx', YYYid:'xxxxxyyyyy',title:'窗口标题' ,area:['100px','200px']}
|
||||
* @param param 可选参数。附带参数,param ={ xxx:xxxyyyy,aaabbb:cccddd}
|
||||
|
||||
|
@ -22416,6 +22487,10 @@ class PrintEditorAttrEditor extends AttributeEditorBase {
|
|||
*/
|
||||
class Right extends InvisibleBase {
|
||||
/**
|
||||
*权限组件绑定的菜单ID
|
||||
*/
|
||||
menuId: string
|
||||
/**
|
||||
*权限项数组
|
||||
*/
|
||||
rights: IRigtItem[]
|
||||
|
@ -22564,7 +22639,7 @@ templateParam: object
|
|||
*/
|
||||
declare type SmsSendCallbackHandle = (err: string) => void
|
||||
/**
|
||||
*用户组件
|
||||
*用户信息
|
||||
*/
|
||||
class User extends InvisibleBase {
|
||||
|
||||
|
@ -23683,6 +23758,71 @@ wonderland = "wonderland"
|
|||
*/
|
||||
class EchartTheme extends InvisibleBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*高德地图组件
|
||||
*/
|
||||
class GaodeMap extends PopInputBase {
|
||||
|
||||
/**
|
||||
* 得到弹出的编辑器
|
||||
* @returns 弹出的编辑器实例
|
||||
|
||||
*/
|
||||
getPopEdior(): IPopInputBaseEditor
|
||||
|
||||
/**
|
||||
* 注册点击并选中任意日期时触发
|
||||
* @param val 地址json
|
||||
|
||||
*/
|
||||
onRenderDisplayValue(val: AddressValueJson): void
|
||||
|
||||
}
|
||||
/**
|
||||
*分析组件
|
||||
*/
|
||||
class GaodeMapDistribution extends FieldDbComponentBase {
|
||||
cityInfo: any
|
||||
currMarker: any[]
|
||||
districtInfo: any
|
||||
districtSearch: any
|
||||
geocoder: any
|
||||
getMapAddressInfo: any[]
|
||||
infoWindow: any
|
||||
map: any
|
||||
mapId: string
|
||||
mapInputId: string
|
||||
marker: any
|
||||
markers: any[]
|
||||
markersFour: any[]
|
||||
markersThree: any[]
|
||||
markersTwo: any[]
|
||||
provinceInfo: any
|
||||
|
||||
/**
|
||||
* 获取组件经纬度的值
|
||||
子类重载这个方法实现自定义取值赋值过程
|
||||
* @returns 经纬度的值
|
||||
|
||||
*/
|
||||
getLngLat(): any
|
||||
|
||||
/**
|
||||
* 加载数据
|
||||
* @param paramObj 参数对象
|
||||
* @param isNew 可选参数 默认值:false 重新一次查询清掉所有的以前查的参数
|
||||
|
||||
*/
|
||||
loadData(paramObj: any,isNew: boolean): void
|
||||
|
||||
/**
|
||||
* 加载数据
|
||||
* @param ret 返回的结果集 参数对象* @returns
|
||||
|
||||
*/
|
||||
packageData(ret: IRetVo): void
|
||||
|
||||
}
|
||||
/**
|
||||
*设置组件的大小
|
||||
|
@ -24184,7 +24324,7 @@ onClick(handle: onClickHandle): void
|
|||
|
||||
}
|
||||
/**
|
||||
*微信工具组件
|
||||
*微信公众号工具组件
|
||||
获取openid 签名 上传 扫一扫 , 分享 ,微信支付
|
||||
*/
|
||||
class WeChartTools extends InvisibleBase {
|
||||
|
|
Loading…
Reference in New Issue