Merge branch 'master-joke' into 'master'
chore:腾讯云平台详情页面只有运营端可以进行跳转,租户端不支持跳转 chore:腾讯云平台详情页面只有运营端可以进行跳转,租户端不支持跳转 See merge request !1211
Showing
1 changed file
with
5 additions
and
0 deletions
@@ -4008,6 +4008,11 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele | @@ -4008,6 +4008,11 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele | ||
4008 | layer.alert('该资源只对接TRAP告警信息!',{icon:0}); | 4008 | layer.alert('该资源只对接TRAP告警信息!',{icon:0}); |
4009 | return; | 4009 | return; |
4010 | } | 4010 | } |
4011 | + //如果是腾讯云平台且是租户,则没有详情页 | ||
4012 | + if (res.resType === 'TENCENT_CLOUD_PLAT' && res.platUserType !== '0'){ | ||
4013 | + layer.alert('只有运营端有详情页!',{icon:0}); | ||
4014 | + return; | ||
4015 | + } | ||
4011 | //url(/src/style/img/shutdown.png) | 4016 | //url(/src/style/img/shutdown.png) |
4012 | title +=`<span id="title-shutdown" data-id=${resId} style="flex:1;padding:0 5px;width:600px;display: inline-block;position: relative;top: 0px;left:20px;"></span>` | 4017 | title +=`<span id="title-shutdown" data-id=${resId} style="flex:1;padding:0 5px;width:600px;display: inline-block;position: relative;top: 0px;left:20px;"></span>` |
4013 | // ztq 2023-06-01 | 4018 | // ztq 2023-06-01 |
-
Please register or login to post a comment