@@ -8,7 +8,7 @@
<el-form-item :prop="`accidentPersonnelInfoList.${index}.carNum`" :rules="carNumRules" label="车牌号:">
<el-input
v-model="person.carNum"
- placeholder="请输入违规车辆车牌号码"
+ placeholder="请输入事故车辆车牌号码"
maxlength="8"
show-word-limit
clearable
@@ -76,6 +76,9 @@
@update:page-size="handlePageSizeChange"
@update:selection="handleSelectionChange"
>
+ <template #phoneNum="scope">
+ <span>{{ scope.row.phoneNum ? scope.row.phoneNum : '-' }}</span>
+ </template>
<template #action="scope">
<div class="action-container--div">
<ActionButton text="编辑" @click="handleEditVehicleInfo(scope.row)" />
@@ -107,7 +107,6 @@
trigger: 'blur',
},
phoneNum: [
- { required: true, message: '联系方式不能为空', trigger: 'blur' },
{
pattern: /^1\d{10}$/,
message: '联系方式非11位数字',
@@ -59,6 +59,7 @@ export const VEHICLE_LIST_TABLE_COLUMNS: TableColumnProps[] = [
label: '联系方式',
prop: 'phoneNum',
align: 'left',
+ slot: 'phoneNum',
minWidth: '180px',