xuhy
2023-05-06 fae2db5e86b4e15ee0336739925328e88d25021a
management/guns-admin/src/main/webapp/static/modular/system/tDriver/tDriverException.js
@@ -155,6 +155,17 @@
 * 提交启用冻结
 */
TDriverException.updateStatus = function () {
    var status = $("#status").val();
    if(status == 1 && ($("#stopRemark").val() == '' || $("#stopRemark").val() == null)){
        Feng.info("请输入冻结理由!")
        return;
    }
    if(status == 2 && ($("#startRemark").val() == '' || $("#startRemark").val() == null)){
        Feng.info("请输入解冻理由!")
        return;
    }
    var ajax = new $ax(Feng.ctxPath + "/tDriver/update-status", function (data) {
        Feng.success("修改成功!");
        TDriverInfoDlg.closeException();