监控数据看板跳转

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
size="mini"
type="text"
icon="el-icon-delete"
icon="el-icon-receiving"
@click="handleDetails(scope.row.equipId)"
v-hasPermi="['imt:equip-info:query']"
>设备详情
</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>
</el-table-column>
</el-table>
@ -302,8 +310,14 @@ export default {
});
},
methods: {
goNoticeBoard(){
this.$router.push({ path: "/equip/equipdashboard"});
goNoticeBoard() {
this.$router.push({ path: "/equip/equipdashboard" });
},
handleToDataDash(equipId) {
this.$router.push({
path: "/equip/datadashboard",
query: { equipId: equipId },
});
},
handleDetails(equipId) {
this.$router.push({