Commit df6e2bfc by 杨树贤

联系人列表显示在职状态

parent ecf9a879
......@@ -513,8 +513,8 @@ class DataService
'供应商编码',
'状态',
'采购员姓名',
'采购组',
'主管姓名',
'采购组',
]);
$sheet->setAutoSize(true);
$sheet->fromArray($exportData);
......
......@@ -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);
......
......@@ -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: 180},
{field: 'supplier_telephone', title: '座机', align: 'center',width: 150},
{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: {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment