Browse Source

!565 If there is no data in the traceability module, click the disabled form check box to modify the check style

Merge pull request !565 from 黄伟锋/myMaster
tags/0.7.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
c891007cae
2 changed files with 22 additions and 0 deletions
  1. +11
    -0
      mindinsight/ui/src/views/train-manage/data-traceback.vue
  2. +11
    -0
      mindinsight/ui/src/views/train-manage/model-traceback.vue

+ 11
- 0
mindinsight/ui/src/views/train-manage/data-traceback.vue View File

@@ -114,6 +114,8 @@ limitations under the License.
<!-- table area --> <!-- table area -->
<div class="table-container" <div class="table-container"
v-show="!echartNoData && showTable"> v-show="!echartNoData && showTable">
<div class="disabled-checked"
v-show="!table.data.length"></div>
<el-table ref="table" <el-table ref="table"
:data="table.data" :data="table.data"
tooltip-effect="light" tooltip-effect="light"
@@ -2229,6 +2231,15 @@ export default {
height: calc(68% - 130px); height: calc(68% - 130px);
padding: 6px 32px; padding: 6px 32px;
position: relative; position: relative;
.disabled-checked {
position: absolute;
top: 9px;
left: 0px;
z-index: 1000;
width: 87px;
height: 66px;
cursor: not-allowed;
}
.custom-label { .custom-label {
max-width: calc(100% - 25px); max-width: calc(100% - 25px);
padding: 0; padding: 0;


+ 11
- 0
mindinsight/ui/src/views/train-manage/model-traceback.vue View File

@@ -116,6 +116,8 @@ limitations under the License.
</div> </div>
<div class="table-container" <div class="table-container"
v-show="showTable && !noData"> v-show="showTable && !noData">
<div class="disabled-checked"
v-show="!table.data.length"></div>
<el-table ref="table" <el-table ref="table"
:data="table.data" :data="table.data"
tooltip-effect="light" tooltip-effect="light"
@@ -2275,6 +2277,15 @@ export default {
height: calc(68% - 130px); height: calc(68% - 130px);
padding: 6px 32px; padding: 6px 32px;
position: relative; position: relative;
.disabled-checked {
position: absolute;
top: 9px;
left: 0px;
z-index: 1000;
width: 87px;
height: 66px;
cursor: not-allowed;
}
.custom-label { .custom-label {
max-width: calc(100% - 25px); max-width: calc(100% - 25px);
padding: 0; padding: 0;


Loading…
Cancel
Save