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
df6e2bfc
authored
Apr 07, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
联系人列表显示在职状态
parent
ecf9a879
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
app/Http/Services/DataService.php
app/Http/Transformers/SupplierContactTransformer.php
resources/views/script/supplier/SupplierContactScript.blade.php
app/Http/Services/DataService.php
View file @
df6e2bfc
...
...
@@ -513,8 +513,8 @@ class DataService
'供应商编码'
,
'状态'
,
'采购员姓名'
,
'采购组'
,
'主管姓名'
,
'采购组'
,
]);
$sheet
->
setAutoSize
(
true
);
$sheet
->
fromArray
(
$exportData
);
...
...
app/Http/Transformers/SupplierContactTransformer.php
View file @
df6e2bfc
...
...
@@ -14,6 +14,7 @@ class SupplierContactTransformer
foreach
(
$list
as
&
$item
)
{
$user
=
$service
->
getAdminUserInfoByCodeId
(
$item
[
'can_check_uids'
]);
$item
[
'channel_name'
]
=
array_get
(
$user
,
'name'
);
$item
[
'working_status'
]
=
$service
->
checkIsResignedByCodeId
(
$item
[
'can_check_uids'
])
?
'离职'
:
'在职'
;
}
unset
(
$item
);
...
...
resources/views/script/supplier/SupplierContactScript.blade.php
View file @
df6e2bfc
...
...
@@ -28,10 +28,11 @@
{
field
:
'supplier_position'
,
title
:
'职位'
,
align
:
'center'
,
width
:
100
},
{
field
:
'supplier_email'
,
title
:
'邮箱'
,
align
:
'center'
,
width
:
200
},
{
field
:
'supplier_mobile'
,
title
:
'手机号'
,
align
:
'center'
,
width
:
150
},
{
field
:
'supplier_telephone'
,
title
:
'座机'
,
align
:
'center'
,
width
:
1
8
0
},
{
field
:
'supplier_telephone'
,
title
:
'座机'
,
align
:
'center'
,
width
:
1
5
0
},
{
field
:
'supplier_qq'
,
title
:
'QQ'
,
align
:
'center'
,
width
:
120
},
{
field
:
'supplier_fax'
,
title
:
'传真'
,
align
:
'center'
,
width
:
140
},
{
field
:
'channel_name'
,
title
:
'采购员'
,
align
:
'center'
,
width
:
170
},
{
field
:
'channel_name'
,
title
:
'采购员'
,
align
:
'center'
,
width
:
110
},
{
field
:
'working_status'
,
title
:
'采购员状态'
,
align
:
'center'
,
width
:
120
},
]],
id
:
'contactList'
,
page
:
{},
...
...
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