|
|
|
|
@ -23,10 +23,11 @@ |
|
|
|
|
</template> |
|
|
|
|
<template #menu-right> </template> |
|
|
|
|
<template #menu="scope"> |
|
|
|
|
<el-button v-if="permission.site_inIdle&&s(cope.row.stationStatus == '0'||scope.row.stationStatus == '2')" type="text" @click="handleEdit(scope.row)" |
|
|
|
|
|
|
|
|
|
<el-button v-if="permission.site_inIdle&&(scope.row.stationStatus == 0||scope.row.stationStatus == 2)" type="text" @click="handleEdit(scope.row)" |
|
|
|
|
>占用</el-button |
|
|
|
|
> |
|
|
|
|
<el-button v-if="permission.site_occupation&&(scope.row.stationStatus == '1')" type="text" @click="handleEdit(scope.row)" |
|
|
|
|
<el-button v-if="permission.site_occupation&&(scope.row.stationStatus == 1)" type="text" @click="handleEdit(scope.row)" |
|
|
|
|
>闲置</el-button |
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
|
|