监控数据看板跳转

This commit is contained in:
zhangjunwen 2024-10-14 17:23:41 +08:00
parent eb04363076
commit 804d5bc650

View File

@ -226,11 +226,19 @@
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-receiving"
@click="handleDetails(scope.row.equipId)" @click="handleDetails(scope.row.equipId)"
v-hasPermi="['imt:equip-info:query']" v-hasPermi="['imt:equip-info:query']"
>设备详情 >设备详情
</el-button> </el-button>
<el-button
size="mini"
type="text"
icon="el-icon-data-line"
@click="handleToDataDash(scope.row.equipId)"
v-hasPermi="['imt:equip-info:query']"
>监控数据看板
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -302,8 +310,14 @@ export default {
}); });
}, },
methods: { methods: {
goNoticeBoard(){ goNoticeBoard() {
this.$router.push({ path: "/equip/equipdashboard"}); this.$router.push({ path: "/equip/equipdashboard" });
},
handleToDataDash(equipId) {
this.$router.push({
path: "/equip/datadashboard",
query: { equipId: equipId },
});
}, },
handleDetails(equipId) { handleDetails(equipId) {
this.$router.push({ this.$router.push({