v1.9 业务受理页面 车辆 修改 删除 释放车位 没有加入权限管理 处理

This commit is contained in:
wuxw 2025-11-15 13:26:13 +08:00
parent ab9b555fd7
commit 6cbcfa5062

View File

@ -42,21 +42,21 @@
<el-table-column :label="$t('simplifyOwnerCar.operation')" align="center">
<template #default="{row}">
<el-button
v-if="row.psId != '-1' && row.state == '1001'"
v-if="row.psId != '-1' && row.state == '1001' && hasPrivilege('502023032855861676')"
type="text"
@click="_deleteCarParkingSpace(row)">
{{ $t('simplifyOwnerCar.releaseSpace') }}
</el-button>
<el-button
v-if="row.psId != '-1' && row.state == '3003'"
v-if="row.psId != '-1' && row.state == '3003' && hasPrivilege('502023032809021678')"
type="text"
@click="_addCarParkingSpace(row)">
{{ $t('simplifyOwnerCar.renewSpace') }}
</el-button>
<el-button type="text" @click="_openEditOwnerCar(row)">
<el-button type="text" @click="_openEditOwnerCar(row)" v-if="hasPrivilege('502023032804261679')">
{{ $t('simplifyOwnerCar.edit') }}
</el-button>
<el-button type="text" @click="_openDelOwnerCarModel(row)">
<el-button type="text" @click="_openDelOwnerCarModel(row)" v-if="hasPrivilege('502023032822121680')">
{{ $t('simplifyOwnerCar.delete') }}
</el-button>
</template>