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
0deddd45
authored
2025-04-22 17:12:11 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改批量配置业务规则接口
1 parent
e6a29877
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
src/api/modules/dataInventory.ts
src/views/data_inventory/classifyGradeCatalogue.vue
src/api/modules/dataInventory.ts
View file @
0deddd4
...
...
@@ -615,6 +615,15 @@ export const saveBizRuleConfig = (data) => request({
data
})
/** 业务规则配置-批量新增
* @param {Object}
* @path /biz-rule-config/save
*/
export
const
batchSaveBizRuleConfig
=
(
data
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_CHECK_BASEURL
}
/biz-rule-config/save-batch`
,
method
:
'post'
,
data
})
/**树形目录
* @param {Object}
...
...
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
0deddd4
...
...
@@ -6,6 +6,7 @@
import
{
Warning
}
from
"@element-plus/icons-vue"
;
import
TableTools
from
'@/components/Tools/table_tools.vue'
;
import
{
batchSaveBizRuleConfig
,
saveBizRuleConfig
,
getDbDirTreeList
,
getDbDirTablePageList
,
...
...
@@ -1148,7 +1149,7 @@ const drawerBtnClick = async (btn, info) => {
}
try
{
const
res
:
any
=
await
s
aveBizRuleConfig
(
params
);
const
res
:
any
=
await
batchS
aveBizRuleConfig
(
params
);
if
(
res
.
code
==
proxy
.
$passCode
)
{
btn
.
loading
=
false
;
proxy
.
$ElMessage
.
success
(
'配置成功!'
);
...
...
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