接口对接
This commit is contained in:
parent
3a571e20b1
commit
0408fecda4
|
|
@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -469,7 +469,6 @@
|
|||
}else{
|
||||
this.$modal.msgError(response.msg);
|
||||
}
|
||||
|
||||
});
|
||||
},
|
||||
// 取消按钮
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue