| @@ -20,6 +20,10 @@ limitations under the License. | |||||
| :class="{collapse:collapse}"> | :class="{collapse:collapse}"> | ||||
| <div class="helper" | <div class="helper" | ||||
| v-show="!collapse"> | v-show="!collapse"> | ||||
| <div class="summary-path"> | |||||
| {{$t('trainingDashboard.summaryDirPath')}} | |||||
| <span>{{ summaryPath}}</span> | |||||
| </div> | |||||
| <div class="cur-card"> | <div class="cur-card"> | ||||
| <label>{{$t('profiling.curCard')}}</label> | <label>{{$t('profiling.curCard')}}</label> | ||||
| <el-select v-model="curDashboardInfo.curCardNum" | <el-select v-model="curDashboardInfo.curCardNum" | ||||
| @@ -61,6 +65,7 @@ import RequestService from '../../services/request-service'; | |||||
| export default { | export default { | ||||
| data() { | data() { | ||||
| return { | return { | ||||
| summaryPath: this.$route.query.summaryPath, | |||||
| tipsArrayList: [ | tipsArrayList: [ | ||||
| 'step_trace-iter_interval', | 'step_trace-iter_interval', | ||||
| 'minddata_pipeline-general', | 'minddata_pipeline-general', | ||||
| @@ -330,11 +335,26 @@ export default { | |||||
| } | } | ||||
| .helper { | .helper { | ||||
| padding: 32px; | padding: 32px; | ||||
| padding-top: 20px; | |||||
| height: 100%; | height: 100%; | ||||
| overflow-y: auto; | overflow-y: auto; | ||||
| margin-left: 24px; | margin-left: 24px; | ||||
| background: #edf0f5; | background: #edf0f5; | ||||
| word-wrap: break-word; | word-wrap: break-word; | ||||
| .summary-path { | |||||
| line-height: 24px; | |||||
| font-size: 14px; | |||||
| overflow: hidden; | |||||
| font-weight: bold; | |||||
| padding-bottom: 10px; | |||||
| word-break: break-all; | |||||
| text-overflow: -o-ellipsis-lastline; | |||||
| overflow: hidden; | |||||
| text-overflow: ellipsis; | |||||
| display: -webkit-box; | |||||
| -webkit-line-clamp: 4; | |||||
| -webkit-box-orient: vertical; | |||||
| } | |||||
| .nowrap-style { | .nowrap-style { | ||||
| white-space: nowrap; | white-space: nowrap; | ||||
| } | } | ||||