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 | 42 | <el-table-column :label="$t('simplifyOwnerCar.operation')" align="center"> |
| 43 | 43 | <template #default="{row}"> |
| 44 | 44 | <el-button |
| 45 | - v-if="row.psId != '-1' && row.state == '1001'" | |
| 45 | + v-if="row.psId != '-1' && row.state == '1001' && hasPrivilege('502023032855861676')" | |
| 46 | 46 | type="text" |
| 47 | 47 | @click="_deleteCarParkingSpace(row)"> |
| 48 | 48 | {{ $t('simplifyOwnerCar.releaseSpace') }} |
| 49 | 49 | </el-button> |
| 50 | 50 | <el-button |
| 51 | - v-if="row.psId != '-1' && row.state == '3003'" | |
| 51 | + v-if="row.psId != '-1' && row.state == '3003' && hasPrivilege('502023032809021678')" | |
| 52 | 52 | type="text" |
| 53 | 53 | @click="_addCarParkingSpace(row)"> |
| 54 | 54 | {{ $t('simplifyOwnerCar.renewSpace') }} |
| 55 | 55 | </el-button> |
| 56 | - <el-button type="text" @click="_openEditOwnerCar(row)"> | |
| 56 | + <el-button type="text" @click="_openEditOwnerCar(row)" v-if="hasPrivilege('502023032804261679')"> | |
| 57 | 57 | {{ $t('simplifyOwnerCar.edit') }} |
| 58 | 58 | </el-button> |
| 59 | - <el-button type="text" @click="_openDelOwnerCarModel(row)"> | |
| 59 | + <el-button type="text" @click="_openDelOwnerCarModel(row)" v-if="hasPrivilege('502023032822121680')"> | |
| 60 | 60 | {{ $t('simplifyOwnerCar.delete') }} |
| 61 | 61 | </el-button> |
| 62 | 62 | </template> | ... | ... |