This commit is contained in:
2026-07-21 13:20:06 +08:00
parent 76df2b9cd2
commit e50d1b8fda
21 changed files with 714 additions and 129 deletions

View File

@@ -36,6 +36,10 @@ export const option = {
dialogWidth: 1050,
labelPosition: 'top',
tip: false,
searchBtnText: '查询',
emptyBtnText: '重置',
saveBtnText: '提交',
updateBtnText: '提交',
searchShow: true,
searchMenuSpan: 6,
border: true,
@@ -90,6 +94,7 @@ export const option = {
dicData: accidentNatureDic,
search: true,
minWidth: 120,
rules: [{ required: true, message: '请选择事故性质', trigger: 'change' }],
},
{
label: '事故责任',
@@ -98,12 +103,14 @@ export const option = {
dicData: accidentResponsibilityDic,
search: true,
minWidth: 120,
rules: [{ required: true, message: '请选择事故责任', trigger: 'change' }],
},
{
label: '直接经济损失',
prop: 'directEconomicLoss',
type: 'number',
precision: 2,
append: '元',
minWidth: 140,
rules: [{ validator: validateNonNegative, trigger: 'blur' }],
},
@@ -112,6 +119,7 @@ export const option = {
prop: 'insuranceClaimAmount',
type: 'number',
precision: 2,
append: '元',
minWidth: 140,
rules: [{ validator: validateNonNegative, trigger: 'blur' }],
},
@@ -122,7 +130,8 @@ export const option = {
minRows: 3,
span: 24,
search: true,
hide: true,
minWidth: 220,
overHidden: true,
rules: [{ max: 500, message: '最多 500 个字符', trigger: 'blur' }],
},
{
@@ -131,7 +140,8 @@ export const option = {
type: 'textarea',
minRows: 3,
span: 24,
hide: true,
minWidth: 180,
overHidden: true,
rules: [{ max: 200, message: '最多 200 个字符', trigger: 'blur' }],
},
{