Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
61b0af02
authored
2025-07-09 17:54:16 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 质量规则支持新建质检表
1 parent
1f7642a0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
7 deletions
src/api/modules/dataQuality.ts
src/views/data_quality/qualityRules.vue
src/views/data_quality/ruleModel.vue
src/api/modules/dataQuality.ts
View file @
61b0af0
...
...
@@ -177,4 +177,10 @@ export const updateModelRule = (params) => request({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_QUALITY_BASEURL
}
/quality-model/conf/update`
,
method
:
'post'
,
data
:
params
})
// 获取产品目录guid下面的资源表
export
const
getDamCatalogTableList
=
(
damGuid
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-catalog-table/quality/get-table-list?damGuid=
${
damGuid
}
`
,
method
:
'get'
})
\ No newline at end of file
...
...
src/views/data_quality/qualityRules.vue
View file @
61b0af0
...
...
@@ -258,8 +258,8 @@ const groupTableInfo = ref({
width
:
92
,
btns
:
(
scope
)
=>
{
return
[
{
label
:
"编辑"
,
value
:
"edit"
,
disabled
:
scope
.
row
.
dataSource
!=
'5
'
},
{
label
:
"删除"
,
value
:
"delete"
,
disabled
:
scope
.
row
.
dataSource
!=
'5
'
},
{
label
:
"编辑"
,
value
:
"edit"
,
disabled
:
scope
.
row
.
dataSource
==
'4
'
},
{
label
:
"删除"
,
value
:
"delete"
,
disabled
:
scope
.
row
.
dataSource
==
'4
'
},
]
},
}
...
...
@@ -675,13 +675,17 @@ const clickCreateGroup = () => {
/** 新建质检表 */
const
clickCreateTable
=
()
=>
{
let
query
:
any
=
{
groupGuid
:
page
.
value
.
modelGroupGuid
,
name
:
lastSelectNode
.
value
.
data
.
name
,
dataSource
:
lastSelectNode
.
value
.
data
.
dataSource
,
};
if
(
lastSelectNode
.
value
.
data
.
damGuid
&&
lastSelectNode
.
value
.
data
.
children
?.[
0
]?.
dataSource
!=
5
)
{
query
.
damGuid
=
lastSelectNode
.
value
.
data
.
damGuid
}
router
.
push
({
name
:
'ruleModel'
,
query
:
{
groupGuid
:
page
.
value
.
modelGroupGuid
,
name
:
lastSelectNode
.
value
.
data
.
name
,
dataSource
:
lastSelectNode
.
value
.
data
.
dataSource
}
query
:
query
});
}
...
...
src/views/data_quality/ruleModel.vue
View file @
61b0af0
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment