File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33from apps .system .api import login , user , aimodel
44from apps .settings .api import terminology
5- from apps .datasource .api import datasource , export
5+ from apps .datasource .api import datasource
66from apps .chat .api import chat
77from apps .dashboard .api import dashboard_api
88
1212api_router .include_router (aimodel .router )
1313api_router .include_router (terminology .router )
1414api_router .include_router (datasource .router )
15- api_router .include_router (export .router )
1615api_router .include_router (chat .router )
1716api_router .include_router (dashboard_api .router )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ dependencies = [
3535 " oracledb (>=3.1.1,<4.0.0)" ,
3636 " pyyaml (>=6.0.2,<7.0.0)" ,
3737 " fastapi-mcp (>=0.3.4,<0.4.0)" ,
38- " selenium (>=4.33.0,<5.0.0)" ,
39- " pillow (>=11.2.1,<12.0.0)" ,
4038]
4139[[tool .uv .index ]]
4240url = " https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
Original file line number Diff line number Diff line change @@ -19,5 +19,4 @@ export const datasourceApi = {
1919 saveTable : ( data : any ) => request . post ( '/datasource/editTable' , data ) ,
2020 saveField : ( data : any ) => request . post ( '/datasource/editField' , data ) ,
2121 getDs : ( id : number ) => request . post ( `/datasource/get/${ id } ` ) ,
22- exportFromServer : ( ) => request . get ( '/export/png' ) ,
2322}
Original file line number Diff line number Diff line change 2525 @click =" editDs(undefined)"
2626 >{{ t('ds.add') }}</el-button
2727 >
28- <el-button class =" border-radius_8" type =" primary" :icon =" IconOpeAdd" @click =" exportPng"
29- >export</el-button
30- >
3128 </div >
3229
3330 <div class =" connections-container" >
@@ -78,17 +75,6 @@ const allDsList = ref<any>([]) // all ds list
7875const router = useRouter ()
7976const loading = ref (false )
8077
81- const exportPng = () => {
82- datasourceApi
83- .exportFromServer ()
84- .then (() => {
85- console .log (' export success' )
86- })
87- .catch ((e ) => {
88- console .log (e )
89- })
90- }
91-
9278function searchHandle() {
9379 if (searchValue .value ) {
9480 dsList .value = JSON .parse (JSON .stringify (allDsList .value )).filter ((item : any ) => {
You can’t perform that action at this time.
0 commit comments