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
dec1b260
Commit
dec1b260
authored
Jul 21, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ca0d5607
f6549697
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
attendance-performance-manager-ui/admin/src/App.vue
attendance-performance-manager-ui/admin/src/App.vue
+2
-1
attendance-performance-manager-ui/admin/src/views/job/drawershow.vue
...performance-manager-ui/admin/src/views/job/drawershow.vue
+2
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/dingmsg/api/DingMessageController.java
.../module/attendance/dingmsg/api/DingMessageController.java
+5
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
...dingding/personal/service/impl/DingPersonServiceImpl.java
+0
-4
No files found.
attendance-performance-manager-ui/admin/src/App.vue
View file @
dec1b260
...
...
@@ -31,7 +31,8 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
#app {
#app {
height:100vh;
.loading {
display: flex;
align-items: center;
...
...
attendance-performance-manager-ui/admin/src/views/job/drawershow.vue
View file @
dec1b260
...
...
@@ -19,7 +19,7 @@
label=
"分组"
prop=
"groupId"
v-model=
"form.groupId"
:enumData=
"dict.group"
:enumData=
"dict.group
Id
"
type=
"select"
placeholder=
"请选择分组"
/>
...
...
@@ -154,7 +154,7 @@ export default {
// 表单重置
reset
()
{
this
.
form
=
{
groupId
:
null
,
groupId
:
""
,
groupName
:
""
,
jobCode
:
""
,
jobName
:
""
,
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/dingmsg/api/DingMessageController.java
View file @
dec1b260
...
...
@@ -209,18 +209,20 @@ public class DingMessageController {
}
if
(
result
.
getStatus
().
equals
(
"NEW"
)
||
result
.
getStatus
().
equals
(
"RUNNING"
)
){
if
(
result
.
getStatus
().
compareToIgnoreCase
(
"NEW"
)
==
0
||
result
.
getStatus
().
compareToIgnoreCase
(
"RUNNING"
)
==
0
){
leaveRecordEntity
.
setProcessStatus
(
1
);
}
else
if
(
result
.
getStatus
().
equals
(
"COMPLETED"
)
||
result
.
getStatus
().
equals
(
"CANCELED"
)
||
result
.
getStatus
().
equals
(
"TERMINATED"
)){
}
else
if
(
result
.
getStatus
().
compareToIgnoreCase
(
"COMPLETED"
)
==
0
||
result
.
getStatus
().
compareToIgnoreCase
(
"CANCELED"
)
==
0
||
result
.
getStatus
().
compareToIgnoreCase
(
"TERMINATED"
)
==
0
){
leaveRecordEntity
.
setProcessStatus
(
2
);
}
if
(
result
.
getResult
().
equals
(
"AGREE"
)
){
if
(
result
.
getResult
().
compareToIgnoreCase
(
"AGREE"
)
==
0
){
leaveRecordEntity
.
setAuditResult
(
1
);
}
else
{
leaveRecordEntity
.
setAuditResult
(
2
);
}
log
.
info
(
"auditresult:"
+
leaveRecordEntity
.
getAuditResult
());
leaveRecordEntity
.
setAuditDesc
(
result
.
getOperationRecords
().
get
(
0
).
getRemark
());
AttendanceLeaveRecordEntity
recordEntity
=
attendanceLeaveRecordService
.
selectOne
(
new
AttendanceLeaveRecordQuery
().
remark
(
processInstanceId
));
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dingding/personal/service/impl/DingPersonServiceImpl.java
View file @
dec1b260
...
...
@@ -120,10 +120,8 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
*/
public
com
.
aliyun
.
dingtalkworkflow_1_0
.
Client
createClient
()
throws
Exception
{
com
.
aliyun
.
teaopenapi
.
models
.
Config
config
=
new
com
.
aliyun
.
teaopenapi
.
models
.
Config
();
//config.protocol = "https";
config
.
protocol
=
"http"
;
config
.
regionId
=
"central"
;
// config.endpoint = domain.replace("http://", "");
config
.
endpoint
=
oaUrl
;
return
new
com
.
aliyun
.
dingtalkworkflow_1_0
.
Client
(
config
);
}
...
...
@@ -137,8 +135,6 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
HashMap
<
String
,
String
>
map
=
new
HashMap
<>();
getProcessInstanceHeaders
.
setCommonHeaders
(
map
);
getProcessInstanceHeaders
.
getCommonHeaders
().
put
(
"host"
,
"172.15.28.113:8919"
);
// getProcessInstanceHeaders.getCommonHeaders().put("port", "8919");
// getProcessInstanceHeaders.getCommonHeaders().put("protocol", "http");
com
.
aliyun
.
dingtalkworkflow_1_0
.
models
.
GetProcessInstanceRequest
getProcessInstanceRequest
=
new
com
.
aliyun
.
dingtalkworkflow_1_0
.
models
.
GetProcessInstanceRequest
()
.
setProcessInstanceId
(
processInstanceId
);
...
...
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