|
|
|
@ -73,35 +73,50 @@
|
|
|
|
|
<el-table :data="props.row.baseCarList">
|
|
|
|
|
<el-table-column v-if="false" align="center" label="id" prop="id"/>
|
|
|
|
|
<el-table-column align="center" label="车牌号" prop="carLicense"/>
|
|
|
|
|
<el-table-column align="center" label="State" prop="isDelete"/>
|
|
|
|
|
<el-table-column align="center" label="状态" prop="state">
|
|
|
|
|
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-tag :type="scope.row.state === 1 ? 'danger':'success'" class="ml-2">{{
|
|
|
|
|
scope.row.state === 1 ? '停用' : '启用'
|
|
|
|
|
}}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column align="center" fixed type="selection" width="55"/>
|
|
|
|
|
<el-table-column :label="t('baseCar.carQueue.title')" align="center" prop="title" width="150"/>
|
|
|
|
|
<el-table-column :label="t('baseCar.carQueue.state')" align="center" prop="state"/>
|
|
|
|
|
<el-table-column :label="t('common.createTime')" align="center" prop="createTime"/>
|
|
|
|
|
<el-table-column :label="t('common.createBy')" align="center" prop="createName"/>
|
|
|
|
|
<el-table-column :label="t('option.option')" align="center" class-name="small-padding fixed-width" fixed="right"
|
|
|
|
|
width="160">
|
|
|
|
|
<el-table-column :label="t('baseCar.carQueue.state')" align="center" prop="state">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-button
|
|
|
|
|
v-hasPermi="['carqueue:carqueue:edit']"
|
|
|
|
|
icon="Edit"
|
|
|
|
|
type="text"
|
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
|
>{{ t('option.edit') }}
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
v-hasPermi="['carqueue:carqueue:remove']"
|
|
|
|
|
icon="Delete"
|
|
|
|
|
type="text"
|
|
|
|
|
@click="handleDelete(scope.row)"
|
|
|
|
|
>{{ t('option.remove') }}
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-tag :type="scope.row.state === 1 ? 'danger':'success'" class="ml-2">{{
|
|
|
|
|
scope.row.state === 1 ? '停用' : '启用'
|
|
|
|
|
}}
|
|
|
|
|
</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column :label="t('common.createTime')" align="center" prop="createTime"/>
|
|
|
|
|
<el-table-column :label="t('common.createBy')" align="center" prop="createName"/>
|
|
|
|
|
<!-- <el-table-column :label="t('option.option')" align="center" class-name="small-padding fixed-width" fixed="right"-->
|
|
|
|
|
<!-- width="160">-->
|
|
|
|
|
<!-- <template #default="scope">-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- v-hasPermi="['carqueue:carqueue:edit']"-->
|
|
|
|
|
<!-- icon="Edit"-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- @click="handleUpdate(scope.row)"-->
|
|
|
|
|
<!-- >{{ t('option.edit') }}-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- <el-button-->
|
|
|
|
|
<!-- v-hasPermi="['carqueue:carqueue:remove']"-->
|
|
|
|
|
<!-- icon="Delete"-->
|
|
|
|
|
<!-- type="text"-->
|
|
|
|
|
<!-- @click="handleDelete(scope.row)"-->
|
|
|
|
|
<!-- >{{ t('option.remove') }}-->
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
<!-- 分页-->
|
|
|
|
|