Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
88714d5c
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1440
Star
162
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看板
“7d9ff4081e3a0816cab4119dc146c73c576b71cd”上不存在“doc/design/mkl/mkldnn.md”
提交
88714d5c
编写于
4月 30, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 员工状态获取修改为枚举类
上级
11bd2b46
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
11 addition
and
62 deletion
+11
-62
userauth/src/main/resources/template/js/sysEveUserStaff/sysEveUserStaffChoose.js
...rces/template/js/sysEveUserStaff/sysEveUserStaffChoose.js
+2
-10
userauth/src/main/resources/template/js/sysEveUserStaff/sysEveUserStaffList.js
...ources/template/js/sysEveUserStaff/sysEveUserStaffList.js
+3
-11
wages/src/main/resources/template/js/wagesStaffMation/wagesStaffDesignMationList.js
...emplate/js/wagesStaffMation/wagesStaffDesignMationList.js
+3
-11
wages/src/main/resources/template/js/wagesStaffMation/wagesStaffWaitDesignMationList.js
...ate/js/wagesStaffMation/wagesStaffWaitDesignMationList.js
+3
-11
web/src/main/resources/template/assets/lib/layui/custom.js
web/src/main/resources/template/assets/lib/layui/custom.js
+0
-19
未找到文件。
userauth/src/main/resources/template/js/sysEveUserStaff/sysEveUserStaffChoose.js
浏览文件 @
88714d5c
...
@@ -80,18 +80,10 @@ layui.config({
...
@@ -80,18 +80,10 @@ layui.config({
}},
}},
{
field
:
'
userIdCard
'
,
title
:
'
身份证
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
160
},
{
field
:
'
userIdCard
'
,
title
:
'
身份证
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
160
},
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
userSex
==
'
0
'
){
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
sexEnum
"
,
'
id
'
,
d
.
userSex
,
'
name
'
);
return
"
保密
"
;
}
else
if
(
d
.
userSex
==
'
1
'
){
return
"
男
"
;
}
else
if
(
d
.
userSex
==
'
2
'
){
return
"
女
"
;
}
else
{
return
"
参数错误
"
;
}
}},
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
getStaffStateName
(
d
);
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
userStaffState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
}},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
{
field
:
'
phone
'
,
title
:
'
手机号
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
phone
'
,
title
:
'
手机号
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
100
},
...
...
userauth/src/main/resources/template/js/sysEveUserStaff/sysEveUserStaffList.js
浏览文件 @
88714d5c
...
@@ -87,18 +87,10 @@ layui.config({
...
@@ -87,18 +87,10 @@ layui.config({
}},
}},
{
field
:
'
userIdCard
'
,
title
:
'
身份证
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
160
},
{
field
:
'
userIdCard
'
,
title
:
'
身份证
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
160
},
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
80
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
80
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
userSex
==
'
0
'
){
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
sexEnum
"
,
'
id
'
,
d
.
userSex
,
'
name
'
);
return
"
保密
"
;
}},
}
else
if
(
d
.
userSex
==
'
1
'
){
return
"
男
"
;
}
else
if
(
d
.
userSex
==
'
2
'
){
return
"
女
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
getStaffStateName
(
d
);
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
userStaffState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
}},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
{
field
:
'
phone
'
,
title
:
'
手机号
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
phone
'
,
title
:
'
手机号
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
100
},
...
...
wages/src/main/resources/template/js/wagesStaffMation/wagesStaffDesignMationList.js
浏览文件 @
88714d5c
...
@@ -53,18 +53,10 @@ layui.config({
...
@@ -53,18 +53,10 @@ layui.config({
}
}
}},
}},
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
userSex
==
'
0
'
){
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
sexEnum
"
,
'
id
'
,
d
.
userSex
,
'
name
'
);
return
"
保密
"
;
}},
}
else
if
(
d
.
userSex
==
'
1
'
){
return
"
男
"
;
}
else
if
(
d
.
userSex
==
'
2
'
){
return
"
女
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
getStaffStateName
(
d
);
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
userStaffState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
}},
{
field
:
'
actWages
'
,
title
:
'
月标准薪资(元)
'
,
rowspan
:
'
3
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
actWages
'
,
title
:
'
月标准薪资(元)
'
,
rowspan
:
'
3
'
,
align
:
'
left
'
,
width
:
120
},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
...
...
wages/src/main/resources/template/js/wagesStaffMation/wagesStaffWaitDesignMationList.js
浏览文件 @
88714d5c
...
@@ -53,18 +53,10 @@ layui.config({
...
@@ -53,18 +53,10 @@ layui.config({
}
}
}},
}},
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
userSex
'
,
title
:
'
性别
'
,
width
:
60
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
if
(
d
.
userSex
==
'
0
'
){
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
sexEnum
"
,
'
id
'
,
d
.
userSex
,
'
name
'
);
return
"
保密
"
;
}},
}
else
if
(
d
.
userSex
==
'
1
'
){
return
"
男
"
;
}
else
if
(
d
.
userSex
==
'
2
'
){
return
"
女
"
;
}
else
{
return
"
参数错误
"
;
}
}},
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
{
field
:
'
state
'
,
title
:
'
状态
'
,
rowspan
:
'
3
'
,
width
:
60
,
align
:
'
center
'
,
templet
:
function
(
d
)
{
return
getStaffStateName
(
d
);
return
skyeyeClassEnumUtil
.
getEnumDataNameByCodeAndKey
(
"
userStaffState
"
,
'
id
'
,
d
.
state
,
'
name
'
);
}},
}},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
{
title
:
'
公司信息
'
,
align
:
'
center
'
,
colspan
:
'
3
'
},
{
field
:
'
phone
'
,
title
:
'
手机号
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
100
},
{
field
:
'
phone
'
,
title
:
'
手机号
'
,
rowspan
:
'
3
'
,
align
:
'
center
'
,
width
:
100
},
...
...
web/src/main/resources/template/assets/lib/layui/custom.js
浏览文件 @
88714d5c
...
@@ -740,25 +740,6 @@ function uploadImg(file, Editor) {
...
@@ -740,25 +740,6 @@ function uploadImg(file, Editor) {
});
});
}
}
/**
* 获取员工状态
* @param d 员工参数
* @returns {string}
*/
function
getStaffStateName
(
d
)
{
if
(
d
.
state
==
'
1
'
){
return
"
<span class='state-up'>在职</span>
"
;
}
else
if
(
d
.
state
==
'
2
'
){
return
"
<span class='state-down'>离职</span>
"
;
}
else
if
(
d
.
state
==
'
3
'
){
return
"
见习
"
;
}
else
if
(
d
.
state
==
'
4
'
){
return
"
试用
"
;
}
else
if
(
d
.
state
==
'
5
'
){
return
"
退休
"
;
}
}
/**
/**
* 判断一个值是否在指定的集合中存在
* 判断一个值是否在指定的集合中存在
*
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录