自动化立体仓库 - WCS系统
zjj
2024-03-01 a4ec8a6945091ad596e59092b66df441496092c0
src/main/webapp/views/rgv.html
@@ -102,6 +102,7 @@
<!--                        <th>有物2</th>-->
                        <th>故障代码</th>
                        <th>故障描述</th>
                        <th>锁定状态</th>
                    </tr>
                    </thead>
                    <tbody>
@@ -214,10 +215,11 @@
                        <!--                <button class="item" onclick="reverseOrigin()">反原点</button>-->
                        <!--                <button class="item" onclick="coorMove()">坐标移行</button>-->
                        <button class="item" onclick="taskComplete()">任务完成</button>
                        <button class="item" onclick="lock()">解锁</button>
                        <!--                <button class="item" onclick="pause()">暂停</button>-->
                        <!--                <button class="item" onclick="boot()">启动</button>-->
<!--                        <button class="item" onclick="clearCommand()">清除命令</button>-->
                        <button class="item" onclick="handleReset()">复位</button>
<!--                        <button class="item" onclick="handleReset()">复位</button>-->
                    </div>
                </fieldset>
            </div>
@@ -323,6 +325,7 @@
                        // setVal(tr.children("td").eq(10), table[i-1].loading2);
                        setVal(tr.children("td").eq(8), table[i-1].warnCode);
                        setVal(tr.children("td").eq(9), table[i-1].alarm);
                        setVal(tr.children("td").eq(10), table[i-1].pakMk);
                    }
                } else if (res.code === 403){
                    window.location.href = baseUrl+"/login";
@@ -454,6 +457,12 @@
        });
    }
    function lock() {
        http.post(baseUrl+"/rgv/lock", getReqParam(), function (res) {
            layer.msg(res.msg);
        });
    }
    // 暂停
    function pause() {
        http.post(baseUrl+"/rgv/operator/pause", getReqParam(), function (res) {