6554ad80dd
2、新增应收明细 3、新增异常处置 4、新增风险处置 5、新增在途追踪 6、修复业务模块bug
51 lines
2.0 KiB
JavaScript
51 lines
2.0 KiB
JavaScript
export const riskLevelOptions = [
|
|
{ label: '低', value: 'low', tagType: 'success' },
|
|
{ label: '中', value: 'medium', tagType: 'warning' },
|
|
{ label: '高', value: 'high', tagType: 'danger' },
|
|
];
|
|
|
|
export const disposalStatusOptions = [
|
|
{ label: '待处理', value: 'pending', tagType: 'warning' },
|
|
{ label: '已处理', value: 'processed', tagType: 'success' },
|
|
{ label: '已忽略', value: 'ignored', tagType: 'info' },
|
|
];
|
|
|
|
export const disposalMethodOptions = [
|
|
{ label: '处理', value: 'process' },
|
|
{ label: '忽略', value: 'ignore' },
|
|
];
|
|
|
|
export const searchFields = [
|
|
{ label: '规则名称', prop: 'ruleName', type: 'input', placeholder: '请输入' },
|
|
{ label: '风险等级', prop: 'riskLevel', type: 'select', placeholder: '全部', options: riskLevelOptions },
|
|
{
|
|
label: '处理状态',
|
|
prop: 'disposalStatus',
|
|
type: 'select',
|
|
placeholder: '全部',
|
|
options: disposalStatusOptions,
|
|
},
|
|
{ label: '组织', prop: 'deptName', type: 'input', placeholder: '默认展示当前组织,可搜索' },
|
|
];
|
|
|
|
export const tableColumns = [
|
|
{ label: '风险编号', prop: 'riskNo', minWidth: 210 },
|
|
{ label: '规则名称', prop: 'ruleName', minWidth: 210 },
|
|
{ label: '运单号', prop: 'waybillNo', minWidth: 220, link: true },
|
|
{ label: '项目名称', prop: 'projectName', minWidth: 160 },
|
|
{ label: '风险等级', prop: 'riskLevelName', minWidth: 130, tag: true },
|
|
{ label: '运输类型', prop: 'transportType', minWidth: 130 },
|
|
{ label: '风险描述', prop: 'riskDescription', minWidth: 310 },
|
|
{ label: '处理状态', prop: 'disposalStatusName', minWidth: 130, tag: true },
|
|
];
|
|
|
|
export const detailFields = [
|
|
{ label: '风险编号', prop: 'riskNo' },
|
|
{ label: '规则名称', prop: 'ruleName' },
|
|
{ label: '风险等级', prop: 'riskLevelName', tag: true },
|
|
{ label: '运单号', prop: 'waybillNo', link: true },
|
|
{ label: '项目名称', prop: 'projectName' },
|
|
{ label: '触发时间', prop: 'triggerTime' },
|
|
{ label: '风险描述', prop: 'riskDescription', span: 3 },
|
|
];
|