超管后台 - 流量池列表公司字段不能正常显示修复

This commit is contained in:
柳清爽
2025-04-15 12:12:05 +08:00
parent 73b3956f51
commit d05cfc58ea
3 changed files with 6 additions and 6 deletions

View File

@@ -28,8 +28,8 @@ class TrafficPoolController extends Controller
// 构建查询 // 构建查询
$query = TrafficPoolModel::alias('tp') $query = TrafficPoolModel::alias('tp')
->join('traffic_source ts', 'tp.identifier = ts.identifier', 'INNER') ->join('traffic_source ts', 'tp.identifier = ts.identifier', 'RIGHT')
->join('company c', 'ts.companyId = c.id', 'LEFT') ->join('company c', 'ts.companyId = c.companyId', 'LEFT')
->join('wechat_account wa', 'tp.wechatId = wa.wechatId', 'LEFT') ->join('wechat_account wa', 'tp.wechatId = wa.wechatId', 'LEFT')
->join('wechat_tag wt', 'wa.wechatId = wt.wechatId') ->join('wechat_tag wt', 'wa.wechatId = wt.wechatId')
->field([ ->field([

View File

@@ -352,8 +352,8 @@ export default function CustomersPage() {
</TableCell> </TableCell>
<TableCell>{customer.region}</TableCell> <TableCell>{customer.region}</TableCell>
<TableCell>{customer.source}</TableCell> <TableCell>{customer.source}</TableCell>
<TableCell>{customer.companyName}</TableCell> <TableCell>{customer.projectName}</TableCell>
<TableCell>{customer.createTime}</TableCell> <TableCell>{customer.addTime}</TableCell>
<TableCell className="text-right"> <TableCell className="text-right">
<DropdownMenu> <DropdownMenu>
<DropdownMenuTrigger asChild> <DropdownMenuTrigger asChild>

View File

@@ -12,8 +12,8 @@ export interface Customer {
region: string; region: string;
tags: string[]; tags: string[];
source: string; source: string;
companyName: string; projectName: string;
createTime: string; addTime: string;
mobile: number; mobile: number;
} }