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
0d7c1759
Commit
0d7c1759
authored
Sep 05, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tui
parent
d82a6745
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
62 additions
and
22 deletions
+62
-22
attendance-performance-manager-ui/admin/src/assets/mixins/table.js
...e-performance-manager-ui/admin/src/assets/mixins/table.js
+8
-0
attendance-performance-manager-ui/admin/src/components/SearchForm.vue
...erformance-manager-ui/admin/src/components/SearchForm.vue
+32
-1
attendance-performance-manager-ui/admin/src/views/check/attend/record/list.vue
...e-manager-ui/admin/src/views/check/attend/record/list.vue
+3
-3
attendance-performance-manager-ui/admin/src/views/check/complain/record/list.vue
...manager-ui/admin/src/views/check/complain/record/list.vue
+3
-3
attendance-performance-manager-ui/admin/src/views/check/effect/record/list.vue
...e-manager-ui/admin/src/views/check/effect/record/list.vue
+3
-3
attendance-performance-manager-ui/admin/src/views/check/gowork/record/list.vue
...e-manager-ui/admin/src/views/check/gowork/record/list.vue
+3
-3
attendance-performance-manager-ui/admin/src/views/check/other/record/list.vue
...ce-manager-ui/admin/src/views/check/other/record/list.vue
+3
-3
attendance-performance-manager-ui/admin/src/views/check/review/record/list.vue
...e-manager-ui/admin/src/views/check/review/record/list.vue
+3
-3
attendance-performance-manager-ui/admin/src/views/staff/perform/summary/list.vue
...manager-ui/admin/src/views/staff/perform/summary/list.vue
+4
-3
No files found.
attendance-performance-manager-ui/admin/src/assets/mixins/table.js
View file @
0d7c1759
...
@@ -19,6 +19,14 @@ export default {
...
@@ -19,6 +19,14 @@ export default {
watch
:
{
watch
:
{
$route
(
route
)
{
$route
(
route
)
{
this
.
query
=
Object
.
assign
({},
this
.
query
,
route
.
query
);
this
.
query
=
Object
.
assign
({},
this
.
query
,
route
.
query
);
if
(
this
.
query
.
yearmonth
==
undefined
)
{
delete
this
.
query
.
month
;
delete
this
.
query
.
year
;
}
if
(
this
.
query
.
createTimeMonth
==
undefined
)
{
delete
this
.
query
.
createTimeStart
;
delete
this
.
query
.
createTimeEnd
;
}
this
.
getData
();
this
.
getData
();
},
},
},
},
...
...
attendance-performance-manager-ui/admin/src/components/SearchForm.vue
View file @
0d7c1759
...
@@ -332,11 +332,30 @@ export default {
...
@@ -332,11 +332,30 @@ export default {
newData
[
item
.
name
]
=
item
.
multiple
?
[]
:
""
;
newData
[
item
.
name
]
=
item
.
multiple
?
[]
:
""
;
}
}
});
});
delete
this
.
$route
.
query
.
yearmonth
;
delete
this
.
$route
.
query
.
createTimeMonth
;
this
.
form
=
Object
.
assign
({},
this
.
form
,
newData
);
this
.
form
=
Object
.
assign
({},
this
.
form
,
newData
);
this
.
onSubmit
();
this
.
onSubmit
();
},
},
onSubmit
()
{
onSubmit
()
{
let
{
path
,
query
}
=
this
.
$route
;
let
{
path
,
query
}
=
this
.
$route
;
if
(
this
.
form
.
yearmonth
)
{
let
arr
=
this
.
form
.
yearmonth
.
split
(
"
-
"
);
this
.
form
.
year
=
arr
[
0
];
this
.
form
.
month
=
arr
[
1
];
}
else
{
this
.
form
.
year
=
undefined
;
this
.
form
.
month
=
undefined
;
}
if
(
this
.
form
.
createTimeMonth
)
{
this
.
form
.
createTimeStart
=
this
.
form
.
createTimeMonth
+
"
-01
"
;
this
.
form
.
createTimeEnd
=
this
.
form
.
createTimeMonth
+
"
-31
"
;
}
else
{
this
.
form
.
createTimeStart
=
undefined
;
this
.
form
.
createTimeEnd
=
undefined
;
}
if
(
this
.
form
.
attendanceDateStart
&&
this
.
form
.
attendanceDateEnd
)
{
if
(
this
.
form
.
attendanceDateStart
&&
this
.
form
.
attendanceDateEnd
)
{
let
startValue
=
Date
.
parse
(
this
.
form
.
attendanceDateStart
);
let
startValue
=
Date
.
parse
(
this
.
form
.
attendanceDateStart
);
let
endValue
=
Date
.
parse
(
this
.
form
.
attendanceDateEnd
);
let
endValue
=
Date
.
parse
(
this
.
form
.
attendanceDateEnd
);
...
@@ -375,9 +394,21 @@ export default {
...
@@ -375,9 +394,21 @@ export default {
delete
this
.
form
.
summaryTimeEnd
;
delete
this
.
form
.
summaryTimeEnd
;
}
}
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
//不更改原始数据
let
params
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
//不更改原始数据
console
.
log
(
this
.
form
,
"
form参数
"
);
let
data
=
this
.
decode
(
params
);
let
data
=
this
.
decode
(
params
);
// Object.assign({}, query, data)
// Object.assign({}, query, data)
console
.
log
({
...
query
,
...
data
,
});
if
(
!
query
.
yearmonth
)
{
query
.
year
=
undefined
;
query
.
month
=
undefined
;
}
if
(
!
query
.
createTimeMonth
)
{
query
.
createTimeEnd
=
undefined
;
query
.
createTimeStart
=
undefined
;
}
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
path
,
path
:
path
,
query
:
{
query
:
{
...
...
attendance-performance-manager-ui/admin/src/views/check/attend/record/list.vue
View file @
0d7c1759
...
@@ -182,9 +182,9 @@ export default {
...
@@ -182,9 +182,9 @@ export default {
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
name
:
"
createTime
"
,
name
:
"
createTime
Month
"
,
type
:
"
datetime
"
,
type
:
"
month
"
,
label
:
"
请选择
日期
"
,
label
:
"
请选择
月份
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
...
...
attendance-performance-manager-ui/admin/src/views/check/complain/record/list.vue
View file @
0d7c1759
...
@@ -189,9 +189,9 @@ export default {
...
@@ -189,9 +189,9 @@ export default {
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
name
:
"
createTime
"
,
name
:
"
createTime
Month
"
,
type
:
"
datetime
"
,
type
:
"
month
"
,
label
:
"
请选择
日期
"
,
label
:
"
请选择
月份
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
...
...
attendance-performance-manager-ui/admin/src/views/check/effect/record/list.vue
View file @
0d7c1759
...
@@ -184,9 +184,9 @@ export default {
...
@@ -184,9 +184,9 @@ export default {
},
},
{
{
name
:
"
createTime
"
,
name
:
"
createTime
Month
"
,
type
:
"
datetime
"
,
type
:
"
month
"
,
label
:
"
请选择
开始日期
"
,
label
:
"
请选择
月份
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
...
...
attendance-performance-manager-ui/admin/src/views/check/gowork/record/list.vue
View file @
0d7c1759
...
@@ -183,9 +183,9 @@ export default {
...
@@ -183,9 +183,9 @@ export default {
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
name
:
"
createTime
"
,
name
:
"
createTime
Month
"
,
type
:
"
datetime
"
,
type
:
"
month
"
,
label
:
"
请选择
日期
"
,
label
:
"
请选择
月份
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
...
...
attendance-performance-manager-ui/admin/src/views/check/other/record/list.vue
View file @
0d7c1759
...
@@ -182,9 +182,9 @@ export default {
...
@@ -182,9 +182,9 @@ export default {
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
name
:
"
createTime
"
,
name
:
"
createTime
Month
"
,
type
:
"
datetime
"
,
type
:
"
month
"
,
label
:
"
请选择
日期
"
,
label
:
"
请选择
月份
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
...
...
attendance-performance-manager-ui/admin/src/views/check/review/record/list.vue
View file @
0d7c1759
...
@@ -188,9 +188,9 @@ export default {
...
@@ -188,9 +188,9 @@ export default {
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
name
:
"
createTime
"
,
name
:
"
createTime
Month
"
,
type
:
"
datetime
"
,
type
:
"
month
"
,
label
:
"
请选择
日期
"
,
label
:
"
请选择
月份
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
{
{
...
...
attendance-performance-manager-ui/admin/src/views/staff/perform/summary/list.vue
View file @
0d7c1759
...
@@ -27,6 +27,7 @@ export default {
...
@@ -27,6 +27,7 @@ export default {
},
},
mixins
:
[
table
],
mixins
:
[
table
],
created
()
{},
created
()
{},
methods
:
{
methods
:
{
/** 导出Excel */
/** 导出Excel */
doExport
()
{
doExport
()
{
...
@@ -65,9 +66,9 @@ export default {
...
@@ -65,9 +66,9 @@ export default {
isshowTabPane
:
true
,
isshowTabPane
:
true
,
search
:
[
search
:
[
{
{
name
:
"
createTimeStart
"
,
name
:
"
yearmonth
"
,
type
:
"
date
"
,
type
:
"
month
"
,
label
:
"
月份
"
,
label
:
"
请选择
月份
"
,
fuzzy
:
false
,
fuzzy
:
false
,
},
},
...
...
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