Commit 6cbcfa5062d319d241378b0fb4e55538a5fb0fc1
1 parent
ab9b555f
v1.9 业务受理页面 车辆 修改 删除 释放车位 没有加入权限管理 处理
Showing
1 changed file
with
4 additions
and
4 deletions
src/components/simplify/simplifyOwnerCar.vue
| @@ -42,21 +42,21 @@ | @@ -42,21 +42,21 @@ | ||
| 42 | <el-table-column :label="$t('simplifyOwnerCar.operation')" align="center"> | 42 | <el-table-column :label="$t('simplifyOwnerCar.operation')" align="center"> |
| 43 | <template #default="{row}"> | 43 | <template #default="{row}"> |
| 44 | <el-button | 44 | <el-button |
| 45 | - v-if="row.psId != '-1' && row.state == '1001'" | 45 | + v-if="row.psId != '-1' && row.state == '1001' && hasPrivilege('502023032855861676')" |
| 46 | type="text" | 46 | type="text" |
| 47 | @click="_deleteCarParkingSpace(row)"> | 47 | @click="_deleteCarParkingSpace(row)"> |
| 48 | {{ $t('simplifyOwnerCar.releaseSpace') }} | 48 | {{ $t('simplifyOwnerCar.releaseSpace') }} |
| 49 | </el-button> | 49 | </el-button> |
| 50 | <el-button | 50 | <el-button |
| 51 | - v-if="row.psId != '-1' && row.state == '3003'" | 51 | + v-if="row.psId != '-1' && row.state == '3003' && hasPrivilege('502023032809021678')" |
| 52 | type="text" | 52 | type="text" |
| 53 | @click="_addCarParkingSpace(row)"> | 53 | @click="_addCarParkingSpace(row)"> |
| 54 | {{ $t('simplifyOwnerCar.renewSpace') }} | 54 | {{ $t('simplifyOwnerCar.renewSpace') }} |
| 55 | </el-button> | 55 | </el-button> |
| 56 | - <el-button type="text" @click="_openEditOwnerCar(row)"> | 56 | + <el-button type="text" @click="_openEditOwnerCar(row)" v-if="hasPrivilege('502023032804261679')"> |
| 57 | {{ $t('simplifyOwnerCar.edit') }} | 57 | {{ $t('simplifyOwnerCar.edit') }} |
| 58 | </el-button> | 58 | </el-button> |
| 59 | - <el-button type="text" @click="_openDelOwnerCarModel(row)"> | 59 | + <el-button type="text" @click="_openDelOwnerCarModel(row)" v-if="hasPrivilege('502023032822121680')"> |
| 60 | {{ $t('simplifyOwnerCar.delete') }} | 60 | {{ $t('simplifyOwnerCar.delete') }} |
| 61 | </el-button> | 61 | </el-button> |
| 62 | </template> | 62 | </template> |