smart-bid-web/src/views/enterpriseLibrary/performance/config.js

76 lines
2.6 KiB
JavaScript

// src/views/enterpriseLibrary/performance/config.js
// 业绩库表格列配置和查询表单配置
export const formLabel = [
{
isShow: true, // 显示标签
f_type: 'ipt', // 输入框(项目名称模糊查询)
f_label: '项目名称', // 标签文本
f_model: 'proName', // 绑定的查询参数
f_placeholder: '请输入项目名称进行查询',
f_width: '160px' // 宽度
},
{
isShow: true, // 显示标签
f_type: 'sel', // 下拉选择框(项目类型)
f_label: '项目类型', // 标签文本
f_model: 'proType', // 绑定的查询参数
f_selList: [
{ label: '输变电工程', value: '输变电工程' },
{ label: '配电工程', value: '配电工程' },
{ label: '发电工程', value: '发电工程' }
],
f_placeholder: '请选择项目类型',
f_width: '160px'
},
{
isShow: true,
f_type: 'sel',
f_label: '电压等级',
f_model: 'voltageLevel',
dictType: 'voltage_level',
f_selList: [],
f_placeholder: '请选择电压等级',
f_width: '160px'
},
{
isShow: true, // 显示标签
f_type: 'dateRange', // 日期范围(合同签订时间)
f_label: '合同签订时间', // 标签文本
f_model: 'contractSigningTime', // 绑定的查询参数
f_startPlaceholder: '开始日期',
f_endPlaceholder: '结束日期',
f_width: '220px'
},
{
isShow: true, // 显示标签
f_type: 'sel', // 下拉选择框(项目经理)
f_label: '项目经理', // 标签文本
f_model: 'projectManager', // 绑定的查询参数
f_selList: [],
f_placeholder: '请选择项目经理',
f_width: '160px'
},
{
isShow: true, // 显示标签
f_type: 'dateRange', // 日期范围(竣工时间)
f_label: '竣工时间', // 标签文本
f_model: 'completionTime', // 绑定的查询参数
f_startPlaceholder: '开始日期',
f_endPlaceholder: '结束日期',
f_width: '220px'
}
]
export const columnsList = [
{ t_props: 'proName', t_label: '项目名称'},
{ t_props: 'proType', t_label: '项目类型'},
{ t_props: 'voltageLevel', t_label: '电压等级'},
{ t_props: 'constructionSite', t_label: '建设地点'},
{ t_props: 'constructionUnit', t_label: '建设单位'},
{ t_props: 'contractSigningTime', t_label: '合同签订时间'},
{ t_props: 'contractAmount', t_label: '合同金额'},
{ t_props: 'startTime', t_label: '开工时间'},
{ t_props: 'completionTime', t_label: '竣工时间'},
{ t_props: 'projectManager', t_label: '项目经理'},
]