|
@@ -91,24 +91,27 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function |
|
@@ -91,24 +91,27 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function |
91
|
}
|
91
|
}
|
92
|
})
|
92
|
})
|
93
|
for (let nodeInfo of nodeInfoList) {
|
93
|
for (let nodeInfo of nodeInfoList) {
|
|
|
94
|
+ // lsq 详情页节电池样式修改 2022-08-08
|
94
|
htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}">
|
95
|
htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}">
|
95
|
<div class="vs-title">
|
96
|
<div class="vs-title">
|
96
|
<p>${nodeInfo.nodeName}</p>
|
97
|
<p>${nodeInfo.nodeName}</p>
|
97
|
</div>
|
98
|
</div>
|
98
|
- <div class="vs-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}">
|
|
|
99
|
- <div class="vs-icon"></div>
|
99
|
+ <div class="vs-flex">
|
|
|
100
|
+ <div class="vs-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}">
|
|
|
101
|
+ <div class="vs-icon"></div>
|
|
|
102
|
+ </div>
|
|
|
103
|
+ <ul class="vs-info">
|
|
|
104
|
+ <li>
|
|
|
105
|
+ ${nodeInfo.configStatus == 'enable' ? '<i class="iconfont icon-size good">\ue659</i> 已启用' : '<i class="iconfont icon-size serious">\ue668</i> 未启用'}
|
|
|
106
|
+ </li>
|
|
|
107
|
+ <li>
|
|
|
108
|
+ 当前连接数: ${nodeInfo.currentConnections}
|
|
|
109
|
+ </li>
|
|
|
110
|
+ <li>
|
|
|
111
|
+ 新增连接数: ${nodeInfo.newConnections}
|
|
|
112
|
+ </li>
|
|
|
113
|
+ </ul>
|
100
|
</div>
|
114
|
</div>
|
101
|
- <ul class="vs-info">
|
|
|
102
|
- <li>
|
|
|
103
|
- ${nodeInfo.configStatus == 'enable' ? '<i class="iconfont icon-size good">\ue659</i> 已启用' : '<i class="iconfont icon-size serious">\ue668</i> 未启用'}
|
|
|
104
|
- </li>
|
|
|
105
|
- <li>
|
|
|
106
|
- 当前连接数: ${nodeInfo.currentConnections}
|
|
|
107
|
- </li>
|
|
|
108
|
- <li>
|
|
|
109
|
- 新增连接数: ${nodeInfo.newConnections}
|
|
|
110
|
- </li>
|
|
|
111
|
- </ul>
|
|
|
112
|
</div>`
|
115
|
</div>`
|
113
|
}
|
116
|
}
|
114
|
$vsDiv.html(htmlStr)
|
117
|
$vsDiv.html(htmlStr)
|
|
@@ -168,27 +171,30 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function |
|
@@ -168,27 +171,30 @@ layui.define(['laypage', 'commonDetail', 'common', 'element', 'admin'], function |
168
|
}
|
171
|
}
|
169
|
})
|
172
|
})
|
170
|
for (let nodeInfo of nodeInfoList) {
|
173
|
for (let nodeInfo of nodeInfoList) {
|
|
|
174
|
+ // lsq 详情页节电池样式修改 2022-08-08
|
171
|
htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}">
|
175
|
htmlStr += `<div class="detail-loadbalancing-vs" data-flag="${nodeInfo.flag}">
|
172
|
<div class="vs-title">
|
176
|
<div class="vs-title">
|
173
|
<p>${nodeInfo.nodeName}</p>
|
177
|
<p>${nodeInfo.nodeName}</p>
|
174
|
</div>
|
178
|
</div>
|
175
|
- <div class="node-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}">
|
|
|
176
|
- <div class="node-icon"></div>
|
179
|
+ <div class="vs-flex">
|
|
|
180
|
+ <div class="node-icon-div ${nodeInfo.healthStatus == 'normal' ? 'vs-icon-up' : 'vs-icon-down'}">
|
|
|
181
|
+ <div class="node-icon"></div>
|
|
|
182
|
+ </div>
|
|
|
183
|
+ <ul class="vs-info">
|
|
|
184
|
+ <li>
|
|
|
185
|
+ ${nodeInfo.configStatus == 'enable' ? '<i class="iconfont icon-size good">\ue659</i> 已启用' : '<i class="iconfont icon-size serious">\ue668</i> 未启用'}
|
|
|
186
|
+ </li>
|
|
|
187
|
+ <li>
|
|
|
188
|
+ 当前连接数: ${nodeInfo.currentConnections}
|
|
|
189
|
+ </li>
|
|
|
190
|
+ <li>
|
|
|
191
|
+ 新增连接数: ${nodeInfo.newConnections}
|
|
|
192
|
+ </li>
|
|
|
193
|
+ <li>
|
|
|
194
|
+ ${nodeInfo.ipAddr}:${nodeInfo.port}
|
|
|
195
|
+ </li>
|
|
|
196
|
+ </ul>
|
177
|
</div>
|
197
|
</div>
|
178
|
- <ul class="vs-info">
|
|
|
179
|
- <li>
|
|
|
180
|
- ${nodeInfo.configStatus == 'enable' ? '<i class="iconfont icon-size good">\ue659</i> 已启用' : '<i class="iconfont icon-size serious">\ue668</i> 未启用'}
|
|
|
181
|
- </li>
|
|
|
182
|
- <li>
|
|
|
183
|
- 当前连接数: ${nodeInfo.currentConnections}
|
|
|
184
|
- </li>
|
|
|
185
|
- <li>
|
|
|
186
|
- 新增连接数: ${nodeInfo.newConnections}
|
|
|
187
|
- </li>
|
|
|
188
|
- <li>
|
|
|
189
|
- ${nodeInfo.ipAddr}:${nodeInfo.port}
|
|
|
190
|
- </li>
|
|
|
191
|
- </ul>
|
|
|
192
|
</div>`
|
198
|
</div>`
|
193
|
}
|
199
|
}
|
194
|
$vsDiv.html(htmlStr)
|
200
|
$vsDiv.html(htmlStr)
|