Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
e4b47428
Commit
e4b47428
authored
Dec 25, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改考勤数据
parent
e0d2ea3d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
workGroupSet.vue
src/views/enterpriseApp/dailyAttendance/workGroupSet.vue
+10
-6
No files found.
src/views/enterpriseApp/dailyAttendance/workGroupSet.vue
View file @
e4b47428
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @Date: 2019-04-12 17:56:45
* @LastEditors : 无尘
* @LastEditors : 无尘
* @LastEditTime : 2019-12-25
19:39:51
* @LastEditTime : 2019-12-25
20:49:53
-->
-->
<
template
>
<
template
>
<div
class=
"notice-list-wrap"
>
<div
class=
"notice-list-wrap"
>
...
@@ -699,7 +699,8 @@ export default {
...
@@ -699,7 +699,8 @@ export default {
type
:
item
.
type
type
:
item
.
type
}
}
if
(
item
.
type
==
1
)
{
if
(
item
.
type
==
1
)
{
obj
.
userId
=
item
.
id
obj
.
userId
=
item
.
userId
;
//item.id
obj
.
clerkId
=
item
.
id
}
}
if
(
item
.
type
==
2
)
{
if
(
item
.
type
==
2
)
{
obj
.
groupId
=
item
.
id
obj
.
groupId
=
item
.
id
...
@@ -721,7 +722,8 @@ export default {
...
@@ -721,7 +722,8 @@ export default {
type
:
item
.
type
type
:
item
.
type
}
}
if
(
item
.
type
==
1
)
{
if
(
item
.
type
==
1
)
{
obj
.
userId
=
item
.
id
obj
.
userId
=
item
.
userId
;
//item.id
obj
.
clerkId
=
item
.
id
}
}
if
(
item
.
type
==
2
)
{
if
(
item
.
type
==
2
)
{
obj
.
groupId
=
item
.
id
obj
.
groupId
=
item
.
id
...
@@ -739,7 +741,8 @@ export default {
...
@@ -739,7 +741,8 @@ export default {
rangeType
:
2
,
rangeType
:
2
,
storeFlag
:
0
,
storeFlag
:
0
,
id
:
item
.
id
,
id
:
item
.
id
,
userId
:
item
.
id
,
userId
:
item
.
userId
,
clerkId
:
item
.
id
,
name
:
item
.
name
||
item
.
label
,
name
:
item
.
name
||
item
.
label
,
type
:
item
.
type
type
:
item
.
type
};
};
...
@@ -752,7 +755,8 @@ export default {
...
@@ -752,7 +755,8 @@ export default {
rangeType
:
2
,
rangeType
:
2
,
storeFlag
:
1
,
storeFlag
:
1
,
id
:
item
.
id
,
id
:
item
.
id
,
userId
:
item
.
id
,
userId
:
item
.
userId
,
clerkId
:
item
.
id
,
name
:
item
.
name
||
item
.
label
,
name
:
item
.
name
||
item
.
label
,
type
:
item
.
type
type
:
item
.
type
};
};
...
@@ -884,7 +888,7 @@ export default {
...
@@ -884,7 +888,7 @@ export default {
if
(
data
.
result
.
attenceRangeJson
)
{
if
(
data
.
result
.
attenceRangeJson
)
{
data
.
result
.
attenceRangeJson
.
forEach
(
ele
=>
{
data
.
result
.
attenceRangeJson
.
forEach
(
ele
=>
{
ele
.
type
=
!!
ele
.
userId
?
'1'
:
!!
ele
.
groupId
?
'2'
:
'3'
;
ele
.
type
=
!!
ele
.
userId
?
'1'
:
!!
ele
.
groupId
?
'2'
:
'3'
;
ele
.
id
=
!!
ele
.
userId
?
ele
.
user
Id
:
ele
.
groupId
?
ele
.
groupId
:
ele
.
storeId
;
ele
.
id
=
!!
ele
.
clerkId
?
ele
.
clerk
Id
:
ele
.
groupId
?
ele
.
groupId
:
ele
.
storeId
;
if
(
ele
.
rangeType
==
1
&&
ele
.
storeFlag
==
0
)
{
if
(
ele
.
rangeType
==
1
&&
ele
.
storeFlag
==
0
)
{
data
.
result
.
adminList
.
push
(
ele
);
data
.
result
.
adminList
.
push
(
ele
);
}
}
...
...
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