From 7efc9324444ad2c8d7e98b21c893097fac8a1a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Sun, 21 Jul 2024 13:31:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/const/index.js | 53 +++-- src/views/manage/datas/add.vue | 319 ++++++++++++++++++++++++++++ src/views/manage/datas/index.vue | 4 +- src/views/manage/otherTool/add.vue | 2 - src/views/manage/otherTool/view.vue | 2 +- 5 files changed, 356 insertions(+), 24 deletions(-) diff --git a/src/api/const/index.js b/src/api/const/index.js index 61fbca8..31b26ea 100644 --- a/src/api/const/index.js +++ b/src/api/const/index.js @@ -1,71 +1,86 @@ import request from "@/utils/request"; //获取硬件类型列表 -const cmptHardwareType=()=>{ +const cmptHardwareType = () => { return request({ url: `/const/cmpt_hardware_type`, method: "get" - }); + }); +} +//获取数据集格式列表 +const datasetFormatType = () => { + return request({ + url: `/const/dats_dataset_format`, + method: "get" + }); +} +//获取数据标注类型列表 +const datsLabelType = () => { + return request({ + url: `/const/dats_label_type`, + method: "get" + }); } //获取推理任务类型 -const infrTaskType=()=>{ +const infrTaskType = () => { return request({ url: `/const/infr_task_type`, method: "get" - }); + }); } - //获取模型文件类型列表 -const modlFileType=()=>{ +const modlFileType = () => { return request({ url: `/const/modl_file_type`, method: "get" - }); + }); } //获取模型框架名称列表 -const modlFramework=()=>{ +const modlFramework = () => { return request({ url: `/const/modl_framework`, method: "get" - }); + }); } //获取模型主类型和子类型列表 -const modlMainType=()=>{ +const modlMainType = () => { return request({ url: `/const/modl_main_type`, method: "get" - }); + }); } //获取模型子类型列表 -const modlSubType=()=>{ +const modlSubType = () => { return request({ url: `/const/modl_sub_type`, method: "get" - }); + }); } //获取模型网络类型列表 -const modlNetType=()=>{ +const modlNetType = () => { return request({ url: `/const/modl_net_type`, method: "get" - }); + }); } //获取算子主类型列表 -const operMainType=()=>{ +const operMainType = () => { return request({ url: `/const/oper_main_type`, method: "get" - }); + }); } //获取用户权限类型 -const userRole=()=>{ +const userRole = () => { return request({ url: `/const/user_role`, method: "get" - }); + }); } export default { cmptHardwareType, + datasetFormatType, + datsLabelType, infrTaskType, modlFileType, modlFramework, diff --git a/src/views/manage/datas/add.vue b/src/views/manage/datas/add.vue index e69de29..7c42534 100644 --- a/src/views/manage/datas/add.vue +++ b/src/views/manage/datas/add.vue @@ -0,0 +1,319 @@ + + + + + + diff --git a/src/views/manage/datas/index.vue b/src/views/manage/datas/index.vue index 5d1f276..f25f793 100644 --- a/src/views/manage/datas/index.vue +++ b/src/views/manage/datas/index.vue @@ -70,8 +70,8 @@ diff --git a/src/views/manage/otherTool/add.vue b/src/views/manage/otherTool/add.vue index da41085..adb5029 100644 --- a/src/views/manage/otherTool/add.vue +++ b/src/views/manage/otherTool/add.vue @@ -87,7 +87,6 @@