Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
c37a1c99
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1416
Star
161
Fork
130
代码
文件
提交
分支
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看板
提交
c37a1c99
编写于
4月 29, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 解决组织树加载保存报错的问题
上级
7e1ac4d8
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
17 addition
and
5 deletion
+17
-5
admin-assistant/src/main/resources/template/tpl/gw/gwReceiveDocumentList.html
...main/resources/template/tpl/gw/gwReceiveDocumentList.html
+1
-1
web/src/main/resources/template/assets/lib/layui/customer/organizationUtil.js
...es/template/assets/lib/layui/customer/organizationUtil.js
+16
-4
未找到文件。
admin-assistant/src/main/resources/template/tpl/gw/gwReceiveDocumentList.html
浏览文件 @
c37a1c99
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<div
class=
"winui-toolbar"
>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"reloadTable"
class=
"winui-toolbtn search-table-btn-right"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
auth=
"1714142882792"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
公文
起草
</button>
<button
id=
"addBean"
class=
"winui-toolbtn search-table-btn-right"
auth=
"1714142882792"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
公文
收文
</button>
</div>
</div>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<div
style=
"margin:auto 10px;"
>
...
...
web/src/main/resources/template/assets/lib/layui/customer/organizationUtil.js
浏览文件 @
c37a1c99
...
@@ -11,8 +11,11 @@ var organizationUtil = {
...
@@ -11,8 +11,11 @@ var organizationUtil = {
// 岗位定级树
// 岗位定级树
jobScoreTree
:
null
,
jobScoreTree
:
null
,
dtree
:
null
,
// 初始化新增页面的组织机构
// 初始化新增页面的组织机构
initAddOrganization
:
function
(
dtree
)
{
initAddOrganization
:
function
(
dtree
)
{
organizationUtil
.
dtree
=
dtree
;
// 初始化公司
// 初始化公司
organizationUtil
.
companyTree
=
dtree
.
render
({
organizationUtil
.
companyTree
=
dtree
.
render
({
elem
:
"
#demoTree1
"
,
elem
:
"
#demoTree1
"
,
...
@@ -74,6 +77,7 @@ var organizationUtil = {
...
@@ -74,6 +77,7 @@ var organizationUtil = {
// 初始化编辑页面的组织机构
// 初始化编辑页面的组织机构
initEditOrganization
:
function
(
dtree
,
mation
)
{
initEditOrganization
:
function
(
dtree
,
mation
)
{
organizationUtil
.
dtree
=
dtree
;
// 初始化公司
// 初始化公司
organizationUtil
.
companyTree
=
dtree
.
render
({
organizationUtil
.
companyTree
=
dtree
.
render
({
elem
:
"
#demoTree1
"
,
elem
:
"
#demoTree1
"
,
...
@@ -157,28 +161,36 @@ var organizationUtil = {
...
@@ -157,28 +161,36 @@ var organizationUtil = {
* 获取企业信息
* 获取企业信息
*/
*/
getCompanyMation
:
function
(
dtree
)
{
getCompanyMation
:
function
(
dtree
)
{
return
organizationUtil
.
judgeNullRetuenObject
(
dtree
.
getNowParam
(
organizationUtil
.
companyTree
));
return
organizationUtil
.
judgeNullRetuenObject
(
organizationUtil
.
getTreeObject
(
dtree
)
.
getNowParam
(
organizationUtil
.
companyTree
));
},
},
/**
/**
* 获取部门信息
* 获取部门信息
*/
*/
getDepartmentMation
:
function
(
dtree
)
{
getDepartmentMation
:
function
(
dtree
)
{
return
organizationUtil
.
judgeNullRetuenObject
(
dtree
.
getNowParam
(
organizationUtil
.
departmentTree
));
return
organizationUtil
.
judgeNullRetuenObject
(
organizationUtil
.
getTreeObject
(
dtree
)
.
getNowParam
(
organizationUtil
.
departmentTree
));
},
},
/**
/**
* 获取岗位信息
* 获取岗位信息
*/
*/
getJobMation
:
function
(
dtree
)
{
getJobMation
:
function
(
dtree
)
{
return
organizationUtil
.
judgeNullRetuenObject
(
dtree
.
getNowParam
(
organizationUtil
.
jobTree
));
return
organizationUtil
.
judgeNullRetuenObject
(
organizationUtil
.
getTreeObject
(
dtree
)
.
getNowParam
(
organizationUtil
.
jobTree
));
},
},
/**
/**
* 获取岗位定级信息
* 获取岗位定级信息
*/
*/
getJobScoreMation
:
function
(
dtree
)
{
getJobScoreMation
:
function
(
dtree
)
{
return
organizationUtil
.
judgeNullRetuenObject
(
dtree
.
getNowParam
(
organizationUtil
.
jobScoreTree
));
return
organizationUtil
.
judgeNullRetuenObject
(
organizationUtil
.
getTreeObject
(
dtree
).
getNowParam
(
organizationUtil
.
jobScoreTree
));
},
getTreeObject
:
function
(
dtree
)
{
if
(
isNull
(
dtree
))
{
return
organizationUtil
.
dtree
}
else
{
return
dtree
}
},
},
judgeNullRetuenObject
:
function
(
object
)
{
judgeNullRetuenObject
:
function
(
object
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录