Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3bab554
authored
Apr 17, 2025
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
展示离职装填
parent
04a9fa4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
app/Model/IntracodeModel.php
storage/framework/views/d4d13e9bcdea7366e4952031431aae4b22f055c1.php
app/Model/IntracodeModel.php
View file @
d3bab554
...
@@ -133,7 +133,11 @@ class IntracodeModel extends Model
...
@@ -133,7 +133,11 @@ class IntracodeModel extends Model
$users
=
$this
->
getEncodeByUserIds
(
$userIds
,
$includeResign
);
$users
=
$this
->
getEncodeByUserIds
(
$userIds
,
$includeResign
);
$result
=
[];
$result
=
[];
foreach
(
$users
as
$code
)
{
foreach
(
$users
as
$code
)
{
$result
[
$code
[
'code_id'
]]
=
$code
[
'name'
]
.
'('
.
$code
[
'code_id'
]
.
')'
;
if
(
$code
[
'status'
]
==
0
)
{
$result
[
$code
[
'code_id'
]]
=
$code
[
'name'
]
.
'('
.
$code
[
'code_id'
]
.
')'
;
}
else
{
$result
[
$code
[
'code_id'
]]
=
$code
[
'name'
]
.
'('
.
$code
[
'code_id'
]
.
')'
.
' (已离职)'
;
}
}
}
return
$result
;
return
$result
;
}
}
...
@@ -162,7 +166,7 @@ class IntracodeModel extends Model
...
@@ -162,7 +166,7 @@ class IntracodeModel extends Model
{
{
$query
=
$this
->
where
(
'admin_id'
,
'>'
,
0
)
->
join
(
'user_info'
,
'lie_intracode.admin_id'
,
'='
,
'user_info.userId'
)
$query
=
$this
->
where
(
'admin_id'
,
'>'
,
0
)
->
join
(
'user_info'
,
'lie_intracode.admin_id'
,
'='
,
'user_info.userId'
)
->
whereIn
(
'user_info.userId'
,
$userIds
)
->
whereIn
(
'user_info.userId'
,
$userIds
)
->
select
(
'code_id'
,
'admin_id'
,
'name'
,
'email'
,
'mobile'
);
->
select
(
'code_id'
,
'admin_id'
,
'name'
,
'email'
,
'mobile'
,
'user_info.status'
);
$code
=
$includeResign
?
$query
->
get
()
:
$query
->
where
(
'user_info.status'
,
'!='
,
4
)
->
get
();
$code
=
$includeResign
?
$query
->
get
()
:
$query
->
where
(
'user_info.status'
,
'!='
,
4
)
->
get
();
if
(
$code
)
{
if
(
$code
)
{
$code
=
$code
->
toArray
();
$code
=
$code
->
toArray
();
...
...
storage/framework/views/d4d13e9bcdea7366e4952031431aae4b22f055c1.php
View file @
d3bab554
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
return
`<span style="color: #D7D7D7">
${
data
.
jd_resign_channel_username
}
</span>`
return
`<span style="color: #D7D7D7">
${
data
.
jd_resign_channel_username
}
</span>`
}
}
}
else
{
}
else
{
return
`<span>
${
data
.
on_job_channel_username
}
</span>`
;
return
`<span>
${
data
.
jd_
on_job_channel_username
}
</span>`
;
}
}
}
}
},
},
...
...
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