Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
010a1198
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1172
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看板
提交
010a1198
编写于
11月 21, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
部门管理---管理行为完成
上级
27b86f32
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
149 addition
and
347 deletion
+149
-347
organization/src/main/resources/template/js/companyDepartment/companyDepartmentAdd.js
...ces/template/js/companyDepartment/companyDepartmentAdd.js
+32
-94
organization/src/main/resources/template/js/companyDepartment/companyDepartmentChooseList.js
...plate/js/companyDepartment/companyDepartmentChooseList.js
+5
-5
organization/src/main/resources/template/js/companyDepartment/companyDepartmentEdit.js
...es/template/js/companyDepartment/companyDepartmentEdit.js
+52
-105
organization/src/main/resources/template/js/companyDepartment/companyDepartmentList.js
...es/template/js/companyDepartment/companyDepartmentList.js
+42
-62
organization/src/main/resources/template/js/companyMation/companyChooseList.js
.../resources/template/js/companyMation/companyChooseList.js
+1
-1
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentAdd.html
.../template/tpl/companyDepartment/companyDepartmentAdd.html
+6
-3
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentChooseList.html
...te/tpl/companyDepartment/companyDepartmentChooseList.html
+1
-1
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentEdit.html
...template/tpl/companyDepartment/companyDepartmentEdit.html
+5
-3
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentList.html
...template/tpl/companyDepartment/companyDepartmentList.html
+3
-32
organization/src/main/resources/template/tpl/companyDepartment/companydepartmenteditTemplate.tpl
...e/tpl/companyDepartment/companydepartmenteditTemplate.tpl
+0
-39
organization/src/main/resources/template/tpl/companyMation/companyChooseList.html
...sources/template/tpl/companyMation/companyChooseList.html
+2
-2
未找到文件。
organization/src/main/resources/template/js/companyDepartment/companyDepartmentAdd.js
浏览文件 @
010a1198
...
...
@@ -5,100 +5,38 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
layedit
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
layedit
=
layui
.
layedit
;
layedit
.
set
({
uploadImage
:
{
url
:
reqBasePath
+
"
common003
"
,
//接口url
type
:
'
post
'
,
//默认post
data
:
{
type
:
'
13
'
}
}
});
var
layContent
=
layedit
.
build
(
'
content
'
,
{
tool
:
[
'
html
'
,
'
strong
'
//加粗
,
'
italic
'
//斜体
,
'
underline
'
//下划线
,
'
del
'
//删除线
,
'
addhr
'
,
'
|
'
,
'
removeformat
'
,
'
fontFomatt
'
,
'
fontfamily
'
,
'
fontSize
'
,
'
colorpicker
'
,
'
fontBackColor
'
,
'
face
'
//表情
,
'
|
'
//分割线
,
'
left
'
//左对齐
,
'
center
'
//居中对齐
,
'
right
'
//右对齐
,
'
link
'
//超链接
,
'
unlink
'
//清除链接
,
'
code
'
,
'
image
'
//插入图片
,
'
attachment
'
,
'
table
'
,
'
|
'
,
'
fullScreen
'
,
'
preview
'
,
'
|
'
,
'
help
'
],
uploadFiles
:
{
url
:
reqBasePath
+
"
common003
"
,
accept
:
'
file
'
,
acceptMime
:
'
file/*
'
,
size
:
'
20480
'
,
data
:
{
type
:
'
13
'
},
autoInsert
:
true
,
//自动插入编辑器设置
done
:
function
(
data
)
{
}
}
});
// 加载公司数据
initCompany
();
function
initCompany
(){
systemCommonUtil
.
getSysCompanyList
(
function
(
json
)
{
// 加载企业数据
$
(
"
#companyId
"
).
html
(
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option.tpl
'
),
json
));
});
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
ue
=
ueEditorUtil
.
initEditor
(
'
remark
'
);
// 加载公司数据
systemCommonUtil
.
getSysCompanyList
(
function
(
json
)
{
$
(
"
#companyId
"
).
html
(
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option.tpl
'
),
json
));
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
name
:
$
(
"
#name
"
).
val
(),
remark
:
encodeURIComponent
(
ue
.
getContent
()),
companyId
:
isNull
(
$
(
"
#companyId
"
).
val
())
?
'
0
'
:
$
(
"
#companyId
"
).
val
(),
pId
:
'
0
'
,
overtimeSettlementType
:
$
(
"
#overtimeSettlementType
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
writeDepartmentMation
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formAddBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
departmentName
:
$
(
"
#departmentName
"
).
val
(),
departmentDesc
:
encodeURIComponent
(
layedit
.
getContent
(
layContent
)),
companyId
:
$
(
"
#companyId
"
).
val
(),
overtimeSettlementType
:
$
(
"
#overtimeSettlementType
"
).
val
()
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
companydepartment002
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
return
false
;
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
organization/src/main/resources/template/js/companyDepartment/companyDepartmentChooseList.js
浏览文件 @
010a1198
...
...
@@ -44,12 +44,12 @@ layui.config({
cols
:
[[
{
type
:
'
checkbox
'
},
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
departmentN
ame
'
,
title
:
'
部门名称
'
,
width
:
300
},
{
field
:
'
n
ame
'
,
title
:
'
部门名称
'
,
width
:
300
},
{
field
:
'
id
'
,
title
:
'
部门简介
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="
departmentDesc
"></i>
'
;
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="
remark
"></i>
'
;
}}
]],
done
:
function
(
res
,
curr
,
count
){
done
:
function
(
json
,
curr
,
count
){
matchingLanguage
();
tableCheckBoxUtil
.
checkedDefault
({
gridId
:
'
messageTable
'
,
...
...
@@ -65,14 +65,14 @@ layui.config({
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
var
layEvent
=
obj
.
event
;
if
(
layEvent
===
'
departmentDesc
'
)
{
//部门简介
if
(
layEvent
===
'
remark
'
)
{
//部门简介
layer
.
open
({
id
:
'
部门简介
'
,
type
:
1
,
title
:
'
部门简介
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
data
.
departmentDesc
content
:
data
.
remark
});
}
});
...
...
organization/src/main/resources/template/js/companyDepartment/companyDepartmentEdit.js
浏览文件 @
010a1198
...
...
@@ -5,112 +5,59 @@ layui.config({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
],
function
(
exports
)
{
winui
.
renderColor
();
layui
.
use
([
'
form
'
,
'
layedit
'
],
function
(
form
)
{
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
,
layedit
=
layui
.
layedit
;
var
index
=
parent
.
layer
.
getFrameIndex
(
window
.
name
);
var
$
=
layui
.
$
,
form
=
layui
.
form
;
var
ue
=
null
;
var
layContent
;
showGrid
({
id
:
"
showForm
"
,
url
:
reqBasePath
+
"
companydepartment004
"
,
params
:
{
rowId
:
parent
.
rowId
},
pagination
:
false
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#overtimeSettlementType
"
).
val
(
json
.
bean
.
overtimeSettlementType
);
layedit
.
set
({
uploadImage
:
{
url
:
reqBasePath
+
"
common003
"
,
//接口url
type
:
'
post
'
,
//默认post
data
:
{
type
:
'
13
'
}
}
});
layContent
=
layedit
.
build
(
'
content
'
,
{
tool
:
[
'
html
'
,
'
strong
'
//加粗
,
'
italic
'
//斜体
,
'
underline
'
//下划线
,
'
del
'
//删除线
,
'
addhr
'
,
'
|
'
,
'
removeformat
'
,
'
fontFomatt
'
,
'
fontfamily
'
,
'
fontSize
'
,
'
colorpicker
'
,
'
fontBackColor
'
,
'
face
'
//表情
,
'
|
'
//分割线
,
'
left
'
//左对齐
,
'
center
'
//居中对齐
,
'
right
'
//右对齐
,
'
link
'
//超链接
,
'
unlink
'
//清除链接
,
'
code
'
,
'
image
'
//插入图片
,
'
attachment
'
,
'
table
'
,
'
|
'
,
'
fullScreen
'
,
'
preview
'
,
'
|
'
,
'
help
'
],
uploadFiles
:
{
url
:
reqBasePath
+
"
common003
"
,
accept
:
'
file
'
,
acceptMime
:
'
file/*
'
,
size
:
'
20480
'
,
data
:
{
type
:
'
13
'
},
autoInsert
:
true
,
//自动插入编辑器设置
done
:
function
(
data
)
{
}
}
});
// 加载公司数据
systemCommonUtil
.
getSysCompanyList
(
function
(
data
)
{
$
(
"
#companyId
"
).
html
(
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option.tpl
'
),
data
));
$
(
"
#companyId
"
).
val
(
json
.
bean
.
companyId
);
});
showGrid
({
id
:
"
showForm
"
,
url
:
reqBasePath
+
"
queryDepartmentMationById
"
,
params
:
{
id
:
parent
.
rowId
},
pagination
:
false
,
method
:
'
GET
'
,
template
:
$
(
"
#beanTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
)
{
},
ajaxSendAfter
:
function
(
json
)
{
$
(
"
#overtimeSettlementType
"
).
val
(
json
.
bean
.
overtimeSettlementType
);
ue
=
ueEditorUtil
.
initEditor
(
'
remark
'
);
ue
.
addListener
(
"
ready
"
,
function
()
{
ue
.
setContent
(
json
.
bean
.
remark
);
});
// 加载公司数据
systemCommonUtil
.
getSysCompanyList
(
function
(
data
)
{
$
(
"
#companyId
"
).
html
(
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option.tpl
'
),
data
));
$
(
"
#companyId
"
).
val
(
json
.
bean
.
companyId
);
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
name
:
$
(
"
#name
"
).
val
(),
remark
:
encodeURIComponent
(
ue
.
getContent
()),
companyId
:
isNull
(
$
(
"
#companyId
"
).
val
())
?
'
0
'
:
$
(
"
#companyId
"
).
val
(),
pId
:
'
0
'
,
overtimeSettlementType
:
$
(
"
#overtimeSettlementType
"
).
val
(),
id
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
writeDepartmentMation
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formEditBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
params
=
{
departmentName
:
$
(
"
#departmentName
"
).
val
(),
departmentDesc
:
encodeURIComponent
(
layedit
.
getContent
(
layContent
)),
companyId
:
$
(
"
#companyId
"
).
val
(),
overtimeSettlementType
:
$
(
"
#overtimeSettlementType
"
).
val
(),
rowId
:
parent
.
rowId
};
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
companydepartment005
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
PUT
"
,
callback
:
function
(
json
)
{
parent
.
layer
.
close
(
index
);
parent
.
refreshCode
=
'
0
'
;
}});
}
return
false
;
});
}
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
// 取消
$
(
"
body
"
).
on
(
"
click
"
,
"
#cancle
"
,
function
()
{
parent
.
layer
.
close
(
index
);
});
});
\ No newline at end of file
organization/src/main/resources/template/js/companyDepartment/companyDepartmentList.js
浏览文件 @
010a1198
...
...
@@ -11,45 +11,41 @@ layui.config({
var
$
=
layui
.
$
,
form
=
layui
.
form
,
table
=
layui
.
table
;
var
selTemplate
=
getFileContent
(
'
tpl/template/select-option-must.tpl
'
);
authBtn
(
'
1552961771842
'
);
systemCommonUtil
.
getSysCompanyList
(
function
(
json
)
{
// 加载企业数据
$
(
"
#companyId
"
).
html
(
getDataUseHandlebars
(
selTemplate
,
json
));
// 初始化加载表格
initLoatTable
();
});
function
initLoatTable
(){
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
reqBasePath
+
'
companydepartment001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
departmentName
'
,
title
:
'
部门名称
'
,
width
:
180
},
{
field
:
'
id
'
,
title
:
'
部门简介
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="departmentDesc"></i>
'
;
}},
{
field
:
'
overtimeSettlementTypeName
'
,
title
:
'
加班结算方式
'
,
width
:
120
},
{
field
:
'
jobNum
'
,
title
:
'
职位数
'
,
width
:
120
},
{
field
:
'
userNum
'
,
title
:
'
员工数
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
"
center
"
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
}
});
}
table
.
render
({
id
:
'
messageTable
'
,
elem
:
'
#messageTable
'
,
method
:
'
post
'
,
url
:
reqBasePath
+
'
companydepartment001
'
,
where
:
getTableParams
(),
even
:
true
,
page
:
true
,
limits
:
getLimits
(),
limit
:
getLimit
(),
cols
:
[[
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
name
'
,
title
:
'
部门名称
'
,
width
:
180
},
{
field
:
'
companyName
'
,
title
:
'
所属企业
'
,
width
:
180
},
{
field
:
'
remark
'
,
title
:
'
部门简介
'
,
width
:
80
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
'
<i class="fa fa-fw fa-html5 cursor" lay-event="remark"></i>
'
;
}},
{
field
:
'
overtimeSettlementTypeName
'
,
title
:
'
加班结算方式
'
,
width
:
120
},
{
field
:
'
jobNum
'
,
title
:
'
职位数
'
,
width
:
80
},
{
field
:
'
userNum
'
,
title
:
'
员工数
'
,
width
:
80
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
240
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
initTableSearchUtil
.
initAdvancedSearch
(
this
,
json
.
searchFilter
,
form
,
"
请输入名称
"
,
function
()
{
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
});
}
});
table
.
on
(
'
tool(messageTable)
'
,
function
(
obj
)
{
var
data
=
obj
.
data
;
...
...
@@ -58,31 +54,23 @@ layui.config({
del
(
data
);
}
else
if
(
layEvent
===
'
edit
'
)
{
//编辑
edit
(
data
);
}
else
if
(
layEvent
===
'
departmentDesc
'
)
{
//部门简介
}
else
if
(
layEvent
===
'
remark
'
)
{
//部门简介
layer
.
open
({
id
:
'
部门简介
'
,
type
:
1
,
title
:
'
部门简介
'
,
shade
:
0.3
,
area
:
[
'
90vw
'
,
'
90vh
'
],
content
:
data
.
departmentDesc
content
:
data
.
remark
});
}
});
form
.
render
();
form
.
on
(
'
submit(formSearch)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
refreshTable
();
}
return
false
;
});
// 删除
function
del
(
data
)
{
layer
.
confirm
(
systemLanguage
[
"
com.skyeye.deleteOperationMsg
"
][
languageType
],
{
icon
:
3
,
title
:
systemLanguage
[
"
com.skyeye.deleteOperation
"
][
languageType
]},
function
(
index
)
{
layer
.
close
(
index
);
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
companydepartment003
"
,
params
:
{
rowId
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
deleteDepartmentMationById
"
,
params
:
{
id
:
data
.
id
},
type
:
'
json
'
,
method
:
'
DELETE
'
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.deleteOperationSuccessMsg
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
loadTable
();
}});
...
...
@@ -116,25 +104,17 @@ layui.config({
}});
});
// 刷新数据
form
.
render
();
$
(
"
body
"
).
on
(
"
click
"
,
"
#reloadTable
"
,
function
()
{
loadTable
();
});
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
refreshTable
(){
table
.
reloadData
(
"
messageTable
"
,
{
page
:
{
curr
:
1
},
where
:
getTableParams
()});
}
function
loadTable
()
{
table
.
reloadData
(
"
messageTable
"
,
{
where
:
getTableParams
()});
}
function
getTableParams
()
{
return
{
departmentName
:
$
(
"
#departmentName
"
).
val
(),
companyId
:
$
(
"
#companyId
"
).
val
(),
overtimeSettlementType
:
$
(
"
#overtimeSettlementType
"
).
val
()
}
function
getTableParams
()
{
return
$
.
extend
(
true
,
{},
initTableSearchUtil
.
getSearchValue
(
"
messageTable
"
));
}
exports
(
'
companyDepartmentList
'
,
{});
...
...
organization/src/main/resources/template/js/companyMation/companyChooseList.js
浏览文件 @
010a1198
...
...
@@ -48,7 +48,7 @@ layui.config({
{
field
:
'
departmentNum
'
,
title
:
'
部门数
'
,
width
:
100
},
{
field
:
'
userNum
'
,
title
:
'
员工数
'
,
width
:
100
},
]],
done
:
function
(
res
,
curr
,
count
){
done
:
function
(
json
,
curr
,
count
){
matchingLanguage
();
tableCheckBoxUtil
.
checkedDefault
({
gridId
:
'
messageTable
'
,
...
...
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentAdd.html
浏览文件 @
010a1198
...
...
@@ -19,7 +19,7 @@
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
部门名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"
departmentName"
name=
"departmentN
ame"
win-verify=
"required"
placeholder=
"请输入部门名称"
class=
"layui-input"
maxlength=
"50"
/>
<input
type=
"text"
id=
"
name"
name=
"n
ame"
win-verify=
"required"
placeholder=
"请输入部门名称"
class=
"layui-input"
maxlength=
"50"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
...
...
@@ -37,7 +37,7 @@
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
部门简介
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"content"
name=
"content"
style=
"display: none;"
></textarea
>
<div
id=
"remark"
name=
"remark"
type=
"text/plain"
></div
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
...
...
@@ -48,9 +48,12 @@
</div>
</form>
</div>
<script
src=
"../../assets/lib/layui/lay/modules/ace/ace.js"
></script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.config.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.all.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/lang/zh-cn/zh-cn.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/companyDepartment/
'
}).
use
(
'
companyDepartmentAdd
'
);
</script>
...
...
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentChooseList.html
浏览文件 @
010a1198
...
...
@@ -10,7 +10,7 @@
<div
class=
"winui-toolbar"
>
<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
class=
"layui-btn layui-btn-sm layui-btn-normal search-table-btn-right"
type=
"button"
id=
"saveCheckBox"
style=
"float: right;"
><i
class=
"fa fa-save"
aria-hidden=
"true"
style=
"margin-right: 5px"
></i><language
showName=
"com.skyeye.save"
></language></button>
<button
class=
"layui-btn layui-btn-sm layui-btn-normal search-table-btn-right"
type=
"button"
id=
"saveCheckBox"
><i
class=
"fa fa-save"
aria-hidden=
"true"
style=
"margin-right: 5px"
></i><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
...
...
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentEdit.html
浏览文件 @
010a1198
...
...
@@ -25,7 +25,7 @@
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
部门名称
<
i
class
=
"
red
"
>*<
/i></
label
>
<
div
class
=
"
layui-input-block
"
>
<
input
type
=
"
text
"
id
=
"
departmentName
"
name
=
"
departmentName
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入部门名称
"
class
=
"
layui-input
"
maxlength
=
"
50
"
value
=
"
{{departmentN
ame}}
"
/>
<
input
type
=
"
text
"
id
=
"
name
"
name
=
"
name
"
win
-
verify
=
"
required
"
placeholder
=
"
请输入部门名称
"
class
=
"
layui-input
"
maxlength
=
"
50
"
value
=
"
{{n
ame}}
"
/>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
...
...
@@ -43,7 +43,7 @@
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
部门简介
<
/label
>
<
div
class
=
"
layui-input-block
"
>
<
textarea
id
=
"
content
"
name
=
"
content
"
style
=
"
display: none;
"
>
{{
departmentDesc
}}
<
/textarea
>
<
div
id
=
"
remark
"
name
=
"
remark
"
type
=
"
text/plain
"
><
/div
>
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
...
...
@@ -55,9 +55,11 @@
{{
/
bean
}}
</script>
<script
src=
"../../assets/lib/layui/lay/modules/ace/ace.js"
></script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.config.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/ueditor.all.js"
></script>
<script
type=
"text/javascript"
src=
"../../assets/lib/layui/lay/modules/ueditor/lang/zh-cn/zh-cn.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/companyDepartment/
'
}).
use
(
'
companyDepartmentEdit
'
);
</script>
...
...
organization/src/main/resources/template/tpl/companyDepartment/companyDepartmentList.html
浏览文件 @
010a1198
...
...
@@ -7,45 +7,16 @@
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
class=
"txtcenter"
style=
"margin:0 auto;padding-top:10px;"
>
<form
class=
"layui-form layui-form-pane"
action=
""
autocomplete=
"off"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
所属公司
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"companyId"
lay-search=
""
id=
"companyId"
>
</select>
</div>
<label
class=
"layui-form-label"
>
部门名称
</label>
<div
class=
"layui-input-inline"
>
<input
id=
"departmentName"
name=
"departmentName"
class=
"layui-input"
placeholder=
"请输入部门名称"
/>
</div>
<label
class=
"layui-form-label"
>
结算方式
</label>
<div
class=
"layui-input-inline"
>
<select
lay-filter=
"overtimeSettlementType"
lay-search=
""
id=
"overtimeSettlementType"
>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
单倍薪资结算
</option>
<option
value=
"2"
>
1.5倍薪资结算
</option>
<option
value=
"3"
>
双倍薪资结算
</option>
<option
value=
"6"
>
补休结算
</option>
</select>
</div>
<button
type=
"reset"
class=
"layui-btn layui-btn-primary list-form-search"
><language
showName=
"com.skyeye.reset"
></language></button>
<button
class=
"layui-btn list-form-search"
lay-submit
lay-filter=
"formSearch"
><language
showName=
"com.skyeye.search2"
></language></button>
</div>
</div>
</form>
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
id=
"addBean"
class=
"winui-toolbtn"
auth=
"1552961771842"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></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=
"1552961771842"
><i
class=
"fa fa-plus"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.addBtn"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
auth
(
'
1552961
805628
'
)){
}}
{{
#
if
(
auth
(
'
1552961
771842
'
)){
}}
<
a
class
=
"
layui-btn layui-btn-xs
"
lay
-
event
=
"
edit
"
><
language
showName
=
"
com.skyeye.editBtn
"
><
/language></
a
>
{{
#
}
}}
{{
#
if
(
d
.
jobNum
==
0
&&
d
.
userNum
==
0
&&
auth
(
'
1552961786068
'
)){
}}
...
...
organization/src/main/resources/template/tpl/companyDepartment/companydepartmenteditTemplate.tpl
已删除
100644 → 0
浏览文件 @
27b86f32
{{
#
bean
}}
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
所属公司
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
lay-filter=
"companyId"
lay-search=
""
win-verify=
"required"
id=
"companyId"
>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
部门名称
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"departmentName"
name=
"departmentName"
win-verify=
"required"
placeholder=
"请输入部门名称"
class=
"layui-input"
maxlength=
"50"
value=
"{
{
departmentName
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
加班结算方式
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<select
lay-filter=
"overtimeSettlementType"
lay-search=
""
win-verify=
"required"
id=
"overtimeSettlementType"
>
<option
value=
""
>
请选择
</option>
<option
value=
"1"
>
单倍薪资结算
</option>
<option
value=
"2"
>
1.5倍薪资结算
</option>
<option
value=
"3"
>
双倍薪资结算
</option>
<option
value=
"6"
>
补休结算
</option>
</select>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
部门简介
</label>
<div
class=
"layui-input-block"
>
<textarea
id=
"content"
name=
"content"
style=
"display: none;"
>
{
{
departmentDesc
}
}
</textarea>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-input-block"
>
<button
class=
"winui-btn"
id=
"cancle"
><language
showName=
"com.skyeye.cancel"
></language></button>
<button
class=
"winui-btn"
lay-submit
lay-filter=
"formEditBean"
><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
{
{/
bean
}
}
\ No newline at end of file
organization/src/main/resources/template/tpl/companyMation/companyChooseList.html
浏览文件 @
010a1198
...
...
@@ -12,8 +12,8 @@
</div>
<div
class=
"winui-toolbar"
>
<div
class=
"winui-tool"
>
<button
id=
"reloadTable"
class=
"winui-toolbtn"
><i
class=
"fa fa-refresh"
aria-hidden=
"true"
></i><language
showName=
"com.skyeye.refreshDataBtn"
></language></button>
<button
class=
"layui-btn layui-btn-sm layui-btn-normal
"
type=
"button"
id=
"saveCheckBox"
style=
"float: right;
"
><i
class=
"fa fa-save"
aria-hidden=
"true"
style=
"margin-right: 5px"
></i><language
showName=
"com.skyeye.save"
></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
class=
"layui-btn layui-btn-sm layui-btn-normal
search-table-btn-right"
type=
"button"
id=
"saveCheckBox
"
><i
class=
"fa fa-save"
aria-hidden=
"true"
style=
"margin-right: 5px"
></i><language
showName=
"com.skyeye.save"
></language></button>
</div>
</div>
<div
style=
"margin:auto 10px;"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录