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