|
@@ -456,7 +456,11 @@ export default {
|
|
|
look(row) {
|
|
look(row) {
|
|
|
console.log(row, "row预览");
|
|
console.log(row, "row预览");
|
|
|
const data = row.switchMapId;
|
|
const data = row.switchMapId;
|
|
|
- this.$router.push(`/mes/dv/switchmanagement/index/LookDetail?switchMapId=${data}`);
|
|
|
|
|
|
|
+ if(row.mapId==null){
|
|
|
|
|
+ this.$message.warning('无绑定地图,请先绑定')
|
|
|
|
|
+ }else {
|
|
|
|
|
+ this.$router.push(`/mes/dv/switchmanagement/index/LookDetail?switchMapId=${data}`);
|
|
|
|
|
+ }
|
|
|
// this.dialogVisibleMap = true; // 显示地图预览弹框
|
|
// this.dialogVisibleMap = true; // 显示地图预览弹框
|
|
|
},
|
|
},
|
|
|
/** 删除按钮操作 */
|
|
/** 删除按钮操作 */
|