1.运营区页面调整

This commit is contained in:
邱贞招 2024-08-08 14:34:23 +08:00
parent 95d0022fd2
commit 01cf668d7c

View File

@ -48,10 +48,13 @@
<el-table-column label="车数量" align="center" prop="deviceNum" />
<el-table-column label="运营区域" align="center" :show-overflow-tooltip="true">
<template slot-scope="scope">
<router-link :to="'/system/areaSet/index/' + scope.row.areaId" class="link-type">
<el-button size="mini" type="text" class="link-type"
v-hasPermi="['system:area:edit']">修改电子围栏</el-button>
</router-link>
<el-button
size="mini"
type="text"
class="link-type"
@click="openmaps(scope.row)"
v-hasPermi="['system:area:edit']">修改电子围栏
</el-button>
</template>
</el-table-column>
<el-table-column label="停车区" align="center" :show-overflow-tooltip="true">
@ -113,7 +116,7 @@
<el-button size="mini" type="text" icon="el-icon-edit"
v-hasPermi="['system:area:edit']">修改</el-button>
</router-link> -->
<el-button size="mini" type="text" icon="el-icon-edit" @click="openmaps(scope.row)"
<el-button size="mini" type="text" icon="el-icon-edit" @click="editArea(scope.row.areaId)"
v-hasPermi="['system:area:edit']">修改</el-button>
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
v-hasPermi="['system:area:remove']">删除</el-button>
@ -726,6 +729,9 @@ export default {
this.getCityList();
});
},
editArea(areaId){
this.$router.push(`/system/areaSet/index/${areaId}`);
},
openmaps(row) {
this.reset();