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 @@