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
012b89f2
Commit
012b89f2
authored
Nov 19, 2024
by
LiXuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
质量白名单动态字段
parent
1254931c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
17 deletions
+26
-17
rule.data.ts
src/views/dataQuality/dataSheet/rule/rule.data.ts
+9
-1
ruleEditModel.vue
src/views/dataQuality/dataSheet/rule/ruleEditModel.vue
+17
-16
No files found.
src/views/dataQuality/dataSheet/rule/rule.data.ts
View file @
012b89f2
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
import
{
BasicColumn
,
FormSchema
}
from
'@/components/Table'
;
export
const
ruleFormSchema
=
[
{
...
...
@@ -146,6 +146,10 @@ export const ruleModelFormSchema: any[] = [
label
:
'质量白名单'
,
component
:
'Select'
,
colProps
:
{
lg
:
24
,
md
:
24
},
show
:
({
values
})
=>
{
console
.
log
(
'values'
,
values
);
return
values
.
group
?
values
.
group
.
substring
(
0
,
2
)
===
'主体'
:
false
;
},
},
{
field
:
'preview'
,
...
...
@@ -219,6 +223,10 @@ export const ruleEditModelFormSchema: any[] = [
label
:
'质量白名单'
,
component
:
'Select'
,
colProps
:
{
lg
:
24
,
md
:
24
},
show
:
({
values
})
=>
{
console
.
log
(
'values'
,
values
);
return
values
.
group
?
values
.
group
.
substring
(
0
,
2
)
===
'主体'
:
false
;
},
},
{
field
:
'preview'
,
...
...
src/views/dataQuality/dataSheet/rule/ruleEditModel.vue
View file @
012b89f2
...
...
@@ -13,24 +13,24 @@
<Select
:options=
"[
{
label: 'tyh',
value: 'tyh',
label: '
主体/
tyh',
value: '
主体/
tyh',
},
{
label: '毕业生-mob',
value: '毕业生-mob',
label: '
主体/
毕业生-mob',
value: '
主体/
毕业生-mob',
},
{
label: '毕业生-moca',
value: '毕业生-moca',
label: '
数据表/
毕业生-moca',
value: '
数据表/
毕业生-moca',
},
{
label: '毕业生-moe',
value: '毕业生-moe',
label: '
数据表/
毕业生-moe',
value: '
数据表/
毕业生-moe',
},
{
label: '毕业生-test',
value: '毕业生-test',
label: '
数据表/
毕业生-test',
value: '
数据表/
毕业生-test',
},
]"
v-model:value="model[field]"
...
...
@@ -99,15 +99,16 @@
</BasicModal>
</template>
<
script
lang=
"ts"
setup
>
import
{
ref
,
computed
,
unref
,
defineProps
}
from
'vue'
;
import
{
ref
,
computed
,
unref
,
defineProps
}
from
'vue'
;
import
{
Select
}
from
'ant-design-vue'
;
import
{
BasicModal
,
useModalInner
,
useModal
}
from
'@/components/Modal'
;
import
{
BasicForm
,
useForm
}
from
'@/components/Form'
;
import
{
import
{
configColumn
,
ruleEditModelFormSchema
,
ruleModelFormSchema
,
ruleEditModelFormSchema
,
ruleModelFormSchema
,
taskColumn
,
}
from
'@/views/dataQuality/dataSheet/rule/rule.data'
;
}
from
'@/views/dataQuality/dataSheet/rule/rule.data'
;
import
BasicTable
from
'@/components/Table/src/BasicTable.vue'
;
import
RuleGroupAddModel
from
'./ruleGroupAddModel.vue'
;
import
AddNewVersion
from
'./addNewVersion.vue'
;
...
...
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