超管后台 - 流量池列表公司字段不能正常显示修复
This commit is contained in:
@@ -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([
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user