| | |
| | | <!-- <span> </span>--> |
| | | <input id="crn1" disabled="disabled"> |
| | | </div> |
| | | <div class="crn-command-item"> |
| | | <label>2#</label> |
| | | <button id="demoBtn-2" class="demoBtn" onclick="demoSwitch(this.id)">演示</button> |
| | | <!-- <span> </span>--> |
| | | <input id="crn2" disabled="disabled"> |
| | | </div> |
| | | </div> |
| | | <!-- 堆垛机状态位信息 --> |
| | | <div class="crn-state"> |
| | |
| | | crnOutputDom.scrollTop = crnOutputDom.scrollHeight; |
| | | } |
| | | |
| | | // function demoSwitch(el) { |
| | | // var crnId = el.split("-")[1]; |
| | | // layer.prompt({title: '请输入口令,并开始'+crnId+"号堆垛机演示", formType: 1, shadeClose: true}, function (pass, idx) { |
| | | // layer.close(idx); |
| | | // doDemo(crnId, pass); // 停止wcs系统 |
| | | // }); |
| | | // } |
| | | |
| | | function demoSwitch(el) { |
| | | var crnId = el.split("-")[1]; |
| | | layer.prompt({title: '请输入口令,并开始'+crnId+"号堆垛机演示", formType: 1, shadeClose: true}, function (pass, idx) { |
| | | layer.close(idx); |
| | | doDemo(crnId, pass); // 停止wcs系统 |
| | | layer.confirm(crnId + ' 号堆垛机确定开始演示吗?', function(){ |
| | | doDemo(crnId, 'root'); // 停止wcs系统 |
| | | }); |
| | | } |
| | | |