From bb8dd8f4fdc49b394e34969e8e52313cafc916d4 Mon Sep 17 00:00:00 2001 From: "si@aidatagov.com" Date: Tue, 21 Oct 2025 01:31:17 +0800 Subject: [PATCH 1/6] =?UTF-8?q?sqlflow=E9=A1=B5=E9=9D=A2=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../codemirror/SQLCodeMirrorSqlFlow.vue | 78 ++ .../views/meta/metaInfo/bloodRelationSql.vue | 744 ++++++++++++++++++ .../src/views/sqlFlow/index.vue | 172 +++- 3 files changed, 988 insertions(+), 6 deletions(-) create mode 100644 vue-fastapi-frontend/src/components/codemirror/SQLCodeMirrorSqlFlow.vue create mode 100644 vue-fastapi-frontend/src/views/meta/metaInfo/bloodRelationSql.vue diff --git a/vue-fastapi-frontend/src/components/codemirror/SQLCodeMirrorSqlFlow.vue b/vue-fastapi-frontend/src/components/codemirror/SQLCodeMirrorSqlFlow.vue new file mode 100644 index 0000000..7ddb735 --- /dev/null +++ b/vue-fastapi-frontend/src/components/codemirror/SQLCodeMirrorSqlFlow.vue @@ -0,0 +1,78 @@ + + + + + \ No newline at end of file diff --git a/vue-fastapi-frontend/src/views/meta/metaInfo/bloodRelationSql.vue b/vue-fastapi-frontend/src/views/meta/metaInfo/bloodRelationSql.vue new file mode 100644 index 0000000..14c4a5c --- /dev/null +++ b/vue-fastapi-frontend/src/views/meta/metaInfo/bloodRelationSql.vue @@ -0,0 +1,744 @@ + + + + \ No newline at end of file diff --git a/vue-fastapi-frontend/src/views/sqlFlow/index.vue b/vue-fastapi-frontend/src/views/sqlFlow/index.vue index 2f49b70..4887861 100644 --- a/vue-fastapi-frontend/src/views/sqlFlow/index.vue +++ b/vue-fastapi-frontend/src/views/sqlFlow/index.vue @@ -1,22 +1,182 @@ From c3dbbc7f71230cfd8956869d23d3191cf5c5f5df Mon Sep 17 00:00:00 2001 From: "si@aidatagov.com" Date: Thu, 23 Oct 2025 01:53:48 +0800 Subject: [PATCH 2/6] =?UTF-8?q?sqlflow=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue-fastapi-frontend/src/api/meta/metaInfo.js | 9 ++ .../src/views/sqlFlow/index.vue | 98 ++++++++++++++++--- 2 files changed, 92 insertions(+), 15 deletions(-) diff --git a/vue-fastapi-frontend/src/api/meta/metaInfo.js b/vue-fastapi-frontend/src/api/meta/metaInfo.js index 08dfa28..69ce376 100644 --- a/vue-fastapi-frontend/src/api/meta/metaInfo.js +++ b/vue-fastapi-frontend/src/api/meta/metaInfo.js @@ -17,6 +17,15 @@ export function runBloodAnalysis(query) { headers: {dashUserName:query.userName,dashPassword:query.password} }) } +export function runBloodAnalysisBySql(query) { + return request({ + url: '/blood-analysis-api/bloodAnalysis/sql/analysis', + method: 'get', + params: query, + headers: {dashUserName:query.userName,dashPassword:query.password} + }) +} + // 查询参数列表 export function getMetaDataList(query) { return request({ diff --git a/vue-fastapi-frontend/src/views/sqlFlow/index.vue b/vue-fastapi-frontend/src/views/sqlFlow/index.vue index 4887861..82e1d9f 100644 --- a/vue-fastapi-frontend/src/views/sqlFlow/index.vue +++ b/vue-fastapi-frontend/src/views/sqlFlow/index.vue @@ -4,18 +4,45 @@
+ + + + + + + + + + +
@@ -47,9 +74,14 @@