0deddd45 by lihua

修改批量配置业务规则接口

1 parent e6a29877
......@@ -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}
......
......@@ -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 saveBizRuleConfig(params);
const res: any = await batchSaveBizRuleConfig(params);
if (res.code == proxy.$passCode) {
btn.loading = false;
proxy.$ElMessage.success('配置成功!');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!