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

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')
->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([

View File

@@ -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>

View File

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