接口对接

This commit is contained in:
zzyuan 2026-01-05 17:49:56 +08:00
parent 3a571e20b1
commit 0408fecda4
3 changed files with 14 additions and 4 deletions

View File

@ -510,3 +510,15 @@ export function updateRuleStateApi(data) {
})
}
// 安全须知-删除
export function delRuleApi(data) {
return request({
url: '/certificate/certificate_system/certificateInfo/delRule',
method: 'post',
headers: {
//"merchant-id":"378915229716713472",
},
data:data
})
}

View File

@ -469,7 +469,6 @@
}else{
this.$modal.msgError(response.msg);
}
});
},
//

View File

@ -133,7 +133,7 @@
<script>
import { getRuleListApi,insertRuleApi, updateRuleApi,
delCertificateApplyApi,updateRuleStateApi } from "@/api/certificateManage/index";
delRuleApi,updateRuleStateApi } from "@/api/certificateManage/index";
import base64 from 'base-64';
import { getToken } from '@/utils/auth'
import { downloadFileByUrl } from '@/utils/download'
@ -308,8 +308,7 @@
/** 删除按钮操作 */
handleDelete(row) {
this.$modal.confirm('是否确认删除数据项?').then(() => {
delCertificateApplyApi({checkId:row.checkId}).then(response => {
console.log("delCertificateApplyApi",response);
delRuleApi({id:row.id}).then(response => {
this.getList();
this.$modal.msgSuccess("删除成功");
return;