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
c715df11
Commit
c715df11
authored
Jul 18, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
59160a5d
52fceb9b
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9147 additions
and
9123 deletions
+9147
-9123
attendance-performance-manager-ui/admin/package-lock.json
attendance-performance-manager-ui/admin/package-lock.json
+3
-5
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/list.vue
...manager-ui/admin/src/views/perform/attend/appeal/list.vue
+1
-1
attendance-performance-manager-ui/admin/src/views/staff/perform/summary/list.vue
...manager-ui/admin/src/views/staff/perform/summary/list.vue
+26
-1
attendance-performance-manager-ui/admin/yarn.lock
attendance-performance-manager-ui/admin/yarn.lock
+9089
-9089
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckAllRecordController.java
...ortals/xhx/module/check/web/CheckAllRecordController.java
+28
-27
No files found.
attendance-performance-manager-ui/admin/package-lock.json
View file @
c715df11
...
@@ -2384,8 +2384,6 @@
...
@@ -2384,8 +2384,6 @@
"version": "3.16.0",
"version": "3.16.0",
"hasInstallScript": true,
"hasInstallScript": true,
"license": "MIT",
"license": "MIT",
"optional": true,
"peer": true,
"funding": {
"funding": {
"type": "opencollective",
"type": "opencollective",
"url": "https://opencollective.com/core-js"
"url": "https://opencollective.com/core-js"
...
@@ -19674,6 +19672,7 @@
...
@@ -19674,6 +19672,7 @@
"resolved": "https://registry.nlark.com/@vue/babel-preset-app/download/@vue/babel-preset-app-4.5.13.tgz",
"resolved": "https://registry.nlark.com/@vue/babel-preset-app/download/@vue/babel-preset-app-4.5.13.tgz",
"integrity": "sha1-y0dTIeTHP38RDawppIwqnLgK/rY=",
"integrity": "sha1-y0dTIeTHP38RDawppIwqnLgK/rY=",
"requires": {
"requires": {
"@babel/core": "^7.11.0",
"@babel/helper-compilation-targets": "^7.9.6",
"@babel/helper-compilation-targets": "^7.9.6",
"@babel/helper-module-imports": "^7.8.3",
"@babel/helper-module-imports": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
...
@@ -19686,14 +19685,13 @@
...
@@ -19686,14 +19685,13 @@
"@vue/babel-plugin-jsx": "^1.0.3",
"@vue/babel-plugin-jsx": "^1.0.3",
"@vue/babel-preset-jsx": "^1.2.4",
"@vue/babel-preset-jsx": "^1.2.4",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-dynamic-import-node": "^2.3.3",
"core-js": "^3.6.5",
"core-js-compat": "^3.6.5",
"core-js-compat": "^3.6.5",
"semver": "^6.1.0"
"semver": "^6.1.0"
},
},
"dependencies": {
"dependencies": {
"core-js": {
"core-js": {
"version": "3.16.0",
"version": "3.16.0"
"optional": true,
"peer": true
}
}
}
}
},
},
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/list.vue
View file @
c715df11
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
:title=
"'申诉次数规则排名TOP20'"
:title=
"'申诉次数规则排名TOP20'"
:id=
"'rule_20'"
:id=
"'rule_20'"
:legendName=
"'申诉次数'"
:legendName=
"'申诉次数'"
:styleObj=
"
{ width: '1800px', height: '3
2
0px' }"
:styleObj=
"
{ width: '1800px', height: '3
0
0px' }"
:chartsData="depChartsData"
:chartsData="depChartsData"
/>
/>
</div>
</div>
...
...
attendance-performance-manager-ui/admin/src/views/staff/perform/summary/list.vue
View file @
c715df11
<
template
>
<
template
>
<div
class=
"page"
>
<div
class=
"page"
>
<LayoutTable
:data=
"tableData"
notAdd
notDel
:config=
"tableConfig"
>
<LayoutTable
:data=
"tableData"
notAdd
notDel
:config=
"tableConfig"
>
<el-button
slot=
"table-head-left2"
style=
"margin-left: 10px"
icon=
"el-icon-tickets"
size=
"mini"
@
click=
"doExport"
:disabled=
"isExport"
>
导出
</el-button>
</LayoutTable>
</LayoutTable>
<dialog-show
ref=
"dialogform"
@
ok=
"getData"
/>
<dialog-show
ref=
"dialogform"
@
ok=
"getData"
/>
...
@@ -17,8 +19,25 @@ export default {
...
@@ -17,8 +19,25 @@ export default {
dialogShow
,
dialogShow
,
},
},
mixins
:
[
table
],
mixins
:
[
table
],
created
()
{},
created
()
{
},
methods
:
{
methods
:
{
/** 导出Excel */
doExport
()
{
this
.
isExport
=
true
;
this
.
$download
(
"
/staff/perform/summary/exportExcel
"
,
{
page
:
1
,
size
:
-
1
,
},
{
type
:
"
excel
"
}
)
.
then
(()
=>
(
this
.
isExport
=
false
))
.
catch
((
error
)
=>
{
this
.
isExport
=
false
;
this
.
$message
.
error
(
error
.
message
);
});
},
/** 重写新增方法 */
/** 重写新增方法 */
toAdd
(
row
)
{
toAdd
(
row
)
{
this
.
$refs
.
dialogform
.
add
(
row
);
this
.
$refs
.
dialogform
.
add
(
row
);
...
@@ -34,6 +53,7 @@ export default {
...
@@ -34,6 +53,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
isExport
:
false
,
config
:
{
config
:
{
isshowTabPane
:
true
,
isshowTabPane
:
true
,
search
:
[
search
:
[
...
@@ -68,6 +88,11 @@ export default {
...
@@ -68,6 +88,11 @@ export default {
{
label
:
"
工号
"
,
prop
:
"
workNum
"
},
{
label
:
"
工号
"
,
prop
:
"
workNum
"
},
{
label
:
"
所属部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
所属部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
所属心中
"
,
formatter
:
(
row
)
=>
{
return
'
宜宾市民中心
'
}
},
{
label
:
"
考勤绩效
"
,
prop
:
"
attendScore
"
,
formatter
:
this
.
formatter
},
{
label
:
"
考勤绩效
"
,
prop
:
"
attendScore
"
,
formatter
:
this
.
formatter
},
...
...
attendance-performance-manager-ui/admin/yarn.lock
View file @
c715df11
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckAllRecordController.java
View file @
c715df11
...
@@ -137,36 +137,37 @@ public class CheckAllRecordController extends BaseJsonBodyController {
...
@@ -137,36 +137,37 @@ public class CheckAllRecordController extends BaseJsonBodyController {
model
.
put
(
"checkPercent"
,
numberFormat
.
format
(
checkPercent
));
model
.
put
(
"checkPercent"
,
numberFormat
.
format
(
checkPercent
));
BigDecimal
appealPercent
=
current
.
getAppealScore
().
divide
(
current
.
getInitScore
(),
6
,
BigDecimal
.
ROUND_HALF_UP
);
BigDecimal
appealPercent
=
current
.
getAppealScore
().
divide
(
current
.
getInitScore
(),
6
,
BigDecimal
.
ROUND_HALF_UP
);
model
.
put
(
"appealPercent"
,
numberFormat
.
format
(
appealPercent
));
model
.
put
(
"appealPercent"
,
numberFormat
.
format
(
appealPercent
));
}
CheckAllScoreSummaryVo
last
=
checkAllRecordService
.
getScoreSummary
(
lastQuery
);
CheckAllScoreSummaryVo
last
=
checkAllRecordService
.
getScoreSummary
(
lastQuery
);
if
(
last
!=
null
){
BigDecimal
huanbi
=
current
.
getTotal
().
subtract
(
last
.
getTotal
());
huanbi
=
huanbi
.
divide
(
last
.
getTotal
(),
6
,
BigDecimal
.
ROUND_HALF_UP
);
model
.
put
(
"huanbi"
,
numberFormat
.
format
(
huanbi
));
}
if
(
query
.
getSummaryType
()
==
SummaryTopTypeEnum
.
年
.
getValue
())
{
if
(
last
!=
null
){
if
(
last
!=
null
){
model
.
put
(
"tongbi"
,
model
.
get
(
"huanbi"
));
BigDecimal
huanbi
=
current
.
getTotal
().
subtract
(
last
.
getTotal
());
huanbi
=
huanbi
.
divide
(
last
.
getTotal
(),
6
,
BigDecimal
.
ROUND_HALF_UP
);
model
.
put
(
"huanbi"
,
numberFormat
.
format
(
huanbi
));
}
}
}
else
{
if
(
query
.
getSummaryType
()
==
SummaryTopTypeEnum
.
年
.
getValue
())
{
String
yyyy
=
query
.
getCheckTimeStart
().
substring
(
0
,
4
);
if
(
last
!=
null
){
int
lastyear
=
DataUtil
.
converStr2Int
(
yyyy
,
0
);
model
.
put
(
"tongbi"
,
model
.
get
(
"huanbi"
));
lastyear
--;
}
if
(
query
.
getCheckTimeStart
().
substring
(
4
).
equals
(
"-02-29"
)){
lastQuery
.
setCheckTimeStart
(
lastyear
+
"-02-28"
);
}
else
{
}
else
{
lastQuery
.
setCheckTimeStart
(
lastyear
+
query
.
getCheckTimeStart
().
substring
(
4
));
String
yyyy
=
query
.
getCheckTimeStart
().
substring
(
0
,
4
);
}
int
lastyear
=
DataUtil
.
converStr2Int
(
yyyy
,
0
);
if
(
query
.
getCheckTimeEnd
().
substring
(
4
).
equals
(
"-02-29"
)){
lastyear
--;
lastQuery
.
setCheckTimeEnd
(
lastyear
+
"-02-28"
);
if
(
query
.
getCheckTimeStart
().
substring
(
4
).
equals
(
"-02-29"
)){
}
else
{
lastQuery
.
setCheckTimeStart
(
lastyear
+
"-02-28"
);
lastQuery
.
setCheckTimeEnd
(
lastyear
+
query
.
getCheckTimeEnd
().
substring
(
4
));
}
else
{
}
lastQuery
.
setCheckTimeStart
(
lastyear
+
query
.
getCheckTimeStart
().
substring
(
4
));
CheckAllScoreSummaryVo
tb
=
checkAllRecordService
.
getScoreSummary
(
lastQuery
);
}
if
(
tb
!=
null
){
if
(
query
.
getCheckTimeEnd
().
substring
(
4
).
equals
(
"-02-29"
)){
BigDecimal
tongbi
=
current
.
getTotal
().
subtract
(
tb
.
getTotal
());
lastQuery
.
setCheckTimeEnd
(
lastyear
+
"-02-28"
);
tongbi
=
tongbi
.
divide
(
last
.
getTotal
(),
6
,
BigDecimal
.
ROUND_HALF_UP
);
}
else
{
model
.
put
(
"tongbi"
,
numberFormat
.
format
(
tongbi
));
lastQuery
.
setCheckTimeEnd
(
lastyear
+
query
.
getCheckTimeEnd
().
substring
(
4
));
}
CheckAllScoreSummaryVo
tb
=
checkAllRecordService
.
getScoreSummary
(
lastQuery
);
if
(
tb
!=
null
){
BigDecimal
tongbi
=
current
.
getTotal
().
subtract
(
tb
.
getTotal
());
tongbi
=
tongbi
.
divide
(
last
.
getTotal
(),
6
,
BigDecimal
.
ROUND_HALF_UP
);
model
.
put
(
"tongbi"
,
numberFormat
.
format
(
tongbi
));
}
}
}
}
}
...
...
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