修改批量配置业务规则接口
Showing
2 changed files
with
11 additions
and
1 deletions
| ... | @@ -615,6 +615,15 @@ export const saveBizRuleConfig = (data) => request({ | ... | @@ -615,6 +615,15 @@ export const saveBizRuleConfig = (data) => request({ |
| 615 | data | 615 | data |
| 616 | }) | 616 | }) |
| 617 | 617 | ||
| 618 | /** 业务规则配置-批量新增 | ||
| 619 | * @param {Object} | ||
| 620 | * @path /biz-rule-config/save | ||
| 621 | */ | ||
| 622 | export const batchSaveBizRuleConfig = (data) => request({ | ||
| 623 | url: `${import.meta.env.VITE_APP_CHECK_BASEURL}/biz-rule-config/save-batch`, | ||
| 624 | method: 'post', | ||
| 625 | data | ||
| 626 | }) | ||
| 618 | 627 | ||
| 619 | /**树形目录 | 628 | /**树形目录 |
| 620 | * @param {Object} | 629 | * @param {Object} | ... | ... |
| ... | @@ -6,6 +6,7 @@ | ... | @@ -6,6 +6,7 @@ |
| 6 | import { Warning } from "@element-plus/icons-vue"; | 6 | import { Warning } from "@element-plus/icons-vue"; |
| 7 | import TableTools from '@/components/Tools/table_tools.vue'; | 7 | import TableTools from '@/components/Tools/table_tools.vue'; |
| 8 | import { | 8 | import { |
| 9 | batchSaveBizRuleConfig, | ||
| 9 | saveBizRuleConfig, | 10 | saveBizRuleConfig, |
| 10 | getDbDirTreeList, | 11 | getDbDirTreeList, |
| 11 | getDbDirTablePageList, | 12 | getDbDirTablePageList, |
| ... | @@ -1148,7 +1149,7 @@ const drawerBtnClick = async (btn, info) => { | ... | @@ -1148,7 +1149,7 @@ const drawerBtnClick = async (btn, info) => { |
| 1148 | } | 1149 | } |
| 1149 | 1150 | ||
| 1150 | try { | 1151 | try { |
| 1151 | const res: any = await saveBizRuleConfig(params); | 1152 | const res: any = await batchSaveBizRuleConfig(params); |
| 1152 | if (res.code == proxy.$passCode) { | 1153 | if (res.code == proxy.$passCode) { |
| 1153 | btn.loading = false; | 1154 | btn.loading = false; |
| 1154 | proxy.$ElMessage.success('配置成功!'); | 1155 | proxy.$ElMessage.success('配置成功!'); | ... | ... |
-
Please register or sign in to post a comment