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
09261484
Commit
09261484
authored
Nov 15, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
5fe25c6e
08287687
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
CodeEditor.vue
src/components/CodeEditor/src/CodeEditor.vue
+1
-1
mainBodyEdit.vue
src/views/dataQuality/agentClass/mainBody/mainBodyEdit.vue
+3
-2
edit.vue
src/views/dataQuality/dataSheet/template/edit.vue
+2
-1
No files found.
src/components/CodeEditor/src/CodeEditor.vue
View file @
09261484
...
...
@@ -21,7 +21,7 @@
value
:
{
type
:
[
Object
,
String
]
as
PropType
<
Record
<
string
,
any
>
|
string
>
},
mode
:
{
type
:
String
as
PropType
<
MODE
>
,
default
:
MODE
.
JSON
,
default
:
MODE
.
SQL
,
validator
(
value
:
any
)
{
// 这个值必须匹配下列字符串中的一个
return
Object
.
values
(
MODE
).
includes
(
value
);
...
...
src/views/dataQuality/agentClass/mainBody/mainBodyEdit.vue
View file @
09261484
...
...
@@ -33,10 +33,10 @@
/>
<BasicForm
@
register=
"registerInfoForm"
/>
<!--
<div
class=
"editor"
v-show=
"isIndependent === true"
>
-->
<!--
<textarea
v-model=
"sql"
placeholder=
"请输入内容..."
></textarea
>
-->
<!--
CodeEditor v-model:value="sql" /
>-->
<!--
</div>
-->
<div
class=
"editor"
>
<
textarea
v-model=
"sql"
placeholder=
"请输入内容..."
></textarea
>
<
CodeEditor
v-model:value=
"sql"
/
>
</div>
<a-button
type=
"primary"
@
click=
"handleRun"
>
测试运行
</a-button>
<div
v-if=
"isRun"
>
...
...
@@ -93,6 +93,7 @@
TreeData
,
associationRulesData
,
}
from
'@/views/dataQuality/agentClass/mainBody/dataQualityMainBodyData'
;
import
CodeEditor
from
'@/components/CodeEditor/src/CodeEditor.vue'
;
const
{
createMessage
}
=
useMessage
();
const
page
=
ref
(
'1'
);
...
...
src/views/dataQuality/dataSheet/template/edit.vue
View file @
09261484
...
...
@@ -18,7 +18,7 @@
</div>
<div
class=
"editor"
>
<
textarea
v-model=
"sql"
placeholder=
"请输入内容..."
></textarea
>
<
CodeEditor
v-model:value=
"sql"
/
>
</div>
<div
class=
"w-full"
>
<Card
style=
"margin-bottom: 8px"
>
...
...
@@ -96,6 +96,7 @@
import
{
useModal
}
from
'@/components/Modal'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
SelectDatasourceModal
from
'@/views/dataQuality/dataSheet/template/selectDatasourceModal.vue'
;
import
CodeEditor
from
"@/components/CodeEditor/src/CodeEditor.vue"
;
const
formItem
=
reactive
({
templateName
:
''
,
...
...
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