废止按钮功能优化,未发布的不允许废止

This commit is contained in:
yujh 2024-07-18 17:53:52 +08:00
parent 2861e578af
commit 65f4ad8ed4

View File

@ -285,7 +285,12 @@ $(function () {
processDefId: "obj_fb1c7a54b98b412187388c8bab407362",
},
success: function (r) {
window.open(r.data.url);
if(r.result == "error"){
$.simpleAlert(r.msg, "error");
}else{
window.open(r.data.url);
}
},
error: function (r) {
}