2024-03-18 18:08:31 +08:00

69 lines
1.5 KiB
JavaScript

import {
apiSupervisionParticipatingUnitsContactsLists,
} from "@/api/supervision_participating_units_contacts";
const detailConfig = {
title: "工程监理--参建单位",
config: [
{
label: "项目名称",
value: "project_name"
},
{
label: "单位名称",
value: "unit_name"
},
{
label: "单位类别",
value: "unit_type_text"
},
{
label: "资质等级",
value: "qualification_grade"
},
{
label: "联系电话",
value: "telephone"
},
{
label: "责任范围",
value: "duty"
},
],
table: {
title: "联系人",
tableConfig: [
{
label: "姓名",
value: 'name',
},
{
label: "职务",
value: 'duties'
},
{
label: "办公电话",
value: 'telephone',
},
{
label: "手机号码",
value: 'mobile',
},
{
label: "电子邮箱",
value: 'email',
},
{
label: "传真",
value: 'fax',
},
],
query: 'unit_id',
fetchFun: apiSupervisionParticipatingUnitsContactsLists,
}
}
export default detailConfig;