|
|
@@ -38,6 +38,17 @@
|
|
|
{{ props.row.name }}
|
|
|
</router-link>
|
|
|
</b-table-column>
|
|
|
+ <b-table-column label="框架类型" centered>
|
|
|
+ <div v-if="props.row.dlType === 0" class="tag is-success">
|
|
|
+ <strong style="color: white;">Tensorflow</strong>
|
|
|
+ </div>
|
|
|
+ <div v-if="props.row.dlType === 1" class="tag is-danger">
|
|
|
+ <strong style="color: white;">PyTorch</strong>
|
|
|
+ </div>
|
|
|
+ </b-table-column>
|
|
|
+ <b-table-column label="GPU需求数量" centered>
|
|
|
+ {{ props.row.numberOfGPU }}
|
|
|
+ </b-table-column>
|
|
|
<b-table-column label="状态" centered>
|
|
|
{{ props.row.status }}
|
|
|
</b-table-column>
|
|
|
@@ -98,9 +109,11 @@ import UpdateAssignment from "@/components/AssignmentCRUD/UpdateAssignment";
|
|
|
import CreateAssignment from "@/components/AssignmentCRUD/CreateAssignment";
|
|
|
import PageSectionLoading from "@/components/PageBody/PageSectionLoading/index";
|
|
|
import NoDataSvg from "@/components/NoDataSvg";
|
|
|
+import BTableColumn from "buefy/src/components/table/TableColumn";
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
+ BTableColumn,
|
|
|
PageBody,
|
|
|
PageHeader,
|
|
|
DeleteAssignment,
|