5.0.232
parent
2dc0171385
commit
8016576e93
|
@ -0,0 +1,16 @@
|
|||
spring:
|
||||
datasource:
|
||||
dbs:
|
||||
enable: false
|
||||
datasource:
|
||||
db1:
|
||||
url: jdbc:mysql://127.0.0.1:3706/dev?useSSL=true&autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
|
||||
username: kd
|
||||
password: kd123456
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
db2:
|
||||
url: jdbc:jtds:sqlserver://127.0.0.1:1433/dev
|
||||
username: sa
|
||||
password: kd123456
|
||||
driver-class-name: net.sourceforge.jtds.jdbc.Driver
|
||||
validationQuery: SELECT 1A04536DED47F4716B44B18D2CD3A2521
|
|
@ -2,7 +2,7 @@
|
|||
spring:
|
||||
profiles:
|
||||
#引用多个application-开头的yml文件 多个以逗号隔开
|
||||
include: db,logger,cache,upload,freemarker,druid,mybatis,baidu,server,cloud,wechat,security,proxy,xss,encryption,apidoc,api
|
||||
include: db,logger,cache,upload,freemarker,druid,mybatis,baidu,server,cloud,wechat,security,proxy,xss,encryption,apidoc,api,dbs
|
||||
devtools:
|
||||
restart:
|
||||
ebabled: false
|
||||
|
|
|
@ -198,7 +198,7 @@ layui.define(function (exports) {
|
|||
$iframe = $(APP_BODY).find('iframe[src="' + url + '"]');
|
||||
}
|
||||
$iframe && !$iframe.attr('loaded') && $iframe.load(function () {
|
||||
if (url.indexOf('http:') != -1 || url.indexOf('https:') != -1) {
|
||||
if (url.indexOf('http:') != -1 || url.indexOf('https:') != -1 || url.indexOf('/coremodelshow') == -1) {
|
||||
$('.layadmin-tabsbody-shade').fadeOut('600');
|
||||
}
|
||||
$iframe.attr('loaded', 'true')
|
||||
|
|
|
@ -287,6 +287,16 @@ layui.define(['laytpl', 'element', 'layer', 'zlPinYin', 'common'], function (exp
|
|||
styleElem = document.getElementById(styleid),
|
||||
styleText = `:root{
|
||||
--kd-color: ${themeObj.kd_color_3} !important;
|
||||
--kd-color-0: ${themeObj.kd_color_0} !important;
|
||||
--kd-color-1: ${themeObj.kd_color_1} !important;
|
||||
--kd-color-2: ${themeObj.kd_color_2} !important;
|
||||
--kd-color-3: ${themeObj.kd_color_3} !important;
|
||||
--kd-color-4: ${themeObj.kd_color_4} !important;
|
||||
--kd-color-5: ${themeObj.kd_color_5} !important;
|
||||
--kd-color-6: ${themeObj.kd_color_6} !important;
|
||||
--kd-color-7: ${themeObj.kd_color_7} !important;
|
||||
--kd-color-8: ${themeObj.kd_color_8} !important;
|
||||
--kd-color-9: ${themeObj.kd_color_9} !important;
|
||||
}
|
||||
.layui-nav{
|
||||
background-color:${themeObj.navBgInput};
|
||||
|
@ -526,7 +536,7 @@ layui.define(['laytpl', 'element', 'layer', 'zlPinYin', 'common'], function (exp
|
|||
|
||||
styleElem && $('body')[0].removeChild(styleElem);
|
||||
$('body')[0].appendChild(style);
|
||||
$('body').attr('layadmin-themealias', themeObj["theme_title-py"]);
|
||||
$('body').attr('kdayun-themealias', themeObj["theme_title-py"]);
|
||||
|
||||
let iframes = $(".layadmin-iframe").contents();
|
||||
function setIframeTheme(iframes) {
|
||||
|
@ -545,11 +555,15 @@ layui.define(['laytpl', 'element', 'layer', 'zlPinYin', 'common'], function (exp
|
|||
c_style.id = styleid;
|
||||
c_styleElem && iframeBodyElemt.removeChild(c_styleElem);
|
||||
iframeBodyElemt && iframeBodyElemt.appendChild(c_style);
|
||||
$iframeBody.attr('layadmin-themealias', themeObj["theme_title-py"]);
|
||||
$iframeBody.attr('kdayun-themealias', themeObj["theme_title-py"]);
|
||||
}
|
||||
}
|
||||
$('body').addClass('loaded');
|
||||
$('#loader-wrapper .load_title').remove();
|
||||
$('#loader-wrapper #loader').css({ animationPlayState: 'paused', display: 'none' });
|
||||
let elem = $('#loader-wrapper .loader-section')[0];
|
||||
elem && setTimeout(() => {
|
||||
$('#loader-wrapper').css({ zIndex: -1 });
|
||||
}, 1000);
|
||||
setIframeTheme(iframes);
|
||||
},
|
||||
/**
|
||||
|
@ -1190,7 +1204,6 @@ layui.define(['laytpl', 'element', 'layer', 'zlPinYin', 'common'], function (exp
|
|||
let that = this;
|
||||
common.on('TAB_ACTIVE', function (event) {
|
||||
let resid = event.params;
|
||||
console.info(resid);
|
||||
if (resid) {
|
||||
let $a = $(`a[resid='${resid}']`)
|
||||
if ($a.length !== 0) {
|
||||
|
|
|
@ -10244,3 +10244,66 @@ ul.ztree.zTreeDragUL {
|
|||
-webkit-animation-name: slideOutUp;
|
||||
animation-name: slideOutUp
|
||||
}
|
||||
|
||||
|
||||
.skeleton {
|
||||
position: absolute;
|
||||
/* display: flex; */
|
||||
/* align-items: center; */
|
||||
/* justify-content: center; */
|
||||
background-color: white;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999999999;
|
||||
}
|
||||
|
||||
.skeleton .card {
|
||||
position: relative;
|
||||
padding: 30px;
|
||||
/* width: 400px; */
|
||||
/* border-radius: 5px; */
|
||||
/* box-shadow: 0 0 6px #ddd; */
|
||||
}
|
||||
|
||||
.skeleton div {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.skeleton .img {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.skeleton .title {
|
||||
height: 16px;
|
||||
width: 100%;
|
||||
margin: 15px 0 20px;
|
||||
}
|
||||
|
||||
.skeleton .text {
|
||||
height: 16px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.skeleton .text-1 {
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
|
||||
.skeleton-loading {
|
||||
background: linear-gradient(45deg,
|
||||
#f2f2f2 25%, #d1d1d1 40%, #f2f2f2 50%);
|
||||
background-size: 200% 100%;
|
||||
animation: skeleton-loading 5.4s ease infinite;
|
||||
}
|
||||
|
||||
@keyframes skeleton-loading {
|
||||
0% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 0 50%;
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1738,12 +1738,13 @@ headers: object
|
|||
*upload 关闭时的背景色
|
||||
*/
|
||||
inactiveColor: string
|
||||
isTip: boolean
|
||||
/**
|
||||
*最大允许上传个数
|
||||
*/
|
||||
limit: number
|
||||
/**
|
||||
*文件列表的类型
|
||||
*组件列表样式
|
||||
*/
|
||||
listType: ElUploadListType
|
||||
/**
|
||||
|
@ -1754,6 +1755,7 @@ multiple: boolean
|
|||
*是否显示已上传文件列表
|
||||
*/
|
||||
showFileList: boolean
|
||||
tip: string
|
||||
/**
|
||||
*upload 改变 upload 状态时是否触发表单的校验
|
||||
*/
|
||||
|
@ -2136,6 +2138,37 @@ lazy: boolean
|
|||
tabname: string
|
||||
}
|
||||
/**
|
||||
*快搭提示框实现类
|
||||
*/
|
||||
class ElNotice {
|
||||
|
||||
}
|
||||
/**
|
||||
*快搭消息,通知,弹框的接口
|
||||
*/
|
||||
interface INotice {
|
||||
/**
|
||||
*消息提示,一般是在屏幕上中部提示,信息.会自动隐藏
|
||||
*/
|
||||
Message: any
|
||||
/**
|
||||
*模拟系统的消息提示框而实现的一套模态对话框组件,用于消息提示、确认消息和提交内容。
|
||||
*/
|
||||
MessageBox: any
|
||||
/**
|
||||
*悬浮出现在页面角落,显示全局的通知提醒消息。 这个与message有点功能重叠 可以控制不自动关闭
|
||||
*/
|
||||
Notification: any
|
||||
/**
|
||||
*初始化
|
||||
*/
|
||||
init: any
|
||||
/**
|
||||
*加载中
|
||||
*/
|
||||
loading: LoadingHandel
|
||||
}
|
||||
/**
|
||||
*Element日历组件
|
||||
https://element.eleme.cn/#/zh-CN/component/calendar
|
||||
*/
|
||||
|
@ -8926,6 +8959,13 @@ enum YHDatePickerBaseType {
|
|||
*/
|
||||
class YHDatePickerBase extends InputBase {
|
||||
|
||||
/**
|
||||
* 获取当前的displayFormat下的值字符串
|
||||
* @returns 值字符串 两种格式: 1.日期时间格式; 2.日期时间范围
|
||||
|
||||
*/
|
||||
getDisplayValue(): string
|
||||
|
||||
/**
|
||||
* 时间区间最大
|
||||
* @returns 返回最大日期
|
||||
|
@ -8942,7 +8982,7 @@ getMinDate(): Date
|
|||
|
||||
/**
|
||||
* 得到组件的值
|
||||
* @returns 组件值字符串
|
||||
* @returns 组件值 Date | {begin:Date,end:Date}
|
||||
|
||||
*/
|
||||
getValue(): Date | IYHDatePickerBaseRange
|
||||
|
@ -9017,6 +9057,10 @@ class: string
|
|||
*/
|
||||
componentWidth: string
|
||||
/**
|
||||
*显示的格式
|
||||
*/
|
||||
displayFormat: string
|
||||
/**
|
||||
*组件停靠方式
|
||||
当设置了dock full 后 height,width 将会失效
|
||||
*/
|
||||
|
@ -9464,7 +9508,7 @@ addRowDatas(datas: Object[]): Row[]
|
|||
/**
|
||||
* 新增空行并把current设置成当前空行index
|
||||
把current设置当前新增的行
|
||||
* @param rowId 可选参数 行id* @returns 返回新增的行实例
|
||||
* @param rowId 可选参数 行主键id* @returns 返回新增的行实例
|
||||
|
||||
*/
|
||||
appendBlankRow(rowId: any): Row
|
||||
|
@ -9487,13 +9531,6 @@ clear(): void
|
|||
*/
|
||||
clearAllField(): void
|
||||
|
||||
/**
|
||||
* 提交所有的记录修改
|
||||
会触发所有修改记录的afterCommit
|
||||
|
||||
*/
|
||||
commitChanges(): void
|
||||
|
||||
/**
|
||||
* 删除行没有记录到modified里面 只是单纯的删除行.这个函数移除的的行与removeRow的区别是 getChanges() 得不到被这个函数移除的行
|
||||
* @param row 行实例/ 行的实例数组
|
||||
|
@ -9822,6 +9859,11 @@ loadByKeys(keysObj: IAdvQueryItem[],callback: any): void
|
|||
例子
|
||||
```typescript
|
||||
ds.loadWithPageParam({
|
||||
page : 0,
|
||||
limit : 10,
|
||||
loadFinishCallBack: ()=>{
|
||||
//加载数据完后回调函数
|
||||
},
|
||||
query: {
|
||||
quickQuery: field1: {
|
||||
type:'like'
|
||||
|
@ -9841,7 +9883,7 @@ val:value2
|
|||
* @param paramObj 可选 参数对象
|
||||
|
||||
*/
|
||||
loadWithPageParam(paramObj: object): void
|
||||
loadWithPageParam(paramObj: IDsLoadOptions): void
|
||||
|
||||
/**
|
||||
* 注册数据行增加事件
|
||||
|
@ -9991,10 +10033,10 @@ removeFieldByName(fieldName: string): void
|
|||
/**
|
||||
* 移除记录行
|
||||
非RowState.insert 会被记录到modified里
|
||||
* @param row 需要移除的行对象
|
||||
* @param row 需要移除的行对象或者行对象数组
|
||||
|
||||
*/
|
||||
removeRow(row: Row): void
|
||||
removeRow(row: Row | Row[]): void
|
||||
|
||||
/**
|
||||
* 重置current.为第一位置 或者-1
|
||||
|
@ -10907,13 +10949,6 @@ clearExtralParams(): void
|
|||
*/
|
||||
cloneTo(ds: DataSourceBase): Row
|
||||
|
||||
/**
|
||||
* 本地提交修改
|
||||
* @param silent 是否触发数据源的事件
|
||||
|
||||
*/
|
||||
commit(silent: boolean): void
|
||||
|
||||
/**
|
||||
* 拷贝
|
||||
* @param newId 可选参数,否则复制一模一样的* @returns 返回行的克隆实例
|
||||
|
@ -11015,6 +11050,13 @@ getHide(): boolean
|
|||
*/
|
||||
getId(): any
|
||||
|
||||
/**
|
||||
* 获取行是否被修改过.
|
||||
* @returns true 修改过.否则返回false
|
||||
|
||||
*/
|
||||
getIsModify(): any
|
||||
|
||||
/**
|
||||
* 得到数据源的主键字段数组
|
||||
* @returns 返回主键字段数组
|
||||
|
@ -11079,11 +11121,11 @@ isModified(fieldName: string): boolean
|
|||
join(dataSource: DataSourceBase): void
|
||||
|
||||
/**
|
||||
* 取消修改
|
||||
* @param silent 是否触发数据源的事件
|
||||
* 取消行的所有的修改
|
||||
* @param isSilent 是否触发数据源的事件
|
||||
|
||||
*/
|
||||
reject(silent: boolean): void
|
||||
reject(isSilent: boolean): void
|
||||
|
||||
/**
|
||||
* 设置某个字段数据的值
|
||||
|
@ -12179,6 +12221,9 @@ required: boolean
|
|||
*权限资源的标题
|
||||
*/
|
||||
rightTitle: string
|
||||
/**
|
||||
*根节点的html ID
|
||||
*/
|
||||
rootId: string
|
||||
/**
|
||||
*设置组件的值
|
||||
|
@ -12279,7 +12324,7 @@ errmsg: string
|
|||
formtitle: string
|
||||
/**
|
||||
*存储的id的取值字段
|
||||
默认值: 'RWID' 可以同设置ConfigService.getInstance().getConfig().RWID
|
||||
默认值: 'RWID' 可以同设置Common.getConfig().RWID
|
||||
*/
|
||||
idField: string
|
||||
/**
|
||||
|
@ -12534,6 +12579,9 @@ required: boolean
|
|||
*权限资源的标题
|
||||
*/
|
||||
rightTitle: string
|
||||
/**
|
||||
*根节点的html ID
|
||||
*/
|
||||
rootId: string
|
||||
/**
|
||||
*设置组件的值
|
||||
|
@ -12805,6 +12853,9 @@ required: boolean
|
|||
*权限资源的标题
|
||||
*/
|
||||
rightTitle: string
|
||||
/**
|
||||
*根节点的html ID
|
||||
*/
|
||||
rootId: string
|
||||
/**
|
||||
*设置组件的值
|
||||
|
@ -12874,6 +12925,19 @@ area: string | string[]
|
|||
*/
|
||||
background: string
|
||||
/**
|
||||
*勾选子级联动
|
||||
*/
|
||||
checkChildLinkage: boolean
|
||||
/**
|
||||
*勾选父级联动
|
||||
*/
|
||||
checkParentLinkage: boolean
|
||||
/**
|
||||
*是否显示勾选框
|
||||
默认值: false
|
||||
*/
|
||||
checkbox: boolean
|
||||
/**
|
||||
*组件的样式class
|
||||
*/
|
||||
class: string
|
||||
|
@ -12896,6 +12960,11 @@ dock: DockType
|
|||
*/
|
||||
errmsg: string
|
||||
/**
|
||||
*是否完全展开树形节点
|
||||
默认值: false
|
||||
*/
|
||||
expand: boolean
|
||||
/**
|
||||
*数据源的字段名称
|
||||
*/
|
||||
field: string
|
||||
|
@ -12937,6 +13006,11 @@ id: string
|
|||
*/
|
||||
idField: string
|
||||
/**
|
||||
*是否异步加载
|
||||
默认值: false
|
||||
*/
|
||||
isAsync: boolean
|
||||
/**
|
||||
*设计模式下是否拖拽释放时候创建的组件
|
||||
有些组件需要区分这个,来增加默认值
|
||||
*/
|
||||
|
@ -12956,6 +13030,11 @@ isRightRes: boolean
|
|||
*/
|
||||
isSearch: boolean
|
||||
/**
|
||||
*是否只能选择叶子节点
|
||||
默认值: true
|
||||
*/
|
||||
isSelectleaf: boolean
|
||||
/**
|
||||
*是否显示label
|
||||
*/
|
||||
isShowLabel: boolean
|
||||
|
@ -12981,6 +13060,11 @@ labelWidth: string
|
|||
*/
|
||||
limit: Number
|
||||
/**
|
||||
*父子级的联动对象
|
||||
Y 属性定义 checkbox 被勾选后的情况;N 属性定义 checkbox 取消勾选后的情况; p 表示操作会影响父级节点; s 表示操作会影响子级节点。',
|
||||
*/
|
||||
linkage: any
|
||||
/**
|
||||
*组件间隔
|
||||
*/
|
||||
margin: string
|
||||
|
@ -12999,6 +13083,10 @@ name: string
|
|||
*/
|
||||
nameField: string
|
||||
/**
|
||||
*建树规则:父节点id的字段名
|
||||
*/
|
||||
pIdKey: string
|
||||
/**
|
||||
*父组件
|
||||
*/
|
||||
parentCmp: ComponentBase
|
||||
|
@ -13024,6 +13112,9 @@ required: boolean
|
|||
*权限资源的标题
|
||||
*/
|
||||
rightTitle: string
|
||||
/**
|
||||
*根节点的html ID
|
||||
*/
|
||||
rootId: string
|
||||
/**
|
||||
*设置组件的值
|
||||
|
@ -13042,6 +13133,18 @@ suffixText: string
|
|||
*/
|
||||
suffixWidth: string | number
|
||||
/**
|
||||
*显示格式的脚本
|
||||
*/
|
||||
titleFormatScript: string
|
||||
/**
|
||||
*取消勾选子级联动
|
||||
*/
|
||||
unCheckChildLinkage: boolean
|
||||
/**
|
||||
*取消勾选父级联动
|
||||
*/
|
||||
unCheckParentLinkage: boolean
|
||||
/**
|
||||
*初始化值
|
||||
*/
|
||||
value: string
|
||||
|
@ -13288,6 +13391,9 @@ required: boolean
|
|||
*权限资源的标题
|
||||
*/
|
||||
rightTitle: string
|
||||
/**
|
||||
*根节点的html ID
|
||||
*/
|
||||
rootId: string
|
||||
/**
|
||||
*设置组件的值
|
||||
|
@ -13712,7 +13818,7 @@ getTreeObj(): IzTreeObj
|
|||
gotoBookmark(): void
|
||||
|
||||
/**
|
||||
* 加载数据
|
||||
* 根据数据数据数组
|
||||
* @param data 数据数组
|
||||
* @param treeSettings 树形的配置项
|
||||
|
||||
|
@ -14274,6 +14380,12 @@ renderComponentItems: any
|
|||
*/
|
||||
class History {
|
||||
|
||||
}
|
||||
/**
|
||||
*对象类型
|
||||
*/
|
||||
enum ObjTreeDefType {
|
||||
cmp = 0,script = 1
|
||||
}
|
||||
/**
|
||||
* 组件树
|
||||
|
@ -18005,9 +18117,11 @@ static Nt(text: string): number
|
|||
* @param width 二维码宽度 默认值:100 像素
|
||||
* @param height 二维码高度 默认值:100 像素
|
||||
* @param correctLevel 二维码容错级别 默认值:3
|
||||
* @param colorDark 前景色 默认值: #000000
|
||||
* @param colorLight 背景色 默认值: #ffffff
|
||||
|
||||
*/
|
||||
static QrCode(value: string,elemId: string,width: number,height: number,correctLevel: number): void
|
||||
static QrCode(value: string,elemId: string,width: number,height: number,correctLevel: number,colorDark: string,colorLight: string): void
|
||||
|
||||
/**
|
||||
* 添加script标签并执行代码
|
||||
|
@ -18292,6 +18406,69 @@ static formSubmit(url: string,params: IParam[],newTab: boolean): void
|
|||
*/
|
||||
static formSubmitWithParams(url: string,paramObj: object,newTab: boolean): void
|
||||
|
||||
/**
|
||||
* 格式化时间
|
||||
* @param date 时间类型的值
|
||||
* @param FORMAT 可选参数 时间的格式默认:yyyy-MM-dd HH:mm:ss
|
||||
"yyyy-MM-dd":年-月-日
|
||||
"yyyy/MM/dd":年/月/日
|
||||
"yyyy.MM.dd":年.月.日
|
||||
"MM-dd-yyyy":月-日-年
|
||||
"MM/dd/yyyy":月/日/年
|
||||
"MM.dd.yyyy":月.日.年
|
||||
"dd-MM-yyyy":日-月-年
|
||||
"dd/MM/yyyy":日/月/年
|
||||
"dd.MM.yyyy":日.月.年
|
||||
"HH:mm:ss":时:分:秒
|
||||
"hh:mm:ss a":时:分:秒 AM/PM
|
||||
"hh:mm:ss A":时:分:秒 AM/PM(大写)
|
||||
"hh:mm":时:分
|
||||
"HH:mm":时:分(24小时制)
|
||||
"hh:mm a":时:分 AM/PM
|
||||
"hh:mm A":时:分 AM/PM(大写)
|
||||
"YYYY":四位年份
|
||||
"YY":两位年份
|
||||
"MMMM":月份全称
|
||||
"MMM":月份缩写
|
||||
"DD":两位日期
|
||||
"D":日期(1-31)
|
||||
"EEEE":星期全称
|
||||
"EEE":星期缩写
|
||||
"HH":两位小时
|
||||
"H":小时(0-23)
|
||||
"mm":两位分钟
|
||||
"m":分钟(0-59)
|
||||
"ss":两位秒钟
|
||||
"s":秒钟(0-59)
|
||||
"SSS":毫秒(0-999)
|
||||
"SS":秒(0-59)
|
||||
"a":上午/下午标识符
|
||||
"A":上午/下午标识符(大写)
|
||||
"Z":UTC偏移量
|
||||
"zzzz":时区名称
|
||||
"z":时区缩写
|
||||
"O":ISO 8601 扩展格式
|
||||
"X":ISO 8601 扩展格式(无分隔符)
|
||||
"x":ISO 8601 扩展格式(无分隔符,小写字母)
|
||||
"LTS":带秒数的本地时间
|
||||
"LT":带分钟数的本地时间
|
||||
"L":本地时间
|
||||
"LL":带时区的本地时间
|
||||
"LLL":带时区和毫秒数的本地时间
|
||||
"LLLL":带时区、毫秒数和秒数的本地时间
|
||||
"l":本地时间(小写字母)
|
||||
"c":自定义格式字符串
|
||||
"r":自定义格式字符串(不包含时间部分)* @returns 返回指定时间格式Formt的字符串 返回null说明date不是时间类型或者字符串
|
||||
|
||||
```javascript
|
||||
|
||||
console.info(formatDate(new Date),'yyyy/MM/dd') // 2023/10/24
|
||||
|
||||
```
|
||||
|
||||
*/
|
||||
static formatDate(date: Date,FORMAT: string): string
|
||||
|
||||
/**
|
||||
* 格式化数字显示方式
|
||||
用法:
|
||||
|
@ -18540,6 +18717,13 @@ static initTreeSearch(treeObj: any,inputId: any,isHighLight: any,isExpand: any):
|
|||
*/
|
||||
static instanceOfInf(object: any,interfaceName: string): boolean
|
||||
|
||||
/**
|
||||
* 判断是否有效的时间日期类型
|
||||
* @param val 需要判断的值* @returns true 有效时间值,否则返回false
|
||||
|
||||
*/
|
||||
static isDate(val: any): boolean
|
||||
|
||||
/**
|
||||
* lodash的加强版, 空对象,集合,映射或者set .排除了 boolean 和 number有值情况返回true,
|
||||
比如arguments对象,array,buffer,string或者类jQuery集合的length 为 0,被认为是空。类似的,map(映射)和set 的size 为 0,被认为是空。
|
||||
|
@ -18703,6 +18887,22 @@ static onServerMsg(msgId: string,callback: ServerMsgCallback,timeout: number): S
|
|||
*/
|
||||
static openFileDialog(config: FileDialogConfig): Promise<any>
|
||||
|
||||
/**
|
||||
* 尝试把val转换为日期时间类型的值
|
||||
支持: 'yyyy-MM-dd HH:mm:ss',
|
||||
'yyyy-MM-dd',
|
||||
'yyyy/MM/dd',
|
||||
'yyyy/MM/dd HH:mm:ss',
|
||||
'MM-dd-yyyy',
|
||||
'MM-dd-yyyy HH:mm:ss',
|
||||
'MM/dd/yyyy',
|
||||
'MM/dd/yyyy HH:mm:ss'
|
||||
格式的字符串转换
|
||||
* @param val 值* @returns 成功返回时间类型的值,否则返回null
|
||||
|
||||
*/
|
||||
static parseDate(val: any): any
|
||||
|
||||
/**
|
||||
* 展示相册
|
||||
例子:
|
||||
|
@ -19699,10 +19899,18 @@ currentOrgName: string
|
|||
*/
|
||||
currentRoleCode: string
|
||||
/**
|
||||
*当前角色数据权限级别
|
||||
*/
|
||||
currentRoleDataRightLev: string
|
||||
/**
|
||||
*当前角色 ID
|
||||
*/
|
||||
currentRoleId: string
|
||||
/**
|
||||
*当前角色级别
|
||||
*/
|
||||
currentRoleLev: string
|
||||
/**
|
||||
*当前角色名称
|
||||
*/
|
||||
currentRoleName: string
|
||||
|
@ -20703,13 +20911,6 @@ activeTab(tabPanel: TabPanel): void
|
|||
*/
|
||||
activeTabByIndex(tabIndex: number): void
|
||||
|
||||
/**
|
||||
* 增加新的tab
|
||||
* @param tab
|
||||
|
||||
*/
|
||||
addTab(tab: TabPanel): void
|
||||
|
||||
/**
|
||||
* 新增页面编码的tab
|
||||
* @param title 标题
|
||||
|
@ -21298,12 +21499,28 @@ activeView(view: TableViewBase): void
|
|||
*/
|
||||
addView(view: TableViewBase): void
|
||||
|
||||
/**
|
||||
* 由于某些操作会导致组件不断的刷新dom会导致性能问题. 并设置 isBeginUpdate为true
|
||||
在这种频繁刷新的组件操作前使用它可以禁止组件刷新.直到调用endUpdate 刷新组件 可提升性能;
|
||||
此函数与endUpdate 配对使用
|
||||
注意:一旦调用了beginUpdate会导致组件无法刷新,哪怕是调用 refresh也是无效的,只有在调用了endUpdate之后组件的刷新操作才能正常生效
|
||||
|
||||
*/
|
||||
beginUpdate(): void
|
||||
|
||||
/**
|
||||
* 删除打勾的行
|
||||
|
||||
*/
|
||||
deleteCheckRows(): void
|
||||
|
||||
/**
|
||||
* 刷新组件并设置 isBeginUpdate为false
|
||||
此函数与beginUpdate 配对使用
|
||||
|
||||
*/
|
||||
endUpdate(): void
|
||||
|
||||
/**
|
||||
* 获取当前获取的所选数组
|
||||
* @returns 返回当前获取的所选数组
|
||||
|
@ -22316,6 +22533,13 @@ onRenderCell(handle: onRenderCellHandle): void
|
|||
*/
|
||||
onRenderView(handle: OnRenderViewHandle): void
|
||||
|
||||
/**
|
||||
* 注册行的选择事件
|
||||
* @param handle 事件回调
|
||||
|
||||
*/
|
||||
onRowSelectChanging(handle: OnRowSelectChangeingHandle): void
|
||||
|
||||
/**
|
||||
* 注册操作列按钮点击事件
|
||||
* @param handle 事件回调
|
||||
|
@ -22348,6 +22572,13 @@ setCellValue(cell: JQuery<any>,row: Row,column: TableColumn,value: any): void
|
|||
*/
|
||||
setColumns(columns: TableColumn[]): void
|
||||
|
||||
/**
|
||||
* 设置行为当前行
|
||||
* @param row 行实例
|
||||
|
||||
*/
|
||||
setCurrRow(row: Row): void
|
||||
|
||||
/**
|
||||
* 同步选中值状态
|
||||
* @param rowIndex 行实例位置序号
|
||||
|
@ -22624,6 +22855,14 @@ declare type OnRowClickHandle = (sender: TableViewBase,row: Row,rowElem: JQuery<
|
|||
|
||||
*/
|
||||
declare type OnRowDoubleClickHandle = (sender: TableViewBase,row: Row) => void
|
||||
/**
|
||||
*行的选择变化回调
|
||||
*@param sender 事件发起者
|
||||
*@param preRow 上一行实例
|
||||
*@param curRow 当前行实例
|
||||
|
||||
*/
|
||||
declare type OnRowSelectChangeingHandle = (sender: TableViewBase,preRow: Row,curRow: Row) => void
|
||||
/**
|
||||
*工具栏按钮点击事件回调
|
||||
*@param sender 事件发起者
|
||||
|
@ -22734,7 +22973,7 @@ font: string
|
|||
*/
|
||||
format: string
|
||||
/**
|
||||
*是否显示下拉提示
|
||||
*是否显示下拉提示: 默认 true
|
||||
*/
|
||||
griddown: boolean
|
||||
/**
|
||||
|
@ -22760,7 +22999,7 @@ minWidth: number
|
|||
*/
|
||||
parents: string
|
||||
/**
|
||||
*只读
|
||||
*只读 ; 默认 true
|
||||
*/
|
||||
readonly: boolean
|
||||
/**
|
||||
|
@ -23051,6 +23290,10 @@ radio = "radio",
|
|||
*/
|
||||
select = "select",
|
||||
/**
|
||||
*开关
|
||||
*/
|
||||
switch = "switch",
|
||||
/**
|
||||
*文本
|
||||
*/
|
||||
text = "text"
|
||||
|
@ -23060,6 +23303,14 @@ text = "text"
|
|||
*/
|
||||
class TableColumnEditorBase {
|
||||
|
||||
/**
|
||||
* 隐藏编辑器
|
||||
* @param $cell 单元格
|
||||
* @param row 行实例
|
||||
|
||||
*/
|
||||
hide($cell: JQuery<any>,row: Row): void
|
||||
|
||||
/**
|
||||
* 初始化组件的css
|
||||
* @returns 返回组件样式对象.
|
||||
|
@ -23067,9 +23318,19 @@ class TableColumnEditorBase {
|
|||
*/
|
||||
iniCss(): void
|
||||
|
||||
/**
|
||||
* 设置组件的值
|
||||
* @param $cell 单元格
|
||||
* @param value 值
|
||||
* @param row 行实例
|
||||
* @param forceUpdate 可选参数 是否更新单元格 默认true
|
||||
|
||||
*/
|
||||
setValue($cell: JQuery<any>,value: any,row: Row,forceUpdate: boolean): void
|
||||
|
||||
}
|
||||
/**
|
||||
*按钮
|
||||
*按钮编辑
|
||||
*/
|
||||
class TableEditorButton extends TableColumnEditorBase {
|
||||
|
||||
|
@ -23087,34 +23348,60 @@ class TableEditorDate extends TableColumnEditorBase {
|
|||
|
||||
}
|
||||
/**
|
||||
*下拉
|
||||
*含有数据源 ds,valueField,titleField 编辑器的基类
|
||||
*/
|
||||
class TableEditorDropdown extends TableEditorButton {
|
||||
class TableEditorDbBase extends TableColumnEditorBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*下拉复选
|
||||
* 得到当前row的显示数组值字符串
|
||||
* @param row 行实例* @returns 返回数组类型的标题值
|
||||
|
||||
*/
|
||||
class TableEditorDropdownSelect extends TableColumnEditorBase {
|
||||
getArrTitle(row: any): any
|
||||
|
||||
/**
|
||||
* 得到下拉组件的下拉数据源
|
||||
* @returns 返回下拉的数据源实例
|
||||
|
||||
*/
|
||||
getDropDownDataSouce(): DataSourceBase
|
||||
getDs(): DataSourceBase
|
||||
|
||||
/**
|
||||
* 得到当前row的显示字符串
|
||||
* @param row 行实例* @returns 返回标题值
|
||||
|
||||
*/
|
||||
getTitle(row: Row): string
|
||||
|
||||
}
|
||||
/**
|
||||
*下拉容器
|
||||
*/
|
||||
class TableEditorDropdown extends TableEditorButton {
|
||||
|
||||
}
|
||||
/**
|
||||
*下拉基类
|
||||
*/
|
||||
class TableEditorDropdownBase extends TableEditorDbBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*下拉选项
|
||||
*/
|
||||
class TableEditorDropdownSelect extends TableEditorDropdownBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*下拉Table
|
||||
*/
|
||||
class TableEditorDropdownTable extends TableEditorDropdown {
|
||||
class TableEditorDropdownTable extends TableEditorDropdownBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*下拉tree
|
||||
*/
|
||||
class TableEditorDropdownTree extends TableEditorDropdown {
|
||||
class TableEditorDropdownTree extends TableEditorDropdownBase {
|
||||
|
||||
}
|
||||
/**
|
||||
|
@ -23122,17 +23409,35 @@ class TableEditorDropdownTree extends TableEditorDropdown {
|
|||
*/
|
||||
class TableEditorNumber extends TableColumnEditorBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*弹出基类
|
||||
*/
|
||||
class TableEditorPopBase extends TableEditorDbBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*弹出table
|
||||
*/
|
||||
class TableEditorPopTable extends TableEditorButton {
|
||||
class TableEditorPopTable extends TableEditorPopBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*弹出tree
|
||||
*/
|
||||
class TableEditorPopTree extends TableEditorButton {
|
||||
class TableEditorPopTree extends TableEditorPopBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*单选
|
||||
*/
|
||||
class TableEditorRadio extends TableEditorDbBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*开关
|
||||
*/
|
||||
class TableEditorSwitch extends TableColumnEditorBase {
|
||||
|
||||
}
|
||||
/**
|
||||
|
@ -23140,6 +23445,12 @@ class TableEditorPopTree extends TableEditorButton {
|
|||
*/
|
||||
class TableEditorText extends TableColumnEditorBase {
|
||||
|
||||
}
|
||||
/**
|
||||
*列编辑器接口
|
||||
*/
|
||||
interface ITableColumnEditor {
|
||||
type: TableColumnEditorType
|
||||
}
|
||||
/**
|
||||
*列表的编辑接口
|
||||
|
@ -23336,6 +23647,7 @@ class DataExport extends InvisibleBase {
|
|||
* 导出数据
|
||||
* @param params 参数数组或者参数对象
|
||||
* @param filename 导出的文件名
|
||||
* @param format 导出的文件格式
|
||||
``` javascript
|
||||
function Button1_onClickScript(cxt:ScriptContext,btn:Button){
|
||||
//方法1 参数对象
|
||||
|
@ -23346,7 +23658,7 @@ btn.getPage().components.DataExport1.export([{name:'param1',value:'paramValue1'}
|
|||
```
|
||||
|
||||
*/
|
||||
export(params: Object | IParam[],filename: string): void
|
||||
export(params: Object | IParam[],filename: string,format: DataExportFormat): void
|
||||
|
||||
}
|
||||
/**
|
||||
|
@ -24086,6 +24398,8 @@ confirmAndPostByRow(row: Row,finishCallBack: WorkflowCallBack,wfParams: object,a
|
|||
* @param wfParams 流程变量 传递到流程引擎内的变量(例如:传递一个变量来会影响线路的路径)
|
||||
* @param finishCallBack 审批完成的回调
|
||||
* @param attachment 可选参数, 附件 字符串格式如: '{ "newFileName": "xxxxx/yyyyy/ssss.png", "oldFileName": "yyy/old.png" }'
|
||||
* @param nextWfUserIds 可选参数, 下一个待处理人wfUserId数组
|
||||
* @param copyWfUserids 可选参数, 抄送人wfUserId数组
|
||||
例如:
|
||||
```javascript
|
||||
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
|
||||
|
@ -24109,7 +24423,7 @@ Common.successMsg('审批完成');
|
|||
```
|
||||
|
||||
*/
|
||||
confirmAndPostByRowDirect(row: Row,audFlag: WorkflowConfirmResult,auditMemo: string,wfParams: object,finishCallBack: DataSourcePostHandle,attachment: string): void
|
||||
confirmAndPostByRowDirect(row: Row,audFlag: WorkflowConfirmResult,auditMemo: string,wfParams: object,finishCallBack: DataSourcePostHandle,attachment: string,nextWfUserIds: string[],copyWfUserids: string[]): void
|
||||
|
||||
/**
|
||||
* 审核指定行的流程. 会弹出指定的审核表单
|
||||
|
@ -24270,6 +24584,8 @@ startAndPostByRow(row: Row,finishCallBack: WorkflowCallBack,wfParams: object,att
|
|||
* @param wfParams 流程变量 传递到流程引擎内的变量(例如:传递一个变量来会影响线路的路径)
|
||||
* @param finishCallBack 审批完成的回调
|
||||
* @param attachment 可选参数, 附件 字符串格式如: '{ "newFileName": "xxxxx/yyyyy/ssss.png", "oldFileName": "yyy/old.png" }'
|
||||
* @param nextWfUserIds 可选参数, 下一个待处理人wfUserId数组
|
||||
* @param copyWfUserids 可选参数, 抄送人wfUserId数组
|
||||
例如:
|
||||
```javascript
|
||||
function Button13_onClickScript(cxt: ScriptContext, btn: Button) {
|
||||
|
@ -24293,7 +24609,7 @@ Common.successMsg('流程启动完成');
|
|||
```
|
||||
|
||||
*/
|
||||
startAndPostByRowDirect(row: Row,auditMemo: string,wfParams: object,finishCallBack: DataSourcePostHandle,attachment: string): void
|
||||
startAndPostByRowDirect(row: Row,auditMemo: string,wfParams: object,finishCallBack: DataSourcePostHandle,attachment: string,nextWfUserIds: string[],copyWfUserids: string[]): void
|
||||
|
||||
/**
|
||||
* 启动指定行的流程,会弹出指定的审核表单
|
||||
|
@ -25077,7 +25393,7 @@ isPlaceSearch: boolean
|
|||
getPopEdior(): IPopInputBaseEditor
|
||||
|
||||
/**
|
||||
* 注册点击并选中任意日期时触发
|
||||
* 注册点击并选中任意日期事件
|
||||
* @param val 地址json
|
||||
|
||||
*/
|
||||
|
@ -25410,14 +25726,14 @@ getInputElem(): JQuery<any>
|
|||
getLabelCaption(): string
|
||||
|
||||
/**
|
||||
* 注册输入框内容变化时触发
|
||||
* 注册输入框内容变化事件
|
||||
* @param event 时间对象
|
||||
|
||||
*/
|
||||
onBlur(event: Event): void
|
||||
|
||||
/**
|
||||
* 注册输入框内容变化时触发
|
||||
* 注册输入框内容变化事件
|
||||
* @param val 返回当前输入的值
|
||||
|
||||
*/
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
58353
modules/kdayun-app/src/main/resources/static/libs/pdf/3_11_174/build/pdf.worker.js
vendored
Normal file
58353
modules/kdayun-app/src/main/resources/static/libs/pdf/3_11_174/build/pdf.worker.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
modules/kdayun-app/src/main/resources/static/libs/pdf/3_11_174/build/pdf.worker.js.map
vendored
Normal file
1
modules/kdayun-app/src/main/resources/static/libs/pdf/3_11_174/build/pdf.worker.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||
All rights reserved.
|
||||
See ./LICENSEáCNS2-H
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||
All rights reserved.
|
||||
See ./LICENSEá ETen-B5-H` ^
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||
All rights reserved.
|
||||
See ./LICENSE!!<21>º]aX!!]`<60>21<32>> <09>p<0B>z<EFBFBD>$]‚<06>"R‚d<E2809A>-Uƒ7<C692>*„
4„%<25>+ „Z „{<7B>/…%…<<3C>9K…b<E280A6>1]†.<2E>"‡‰`]‡,<2C>"]ˆ
|
||||
<EFBFBD>"]ˆh<CB86>"]‰F<E280B0>"]Š$<24>"]‹<02>"]‹`<60>"]Œ><3E>"]<5D><1C>"]<5D>z<EFBFBD>"]ŽX<C5BD>"]<5D>6<EFBFBD>"]<5D><14>"]<5D>r<EFBFBD>"]‘P<E28098>"]’.<2E>"]“<0C>"]“j<E2809C>"]”H<E2809D>"]•&<26>"]–<04>"]–b<E28093>"]—@<40>"]˜<1E>"]˜|<7C>"]™Z<E284A2>"]š8<C5A1>"]›<16>"]›t<E280BA>"]œR<C593>"]<5D>0<EFBFBD>"]ž<0E>"]žl<C5BE>"]ŸJ<C5B8>"] (<28>"]¡<06>"]¡d<C2A1>"]¢B<C2A2>"]£ <20>"X£~<7E>']¤W<C2A4>"]¥5<C2A5>"]¦<13>"]¦q<C2A6>"]§O<C2A7>"]¨-<2D>"]©<0B>"]©i<C2A9>"]ªG<C2AA>"]«%<25>"]¬<03>"]¬a<C2AC>"]?<3F>"]®<1D>"]®{<7B>"]¯Y<C2AF>"]°7<C2B0>"]±<15>"]±s<C2B1>"]²Q<C2B2>"]³/<2F>"]´
<0A>"]´k<C2B4>"]µI<C2B5>"]¶'<27>"]·<05>"]·c<C2B7>"]¸A<C2B8>"]¹<1F>"]¹}<7D>"]º[<5B>"]»9
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue