From 7f6eb671e3adaa3579f6127e2d202159cc8bfb63 Mon Sep 17 00:00:00 2001 From: haha Date: Fri, 26 Jul 2024 23:55:09 +0800 Subject: [PATCH] update code --- .env.development | 4 +- src/views/connection/edit.vue | 819 ++++++++++---------- src/views/connection/editFlow.vue | 238 +++--- src/views/simulationEvaluation/addStep2.vue | 2 +- src/views/simulationEvaluation/addStep3.vue | 7 +- 5 files changed, 549 insertions(+), 521 deletions(-) diff --git a/.env.development b/.env.development index acfda19..151dc2e 100644 --- a/.env.development +++ b/.env.development @@ -3,9 +3,9 @@ VITE_APP_PORT = 3000 # 代理前缀 VITE_APP_BASE_API = '/api' -# VITE_APP_API_URL = http://62.234.3.186/mk/ai/api +VITE_APP_API_URL = http://62.234.3.186/mk/ai/api # 线上接口地址 -VITE_APP_API_URL = http://10.5.1.137:8800 +#VITE_APP_API_URL = http://10.5.1.137:8800 # 开发接口地址 # VITE_APP_API_URL = http://localhost:8989 diff --git a/src/views/connection/edit.vue b/src/views/connection/edit.vue index ef6a077..4f52e26 100644 --- a/src/views/connection/edit.vue +++ b/src/views/connection/edit.vue @@ -1,124 +1,127 @@ \ No newline at end of file diff --git a/src/views/connection/editFlow.vue b/src/views/connection/editFlow.vue index a5dffe1..85d82f1 100644 --- a/src/views/connection/editFlow.vue +++ b/src/views/connection/editFlow.vue @@ -1,7 +1,7 @@ \ No newline at end of file diff --git a/src/views/simulationEvaluation/addStep2.vue b/src/views/simulationEvaluation/addStep2.vue index ec01236..90d4ff0 100644 --- a/src/views/simulationEvaluation/addStep2.vue +++ b/src/views/simulationEvaluation/addStep2.vue @@ -53,7 +53,7 @@ function handleQuery(a) { //ElMessage.success("查询成功"); loading.value = true; connApi.list(queryParams).then(d => { - loading.value = false; debugger + loading.value = false; info.data = (d.data?.data?.connection_list || []).map(it => { it.id = it.model_id; diff --git a/src/views/simulationEvaluation/addStep3.vue b/src/views/simulationEvaluation/addStep3.vue index 96d2309..b82a437 100644 --- a/src/views/simulationEvaluation/addStep3.vue +++ b/src/views/simulationEvaluation/addStep3.vue @@ -10,7 +10,7 @@ 模型类型: {{ modelInfo.modl_main_type_name + "/" + modelInfo.modl_sub_type_name - }} + }} 互联名称: @@ -50,14 +50,14 @@ @@ -117,7 +117,6 @@ const doChoiceSuccess = item => { function handleQuery() { loading.value = true; let m = props.modelInfo; - debugger taskApi .availableDevices({ connection_id: m.connection_id,