模型训练修改图标
This commit is contained in:
parent
3c969488b7
commit
346ec6288d
BIN
business-css/frontend/src/assets/table/fail.png
Normal file
BIN
business-css/frontend/src/assets/table/fail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 28 KiB |
@ -503,7 +503,7 @@ const objectSpanMethod = ({
|
||||
<span v-if="scope.row.status == 'Success' " style="color:#00c10b"> {{statusName(scope.row.status)}}</span>
|
||||
<span v-if="scope.row.status == 'Failed' " style="color: #fd3737"> {{statusName(scope.row.status)}}</span>
|
||||
<span v-if="scope.row.status == 'Training' " style="color: #266fff;display: flex;align-items: center;" >
|
||||
<img src="@/assets/table/loading.gif" alt="" title="训练中" style="margin-right: 10px;"> {{statusName(scope.row.status)}}
|
||||
<img src="@/assets/table/loading.gif" alt="" title="训练中" style="margin-right: 10px;width: 20px;height: 20px;"> {{statusName(scope.row.status)}}
|
||||
</span>
|
||||
|
||||
</template>
|
||||
@ -654,11 +654,18 @@ const objectSpanMethod = ({
|
||||
<div v-if="info.status == 'Success'" style="width: 100%; height:100%">
|
||||
<img :src="apiUrl +'/models/'+ info.metricsImagePath" alt="" style="width: 100%; height: 100%;object-fit:contain;">
|
||||
</div>
|
||||
<div v-if="info.status == 'Failed'" style="width: 100%; height:100%;">
|
||||
失败
|
||||
<div v-if="info.status == 'Failed'" style="width: 100%; height:100%;display: flex;align-items: center;justify-content: center;">
|
||||
<div>
|
||||
<img src="@/assets/table/fail.png" alt="" title="失败" style="margin-bottom: 10px;">
|
||||
<div style="font-size: 20px;text-align: center;font-weight: bold;color: #c9c9c9;">训练失败</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div v-if="info.status == 'Training'" style="width: 100%; height:100%;display: flex;align-items: center;justify-content: center;">
|
||||
<div>
|
||||
<img src="@/assets/table/loading.gif" alt="" title="失败" style="margin-bottom: 10px;">
|
||||
<div style="font-size: 20px;text-align: center;font-weight: bold;color: #266fff;">正在训练中...</div>
|
||||
</div>
|
||||
<div v-if="info.status == 'Training'" style="width: 100%; height:100%;">
|
||||
训练中
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -828,4 +835,12 @@ const objectSpanMethod = ({
|
||||
color: #363636;
|
||||
background-image: url('@/assets/x6/navright.png');
|
||||
}
|
||||
|
||||
.modelTrainTask-dialog .adddevice_navigation_right:hover{
|
||||
color: #266fff ;
|
||||
}
|
||||
.modelTrainTask-dialog .adddevice_navigation_activeright{
|
||||
background-image: url('@/assets/x6/navright_active.png');
|
||||
color: #fff !important;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user