|
@@ -26,44 +26,40 @@ |
|
@@ -26,44 +26,40 @@ |
26
|
v-for="(itemChild, idx) in header"
|
26
|
v-for="(itemChild, idx) in header"
|
27
|
:key="idx"
|
27
|
:key="idx"
|
28
|
:style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]"
|
28
|
:style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]"
|
|
|
29
|
+ @mouseenter="pressingTimes(index,idx)"
|
29
|
>
|
30
|
>
|
30
|
<span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)"
|
31
|
<span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)"
|
31
|
:class="['listName',{'listName-link':item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)}]">
|
32
|
:class="['listName',{'listName-link':item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)}]">
|
32
|
{{ item[itemChild.key].kpiValue}} </span>
|
33
|
{{ item[itemChild.key].kpiValue}} </span>
|
33
|
- <div class="basic-img" v-if="item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)">
|
|
|
34
|
- <el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200">
|
|
|
35
|
- <template #reference>
|
|
|
36
|
- <img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)">
|
|
|
37
|
- </template>
|
34
|
+ <!-- <div class="basic-img" v-if="item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)">
|
|
|
35
|
+ <el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200">
|
|
|
36
|
+ <template #reference>
|
|
|
37
|
+ <img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)">
|
|
|
38
|
+ </template>-->
|
38
|
<!-- <div class="info-ul" v-if="pressingVisible==index+'-'+idx">-->
|
39
|
<!-- <div class="info-ul" v-if="pressingVisible==index+'-'+idx">-->
|
39
|
- <div class="info-ul" style="width:140px;" >
|
|
|
40
|
- <div class="basic-pressing-times" @click="pressingDialog(itemMenu,item[itemChild.key].kpiValue,'')" v-for="itemMenu in detailMenubox">
|
40
|
+ <customMenuBox v-if="pressingVisible==index+'-'+idx && item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)"
|
|
|
41
|
+ :detailMenubox="calcDetailMenubox"
|
|
|
42
|
+ :tableDataValue="item[itemChild.key].kpiValue" :flg="''" :trendSrc="trendSrc"
|
|
|
43
|
+ :heightStyle="heightStyle" :marginStyle="marginStyle" :tableName="tableStyle.tableName"
|
|
|
44
|
+
|
|
|
45
|
+ ></customMenuBox>
|
|
|
46
|
+<!-- <div class="info-ul" style="width:140px;" >
|
|
|
47
|
+ <div class="basic-pressing-times" @click="pressingDialog(itemMenu,item[itemChild.key].kpiValue,'')" v-for="itemMenu in calcDetailMenubox">
|
41
|
<i class="el-icon-link icon-div"></i>{{itemMenu.name}}
|
48
|
<i class="el-icon-link icon-div"></i>{{itemMenu.name}}
|
42
|
</div>
|
49
|
</div>
|
43
|
- </div>
|
|
|
44
|
- </el-popover>
|
|
|
45
|
- </div>
|
50
|
+ </div>-->
|
|
|
51
|
+<!-- </el-popover>
|
|
|
52
|
+ </div>-->
|
46
|
</div>
|
53
|
</div>
|
47
|
</li>
|
54
|
</li>
|
48
|
</ul>
|
55
|
</ul>
|
49
|
</div>
|
56
|
</div>
|
50
|
</superslide>
|
57
|
</superslide>
|
51
|
-<!-- <el-dialog :visible.sync="tableVisible" :title="tableStyle.tableName" width="80%" center>-->
|
|
|
52
|
-
|
|
|
53
|
-<!-- <el-popover
|
|
|
54
|
- ref="popoverRef"
|
|
|
55
|
- v-model:visible="tableVisible"
|
|
|
56
|
- placement="left"
|
|
|
57
|
- trigger="click"
|
|
|
58
|
- :title="tableStyle.tableName"
|
|
|
59
|
- virtual-triggering
|
|
|
60
|
- persistent
|
58
|
+<!-- 更多弹框-->
|
|
|
59
|
+ <customDialog :dialogVisible="tableVisible" :heightStyle="heightStyle" :marginStyle="marginStyle" :title-name="tableStyle.tableName"
|
|
|
60
|
+ @hideDialog="hideDialogTable" @okFunc="okFuncTable"
|
61
|
>
|
61
|
>
|
62
|
-
|
|
|
63
|
- </el-popover>-->
|
|
|
64
|
- <div class="dialog-div" v-if="tableVisible" :style="heightStyle">
|
|
|
65
|
- <div class="dialog-div-content" :style="marginStyle" >
|
|
|
66
|
- <div class="dialog-div-title title-flex-between"><span>{{tableStyle.tableName}}</span> <span class="dialog-close" @click="tableVisible = false">X</span></div>
|
62
|
+ <template v-slot>
|
67
|
<div v-if="hackReset" class="txtScroll-top" >
|
63
|
<div v-if="hackReset" class="txtScroll-top" >
|
68
|
<!--表头-->
|
64
|
<!--表头-->
|
69
|
<div class="title" :style="borderStyle">
|
65
|
<div class="title" :style="borderStyle">
|
|
@@ -83,85 +79,102 @@ |
|
@@ -83,85 +79,102 @@ |
83
|
v-for="(itemChild, idx) in headerAll"
|
79
|
v-for="(itemChild, idx) in headerAll"
|
84
|
:key="idx"
|
80
|
:key="idx"
|
85
|
:style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]"
|
81
|
:style="[bodyTableStyle, bodyTable(index),tableFiledWidth(idx),tableRowHeight()]"
|
|
|
82
|
+ @mouseenter="pressingTimes(index,idx)"
|
86
|
>
|
83
|
>
|
87
|
<span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)"
|
84
|
<span @click="clickListName(item[itemChild.key])" :style="colorStyle(item[itemChild.key].kpiValue)"
|
88
|
:class="['listName',{'listName-link':item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)}]">
|
85
|
:class="['listName',{'listName-link':item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)}]">
|
89
|
{{ item[itemChild.key]?item[itemChild.key].kpiValue:'' }}</span>
|
86
|
{{ item[itemChild.key]?item[itemChild.key].kpiValue:'' }}</span>
|
90
|
- <div class="basic-img" v-if="item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)">
|
87
|
+ <customMenuBox v-if="pressingVisible==index+'-'+idx && item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)"
|
|
|
88
|
+ :detailMenubox="calcDetailMenubox"
|
|
|
89
|
+ :tableDataValue="item[itemChild.key].kpiValue" :flg="''" :trendSrc="trendSrc"
|
|
|
90
|
+ :heightStyle="heightStyle" :marginStyle="marginStyle" :tableName="tableStyle.tableName"
|
|
|
91
|
+
|
|
|
92
|
+ ></customMenuBox>
|
|
|
93
|
+<!-- <div class="basic-img" v-if="item[itemChild.key] && (item[itemChild.key].kpiIdent==1 || item[itemChild.key].isWarning==1)">
|
91
|
<el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200">
|
94
|
<el-popover ref="popoverMenu" placement="right" trigger="click" :auto-close="200">
|
92
|
<template #reference>
|
95
|
<template #reference>
|
93
|
<img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)">
|
96
|
<img class="info-img" src="@/assets/images/healthStatus/icon_row_menu.png" alt="" @click.stop="pressingTimes(index,idx)">
|
94
|
</template>
|
97
|
</template>
|
95
|
- <!-- <div class="info-ul" v-if="pressingVisible==index+'-'+idx">-->
|
98
|
+
|
96
|
<div class="info-ul" style="width:140px;" >
|
99
|
<div class="info-ul" style="width:140px;" >
|
97
|
- <div class="basic-pressing-times" @click="pressingDialog(itemMenu,item[itemChild.key].kpiValue,'dialog')" v-for="itemMenu in detailMenubox">
|
100
|
+ <div class="basic-pressing-times" @click="pressingDialog(itemMenu,item[itemChild.key].kpiValue,'dialog')" v-for="itemMenu in calcDetailMenubox">
|
98
|
<i class="el-icon-link icon-div"></i>{{itemMenu.name}}
|
101
|
<i class="el-icon-link icon-div"></i>{{itemMenu.name}}
|
99
|
</div>
|
102
|
</div>
|
100
|
</div>
|
103
|
</div>
|
101
|
</el-popover>
|
104
|
</el-popover>
|
102
|
|
105
|
|
103
|
- </div>
|
106
|
+ </div>-->
|
104
|
</div>
|
107
|
</div>
|
105
|
</li>
|
108
|
</li>
|
106
|
</ul>
|
109
|
</ul>
|
107
|
</div>
|
110
|
</div>
|
108
|
</div>
|
111
|
</div>
|
109
|
- </div>
|
|
|
110
|
- </div>
|
|
|
111
|
- <div class="dialog-div" v-if="dialogVisible" :style="heightStyle">
|
|
|
112
|
- <div class="dialog-div-content" :style="marginStyle+widthStyle" >
|
|
|
113
|
- <div class="dialog-div-title title-flex-between"><span>{{tableStyle.tableName}}</span> <span class="dialog-close" @click="dialogVisible = false">X</span></div>
|
|
|
114
|
- <div v-if="dialogName=='alarm_setting'" class="txtScroll-top">
|
|
|
115
|
- 告警设置{{pressingValue}}
|
|
|
116
|
- </div>
|
|
|
117
|
- <div v-if="dialogName=='filter_sheet_indicator'" class="txtScroll-top">
|
|
|
118
|
- 过滤单指标{{pressingValue}}
|
|
|
119
|
- </div>
|
|
|
120
|
- <div v-if="dialogName=='filter_multiple_indicators'" class="txtScroll-top">
|
|
|
121
|
- 过滤多指标{{pressingValue}}
|
|
|
122
|
- </div>
|
|
|
123
|
- <div v-if="dialogName=='performance_trends'" class="txtScroll-top">
|
|
|
124
|
- 性能趋势{{pressingValue}}
|
|
|
125
|
- <iframe :src="trendSrc" class="layadmin-iframe" style="height: 99.5%!important;width: 100%;"/>
|
|
|
126
|
- </div>
|
|
|
127
|
- <div v-if="dialogName=='pressing_times'" class="txtScroll-top">
|
|
|
128
|
- 压制次数{{pressingValue}}
|
|
|
129
|
- </div>
|
|
|
130
|
- <div v-if="dialogName=='include_capacity_forecast'" class="txtScroll-top">
|
|
|
131
|
- 纳入容量预测{{pressingValue}}
|
|
|
132
|
- </div>
|
|
|
133
|
- <div class="dialog-footer" v-if="dialogName!='table' && dialogName!='performance_trends'">
|
|
|
134
|
- <el-button @click="dialogVisible = false">取消</el-button>
|
|
|
135
|
- <el-button type="primary" @click="dialogVisible = false"
|
|
|
136
|
- >确定</el-button
|
|
|
137
|
- >
|
|
|
138
|
- </div>
|
112
|
+ </template>
|
|
|
113
|
+ </customDialog>
|
|
|
114
|
+<!-- 直接点击表格数据展示 性能趋势弹框-->
|
|
|
115
|
+ <customDialog :dialogVisible="trendVisible" :heightStyle="heightStyle" :marginStyle="marginStyle" :widthStyle="widthStyle" :title-name="tableStyle.tableName"
|
|
|
116
|
+ :showFooter="true" :showCancelBtn="true" :showOkBtn="true" @hideDialog="hideDialog" @okFunc="okFunc"
|
|
|
117
|
+ >
|
|
|
118
|
+ <template v-slot>
|
|
|
119
|
+ <div class="txtScroll-top">
|
|
|
120
|
+ 性能趋势{{pressingValue}}
|
|
|
121
|
+ <iframe :src="trendSrc" class="layadmin-iframe" style="height: 99.5%!important;width: 100%;"/>
|
139
|
</div>
|
122
|
</div>
|
140
|
- </div>
|
123
|
+ </template>
|
|
|
124
|
+ </customDialog>
|
|
|
125
|
+<!-- <div class="dialog-div" v-if="tableVisible" :style="heightStyle">
|
|
|
126
|
+ <div class="dialog-div-content" :style="marginStyle" >
|
|
|
127
|
+ <div class="dialog-div-title title-flex-between"><span>{{tableStyle.tableName}}</span> <span class="dialog-close" @click="tableVisible = false">X</span></div>
|
141
|
|
128
|
|
142
|
-<!-- <template #footer>
|
|
|
143
|
- <span class="dialog-footer">
|
|
|
144
|
- <el-button @click="tableVisible = false">取消</el-button>
|
|
|
145
|
- <el-button type="primary" @click="tableVisible = false"
|
|
|
146
|
- >确定</el-button
|
|
|
147
|
- >
|
|
|
148
|
- </span>
|
129
|
+ </div>
|
|
|
130
|
+ </div>-->
|
|
|
131
|
+<!-- <customDialog :dialogVisible="dialogVisible" :heightStyle="heightStyle" :marginStyle="marginStyle" :widthStyle="widthStyle" :title-name="tableStyle.tableName"
|
|
|
132
|
+ :showFooter="true" :showCancelBtn="true" :showOkBtn="true" @hideDialog="hideDialog" @okFunc="okFunc"
|
|
|
133
|
+ >
|
|
|
134
|
+ <template v-slot>
|
|
|
135
|
+ <div v-if="dialogName=='alarm_setting'" class="txtScroll-top">
|
|
|
136
|
+ 告警设置{{pressingValue}}
|
|
|
137
|
+ </div>
|
|
|
138
|
+ <div v-if="dialogName=='filter_sheet_indicator'" class="txtScroll-top">
|
|
|
139
|
+ 过滤单指标{{pressingValue}}
|
|
|
140
|
+ </div>
|
|
|
141
|
+ <div v-if="dialogName=='filter_multiple_indicators'" class="txtScroll-top">
|
|
|
142
|
+ 过滤多指标{{pressingValue}}
|
|
|
143
|
+ </div>
|
|
|
144
|
+ <div v-if="dialogName=='performance_trends'" class="txtScroll-top">
|
|
|
145
|
+ 性能趋势{{pressingValue}}
|
|
|
146
|
+ <iframe :src="trendSrc" class="layadmin-iframe" style="height: 99.5%!important;width: 100%;"/>
|
|
|
147
|
+ </div>
|
|
|
148
|
+ <div v-if="dialogName=='pressing_times'" class="txtScroll-top">
|
|
|
149
|
+ 压制次数{{pressingValue}}
|
|
|
150
|
+ </div>
|
|
|
151
|
+ <div v-if="dialogName=='include_capacity_forecast'" class="txtScroll-top">
|
|
|
152
|
+ 纳入容量预测{{pressingValue}}
|
|
|
153
|
+ </div>
|
149
|
</template>
|
154
|
</template>
|
150
|
- </el-dialog>-->
|
155
|
+ </customDialog>-->
|
|
|
156
|
+
|
151
|
</div>
|
157
|
</div>
|
152
|
</template>
|
158
|
</template>
|
153
|
<script>
|
159
|
<script>
|
154
|
import vue from "vue";
|
160
|
import vue from "vue";
|
155
|
import VueSuperSlide from "vue-superslide";
|
161
|
import VueSuperSlide from "vue-superslide";
|
156
|
import {getDetailTableData,getDetailTableDataNoPage} from "@/api/platform";
|
162
|
import {getDetailTableData,getDetailTableDataNoPage} from "@/api/platform";
|
|
|
163
|
+import customDialog from "../../designerComponents/customDialog";
|
|
|
164
|
+import customMenuBox from "../../designerComponents/customMenuBox";//下探组件
|
|
|
165
|
+
|
157
|
vue.use(VueSuperSlide);
|
166
|
vue.use(VueSuperSlide);
|
158
|
export default {
|
167
|
export default {
|
159
|
props: {
|
168
|
props: {
|
160
|
value: Object,
|
169
|
value: Object,
|
161
|
ispreview: Boolean
|
170
|
ispreview: Boolean
|
162
|
},
|
171
|
},
|
|
|
172
|
+ components:{
|
|
|
173
|
+ customDialog,customMenuBox
|
|
|
174
|
+ },
|
163
|
data() {
|
175
|
data() {
|
164
|
return {
|
176
|
return {
|
|
|
177
|
+ trendVisible:false,//性能趋势弹框
|
165
|
headerAll:[],
|
178
|
headerAll:[],
|
166
|
listAll:[],
|
179
|
listAll:[],
|
167
|
tableVisible:false,//更多表格弹框
|
180
|
tableVisible:false,//更多表格弹框
|
|
@@ -185,32 +198,38 @@ export default { |
|
@@ -185,32 +198,38 @@ export default { |
185
|
optionsData: {},
|
198
|
optionsData: {},
|
186
|
pressingVisible:'',
|
199
|
pressingVisible:'',
|
187
|
isHover:false,
|
200
|
isHover:false,
|
188
|
- detailMenubox:[
|
201
|
+ /*detailMenubox:[
|
189
|
{
|
202
|
{
|
190
|
name:'告警设置',
|
203
|
name:'告警设置',
|
191
|
- type:'alarm_setting'
|
204
|
+ type:'alarm_setting',
|
|
|
205
|
+ isDisplay:true
|
192
|
},
|
206
|
},
|
193
|
{
|
207
|
{
|
194
|
name:'过滤单指标',
|
208
|
name:'过滤单指标',
|
195
|
- type:'filter_sheet_indicator'
|
209
|
+ type:'filter_sheet_indicator',
|
|
|
210
|
+ isDisplay:true
|
196
|
},
|
211
|
},
|
197
|
{
|
212
|
{
|
198
|
name:'过滤多指标',
|
213
|
name:'过滤多指标',
|
199
|
- type:'filter_multiple_indicators'
|
214
|
+ type:'filter_multiple_indicators',
|
|
|
215
|
+ isDisplay:true
|
200
|
},
|
216
|
},
|
201
|
{
|
217
|
{
|
202
|
name:'性能趋势',
|
218
|
name:'性能趋势',
|
203
|
- type:'performance_trends'
|
219
|
+ type:'performance_trends',
|
|
|
220
|
+ isDisplay:true
|
204
|
},
|
221
|
},
|
205
|
{
|
222
|
{
|
206
|
name:'压制次数',
|
223
|
name:'压制次数',
|
207
|
- type:'pressing_times'
|
224
|
+ type:'pressing_times',
|
|
|
225
|
+ isDisplay:true
|
208
|
},
|
226
|
},
|
209
|
{
|
227
|
{
|
210
|
name:'纳入容量预测',
|
228
|
name:'纳入容量预测',
|
211
|
- type:'include_capacity_forecast'
|
229
|
+ type:'include_capacity_forecast',
|
|
|
230
|
+ isDisplay:true
|
212
|
}
|
231
|
}
|
213
|
- ],
|
232
|
+ ],*/
|
214
|
dialogName:'',//表格名称
|
233
|
dialogName:'',//表格名称
|
215
|
pressingValue:'',//表格下探值
|
234
|
pressingValue:'',//表格下探值
|
216
|
trendSrc:'',//性能走势图地址
|
235
|
trendSrc:'',//性能走势图地址
|
|
@@ -275,6 +294,48 @@ export default { |
|
@@ -275,6 +294,48 @@ export default { |
275
|
return{
|
294
|
return{
|
276
|
tableName:tableStyleSetup.tableName
|
295
|
tableName:tableStyleSetup.tableName
|
277
|
}
|
296
|
}
|
|
|
297
|
+ },
|
|
|
298
|
+ //表格下探列表
|
|
|
299
|
+ calcDetailMenubox(){
|
|
|
300
|
+ const menubox = this.optionsSetUp;
|
|
|
301
|
+ let detailMenuBox=[];
|
|
|
302
|
+ if(menubox.alarm_setting){
|
|
|
303
|
+ detailMenuBox.push({
|
|
|
304
|
+ name:'告警设置',
|
|
|
305
|
+ type:'alarm_setting'
|
|
|
306
|
+ })
|
|
|
307
|
+ }
|
|
|
308
|
+ if(menubox.filter_sheet_indicator){
|
|
|
309
|
+ detailMenuBox.push({
|
|
|
310
|
+ name:'过滤单指标',
|
|
|
311
|
+ type:'filter_sheet_indicator'
|
|
|
312
|
+ })
|
|
|
313
|
+ }
|
|
|
314
|
+ if(menubox.filter_multiple_indicators){
|
|
|
315
|
+ detailMenuBox.push({
|
|
|
316
|
+ name:'过滤多指标',
|
|
|
317
|
+ type:'filter_multiple_indicators'
|
|
|
318
|
+ })
|
|
|
319
|
+ }
|
|
|
320
|
+ if(menubox.performance_trends){
|
|
|
321
|
+ detailMenuBox.push({
|
|
|
322
|
+ name:'性能趋势',
|
|
|
323
|
+ type:'performance_trends'
|
|
|
324
|
+ })
|
|
|
325
|
+ }
|
|
|
326
|
+ if(menubox.pressing_times){
|
|
|
327
|
+ detailMenuBox.push({
|
|
|
328
|
+ name:'压制次数',
|
|
|
329
|
+ type:'pressing_times'
|
|
|
330
|
+ })
|
|
|
331
|
+ }
|
|
|
332
|
+ if(menubox.include_capacity_forecast){
|
|
|
333
|
+ detailMenuBox.push({
|
|
|
334
|
+ name:'纳入容量预测',
|
|
|
335
|
+ type:'include_capacity_forecast'
|
|
|
336
|
+ })
|
|
|
337
|
+ }
|
|
|
338
|
+ return detailMenuBox;
|
278
|
}
|
339
|
}
|
279
|
},
|
340
|
},
|
280
|
watch: {
|
341
|
watch: {
|
|
@@ -476,11 +537,16 @@ export default { |
|
@@ -476,11 +537,16 @@ export default { |
476
|
},
|
537
|
},
|
477
|
//点击表格内容名称事件
|
538
|
//点击表格内容名称事件
|
478
|
clickListName(obj){
|
539
|
clickListName(obj){
|
479
|
- let trendsParams=obj;
|
|
|
480
|
- // this.trendSrc='http://127.0.0.1:8088/vue3/index.html#/vue3/pieDetailLine?resId=08586dba3a5b4a01ad88e8878eed6d53&kpiId=KPI7054BC34&flag=cpu&ident=1&trend=1&name=CPU%E4%BD%BF%E7%94%A8%E7%8E%87x&access_token=6e14ca48-4d05-42cf-b232-97981035824f'
|
|
|
481
|
- this.trendSrc='https://192.168.0.69:8088/#/user/login/redirect=%2F';
|
|
|
482
|
- this.widthStyle='';
|
|
|
483
|
- this.setDialog('performance_trends')
|
540
|
+ if(obj.kpiIdent==1 || obj.isWarning==1){
|
|
|
541
|
+ let trendsParams=obj;
|
|
|
542
|
+ // this.trendSrc='http://127.0.0.1:8088/vue3/index.html#/vue3/pieDetailLine?resId=08586dba3a5b4a01ad88e8878eed6d53&kpiId=KPI7054BC34&flag=cpu&ident=1&trend=1&name=CPU%E4%BD%BF%E7%94%A8%E7%8E%87x&access_token=6e14ca48-4d05-42cf-b232-97981035824f'
|
|
|
543
|
+ this.trendSrc='https://192.168.0.69:8088/#/user/login/redirect=%2F';
|
|
|
544
|
+ this.widthStyle='';
|
|
|
545
|
+ // this.setDialog('performance_trends')
|
|
|
546
|
+ this.pressingValue=obj.kpiValue;
|
|
|
547
|
+ this.trendVisible=true;
|
|
|
548
|
+ }
|
|
|
549
|
+
|
484
|
},
|
550
|
},
|
485
|
//End LSQ 2022/1/20 10:23 TODO
|
551
|
//End LSQ 2022/1/20 10:23 TODO
|
486
|
handlerHead() {
|
552
|
handlerHead() {
|
|
@@ -594,6 +660,21 @@ export default { |
|
@@ -594,6 +660,21 @@ export default { |
594
|
},
|
660
|
},
|
595
|
closePressingDialog(){
|
661
|
closePressingDialog(){
|
596
|
this.pressingVisible=false;
|
662
|
this.pressingVisible=false;
|
|
|
663
|
+ },
|
|
|
664
|
+ //弹框关闭确定
|
|
|
665
|
+ hideDialog(){
|
|
|
666
|
+ this.trendVisible=false;
|
|
|
667
|
+ },
|
|
|
668
|
+ okFunc(){
|
|
|
669
|
+ this.trendVisible=false;
|
|
|
670
|
+ },
|
|
|
671
|
+ //更多弹框关闭确定
|
|
|
672
|
+ hideDialogTable(){
|
|
|
673
|
+ this.tableVisible=false;
|
|
|
674
|
+ },
|
|
|
675
|
+ okFuncTable(){
|
|
|
676
|
+ this.tableVisible=false;
|
|
|
677
|
+
|
597
|
}
|
678
|
}
|
598
|
}
|
679
|
}
|
599
|
};
|
680
|
};
|
|
@@ -664,8 +745,8 @@ export default { |
|
@@ -664,8 +745,8 @@ export default { |
664
|
}
|
745
|
}
|
665
|
}
|
746
|
}
|
666
|
}
|
747
|
}
|
667
|
-.basic-img{
|
|
|
668
|
- /*display: flex;*/
|
748
|
+/*.basic-img{
|
|
|
749
|
+ !*display: flex;*!
|
669
|
display: none;
|
750
|
display: none;
|
670
|
cursor: pointer;
|
751
|
cursor: pointer;
|
671
|
.info-img{
|
752
|
.info-img{
|
|
@@ -679,9 +760,9 @@ export default { |
|
@@ -679,9 +760,9 @@ export default { |
679
|
|
760
|
|
680
|
}
|
761
|
}
|
681
|
.info-ul{
|
762
|
.info-ul{
|
682
|
- /*position: absolute;*/
|
763
|
+ !*position: absolute;*!
|
683
|
border:1px solid #d2d2d2;
|
764
|
border:1px solid #d2d2d2;
|
684
|
- /*padding: 16px 20px;*/
|
765
|
+ !*padding: 16px 20px;*!
|
685
|
padding-bottom: 5px;
|
766
|
padding-bottom: 5px;
|
686
|
z-index: 999999;
|
767
|
z-index: 999999;
|
687
|
background: #ffffff;
|
768
|
background: #ffffff;
|
|
@@ -710,13 +791,13 @@ export default { |
|
@@ -710,13 +791,13 @@ export default { |
710
|
}
|
791
|
}
|
711
|
}
|
792
|
}
|
712
|
|
793
|
|
713
|
-}
|
794
|
+}*/
|
714
|
.listName-link{
|
795
|
.listName-link{
|
715
|
cursor: pointer;
|
796
|
cursor: pointer;
|
716
|
color:#0d82e9;
|
797
|
color:#0d82e9;
|
717
|
text-decoration: underline;
|
798
|
text-decoration: underline;
|
718
|
}
|
799
|
}
|
719
|
-.dialog-div{
|
800
|
+/*.dialog-div{
|
720
|
background: rgba(0, 0, 0, 0.35);
|
801
|
background: rgba(0, 0, 0, 0.35);
|
721
|
position: fixed;
|
802
|
position: fixed;
|
722
|
top: 0;
|
803
|
top: 0;
|
|
@@ -726,10 +807,10 @@ export default { |
|
@@ -726,10 +807,10 @@ export default { |
726
|
z-index: 1;
|
807
|
z-index: 1;
|
727
|
}
|
808
|
}
|
728
|
.dialog-div-content{
|
809
|
.dialog-div-content{
|
729
|
- /* display: flex;
|
810
|
+ !* display: flex;
|
730
|
align-items: center;
|
811
|
align-items: center;
|
731
|
margin: 30px auto 0;
|
812
|
margin: 30px auto 0;
|
732
|
- flex-flow: column;*/
|
813
|
+ flex-flow: column;*!
|
733
|
width:80%;
|
814
|
width:80%;
|
734
|
min-height: 700px;
|
815
|
min-height: 700px;
|
735
|
max-height: 800px;
|
816
|
max-height: 800px;
|
|
@@ -772,5 +853,5 @@ export default { |
|
@@ -772,5 +853,5 @@ export default { |
772
|
bottom: 0;
|
853
|
bottom: 0;
|
773
|
text-align: right;
|
854
|
text-align: right;
|
774
|
}
|
855
|
}
|
775
|
-}
|
856
|
+}*/
|
776
|
</style> |
857
|
</style> |