关闭线索功能

main
Zhufu 1 year ago
parent b9d3c389d2
commit efe484fbcb

@ -223,6 +223,33 @@
}
});
}
if(_type == 3){
swal({
title:'确定要关闭该线索吗?',
buttons:{
cancel: "取消",
confirm: {
text: "确定",
value: true,
},
}
}).then(res => {
if(res !== null){
getAjaxRequst(
"/api/DroneCaseinfo/CloseDroneCaseInfo?id=" + id, {},
function (res) {
if (res.code == 200) {
$("#table_list_1")
.jqGrid("clearGridData")
.jqGrid("setGridParam", { url: baseURL + '/api/DroneCaseinfo/LoadCaseInfoLists?is_Reviewer=1&is_examine=0' })
.trigger("reloadGrid");
swal('关闭成功')
}
}
)
}
})
}
}
function showModal(id) {
currentCaseId = id
@ -319,7 +346,8 @@
</div>
<div class="row">
<div class="modal-footer" style="border-top: 0px;">
<button type="button" class="btn btn-white" data-dismiss="modal">关 闭</button>
<button type="button" class="btn btn-white" data-dismiss="modal">关闭弹窗</button>
<button type="button" onClick="handlerShenhe(3,'${info.id}')" class="btn btn-danger" data-dismiss="modal">关闭线索</button>
<button type="button" onClick="handlerShenhe(1,'${info.case_no}')" class="btn btn-primary">通 过</button>
<button type="button" onClick="handlerShenhe(2,'${info.case_no}')" class="btn btn-danger">不通过</button>
</div>

Loading…
Cancel
Save