...
|
...
|
@@ -3078,7 +3078,8 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele |
|
|
layer.alert('该资源只对接TRAP告警信息!',{icon:0});
|
|
|
return;
|
|
|
}
|
|
|
title +=`<span id="title-shutdown" data-id=${resId} style="display: inline-block; position: relative;top: 8px;left:20px;"></span>`
|
|
|
//url(/src/style/img/shutdown.png)
|
|
|
title +=`<span id="title-shutdown" data-id=${resId} style="padding:0 5px;display: inline-block;position: relative;top: 8px;left:20px;"></span>`
|
|
|
obj.openNewWin(url, title, params, editFlag, fn, cancelfn, type,sign_);
|
|
|
},
|
|
|
error: function () {
|
...
|
...
|
@@ -3356,11 +3357,18 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele |
|
|
, done: function (res) {
|
|
|
if(res.data && res.data.length>0){
|
|
|
let listData=res.data;
|
|
|
let carouselStr=`<div class="layui-carousel shutdown-carousel " id="shutdown-carousel" style="background: #d0ddec;">
|
|
|
//
|
|
|
let carouselStr=`
|
|
|
<img src="/src/style/img/shutdown.png" style="position: absolute;top: 0; left: -3px;" alt="">
|
|
|
<div class="layui-carousel shutdown-carousel " id="shutdown-carousel" style="background: transparent;">
|
|
|
<div carousel-item>`;
|
|
|
listData.map(item=>{
|
|
|
carouselStr+=` <div class="layui-row layui-col-space10" style="background: #d0ddec;font-size: 14px;">
|
|
|
<span>`+item+`</span>
|
|
|
let boxShadow='0 0 10px';
|
|
|
listData.map((item,index)=>{
|
|
|
if((index+1)%2==0){
|
|
|
// boxShadow='10px 10px 10px';
|
|
|
}
|
|
|
carouselStr+=` <div class="layui-row layui-col-space10" style="background: transparent;position: relative;" >
|
|
|
<span style="font-size: 14px;color:#ff0000;padding:0 5px; height:30px;width:100%;position: absolute;top:0;left:0;right:0;">`+item+`</span>
|
|
|
</div>`;
|
|
|
})
|
|
|
carouselStr+=` </div></div>`;
|
...
|
...
|
|