Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigDataSystem
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
bigDataSystem
Commits
901f30c2
Commit
901f30c2
authored
Dec 12, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改sql开发
parent
0b92b387
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
86 deletions
+89
-86
index.vue
src/views/scriptDevelopment/sqlDevelopment/index.vue
+32
-28
executeRecordModal.vue
...elopment/sqlDevelopment/sqlExecute/executeRecordModal.vue
+1
-0
sqlExecute.vue
...criptDevelopment/sqlDevelopment/sqlExecute/sqlExecute.vue
+56
-58
No files found.
src/views/scriptDevelopment/sqlDevelopment/index.vue
View file @
901f30c2
...
...
@@ -3,7 +3,7 @@
<div
class=
"flex"
>
<div
class=
"w-1/4 xl:w-1/5"
>
<DataTree
@
select=
"handleSelect"
style=
"height: 50%"
/>
<GroupTree
@
select=
"handleGroupSelect"
style=
"height:
50
%"
/>
<GroupTree
@
select=
"handleGroupSelect"
style=
"height:
44
%"
/>
</div>
<div
class=
"m-4 mr-0 w-3/4 xl:w-4/5"
style=
"background-color: white"
>
<div>
...
...
@@ -29,9 +29,11 @@
<div
v-if=
"showTable === 'true'"
style=
"margin-top: 100px"
>
<BasicTable
@
register=
"registerDataPreviewTable"
>
<
template
#
headerTop
>
<div
style=
"display: flex; justify-content: space-between; align-items: center"
>
<span
style=
"font-weight: bold; font-size: 16px"
>
数据预览
</span>
<div
style=
"display: flex; align-items: center"
>
<Dropdown
:trigger=
"['click']"
>
<span
type=
"primary"
@
click
.
prevent
style=
"margin-left: 1120px"
<span
type=
"primary"
@
click
.
prevent
>
字段选择
<Icon
icon=
"ant-design:caret-down-filled"
style=
"font-size: 12px; margin-left: 2px"
...
...
@@ -56,6 +58,8 @@
:size=
"25"
@
click=
"handleDownload"
/>
</div>
</div>
</template>
</BasicTable>
</div>
...
...
src/views/scriptDevelopment/sqlDevelopment/sqlExecute/executeRecordModal.vue
View file @
901f30c2
...
...
@@ -41,6 +41,7 @@
import
{
recordColumns
}
from
'../data'
;
import
{
recordData
}
from
'../sqlDevelopmentData'
;
import
recordDetailModal
from
'./recordDetailModal.vue'
;
import
Icon
from
'@/components/Icon/Icon.vue'
;
defineOptions
({
name
:
'KnowledgeModal'
});
...
...
src/views/scriptDevelopment/sqlDevelopment/sqlExecute/sqlExecute.vue
View file @
901f30c2
<
template
>
<PageWrapper
title=
"SQL执行"
dense
contentFullHeight
fixedHeight
@
back=
"goBack"
>
<div
style=
"padding-top: 20px; background-color: white"
>
<BasicForm
@
register=
"registerForm"
>
<template
#
formFooter
>
<div
style=
"display: flex; justify-content: space-between"
>
<div
style=
"display: flex; align-content: center; justify-content: space-between"
>
<div
style=
"display: flex; align-content: center"
>
<BasicForm
@
register=
"registerForm"
style=
"width: 300px"
/>
</div>
<div
style=
"display: flex; align-content: center"
>
<!-- 新窗口运行-->
<Tooltip
placement=
"top"
title=
"新窗口运行"
>
<a-button
type=
"primary"
style=
"margin-right: 10px; margin-left: 700px"
@
click=
"handleExecute"
>
<a-button
type=
"primary"
style=
"margin-right: 10px"
@
click=
"handleExecute"
>
<Icon
icon=
"si:play-forward-duotone"
:size=
"20"
/>
</a-button>
</Tooltip>
...
...
@@ -61,10 +59,10 @@
<Tooltip
placement=
"top"
title=
"保存"
>
<a-button
type=
"primary"
style=
"margin-right: 10px"
@
click=
"handleSubmit"
>
<Icon
icon=
"majesticons:save-line"
:size=
"20"
/>
</a-button>
</Tooltip
></div
>
</
template
>
</
BasicForm
>
</a-button>
</Tooltip
>
</
div
>
</
div
>
<CodeEditor
v-model:value=
"jsonData"
:mode=
"MODE.JSON"
/>
</div>
<optionsModal
@
register=
"registerModal"
/>
...
...
@@ -103,7 +101,7 @@
const
[
registerSubmitVersionModal
,
{
openModal
:
openSubmitVersionModal
}]
=
useModal
();
const
[
registerForm
]
=
useForm
({
labelWidth
:
100
,
baseColProps
:
{
lg
:
6
,
md
:
4
},
baseColProps
:
{
lg
:
18
,
md
:
18
},
schemas
:
formSchema
,
showActionButtonGroup
:
false
,
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment