#
luxiaotao1123
2020-06-19 3393a0cd1bd57f3b8085f52567ef2ab243dbea95
src/main/webapp/views/console.html
@@ -638,7 +638,7 @@
    // 系统运行开关
    function systemSwitch() {
        if (top.systemRunning){
        if (systemRunning){
            layer.prompt({title: '请输入口令,并停止 WCS 系统', formType: 1,   shadeClose: true}, function(pass, idx){
                layer.close(idx);
                doSwitch(0, pass); // 停止wcs系统
@@ -669,11 +669,11 @@
                    if (res.data.status) {
                        $('#system-icon').attr("class", "system-icon-open");
                        $('#system-run-desc').html("系统运行中...");
                        top.systemRunning = true;
                        systemRunning = true;
                    } else {
                        $('#system-icon').attr("class", "system-icon-close");
                        $('#system-run-desc').html("系统已停止!");
                        top.systemRunning = false;
                        systemRunning = false;
                    }
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/login";
@@ -696,11 +696,11 @@
                    if (res.data.status) {
                        $('#system-icon').attr("class", "system-icon-open");
                        $('#system-run-desc').html("系统运行中...");
                        top.systemRunning = true;
                        systemRunning = true;
                    } else {
                        $('#system-icon').attr("class", "system-icon-close");
                        $('#system-run-desc').html("系统已停止!");
                        top.systemRunning = false;
                        systemRunning = false;
                    }
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/login";