1
zhang
昨天 10ac21082bbbe92dabecdda1a98fe4539f746037
zy-asc-conveyor/src/main/webapp/views/pipeline.html
@@ -786,7 +786,8 @@
                            <th>重量信号</th>
                            <th>空满信号</th>
                            <th>目标站</th>
                            <th>高低信号</th>
                            <th>可放/可取</th>
<!--                            <th>高低信号</th>-->
                        </tr>
                        </thead>
                        <tbody>
@@ -842,6 +843,7 @@
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" id="save">保存</button>
                    <button type="button" class="btn btn-secondary" id="clear">清除</button>
                    <button type="button" class="btn btn-secondary" id="safe">补充安全信号</button>
                    <button type="button" class="btn btn-secondary" id="cancel">取消</button>
                </div>
            </div>
@@ -990,7 +992,7 @@
                    <td>${site.weight || '--'}</td>
                    <td>${site.emptyMk || '--'}</td>
                    <td>${site.staNo || '--'}</td>
                    <td>${site.locType1 || '--'}</td>
                    <td>${site.allow || '--'}</td>
                </tr>
            `;
        }
@@ -1081,8 +1083,7 @@
            http.post(`${baseUrl}/site/detl/update`, {
                siteId: $('#siteId').val(),
                workNo: $('#workNo').val(),
                staNo: $('#staNo').val(),
                pakMk: $('#pakMk').val()
                staNo: $('#staNo').val()
            }, (res) => {
                showSuccessMessage("修改成功");
                setTimeout(() => {
@@ -1097,6 +1098,18 @@
            $('#staNo').val(0);
        });
        // 补充安全信号
        $(document).on('click', '#safe', function () {
            http.post(`${baseUrl}/site/detl/safe`, {
                siteId: $('#siteId').val()
            }, (res) => {
                showSuccessMessage("补充成功");
                setTimeout(() => {
                    closeModal();
                }, 1500);
            });
        });
        // 取消站点信息修改
        $(document).on('click', '#cancel', function () {
            closeModal();