Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
76c16f5a
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1195
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
76c16f5a
编写于
5月 02, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ue编辑器相关代码优化
上级
3754a9dd
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
34 addition
and
252 deletion
+34
-252
common/src/main/resources/template/js/sysEveModel/sysEveModelList.js
...main/resources/template/js/sysEveModel/sysEveModelList.js
+7
-5
forum/src/main/resources/template/js/forumshow/myforumedit.js
...m/src/main/resources/template/js/forumshow/myforumedit.js
+1
-15
forum/src/main/resources/template/js/forumshow/mysendforum.js
...m/src/main/resources/template/js/forumshow/mysendforum.js
+2
-16
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentadd.js
...urces/template/js/knowledgecontent/knowledgecontentadd.js
+3
-17
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentedit.js
...rces/template/js/knowledgecontent/knowledgecontentedit.js
+3
-16
organization/src/main/resources/template/js/companymation/companymationadd.js
...n/resources/template/js/companymation/companymationadd.js
+1
-15
organization/src/main/resources/template/js/companymation/companymationedit.js
.../resources/template/js/companymation/companymationedit.js
+1
-15
pro/src/main/resources/template/js/profile/profileadd.js
pro/src/main/resources/template/js/profile/profileadd.js
+1
-15
pro/src/main/resources/template/js/profile/profileedit.js
pro/src/main/resources/template/js/profile/profileedit.js
+1
-15
pro/src/main/resources/template/js/proproject/proappoint.js
pro/src/main/resources/template/js/proproject/proappoint.js
+2
-20
pro/src/main/resources/template/js/proproject/proprojectedit.js
...c/main/resources/template/js/proproject/proprojectedit.js
+1
-15
pro/src/main/resources/template/js/protask/protaskadd.js
pro/src/main/resources/template/js/protask/protaskadd.js
+1
-15
pro/src/main/resources/template/js/protask/protaskedit.js
pro/src/main/resources/template/js/protask/protaskedit.js
+1
-15
pro/src/main/resources/template/js/protask/protaskexecution.js
...rc/main/resources/template/js/protask/protaskexecution.js
+2
-16
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsAdd.js
...late/js/schoolKnowledgePoints/schoolKnowledgePointsAdd.js
+1
-15
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsEdit.js
...ate/js/schoolKnowledgePoints/schoolKnowledgePointsEdit.js
+2
-16
userauth/src/main/resources/template/js/syseveuserstaff/syseveuserstafflist.js
...ources/template/js/syseveuserstaff/syseveuserstafflist.js
+1
-9
web/src/main/resources/template/assets/lib/layui/lay/modules/eleTree/eleTree.js
.../template/assets/lib/layui/lay/modules/eleTree/eleTree.js
+3
-2
未找到文件。
common/src/main/resources/template/js/sysEveModel/sysEveModelList.js
浏览文件 @
76c16f5a
...
...
@@ -56,12 +56,14 @@ layui.config({
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
del
'
)
{
//
删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//
编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
details
'
)
{
//
详情
if
(
layEvent
===
'
del
'
)
{
//
删除
del
(
data
,
obj
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//
编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
details
'
)
{
//
详情
details
(
data
);
}
else
if
(
layEvent
===
'
sysPic
'
)
{
// 图片
systemCommonUtil
.
showPicImg
(
fileBasePath
+
data
.
logo
);
}
});
...
...
forum/src/main/resources/template/js/forumshow/myforumedit.js
浏览文件 @
76c16f5a
...
...
@@ -48,21 +48,7 @@ layui.config({
ajaxSendAfter
:
function
(
json
){
//回显内容
var
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
800
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
content
);
});
...
...
forum/src/main/resources/template/js/forumshow/mysendforum.js
浏览文件 @
76c16f5a
...
...
@@ -14,22 +14,8 @@ layui.config({
$
(
"
#forumTitle
"
).
html
(
getFileContent
(
"
tpl/forumshow/commontitle.tpl
"
));
//菜单
$
(
"
body
"
).
append
(
getFileContent
(
"
tpl/forumshow/commonmenu.tpl
"
));
var
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
800
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
$
(
'
#tagId
'
).
tagEditor
({
initialTags
:
[],
...
...
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentadd.js
浏览文件 @
76c16f5a
...
...
@@ -13,29 +13,15 @@ layui.config({
eleTree
=
layui
.
eleTree
;
initTypeId
();
var
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
700
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
// 初始化类型
function
initTypeId
(){
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
knowledgetype008?loginPCIp=
"
,
url
:
reqBasePath
+
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
knowlg/src/main/resources/template/js/knowledgecontent/knowledgecontentedit.js
浏览文件 @
76c16f5a
...
...
@@ -16,7 +16,7 @@ layui.config({
var
el5
;
el5
=
eleTree
.
render
({
elem
:
'
.ele5
'
,
url
:
"
knowledgetype008?loginPCIp=
"
,
url
:
reqBasePath
+
"
knowledgetype008?loginPCIp=
"
,
defaultExpandAll
:
true
,
expandOnClickNode
:
false
,
highlightCurrent
:
true
...
...
@@ -46,21 +46,8 @@ layui.config({
initType
();
$
(
"
#typeId
"
).
val
(
json
.
bean
.
typeName
);
$
(
"
#typeId
"
).
attr
(
"
typeId
"
,
json
.
bean
.
typeId
);
var
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
700
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
content
);
});
...
...
organization/src/main/resources/template/js/companymation/companymationadd.js
浏览文件 @
76c16f5a
...
...
@@ -12,21 +12,7 @@ layui.config({
// 表格的序号
var
rowNum
=
1
;
var
taxRateTemplate
=
$
(
"
#taxRateTemplate
"
).
html
();
var
ue
=
UE
.
getEditor
(
'
container
'
,
{
// 初始化高度
initialFrameHeight
:
700
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
matchingLanguage
();
form
.
render
();
...
...
organization/src/main/resources/template/js/companymation/companymationedit.js
浏览文件 @
76c16f5a
...
...
@@ -24,21 +24,7 @@ layui.config({
},
ajaxSendAfter
:
function
(
json
){
ue
=
UE
.
getEditor
(
'
container
'
,
{
// 初始化高度
initialFrameHeight
:
700
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
companyDesc
);
});
...
...
pro/src/main/resources/template/js/profile/profileadd.js
浏览文件 @
76c16f5a
...
...
@@ -12,21 +12,7 @@ layui.config({
form
=
layui
.
form
;
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
ue
=
UE
.
getEditor
(
'
content
'
,{
//初始化高度
initialFrameHeight
:
400
,
maximumWords
:
10000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
content
'
);
taskTypeSelect
();
...
...
pro/src/main/resources/template/js/profile/profileedit.js
浏览文件 @
76c16f5a
...
...
@@ -29,21 +29,7 @@ layui.config({
$
(
"
.typeOne
"
).
removeClass
(
"
layui-hide
"
);
}
ue
=
UE
.
getEditor
(
'
content
'
,{
//初始化高度
initialFrameHeight
:
400
,
maximumWords
:
10000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
ue
=
ueEditorUtil
.
initEditor
(
'
content
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
content
);
});
...
...
pro/src/main/resources/template/js/proproject/proappoint.js
浏览文件 @
76c16f5a
...
...
@@ -47,26 +47,8 @@ layui.config({
});
$
(
"
#businessEnclosureUpload
"
).
html
(
str
);
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
400
,
maximumWords
:
100000
});
planUe
=
UE
.
getEditor
(
'
planContainer
'
,{
//初始化高度
initialFrameHeight
:
400
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
planUe
=
ueEditorUtil
.
initEditor
(
'
planContainer
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
if
(
!
isNull
(
json
.
bean
.
projectContent
))
ue
.
setContent
(
json
.
bean
.
projectContent
);
...
...
pro/src/main/resources/template/js/proproject/proprojectedit.js
浏览文件 @
76c16f5a
...
...
@@ -42,21 +42,7 @@ layui.config({
trigger
:
'
click
'
});
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
800
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
businessContent
);
});
...
...
pro/src/main/resources/template/js/protask/protaskadd.js
浏览文件 @
76c16f5a
...
...
@@ -20,21 +20,7 @@ layui.config({
laydate
=
layui
.
laydate
;
var
selOption
=
getFileContent
(
'
tpl/template/select-option.tpl
'
);
var
ue
=
UE
.
getEditor
(
'
taskInstructions
'
,{
//初始化高度
initialFrameHeight
:
400
,
maximumWords
:
10000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
taskInstructions
'
);
if
(
parent
.
isSplitTask
==
true
){
var
parentId
=
parent
.
rowId
;
...
...
pro/src/main/resources/template/js/protask/protaskedit.js
浏览文件 @
76c16f5a
...
...
@@ -43,21 +43,7 @@ layui.config({
$
(
"
.typeOne
"
).
removeClass
(
"
layui-hide
"
);
}
ue
=
UE
.
getEditor
(
'
taskInstructions
'
,{
//初始化高度
initialFrameHeight
:
400
,
maximumWords
:
10000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
ue
=
ueEditorUtil
.
initEditor
(
'
taskInstructions
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
taskInstructions
);
});
...
...
pro/src/main/resources/template/js/protask/protaskexecution.js
浏览文件 @
76c16f5a
...
...
@@ -33,22 +33,8 @@ layui.config({
content
=
json
.
bean
.
taskInstructions
;
$
(
"
#taskInstructionsShowBox
"
).
attr
(
"
src
"
,
"
taskinstructionsshow.html
"
);
var
ue
=
UE
.
getEditor
(
'
executionResult
'
,{
//初始化高度
initialFrameHeight
:
400
,
maximumWords
:
10000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
executionResult
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
if
(
!
isNull
(
json
.
bean
.
executionResult
))
ue
.
setContent
(
json
.
bean
.
executionResult
);
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsAdd.js
浏览文件 @
76c16f5a
...
...
@@ -11,21 +11,7 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
700
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
//初始化学校
showGrid
({
...
...
school/src/main/resources/template/js/schoolKnowledgePoints/schoolKnowledgePointsEdit.js
浏览文件 @
76c16f5a
...
...
@@ -107,22 +107,8 @@ layui.config({
}
});
}
var
ue
=
UE
.
getEditor
(
'
container
'
,{
//初始化高度
initialFrameHeight
:
700
,
maximumWords
:
100000
});
UE
.
Editor
.
prototype
.
_bkGetActionUrl
=
UE
.
Editor
.
prototype
.
getActionUrl
;
UE
.
Editor
.
prototype
.
getActionUrl
=
function
(
action
){
if
(
action
==
'
uploadimage
'
||
action
==
'
uploadfile
'
||
action
==
'
uploadvideo
'
||
action
==
'
uploadimage
'
){
//上传单个图片,上传附件,上传视频,多图上传
return
reqBasePath
+
'
/upload/editUploadController/uploadContentPic
'
;
}
else
if
(
action
==
'
listimage
'
){
return
reqBasePath
+
'
/upload/editUploadController/downloadContentPic
'
;
}
else
{
return
this
.
_bkGetActionUrl
.
call
(
this
,
action
);
}
};
var
ue
=
ueEditorUtil
.
initEditor
(
'
container
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
content
);
});
...
...
userauth/src/main/resources/template/js/syseveuserstaff/syseveuserstafflist.js
浏览文件 @
76c16f5a
...
...
@@ -130,15 +130,7 @@ layui.config({
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
userPhoto
'
)
{
//头像预览
layer
.
open
({
type
:
1
,
title
:
false
,
closeBtn
:
0
,
skin
:
'
demo-class
'
,
shadeClose
:
true
,
content
:
'
<img src="
'
+
systemCommonUtil
.
getFilePath
(
data
.
userPhoto
)
+
'
" style="max-height:600px;max-width:100%;">
'
,
scrollbar
:
false
});
systemCommonUtil
.
showPicImg
(
systemCommonUtil
.
getFilePath
(
data
.
userPhoto
));
}
else
if
(
layEvent
===
'
details
'
)
{
//员工详情
details
(
data
);
}
else
if
(
layEvent
===
'
leave
'
){
//离职
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/eleTree/eleTree.js
浏览文件 @
76c16f5a
...
...
@@ -302,13 +302,14 @@ layui.define(["jquery","laytpl"], function (exports) {
data
=
JSON
.
stringify
(
data
);
}
$
.
extend
(
options
.
headers
,
getRequestHeaders
());
$
.
ajax
({
type
:
options
.
method
||
'
get
'
,
url
:
reqBasePath
+
options
.
url
,
url
:
options
.
url
,
contentType
:
options
.
contentType
,
data
:
data
,
dataType
:
'
json
'
,
headers
:
options
.
headers
||
{}
,
headers
:
options
.
headers
,
success
:
function
(
res
){
// response接口支持多级子项的方式,即"a.b"为res.a.b
var
fn
=
function
(
responseMsg
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录