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
1e599846
Commit
1e599846
authored
Jul 16, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改时间
parent
a256b0ad
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
attendance-performance-manager-ui/admin/src/assets/utils/index.js
...ce-performance-manager-ui/admin/src/assets/utils/index.js
+1
-1
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
...r-ui/admin/src/views/perform/attend/appeal/drawershow.vue
+8
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
...xhx/module/perform/web/PerformAttendAppealController.java
+5
-0
No files found.
attendance-performance-manager-ui/admin/src/assets/utils/index.js
View file @
1e599846
...
@@ -51,7 +51,7 @@ export const encodeURI = (data) => {
...
@@ -51,7 +51,7 @@ export const encodeURI = (data) => {
* @returns {string} val 解析后的结果
* @returns {string} val 解析后的结果
*/
*/
export
function
formatterDate
(
time
)
{
export
function
formatterDate
(
time
)
{
if
(
!
time
)
return
''
;
if
(
!
time
)
return
'
--
'
;
let
date
=
new
Date
(
Number
(
time
));
let
date
=
new
Date
(
Number
(
time
));
let
Y
=
date
.
getFullYear
()
+
'
-
'
;
let
Y
=
date
.
getFullYear
()
+
'
-
'
;
let
M
=
(
date
.
getMonth
()
+
1
<
10
?
'
0
'
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
'
-
'
;
let
M
=
(
date
.
getMonth
()
+
1
<
10
?
'
0
'
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
'
-
'
;
...
...
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
View file @
1e599846
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
}}
</el-col
}}
</el-col
>
>
<el-col
:span=
"8"
<el-col
:span=
"8"
>
异常时间:
{{
form
.
errorTime
?
form
.
errorTime
:
"
--
"
}}
</el-col
>
异常时间:
{{
form
atterDate
(
form
.
appealTime
)
}}
</el-col
>
>
<el-col
:span=
"8"
<el-col
:span=
"8"
>
上下班时间:
{{
>
上下班时间:
{{
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<el-row>
<el-row>
<el-col
:span=
"10"
<el-col
:span=
"10"
>
实际打卡时间:
{{
>
实际打卡时间:
{{
form
.
actualAttendTime
?
form
.
actualAttendTime
:
"
--
"
form
atterDate
(
form
.
appealTime
)
}}
</el-col
}}
</el-col
>
>
<el-col
:span=
"9"
<el-col
:span=
"9"
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<el-row>
<el-row>
<el-col
:span=
"8"
<el-col
:span=
"8"
>
加分/扣分时间:
{{
>
加分/扣分时间:
{{
form
.
deductTime
?
form
.
deductTime
:
"
--
"
form
atterDate
(
form
.
appealTime
)
}}
</el-col
}}
</el-col
>
>
<el-col
:span=
"8"
<el-col
:span=
"8"
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
}}
</el-col
}}
</el-col
>
>
<el-col
:span=
"8"
<el-col
:span=
"8"
>
核查时间:
{{
form
.
checkTime
?
form
.
checkTime
:
"
--
"
}}
</el-col
>
核查时间:
{{
form
atterDate
(
form
.
appealTime
)
}}
</el-col
>
>
</el-row>
</el-row>
</div>
</div>
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
>
申诉说明:
{{
form
.
appealDesc
?
form
.
appealDesc
:
"
--
"
}}
</el-col
>
申诉说明:
{{
form
.
appealDesc
?
form
.
appealDesc
:
"
--
"
}}
</el-col
>
>
<el-col
:span=
"24"
<el-col
:span=
"24"
>
申诉时间:
{{
form
.
appealTime
?
form
.
appealTime
:
"
--
"
}}
</el-col
>
申诉时间:
{{
form
atterDate
(
form
.
appealTime
)
}}
</el-col
>
>
<el-col
:span=
"24"
<el-col
:span=
"24"
>
申诉附件:
>
申诉附件:
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
>
处理人员:
</el-col
>
处理人员:
</el-col
>
>
<el-col
:span=
"8"
<el-col
:span=
"8"
>
处理时间:
{{
dict
}}
{{
form
.
appealTime
?
form
.
appealTime
:
"
--
"
}}
</el-col
>
处理时间:
{{
dict
}}
{{
form
atterDate
(
form
.
appealTime
)
}}
</el-col
>
>
</el-row>
</el-row>
<el-row>
<el-row>
...
@@ -459,6 +459,7 @@
...
@@ -459,6 +459,7 @@
import
form
from
"
@/assets/mixins/formdialog
"
;
import
form
from
"
@/assets/mixins/formdialog
"
;
import
{
timestampToTime
}
from
"
@/assets/utils/dateFormat.js
"
;
import
{
timestampToTime
}
from
"
@/assets/utils/dateFormat.js
"
;
import
{
downloadFile
}
from
"
@/assets/utils/index
"
;
import
{
downloadFile
}
from
"
@/assets/utils/index
"
;
import
{
formatterDate
}
from
"
@/assets/utils/index
"
;
export
default
{
export
default
{
name
:
"
PerformAttendAppealDetail
"
,
name
:
"
PerformAttendAppealDetail
"
,
...
@@ -501,6 +502,7 @@ export default {
...
@@ -501,6 +502,7 @@ export default {
},
},
methods
:
{
methods
:
{
formatterDate
,
// 下载附件
// 下载附件
hanldeDownloadFile
(
val
)
{
hanldeDownloadFile
(
val
)
{
console
.
log
(
val
);
console
.
log
(
val
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
View file @
1e599846
...
@@ -14,8 +14,10 @@ import com.mortals.xhx.common.code.EnabledEnum;
...
@@ -14,8 +14,10 @@ import com.mortals.xhx.common.code.EnabledEnum;
import
com.mortals.xhx.common.code.IrregularTypeEnum
;
import
com.mortals.xhx.common.code.IrregularTypeEnum
;
import
com.mortals.xhx.common.code.ProcessStatusEnum
;
import
com.mortals.xhx.common.code.ProcessStatusEnum
;
import
com.mortals.xhx.common.code.YesNoEnum
;
import
com.mortals.xhx.common.code.YesNoEnum
;
import
com.mortals.xhx.module.perform.model.PerformRulesQuery
;
import
com.mortals.xhx.module.perform.model.vo.AppealInfo
;
import
com.mortals.xhx.module.perform.model.vo.AppealInfo
;
import
com.mortals.xhx.module.perform.model.vo.AppealSummaryQuery
;
import
com.mortals.xhx.module.perform.model.vo.AppealSummaryQuery
;
import
com.mortals.xhx.module.perform.service.PerformRulesService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -61,6 +63,8 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
...
@@ -61,6 +63,8 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
private
ParamService
paramService
;
private
ParamService
paramService
;
@Autowired
@Autowired
private
UserService
userService
;
private
UserService
userService
;
@Autowired
private
PerformRulesService
rulesService
;
public
PerformAttendAppealController
()
{
public
PerformAttendAppealController
()
{
...
@@ -71,6 +75,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
...
@@ -71,6 +75,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"updateUserId"
,
userService
.
find
(
new
UserQuery
()).
stream
().
collect
(
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
)));
this
.
addDict
(
model
,
"updateUserId"
,
userService
.
find
(
new
UserQuery
()).
stream
().
collect
(
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
)));
this
.
addDict
(
model
,
"ruleId"
,
rulesService
.
find
(
new
PerformRulesQuery
()).
stream
().
collect
(
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getName
(),
(
o
,
n
)
->
n
)));
this
.
addDict
(
model
,
"subMethod"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subMethod"
));
this
.
addDict
(
model
,
"subMethod"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subMethod"
));
this
.
addDict
(
model
,
"subAddType"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subAddType"
));
this
.
addDict
(
model
,
"subAddType"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subAddType"
));
...
...
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