2025-03-26
This commit is contained in:
47
src/views/feedbackManagement/product/constant/table.ts
Normal file
47
src/views/feedbackManagement/product/constant/table.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
import { RenderScope } from "@/components/ProTable/interface";
|
||||
export const COLUMNS = [
|
||||
{
|
||||
align: "center",
|
||||
fixed: true,
|
||||
label: "姓名",
|
||||
prop: "first_name",
|
||||
render: (scope: RenderScope<any>): VNode | string | any => {
|
||||
return scope.row.first_name + scope.row.last_name;
|
||||
}
|
||||
},
|
||||
{
|
||||
align: "center",
|
||||
label: "公司名称",
|
||||
prop: "corp_name"
|
||||
},
|
||||
{
|
||||
align: "left",
|
||||
label: "邮箱",
|
||||
prop: "email"
|
||||
},
|
||||
{
|
||||
align: "left",
|
||||
label: "手机号码",
|
||||
prop: "phone"
|
||||
},
|
||||
{
|
||||
align: "left",
|
||||
label: "所在国家",
|
||||
prop: "country_name"
|
||||
},
|
||||
{
|
||||
align: "left",
|
||||
label: "行业",
|
||||
prop: "industry"
|
||||
},
|
||||
{
|
||||
align: "left",
|
||||
label: "留言内容",
|
||||
prop: "message"
|
||||
},
|
||||
{
|
||||
align: "left",
|
||||
label: "提交时间",
|
||||
prop: "created_at"
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user