超管后台 - 流量池列表公司字段不能正常显示修复
This commit is contained in:
@@ -28,8 +28,8 @@ class TrafficPoolController extends Controller
|
||||
|
||||
// 构建查询
|
||||
$query = TrafficPoolModel::alias('tp')
|
||||
->join('traffic_source ts', 'tp.identifier = ts.identifier', 'INNER')
|
||||
->join('company c', 'ts.companyId = c.id', 'LEFT')
|
||||
->join('traffic_source ts', 'tp.identifier = ts.identifier', 'RIGHT')
|
||||
->join('company c', 'ts.companyId = c.companyId', 'LEFT')
|
||||
->join('wechat_account wa', 'tp.wechatId = wa.wechatId', 'LEFT')
|
||||
->join('wechat_tag wt', 'wa.wechatId = wt.wechatId')
|
||||
->field([
|
||||
|
||||
@@ -352,8 +352,8 @@ export default function CustomersPage() {
|
||||
</TableCell>
|
||||
<TableCell>{customer.region}</TableCell>
|
||||
<TableCell>{customer.source}</TableCell>
|
||||
<TableCell>{customer.companyName}</TableCell>
|
||||
<TableCell>{customer.createTime}</TableCell>
|
||||
<TableCell>{customer.projectName}</TableCell>
|
||||
<TableCell>{customer.addTime}</TableCell>
|
||||
<TableCell className="text-right">
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
|
||||
@@ -12,8 +12,8 @@ export interface Customer {
|
||||
region: string;
|
||||
tags: string[];
|
||||
source: string;
|
||||
companyName: string;
|
||||
createTime: string;
|
||||
projectName: string;
|
||||
addTime: string;
|
||||
mobile: number;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user