|
@@ -43,7 +43,9 @@
|
|
|
取消更新
|
|
取消更新
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="route.name == 'shipOwnerDetail'"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ route.name == 'shipOwnerDetail' && store.state.isSuperuser == 0
|
|
|
|
|
+ "
|
|
|
@click="deleteShip(currentIndex)"
|
|
@click="deleteShip(currentIndex)"
|
|
|
type="primary"
|
|
type="primary"
|
|
|
class="mr20"
|
|
class="mr20"
|
|
@@ -51,7 +53,10 @@
|
|
|
删除当前船舶
|
|
删除当前船舶
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="df" v-if="route.name == 'shipOwnerDetail'">
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="df"
|
|
|
|
|
+ v-if="route.name == 'shipOwnerDetail' && store.state.isSuperuser == 0"
|
|
|
|
|
+ >
|
|
|
<el-button
|
|
<el-button
|
|
|
v-if="shipInfos.length == 0 || shipInfos[currentIndex].code"
|
|
v-if="shipInfos.length == 0 || shipInfos[currentIndex].code"
|
|
|
@click="addShip()"
|
|
@click="addShip()"
|