|
|
|
|
@ -71,7 +71,7 @@
|
|
|
|
|
<template v-slot:plate v-if="visitType==3">
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
停车区域:
|
|
|
|
|
车辆类型:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<el-radio-group v-model="form.plate" style="width:300px">
|
|
|
|
|
@ -165,15 +165,14 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template> -->
|
|
|
|
|
|
|
|
|
|
<template v-slot:cars>
|
|
|
|
|
<template v-slot:cars v-if="visitType==3">
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>到访车辆:
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>到访车辆:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<Button type="primary" icon="md-add" style="margin-bottom: 10px"
|
|
|
|
|
@click="carsList.push({car:''})">新增到访车辆</Button>
|
|
|
|
|
|
|
|
|
|
<xy-table style="width: 620px" :height="180" :is-page="false" :list="carsList"
|
|
|
|
|
:table-item="carTable">
|
|
|
|
|
<template v-slot:btns>
|
|
|
|
|
@ -188,6 +187,28 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:carsno v-if="visitType==1||visitType==2">
|
|
|
|
|
<div class="xy-table-item">
|
|
|
|
|
<div class="xy-table-item-label">
|
|
|
|
|
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>到访车辆:
|
|
|
|
|
</div>
|
|
|
|
|
<div class="xy-table-item-content">
|
|
|
|
|
<Button type="primary" icon="md-add" style="margin-bottom: 10px"
|
|
|
|
|
@click="carsList.push({car:''})">新增到访车辆</Button>
|
|
|
|
|
<xy-table style="width: 620px" :height="180" :is-page="false" :list="carsList"
|
|
|
|
|
:table-item="carTable">
|
|
|
|
|
<template v-slot:btns>
|
|
|
|
|
<el-table-column label="操作" width="90" header-align="center" align="center">
|
|
|
|
|
<template v-slot:default="scope">
|
|
|
|
|
<Button size="small" type="primary" ghost
|
|
|
|
|
@click="carsList.splice(scope.$index, 1)">删除</Button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</template>
|
|
|
|
|
</xy-table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-slot:follw_people v-if="visitType==1||visitType==2">
|
|
|
|
|
@ -328,6 +349,7 @@
|
|
|
|
|
idcard: "",
|
|
|
|
|
company_name: "",
|
|
|
|
|
cars: [],
|
|
|
|
|
carsno:[],
|
|
|
|
|
follw_people: [],
|
|
|
|
|
long_time: 0,
|
|
|
|
|
longrange: "",
|
|
|
|
|
@ -481,6 +503,10 @@
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入单位名称'
|
|
|
|
|
}],
|
|
|
|
|
cars: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请输入车牌号'
|
|
|
|
|
}],
|
|
|
|
|
accept_admin_id: [{
|
|
|
|
|
required: true,
|
|
|
|
|
message: '请选择被访人'
|
|
|
|
|
|