- /business/project-apply 主表操作列宽度固定为 220,移除 applyTableMenuWidth 调用 - /business/temporary-credit-limit 通过传入 menuWidth prop 固定操作列宽度为 180 - /base/common-address 操作列宽度由 220 降至 180 - /business/process-config 操作列宽度由 320 调整为 180,修复末尾语法错误 - /vehicle/insurance-record 操作列宽度先降至 140 后改回 160,后全部车/船务管理模块记录页统一为 180 - 多个车/船务管理模块相关 option 文件及 vue 文件操作列宽统调为 180 - 新增 business-crud-page 组件 menuWidth prop,支持外部传值控制操作列宽度 - 全站操作列文字链接去除 el-link 默认 margin,避免和 gap 叠加导致文字间距过宽 - 优化操作列按钮过多时自动换行展示逻辑,确保按钮不被裁切
159 lines
2.8 KiB
JavaScript
159 lines
2.8 KiB
JavaScript
export const option = {
|
|
height: 'auto',
|
|
calcHeight: 32,
|
|
tip: false,
|
|
searchShow: true,
|
|
searchMenuSpan: 24,
|
|
searchIcon: true,
|
|
searchIndex: 4,
|
|
searchMenuPosition: 'right',
|
|
border: true,
|
|
index: true,
|
|
indexLabel: '序号',
|
|
indexWidth: 70,
|
|
selection: true,
|
|
addBtn: false,
|
|
editBtn: false,
|
|
delBtn: false,
|
|
viewBtn: false,
|
|
menuWidth: 180,
|
|
dialogClickModal: false,
|
|
column: [
|
|
{
|
|
label: '姓名',
|
|
prop: 'driverName',
|
|
search: true,
|
|
searchOrder: 7,
|
|
slot: true,
|
|
minWidth: 120,
|
|
},
|
|
{
|
|
label: '手机号',
|
|
prop: 'mobile',
|
|
search: true,
|
|
searchOrder: 6,
|
|
minWidth: 130,
|
|
},
|
|
{
|
|
label: '准驾车型',
|
|
prop: 'drivingType',
|
|
search: true,
|
|
searchOrder: 5,
|
|
hide: true,
|
|
type: 'select',
|
|
dicData: [
|
|
{
|
|
label: 'A1',
|
|
value: 'A1',
|
|
},
|
|
{
|
|
label: 'A2',
|
|
value: 'A2',
|
|
},
|
|
{
|
|
label: 'A3',
|
|
value: 'A3',
|
|
},
|
|
{
|
|
label: 'B1',
|
|
value: 'B1',
|
|
},
|
|
{
|
|
label: 'B2',
|
|
value: 'B2',
|
|
},
|
|
{
|
|
label: 'C1',
|
|
value: 'C1',
|
|
},
|
|
{
|
|
label: 'C2',
|
|
value: 'C2',
|
|
},
|
|
],
|
|
minWidth: 110,
|
|
},
|
|
{
|
|
label: '状态',
|
|
prop: 'status',
|
|
search: true,
|
|
searchOrder: 4,
|
|
type: 'select',
|
|
slot: true,
|
|
dicData: [
|
|
{
|
|
label: '启用',
|
|
value: 1,
|
|
},
|
|
{
|
|
label: '停用',
|
|
value: 2,
|
|
},
|
|
],
|
|
width: 90,
|
|
align: 'center',
|
|
},
|
|
{
|
|
label: '司机类型',
|
|
prop: 'driverType',
|
|
search: true,
|
|
searchOrder: 3,
|
|
type: 'select',
|
|
dicData: [
|
|
{
|
|
label: '自有员工',
|
|
value: '自有',
|
|
},
|
|
{
|
|
label: '外协',
|
|
value: '外协',
|
|
},
|
|
],
|
|
minWidth: 110,
|
|
align: 'center',
|
|
},
|
|
{
|
|
label: '身份证号',
|
|
prop: 'idCardNo',
|
|
search: true,
|
|
searchOrder: 2,
|
|
minWidth: 190,
|
|
},
|
|
{
|
|
label: '所属组织',
|
|
prop: 'organizationName',
|
|
search: true,
|
|
searchOrder: 1,
|
|
type: 'select',
|
|
filterable: true,
|
|
dicData: [],
|
|
minWidth: 160,
|
|
},
|
|
{
|
|
label: '性别',
|
|
prop: 'gender',
|
|
width: 80,
|
|
align: 'center',
|
|
},
|
|
{
|
|
label: '岗位',
|
|
prop: 'posts',
|
|
minWidth: 150,
|
|
},
|
|
{
|
|
label: '驾驶认证',
|
|
prop: 'drivingLicenseEndDate',
|
|
slot: true,
|
|
minWidth: 140,
|
|
align: 'center',
|
|
},
|
|
{
|
|
label: '从业资格认证',
|
|
prop: 'qualificationEndDate',
|
|
slot: true,
|
|
minWidth: 150,
|
|
align: 'center',
|
|
},
|
|
],
|
|
};
|