Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
bb990564
Commit
bb990564
authored
Jul 16, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改自动考核
parent
79f3de97
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
attendance-performance-manager-ui/admin/src/assets/utils/index.js
...ce-performance-manager-ui/admin/src/assets/utils/index.js
+1
-0
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
...r-ui/admin/src/views/perform/attend/appeal/drawershow.vue
+13
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
...dingding/personal/service/impl/DingPersonServiceImpl.java
+1
-1
No files found.
attendance-performance-manager-ui/admin/src/assets/utils/index.js
View file @
bb990564
...
...
@@ -51,6 +51,7 @@ export const encodeURI = (data) => {
* @returns {string} val 解析后的结果
*/
export
function
formatterDate
(
time
)
{
console
.
log
(
time
)
if
(
!
time
)
return
'
--
'
;
let
date
=
new
Date
(
Number
(
time
));
let
Y
=
date
.
getFullYear
()
+
'
-
'
;
...
...
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
View file @
bb990564
...
...
@@ -35,7 +35,7 @@
}}
</el-col
>
<el-col
:span=
"8"
>
异常时间:
{{
formatterDate
(
form
.
appeal
Time
)
}}
</el-col
>
异常时间:
{{
formatterDate
(
form
.
error
Time
)
}}
</el-col
>
<el-col
:span=
"8"
>
上下班时间:
{{
...
...
@@ -46,7 +46,7 @@
<el-row>
<el-col
:span=
"10"
>
实际打卡时间:
{{
formatterDate
(
form
.
a
ppeal
Time
)
formatterDate
(
form
.
a
ctualAttend
Time
)
}}
</el-col
>
<el-col
:span=
"9"
...
...
@@ -63,7 +63,7 @@
<el-row>
<el-col
:span=
"8"
>
加分/扣分时间:
{{
formatterDate
(
form
.
appeal
Time
)
formatterDate
(
form
.
deduct
Time
)
}}
</el-col
>
<el-col
:span=
"8"
...
...
@@ -102,7 +102,7 @@
}}
</el-col
>
<el-col
:span=
"8"
>
核查时间:
{{
formatterDate
(
form
.
appeal
Time
)
}}
</el-col
>
核查时间:
{{
formatterDate
(
form
.
check
Time
)
}}
</el-col
>
</el-row>
</div>
...
...
@@ -147,10 +147,10 @@
}}
</el-col
>
<el-col
:span=
"8"
>
处理人员
{{
dict
[
'
updateUserId
'
][
form
.
updateUserId
]
}}
</el-col
>
处理人员
{{
util_formatter
(
'
updateUserId
'
,
form
.
updateUserId
+
""
)
}}
</el-col
>
<el-col
:span=
"8"
>
处理时间:
{{
formatterDate
(
form
.
appeal
Time
)
}}
</el-col
>
处理时间:
{{
formatterDate
(
form
.
update
Time
)
}}
</el-col
>
</el-row>
<el-row>
...
...
@@ -502,6 +502,13 @@ export default {
},
methods
:
{
util_formatter
(
key
,
val
)
{
try
{
return
this
.
dict
[
key
][
val
];
}
catch
(
error
)
{
return
val
;
}
},
formatterDate
,
// 下载附件
hanldeDownloadFile
(
val
)
{
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
View file @
bb990564
...
...
@@ -32,7 +32,7 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
OapiV2UserGetbymobileResponse
rsp
=
client
.
execute
(
req
,
getToken
());
log
.
info
(
"OapiV2UserGetbymobileResponse:{}"
,
rsp
.
getBody
());
if
(
rsp
.
getErrcode
()
==
0
)
{
return
Rest
.
ok
(
rsp
.
getResult
().
getUserid
());
return
Rest
.
ok
(
"成功"
,
rsp
.
getResult
().
getUserid
());
}
else
{
return
Rest
.
fail
(
String
.
format
(
"code:%s,msg:%s"
,
rsp
.
getErrcode
(),
rsp
.
getErrmsg
()));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment