Authored by 王涛

Merge branch 'master-500-dev-xwx' into 'master-500-dev'

【964】快照管理搜索条件增加悬浮提示



See merge request !759
@@ -3820,7 +3820,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele @@ -3820,7 +3820,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
3820 layer.open({ 3820 layer.open({
3821 title: [name, 'font-size:18px;'], 3821 title: [name, 'font-size:18px;'],
3822 type: 2, 3822 type: 2,
3823 - area: ['90%', '90%'], 3823 + area: ['65%', '90%'],
3824 shadeClose: true,//开启遮罩层 3824 shadeClose: true,//开启遮罩层
3825 id: 'res-history', 3825 id: 'res-history',
3826 content: ['/vue3/index.html#/vue3/snapshot/history' + paramStr, 'no'], 3826 content: ['/vue3/index.html#/vue3/snapshot/history' + paramStr, 'no'],
@@ -33,11 +33,11 @@ layui.define(['commonDetail', 'common', 'sessions'], function (exports) { @@ -33,11 +33,11 @@ layui.define(['commonDetail', 'common', 'sessions'], function (exports) {
33 async: false, 33 async: false,
34 success: function (res) { 34 success: function (res) {
35 if (res.success){ 35 if (res.success){
36 - if (res.object.snapshotResState.length > 0){ 36 + if (res.object.snapshotResState != null && res.object.snapshotResState.length > 0){
37 commonDetail.snapshotRenderResHealth(res.object.snapshotResState); 37 commonDetail.snapshotRenderResHealth(res.object.snapshotResState);
38 } 38 }
39 commonDetail.anapshotRenderTextCols('hostminicomputerpartition_jbxx',res.object.snapshotBaseInformationList,2); 39 commonDetail.anapshotRenderTextCols('hostminicomputerpartition_jbxx',res.object.snapshotBaseInformationList,2);
40 - if (res.object.importantInformationList.length > 0){ 40 + if (res.object.importantInformationList != null && res.object.importantInformationList.length > 0){
41 commonDetail.anapshotRenderTextCols('hostminicomputerpartition_sysfile',res.object.importantInformationList,2); 41 commonDetail.anapshotRenderTextCols('hostminicomputerpartition_sysfile',res.object.importantInformationList,2);
42 }else { 42 }else {
43 $("#hostminicomputerpartition_sysfile").html('<div style="text-align:center;"><span style="line-height: 150px; padding:20px;font-style:normal;">暂无数据</span></div>') 43 $("#hostminicomputerpartition_sysfile").html('<div style="text-align:center;"><span style="line-height: 150px; padding:20px;font-style:normal;">暂无数据</span></div>')
@@ -4,7 +4,10 @@ @@ -4,7 +4,10 @@
4 <div class="condition esData-conditon" style="justify-content: space-between;width: 100%;"> 4 <div class="condition esData-conditon" style="justify-content: space-between;width: 100%;">
5 <el-form :inline="true"> 5 <el-form :inline="true">
6 <el-form-item> 6 <el-form-item>
  7 + <el-tooltip placement="bottom-start">
  8 + <template #content> 资源名称 <br /> 资源ip <br /> 业务名称</template>
7 <el-input clearable :size="$global.elementConfig.size.input" v-model="queryParams.keyWord" placeholder="关键字检索" /> 9 <el-input clearable :size="$global.elementConfig.size.input" v-model="queryParams.keyWord" placeholder="关键字检索" />
  10 + </el-tooltip>
8 </el-form-item> 11 </el-form-item>
9 <el-form-item> 12 <el-form-item>
10 <el-dropdown> 13 <el-dropdown>
@@ -122,6 +122,7 @@ export default { @@ -122,6 +122,7 @@ export default {
122 if (val == 4){ 122 if (val == 4){
123 visiblePopover.value = !visiblePopover.value; 123 visiblePopover.value = !visiblePopover.value;
124 }else{ 124 }else{
  125 + visiblePopover.value = false;
125 getDataList(); 126 getDataList();
126 getEchartsData(); 127 getEchartsData();
127 } 128 }
@@ -188,6 +188,7 @@ export default { @@ -188,6 +188,7 @@ export default {
188 if (val == 4){ 188 if (val == 4){
189 visiblePopover.value = !visiblePopover.value; 189 visiblePopover.value = !visiblePopover.value;
190 }else{ 190 }else{
  191 + visiblePopover.value = false;
191 getDataList(); 192 getDataList();
192 getEchartsData(); 193 getEchartsData();
193 } 194 }