diff --git a/frontend/public/images/icons/deploy.svg b/frontend/public/images/icons/deploy.svg new file mode 100644 index 000000000..daf45bc0e --- /dev/null +++ b/frontend/public/images/icons/deploy.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/public/images/icons/dot_black.svg b/frontend/public/images/icons/dot_black.svg new file mode 100644 index 000000000..04f29502f --- /dev/null +++ b/frontend/public/images/icons/dot_black.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/public/images/icons/evaluation.svg b/frontend/public/images/icons/evaluation.svg new file mode 100644 index 000000000..cc186cf6b --- /dev/null +++ b/frontend/public/images/icons/evaluation.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/frontend/public/images/icons/evaluation_new.svg b/frontend/public/images/icons/evaluation_new.svg new file mode 100644 index 000000000..be4b97435 --- /dev/null +++ b/frontend/public/images/icons/evaluation_new.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/frontend/src/assets/stylesheets/element-plus/input.css b/frontend/src/assets/stylesheets/element-plus/input.css index a91d04e8a..ac432fd69 100644 --- a/frontend/src/assets/stylesheets/element-plus/input.css +++ b/frontend/src/assets/stylesheets/element-plus/input.css @@ -1,12 +1,12 @@ :root { /* 所有的input 添加 */ - .el-textarea__inner, .el-input__wrapper, .el-select__wrapper { + .el-textarea__inner, .el-input__wrapper, .el-select__wrapper, .el-cascader { border: 1px solid transparent; border-radius: var(--border-radius-md);-radius: var(--border-radius-md); } /* default focus style */ - .el-textarea__inner:focus, .el-input__wrapper.is-focus, .el-select__wrapper.is-focused { + .el-textarea__inner:focus, .el-input__wrapper.is-focus, .el-select__wrapper.is-focused, .el-cascader.is-focused { box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px rgba(77, 106, 214, 0.24); border: 1px solid var(--Brand-300); } diff --git a/frontend/src/components/evaluations/EvaluationDetail.vue b/frontend/src/components/evaluations/EvaluationDetail.vue new file mode 100644 index 000000000..65410ae0e --- /dev/null +++ b/frontend/src/components/evaluations/EvaluationDetail.vue @@ -0,0 +1,344 @@ + + + + + diff --git a/frontend/src/components/evaluations/NewEvaluation.vue b/frontend/src/components/evaluations/NewEvaluation.vue new file mode 100644 index 000000000..271a35959 --- /dev/null +++ b/frontend/src/components/evaluations/NewEvaluation.vue @@ -0,0 +1,553 @@ + + + + + + + diff --git a/frontend/src/components/resource_console/EvaluationTable.vue b/frontend/src/components/resource_console/EvaluationTable.vue new file mode 100644 index 000000000..6ff45b2d5 --- /dev/null +++ b/frontend/src/components/resource_console/EvaluationTable.vue @@ -0,0 +1,328 @@ + + + + + + + diff --git a/frontend/src/components/resource_console/ResourceConsoleIndex.vue b/frontend/src/components/resource_console/ResourceConsoleIndex.vue index 87e2e97d3..692e48b8f 100644 --- a/frontend/src/components/resource_console/ResourceConsoleIndex.vue +++ b/frontend/src/components/resource_console/ResourceConsoleIndex.vue @@ -43,6 +43,18 @@ > + + +

+ {{ $t("evaluation.list.title") }} + + + {{ $t('evaluation.list.new') }} + +

+
+ +
@@ -52,6 +64,7 @@ import FinetuneItem from "../shared/FinetuneItem.vue" import ViewMore from "../shared/ViewMore.vue" import EndpointItem from "../endpoints/EndpointItem.vue" + import EvaluationTable from "./EvaluationTable.vue" import useFetchApi from "../../packs/useFetchApi" import { ElMessage } from "element-plus" const userStore = useUserStore() diff --git a/frontend/src/components/shared/DeployDropdown.vue b/frontend/src/components/shared/DeployDropdown.vue index 61bc5348d..62d54f01d 100644 --- a/frontend/src/components/shared/DeployDropdown.vue +++ b/frontend/src/components/shared/DeployDropdown.vue @@ -1,8 +1,9 @@