From 46efe691b7c3446b7419e9e270dc4cc8e51c082f Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 12 一月 2024 08:20:09 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/model/MatDto.java | 23 + src/main/webapp/h5/index.html | 2 src/main/java/com/zy/core/thread/LedThread.java | 376 --------------------------------- src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | 85 ++----- src/main/java/com/zy/asrs/controller/MonitorController.java | 8 src/main/webapp/h5/static/js/pages-home-home.d3a1b468.js | 1 src/main/webapp/static/js/console.map.js | 78 +++--- src/main/java/com/zy/core/model/command/LedCommand.java | 2 src/main/webapp/h5/static/js/index.30a93d9a.js | 1 src/main/resources/application.yml | 32 +- src/main/webapp/h5/static/js/pages-test-test.1a751597.js | 1 11 files changed, 115 insertions(+), 494 deletions(-) diff --git a/src/main/java/com/zy/asrs/controller/MonitorController.java b/src/main/java/com/zy/asrs/controller/MonitorController.java index 8392aa9..ca784bb 100644 --- a/src/main/java/com/zy/asrs/controller/MonitorController.java +++ b/src/main/java/com/zy/asrs/controller/MonitorController.java @@ -340,13 +340,7 @@ } } - // 鑾峰彇杈撻�佺嚎plc绾跨▼ - LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, ledId); - if (Cools.isEmpty(ledThread)) { - return R.ok(); - } - String ledContent = ledThread.getStringBuffer().toString(); // ledContent = "ask鐨勬ā鍧楄惃婊″ぇ绠椾簡钀ㄦ弧澶т簡\n 鏄獦澧冨埌鍩冨強鍡插鍡瞈n 钀ㄨ揪濮嗘墦寮�钀ㄦ弧澶у嚡鎾掗害褰撳姵钀ㄦ弧澶ц�佸笀"; return R.ok( @@ -358,8 +352,6 @@ .add("yDistance", Arith.multiplys(1, Math.abs(yDistance), 1)) // 绱鍗囬檷璺濈km .add("xDuration", Arith.multiplys(1, Math.abs(xDuration), 1)) // 绱璧拌鏃堕暱h .add("yDuration", Arith.multiplys(1, Math.abs(yDuration), 1)) // 绱鍗囬檷鏃堕暱h - .add("isShow", !Cools.isEmpty(ledContent)) // 鏄惁鏄剧ず鍐呭 - .add("content", ledContent) // 鏄剧ず鍐呭 ); } diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java index a4acf12..4f9a94a 100644 --- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java @@ -162,6 +162,7 @@ continue; } staProtocol.setWorkNo(wrkNo); + News.info("{}鍏ュ簱鍥為��锛歿}锛屼换鍔″彿锛歿}", inSta.getStaNo(), errMsg,wrkNo); wrkNo++; staProtocol.setStaNo(inSta.getBackSta().shortValue()); devpThread.setPakMk(staProtocol.getSiteId(), false); @@ -1097,7 +1098,7 @@ for (WrkMast wrkMast : wrkMasts) { CrnSlave.CrnStn crnStn = null; for (CrnSlave.CrnStn crnStn1 : slave.getCrnOutStn()) { - if (crnStn1.getStaNo() == wrkMast.getSourceStaNo()) { + if (wrkMast.getSourceStaNo().equals(crnStn1.getStaNo())) { crnStn = crnStn1; break; } else { @@ -1808,15 +1809,24 @@ ledCommand.setBarcode(wrkMast.getBarcode()); if (wrkMast.getIoType() != 110) { List<WrkDetl> wrkDetls = wrkDetlService.findByWorkNo(wrkMast.getWrkNo()); + wrkDetls.forEach(wrkDetl -> { + Double total = 0.0; + EntityWrapper<LocDetl> wrapper = new EntityWrapper<>(); + LocDetl locDetl = locDetlService.selectOne(wrapper.eq("zpallet", wrkDetl.getZpallet()).eq("matnr", wrkDetl.getMatnr())); + if (Cools.isEmpty(locDetl)) { + total = wrkDetl.getAnfme(); + } else { + total = locDetl.getAnfme(); + } if (wrkMast.getIoType() == 101) { - ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme())); + ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getBatch(), wrkDetl.getSpecs(), wrkDetl.getManu(), wrkDetl.getMemo(), wrkDetl.getAnfme(),total)); } if (wrkMast.getIoType() == 103 && (null == wrkDetl.getInspect() || 0 == wrkDetl.getInspect())) { - ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme())); + ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getBatch(), wrkDetl.getSpecs(), wrkDetl.getManu(), wrkDetl.getMemo(), wrkDetl.getAnfme(),total)); } if (wrkMast.getIoType() == 107) { - ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme())); + ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getBatch(), wrkDetl.getSpecs(), wrkDetl.getManu(), wrkDetl.getMemo(), wrkDetl.getAnfme(),total)); } }); } @@ -1831,7 +1841,6 @@ } // 鍛戒护涓嬪彂 ------------------------------------------------------------------------------- if (!commands.isEmpty()) { - if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(1, commands))) { News.error("{}鍙稬ED鍛戒护涓嬪彂澶辫触锛侊紒锛乕ip锛歿}] [port锛歿}]", led.getId(), led.getIp(), led.getPort()); continue; @@ -1855,6 +1864,7 @@ e.printStackTrace(); TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); } + } } @@ -1862,33 +1872,6 @@ * 鍏朵粬 ===>> LED鏄剧ず鍣ㄥ浣嶏紝鏄剧ず榛樿淇℃伅 */ public synchronized void ledReset() { -// for (LedSlave led : slaveProperties.getLed()) { -// // 鑾峰彇杈撻�佺嚎plc绾跨▼ -// DevpThread devpThread = (DevpThread) SlaveConnection.get(SlaveType.Devp, led.getDevpPlcId()); -// // 鍛戒护闆嗗悎 -// boolean reset = true; -// for (Integer staNo : led.getStaArr()) { -// // 鑾峰彇鍙夎溅绔欑偣 -// StaProtocol staProtocol = devpThread.getStation().get(staNo); -// if (staProtocol == null) { -// continue; -// } else { -// staProtocol = staProtocol.clone(); -// } -// if (staProtocol.getWorkNo() != 0) { -// reset = false; -// break; -// } -// } -// // 鑾峰彇led绾跨▼ -// LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, led.getDevpPlcId()); -// // led鏄剧ず榛樿鍐呭 -// if (reset) { -// if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(2, new ArrayList<>()))) { -// News.error("{}鍙稬ED鍛戒护涓嬪彂澶辫触锛侊紒锛乕ip锛歿}] [port锛歿}]", led.getId(), led.getIp(), led.getPort()); -// } -// } -// } for (LedSlave led : slaveProperties.getLed()) { // 鑾峰彇杈撻�佺嚎plc绾跨▼ DevpThread devpThread = (DevpThread) SlaveConnection.get(SlaveType.Devp, led.getDevpPlcId()); @@ -1897,34 +1880,24 @@ for (Integer staNo : led.getStaArr()) { // 鑾峰彇鍙夎溅绔欑偣 StaProtocol staProtocol = devpThread.getStation().get(staNo); - if (staProtocol == null) { - continue; - } - if (staProtocol.getWorkNo() != 0 && staProtocol.isLoading()) { + if (staProtocol == null) { continue; } + if (staProtocol.getWorkNo() != 0) { reset = false; break; } } -// // 鑾峰彇led绾跨▼ -// LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, led.getId()); -// // led鏄剧ず榛樿鍐呭 -// if (reset && !ledThread.isLedMk()) { -// if (led.getId() == 7) { -// ledThread.setLedMk(true); -// if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(4, new ArrayList<>()))) { -// News.error("{}鍙稬ED鍛戒护涓嬪彂澶辫触锛侊紒锛乕ip锛歿}] [port锛歿}]", led.getId(), led.getIp(), led.getPort()); -// } else { -// -// } -// } else { -// ledThread.setLedMk(true); -// if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(2, new ArrayList<>()))) { -// News.error("{}鍙稬ED鍛戒护涓嬪彂澶辫触锛侊紒锛乕ip锛歿}] [port锛歿}]", led.getId(), led.getIp(), led.getPort()); -// } else { -// -// } -// } -// } + // 鑾峰彇led绾跨▼ + LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, led.getDevpPlcId()); + // led鏄剧ず榛樿鍐呭 + if (reset) { + if (ledThread == null) { + continue; + } + ledThread.errorReset(); + if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(2, new ArrayList<>()))) { + News.error("{}鍙稬ED鍛戒护涓嬪彂澶辫触锛侊紒锛乕ip锛歿}] [port锛歿}]", led.getId(), led.getIp(), led.getPort()); + } + } } } diff --git a/src/main/java/com/zy/common/model/MatDto.java b/src/main/java/com/zy/common/model/MatDto.java index e5b625b..8276cc0 100644 --- a/src/main/java/com/zy/common/model/MatDto.java +++ b/src/main/java/com/zy/common/model/MatDto.java @@ -9,20 +9,37 @@ public class MatDto { // 鐗╂枡缂栧彿 - private String matNo; + private String matnr; // 鐗╂枡鍚嶇О private String maknx; + private String batch; + + private String specs; + + // 瀹㈡埛淇℃伅 + private String manu; + + // 澶囨敞 + private String memo; + // 鐗╂枡鏁伴噺 private Double count; + + private Double total; public MatDto() { } - public MatDto(String matNo, String maknx, Double count) { - this.matNo = matNo; + public MatDto(String matnr, String maknx, String batch, String specs, String manu, String memo, Double count, Double total) { + this.matnr = matnr; this.maknx = maknx; + this.batch = batch; + this.specs = specs; + this.manu = manu; + this.memo = memo; this.count = count; + this.total = total; } } diff --git a/src/main/java/com/zy/core/model/command/LedCommand.java b/src/main/java/com/zy/core/model/command/LedCommand.java index 9dacbad..63e1283 100644 --- a/src/main/java/com/zy/core/model/command/LedCommand.java +++ b/src/main/java/com/zy/core/model/command/LedCommand.java @@ -46,7 +46,7 @@ if (!this.emptyMk){ for (MatDto matDto : matDtos) { - s.append("[鍟嗗搧缂栫爜:" + matDto.getMatNo() + ", 鏁伴噺:" + matDto.getCount() + "]\n"); + s.append("[鍟嗗搧缂栫爜:" + matDto.getMatnr() + ", 鏁伴噺:" + matDto.getCount() + "]\n"); } } diff --git a/src/main/java/com/zy/core/thread/LedThread.java b/src/main/java/com/zy/core/thread/LedThread.java index c272ffb..f7805c9 100644 --- a/src/main/java/com/zy/core/thread/LedThread.java +++ b/src/main/java/com/zy/core/thread/LedThread.java @@ -1,10 +1,6 @@ package com.zy.core.thread; -import com.alibaba.fastjson.JSON; -import com.core.common.Cools; -import com.zy.common.entity.Parameter; import com.zy.common.model.MatDto; -import com.zy.common.utils.News; import com.zy.core.Slave; import com.zy.core.ThreadHandler; import com.zy.core.cache.MessageQueue; @@ -13,17 +9,7 @@ import com.zy.core.model.command.LedCommand; import lombok.Data; import lombok.extern.slf4j.Slf4j; -import onbon.bx05.Bx5GEnv; -import onbon.bx05.Bx5GException; -import onbon.bx05.Bx5GScreen; -import onbon.bx05.Bx5GScreenClient; -import onbon.bx05.area.TextCaptionBxArea; -import onbon.bx05.area.page.TextBxPage; -import onbon.bx05.file.ProgramBxFile; -import onbon.bx05.message.led.ReturnControllerStatus; -import onbon.bx05.utils.DisplayStyleFactory; -import java.awt.*; import java.util.HashSet; import java.util.List; import java.util.Set; @@ -36,13 +22,7 @@ public class LedThread implements Runnable, ThreadHandler { private Slave slave; - private Bx5GScreenClient screen; - ProgramBxFile pf; - TextCaptionBxArea area; - DisplayStyleFactory.DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyleFactory.DisplayStyle[0]); private Set<Integer> workNos = new HashSet<>(); - private boolean ledMk = false; - private boolean resetStatus = false; // 澶嶄綅鐘舵�� // 鏄剧ず鍣� private StringBuffer stringBuffer = new StringBuffer(); @@ -52,20 +32,12 @@ public LedThread(Slave slave) { this.slave = slave; - try { -// Bx5GEnv.initial(3000); -// screen = new Bx5GScreenClient("my"); - } catch (Exception e) { - e.printStackTrace(); - News.info("led杩炴帴鏋勯�犲櫒閿欒 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort()); - } } @Override @SuppressWarnings({"InfiniteLoopStatement", "unchecked"}) public void run() { // connect(); - close(); while (true) { try { Task task = MessageQueue.poll(SlaveType.Led, slave.getId()); @@ -79,133 +51,24 @@ case 2: reset(); break; - // 鍐欐暟鎹� 娑叉櫠 case 3: - error((String)task.getData()); - break; - // 澶嶄綅 娑叉櫠 - case 4: - reset7(); - break; - case 5: error((String) task.getData()); break; - case 6: + case 4: errorReset(); break; - case 7: - write7((List<LedCommand>) task.getData()); default: break; } } - - Thread.sleep(400); + Thread.sleep(1000); } catch (Exception e) { e.printStackTrace(); } } } - private void write(List<LedCommand> list) throws Bx5GException { - if (!connect()) { - return; - } - pf = new ProgramBxFile( 0, screen.getProfile()); - pf.setFrameShow(false); - // 鍒嗗埆杈撳叆X锛孻锛寃idth锛宧eight - area = new TextCaptionBxArea( 0,0,96,48, screen.getProfile()); - // 鍒涘缓涓�涓暟鎹〉 - TextBxPage page = new TextBxPage(); - for (LedCommand command : list) { - page.newLine(command.getTitle() +"锛�"+command.getWorkNo()+")"); - page.newLine("搴撲綅锛�"+ (command.getIoType() < 100 ? command.getLocNo() : command.getSourceLocNo())); - page.newLine("鐩爣绔欙細"+command.getStaNo()); - if (!command.isEmptyMk()) { - for (MatDto matDto : command.getMatDtos()) { - //鍘绘帀灏忔暟鐐� - String strQty = matDto.getCount().toString(); - int idx = strQty.lastIndexOf("."); - if(idx >= 0){ - strQty.substring(0,idx); - } - page.newLine(matDto.getMaknx() + "[鏁伴噺" + strQty +"]"); -// page.newLine(matDto.getMaknx() + "銆愭暟閲�" + matDto.getCount() +"銆�"); - } - } - page.newLine("\n"); - } - - // 璁剧疆瀛椾綋 - page.setFont(new Font("瀹嬩綋",Font.PLAIN,12)); - // 璁剧疆鏂囨湰棰滆壊 - page.setForeground(Color.red); - // 璁剧疆鏄剧ず鐗规妧涓哄揩閫熸墦鍑� - page.setDisplayStyle(styles[6]); - area.clearPages(); - area.addPage(page); - pf.addArea(area); - if (pf.validate() != null) { - News.info("pf out of range"); - } else { - // 鏇存柊鑺傜洰 - screen.writeProgram(pf); -// resetStatus = false; - } - close(); - } - - private void reset() throws Bx5GException { - if (!connect()) { - return; - } -// if (resetStatus) { -// return; -// } - pf = new ProgramBxFile( 0, screen.getProfile()); - pf.setFrameShow(false); - // 鍒嗗埆杈撳叆X锛孻锛寃idth锛宧eight - area = new TextCaptionBxArea( 0,0,96,48, screen.getProfile()); - // 鍒涘缓涓�涓暟鎹〉 - TextBxPage page = new TextBxPage(); - -// List<String> list = null; -// try { -// String ledDefaultMsg = Parameter.get().getLedDefaultMsg(); -// list = JSON.parseArray(ledDefaultMsg, String.class); -// } catch (Exception ignore) { -// } -// if (!Cools.isEmpty(list)) { -// for (String str : list) { -// page.newLine(str); -// } -// } else { -// page.newLine("鑷姩鍖栫珛浣撲粨搴�"); -// page.newLine("瑗挎牸杩堣偂浠芥湁闄愬叕鍙�"); -// } - page.newLine("鍔涙簮鏅鸿兘浠撳偍"); - - // 璁剧疆瀛椾綋 - page.setFont(new Font("瀹嬩綋",Font.PLAIN,13)); - // 璁剧疆鏂囨湰棰滆壊 - page.setForeground(Color.red); - // 璁剧疆鏄剧ず鐗规妧涓哄揩閫熸墦鍑� - page.setDisplayStyle(styles[6]); - area.clearPages(); - area.addPage(page); - pf.addArea(area); - // 鏇存柊鑺傜洰 - if (pf.validate() != null) { - News.info("pf out of range"); - } else { - // 鏇存柊鑺傜洰 - screen.writeProgram(pf); -// resetStatus = true; - } - close(); - } - private void write7(List<LedCommand> list) { - + private void write(List<LedCommand> list) { commandList = list; StringBuilder sb = new StringBuilder(); @@ -215,8 +78,7 @@ sb.append("鐩爣绔欙細").append(command.getStaNo()).append("\n"); if (!command.isEmptyMk()) { for (MatDto matDto : command.getMatDtos()) { - sb.append("鐗╂枡缂栫爜锛�").append(matDto.getMatNo()).append("\n"); - sb.append("鏁伴噺锛�").append(matDto.getCount()).append("\n"); + sb.append(matDto.getSpecs()).append("-").append(matDto.getBatch()).append("\n"); } } sb.append("\n"); @@ -228,7 +90,7 @@ } - private void reset7() { + private void reset() { commandList = null; stringBuffer.delete(0, stringBuffer.length()); @@ -246,237 +108,11 @@ @Override public boolean connect() { - String methodName = Thread.currentThread().getStackTrace()[1].getMethodName(); - - boolean connRes = false; - try { - connRes = screen.connect(slave.getIp(),slave.getPort()); - screen.turnOn(); - } catch (Exception ignore) { - } - if (connRes) { - News.info(methodName + ":led杩炴帴鎴愬姛 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort()); - } else { - News.error(methodName + ":led杩炴帴澶辫触锛侊紒锛� ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort()); - } - return connRes; + return true; } @Override public void close() { - - } - - public static void main(String[] args) throws Exception { - String strQty = "1234"; - int index = strQty.lastIndexOf("."); - if(index>=0) { - strQty=strQty.substring(0, index); - } - System.out.println("2==>>"+strQty); - - Bx5GEnv.initial(3000); - Bx5GScreenClient screen = new Bx5GScreenClient("my"); - DisplayStyleFactory.DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyleFactory.DisplayStyle[0]); - if (!screen.connect("192.168.10.101",5005)) { - System.err.println("杩炴帴澶辫触锛侊紒锛侊紒"); - return; - } - screen.turnOn(); - - - while (true) { - Thread.sleep(5000L); - - ProgramBxFile pf = new ProgramBxFile( 0, screen.getProfile()); - pf.setFrameShow(false); - // 鍒嗗埆杈撳叆X锛孻锛寃idth锛宧eigth - TextCaptionBxArea area = new TextCaptionBxArea( 0,0,192,96,screen.getProfile()); - - // 鍒涘缓涓�涓暟鎹〉 - // 绗竴琛屾暟鎹� - TextBxPage page = new TextBxPage("鍑哄簱浠诲姟锛�303锛�"); - page.newLine("婧愬簱浣嶏細0100204"); - page.newLine("鐩爣绔欙細1000"); - // 璁剧疆瀛椾綋 - page.setFont( new Font("瀹嬩綋",Font.PLAIN,15)); - // 璁剧疆鏂囨湰棰滆壊 - page.setForeground(Color.red); - // 璁剧疆鏄剧ず鐗规妧涓哄揩閫熸墦鍑� - page.setDisplayStyle(styles[6]); - area.clearPages(); - area.addPage(page); - pf.addArea( area ); - - // 鏇存柊鑺傜洰 - // 鏇存柊鑺傜洰 - if (pf.validate() != null) { - System.out.println("pf out of range"); - News.info("pf out of range"); - } else { - // 鏇存柊鑺傜洰 - screen.writeProgram(pf); - } - } - - // 缁у紑涓庢帶鍒跺櫒涔嬮棿鐨勯摼鎺� -// screen.disconnect(); - } - - public static void main1(String[] args) throws Exception { - Bx5GEnv.initial(3000); - // 鍒涘缓screen瀵硅薄锛岀敤浜庡鎺у埗鍣ㄨ繘琛岃闂紝瀹㈡埛绔ā寮� - Bx5GScreenClient screen = new Bx5GScreenClient("my"); - // 鍒涘缓screen瀵硅薄锛岀敤浜庡鎺у埗鍣ㄨ繘琛岃闂紝涓插彛妯″紡 - // Bx5GScreenRS screen = new Bx5GScreenRS("MyScreen"); - - // 鍦ㄥ鎺у埗鍣ㄤ氦浜掍箣鍓嶏紝闇�瑕佸厛涓庢帶鍒跺櫒寤虹珛杩炴帴 - boolean conn = screen.connect("192.168.10.61",5005); - System.out.println(conn); - // 涓庢帶鍒跺櫒浜や簰瀹屾垚鍚庯紝闇�鏂紑涓庢帶鍒跺櫒涔嬮棿鐨勮繛鎺� -// screen.disconnect(); - - // 浠ヤ笅涓轰竴浜涚畝鍗曟帶鍒跺懡浠ょ殑浣跨敤鏂规硶 - // 寮�鍏虫満鍛戒护 -// screen.turnOff();// 鍏虫満 - screen.turnOn();// 寮�鏈� -// screen.syncTime();// 鏍℃椂 -// screen.ping();// ping鍛戒护 -// // 鏌ヨ鎺у埗鍣ㄧ姸鎬� -// screen.checkControllerStatus(); -// // 鏌ヨ鎺у埗鍣ㄥ綋鍓嶅浐浠剁増鏈� -// screen.checkFirmware(); -// // 鏌ヨ鎺у埗鍣ㄥ唴瀛� -// screen.checkMemVolumes(); -// // 閿佸畾灞忓箷褰撳墠鐢婚潰 -// screen.lock(); -// // 瑙i櫎閿佸畾灞忓箷褰撳墠鐢婚潰 -// screen.unlock(); - - Bx5GScreen.Result <ReturnControllerStatus> result1 = - screen.checkControllerStatus(); - if (result1.isOK()) - { - ReturnControllerStatus status = result1.reply; - System.out.println(status.getBrightness()); - System.out.println(status.getRtcDay()); - System.out.println(status.getScreenOnOff()); - // - // status 杩樻湁寰堝鍏朵粬鎺ュ彛锛屽彲浠ユ牴鎹疄闄呴渶姹傚啀娆¤皟鐢ㄤ互鑾峰彇鐩稿簲鐘舵�� - } - -// - // 浠ヤ笅鏄潤鎬佸尯閮ㄥ垎 Demo - - // 鍒涘缓鑺傜洰鏂囦欢 - ProgramBxFile pf = new ProgramBxFile( 0,screen.getProfile() ); -// 鏄惁鏄剧ず鑺傜洰杈规 - pf.setFrameShow(true); -// 鑺傜洰杈规鐨勭Щ鍔ㄩ�熷害 - pf.setFrameSpeed(20); -// 浣跨敤绗嚑涓唴缃竟妗� - pf.loadFrameImage(13); - - DisplayStyleFactory.DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyleFactory.DisplayStyle[0]); -// 鍒涘缓涓�涓枃鏈尯 - // 鍒嗗埆杈撳叆X锛孻锛寃idth锛宧eigth - // 娉ㄦ剰鍖哄煙鍧愭爣鍜屽搴﹂珮搴︼紝涓嶈瓒婄晫 - TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,64,screen.getProfile() ); - - // 鍒涘缓涓�涓暟鎹〉 - // 绗竴琛屾暟鎹� - TextBxPage page = new TextBxPage("鍏ュ簱"); - // 绗簩琛屾暟鎹� - page.newLine( "鐗╂枡锛�" ); - page.newLine("鎺ユ敹鍣� RX18 XH 6V 锛堟暟閲忥細2锛�"); - page.newLine("涓帶 BM钃濈墮 鑻辨枃 6V 锛堟暟閲忥細1锛�"); - page.newLine("绾挎潫 S2588-1-XX 鏃犲疄鐗╋紙鏁伴噺锛�5锛�"); - page.newLine("鐩爣搴撲綅锛�0100204"); - // 璁剧疆瀛椾綋 - page.setFont( new Font("瀹嬩綋",Font.PLAIN,12) ); - // 璁剧疆鏄剧ず鐗规妧涓哄揩閫熸墦鍑� - page.setDisplayStyle( styles[2] ); - - // 鏁版嵁椤靛彲浠ユ槸鍥剧墖 -// ImageFileBxPage iPage = new ImageFileBxPage( "E;a/001.bmp" ); -// -// // 鏁版嵁椤靛彲浠ユ槸txt鏂囦欢 -// TextFileBxPage tPage = new TextFileBxPage("E:a/001.txt"); - - // 灏嗗墠闈㈢殑page娣诲姞鍒癮rea涓� area涓彲浠ユ坊鍔犲涓猵age 鍏朵腑page鍙互鏄瓧绗︿覆锛屽彲浠ユ槸txt鏂囦欢锛屽彲浠ユ槸鍥剧墖锛屼笉鍙互鏄〃鏍硷紝濡傛灉闇�瑕丩ed灞忎笂鏄剧ず琛ㄦ牸锛岃鍏堝皢琛ㄦ牸缁樺埗鎴愬浘鐗� - area.addPage( page ); -// area.addPage( iPage ); -// area.addPage( tPage ); - // 灏哸rea娣诲姞鍒拌妭鐩腑 鑺傜洰涓彲浠ユ坊鍔犲涓猘rea - pf.addArea( area ); - - // 鏇存柊鑺傜洰 - screen.writeProgram( pf ); - - - - - - - - - - - // - // 浠ヤ笅鏄姩鎬佸尯閮ㄥ垎 Demo - // 鍔ㄦ�佸尯鐨勭壒鐐� - - // DynamicBxAreaRule(id, runMode, immediatePlay, timeout) - // runMode 杩愯妯″紡锛� - // 0锛氬惊鐜樉绀恒�� - // 1锛氭樉绀哄畬鎴愬悗闈欐鏄剧ず鏈�鍚庝竴椤垫暟鎹�� - // 2锛氬惊鐜樉绀猴紝瓒呰繃璁惧畾鏃堕棿鍚庢暟鎹粛鏈洿鏂版椂涓嶅啀鏄剧ず銆� - // 3锛氬惊鐜樉绀猴紝瓒呰繃璁惧畾鏃堕棿鍚庢暟鎹粛鏈洿鏂版椂鏄剧ず Logo 淇℃伅銆� - // 4锛氬惊鐜樉绀猴紝鏄剧ず瀹屾渶鍚庝竴椤靛悗灏变笉鍐嶆樉绀恒�� - // immediatePlay 鏄惁绔嬪嵆鎾斁锛� - // 0锛氫笌寮傛鑺傜洰涓�璧锋挱鏀俱�� - // 1锛氬紓姝ヨ妭鐩仠姝㈡挱鏀撅紝浠呮挱鏀惧姩鎬佸尯鍩熴�� - // 2锛氬綋鎾斁瀹岃妭鐩紪鍙锋渶楂樼殑寮傛鑺傜洰鍚庢挱鏀捐鍔ㄦ�佸尯鍩熴�� - - // - // 瀹氫箟涓�涓姩鎬佸尯 - // 鍙互閫氳繃ID鏉ユ洿鏂颁笉鍚岀殑鍔ㄦ�佸尯鍐呭, 姝ゅ ID 涓� 0 -// DynamicBxAreaRule dynRule = new DynamicBxAreaRule(0, (byte) 0, (byte) 1, 0); - //dArea.addProgram("P000"); - //dArea.addProgram("P001"); - -// int posX = 440; -// int posY = 4; -// TextCaptionBxArea dAreaContent = new TextCaptionBxArea(posX, posY, 64, 16, screen.getProfile()); -// TextBxPage page = new TextBxPage("鍔ㄦ�佺涓�娆″皾璇�"); -// page.setDisplayStyle(DisplayStyleFactory.getStyle(4)); -// dAreaContent.addPage(page); -// -// // 鍙戦�佸姩鎬佸尯涔嬪墠锛屽鏋滈渶瑕佸垹闄や箣鍓嶇殑鍔ㄦ�佸尯锛屽彲浠ヨ皟鐢ㄤ互涓嬫帴鍙� -// // 閫氬父濡傛灉鍔ㄦ�佸尯鐨勪綅缃垨澶у皬娌℃湁鍙戠敓鏀瑰彉锛屼笉鐢ㄥ垹闄� -// screen.deleteAllDynamic(); -// -// // 鏇存柊鍔ㄦ�佸尯 -// screen.writeDynamic(dynRule, dAreaContent); -// Thread.sleep(15000); -// -// // -// // 涓嬮潰妯℃嫙鍐嶆鏇存柊鍔ㄦ�佸尯 -// page = new TextBxPage("鍐嶆灏濊瘯"); -// TextBxPage page2 = new TextBxPage("鎴愬姛"); -// -// dAreaContent.clearPages(); -// dAreaContent.addPage(page); -// dAreaContent.addPage(page2); -// -// // 鏇存柊鍔ㄦ�佸尯 -// screen.writeDynamic(dynRule, dAreaContent); - - // - // 缁у紑涓庢帶鍒跺櫒涔嬮棿鐨勯摼鎺� - screen.disconnect(); - - } } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 5186676..283e5d2 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -423,63 +423,63 @@ # LED1 led[0]: id: 1 - ip: 10.10.10.81 + ip: 10.10.10.11 port: 5005 devpPlcId: ${wcs-slave.devp[0].id} staArr: 100 # LED2 led[1]: id: 2 - ip: 10.10.10.202 + ip: 10.10.10.12 port: 5005 devpPlcId: ${wcs-slave.devp[0].id} staArr: 102 # LED3 led[2]: - id: 1 - ip: 10.10.10.81 + id: 3 + ip: 10.10.10.13 port: 5005 devpPlcId: ${wcs-slave.devp[0].id} staArr: 104 # LED4 led[3]: - id: 2 - ip: 10.10.10.202 + id: 4 + ip: 10.10.10.14 port: 5005 devpPlcId: ${wcs-slave.devp[1].id} staArr: 200 # LED5 led[4]: - id: 1 - ip: 10.10.10.81 + id: 5 + ip: 10.10.10.15 port: 5005 devpPlcId: ${wcs-slave.devp[1].id} staArr: 202 # LED6 led[5]: - id: 2 - ip: 10.10.10.202 + id: 6 + ip: 10.10.10.16 port: 5005 devpPlcId: ${wcs-slave.devp[1].id} staArr: 204 # LED7 led[6]: - id: 1 - ip: 10.10.10.81 + id: 7 + ip: 10.10.10.17 port: 5005 devpPlcId: ${wcs-slave.devp[2].id} staArr: 300 # LED8 led[7]: - id: 2 - ip: 10.10.10.202 + id: 8 + ip: 10.10.10.18 port: 5005 devpPlcId: ${wcs-slave.devp[2].id} staArr: 302 # LED9 led[8]: - id: 1 - ip: 10.10.10.81 + id: 9 + ip: 10.10.10.17 port: 5005 devpPlcId: ${wcs-slave.devp[2].id} staArr: 304 diff --git a/src/main/webapp/h5/index.html b/src/main/webapp/h5/index.html index abc400b..e0825f3 100644 --- a/src/main/webapp/h5/index.html +++ b/src/main/webapp/h5/index.html @@ -1,2 +1,2 @@ <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>Monitor-APP</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) - document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.59968a66.js></script><script src=./static/js/index.da60b755.js></script></body></html> \ No newline at end of file + document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.59968a66.js></script><script src=./static/js/index.30a93d9a.js></script></body></html> \ No newline at end of file diff --git a/src/main/webapp/h5/static/js/index.30a93d9a.js b/src/main/webapp/h5/static/js/index.30a93d9a.js new file mode 100644 index 0000000..ff0056b --- /dev/null +++ b/src/main/webapp/h5/static/js/index.30a93d9a.js @@ -0,0 +1 @@ +(function(n){function e(e){for(var t,r,u=e[0],s=e[1],c=e[2],p=0,l=[];p<u.length;p++)r=u[p],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&l.push(i[r][0]),i[r]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(n[t]=s[t]);d&&d(e);while(l.length)l.shift()();return a.push.apply(a,c||[]),o()}function o(){for(var n,e=0;e<a.length;e++){for(var o=a[e],t=!0,u=1;u<o.length;u++){var s=o[u];0!==i[s]&&(t=!1)}t&&(a.splice(e--,1),n=r(r.s=o[0]))}return n}var t={},i={index:0},a=[];function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.e=function(n){var e=[],o=i[n];if(0!==o)if(o)e.push(o[2]);else{var t=new Promise((function(e,t){o=i[n]=[e,t]}));e.push(o[2]=t);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.src=function(n){return r.p+"static/js/"+({"pages-home-home~pages-index-index":"pages-home-home~pages-index-index","pages-home-home":"pages-home-home","pages-index-index":"pages-index-index","pages-index":"pages-index","pages-index-monitor":"pages-index-monitor","pages-test-test":"pages-test-test"}[n]||n)+"."+{"pages-home-home~pages-index-index":"a563cfa8","pages-home-home":"d3a1b468","pages-index-index":"3bd687c2","pages-index":"e825a13a","pages-index-monitor":"42c280e3","pages-test-test":"1a751597"}[n]+".js"}(n);var s=new Error;a=function(e){u.onerror=u.onload=null,clearTimeout(c);var o=i[n];if(0!==o){if(o){var t=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src;s.message="Loading chunk "+n+" failed.\n("+t+": "+a+")",s.name="ChunkLoadError",s.type=t,s.request=a,o[1](s)}i[n]=void 0}};var c=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(e)},r.m=n,r.c=t,r.d=function(n,e,o){r.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:o})},r.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,e){if(1&e&&(n=r(n)),8&e)return n;if(4&e&&"object"===typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var t in n)r.d(o,t,function(e){return n[e]}.bind(null,t));return o},r.n=function(n){var e=n&&n.__esModule?function(){return n["default"]}:function(){return n};return r.d(e,"a",e),e},r.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r.p="./",r.oe=function(n){throw console.error(n),n};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],s=u.push.bind(u);u.push=e,u=u.slice();for(var c=0;c<u.length;c++)e(u[c]);var d=s;a.push([0,"chunk-vendors"]),o()})({0:function(n,e,o){n.exports=o("bfc5")},"219d":function(n,e,o){"use strict";o.r(e);var t=o("6c7d"),i=o.n(t);for(var a in t)["default"].indexOf(a)<0&&function(n){o.d(e,n,(function(){return t[n]}))}(a);e["default"]=i.a},4923:function(n,e,o){"use strict";(function(n){var e=o("4ea4").default;o("13d5"),o("d3b7"),o("ddb0"),o("ac1f"),o("5319");var t=e(o("e143")),i={keys:function(){return[]}};n["____CA903B7____"]=!0,delete n["____CA903B7____"],n.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"}},n.__uniConfig.compilerVersion="3.8.12",n.__uniConfig.darkmode=!1,n.__uniConfig.themeConfig={},n.__uniConfig.uniPlatform="h5",n.__uniConfig.appId="__UNI__CA903B7",n.__uniConfig.appName="Monitor-APP",n.__uniConfig.appVersion="1.0.1",n.__uniConfig.appVersionCode="100",n.__uniConfig.router={mode:"hash",base:"./"},n.__uniConfig.publicPath="./",n.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},n.__uniConfig.debug=!1,n.__uniConfig.networkTimeout={request:3e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.__uniConfig.sdkConfigs={},n.__uniConfig.qqMapKey=void 0,n.__uniConfig.googleMapKey=void 0,n.__uniConfig.aMapKey=void 0,n.__uniConfig.aMapSecurityJsCode=void 0,n.__uniConfig.aMapServiceHost=void 0,n.__uniConfig.locale="",n.__uniConfig.fallbackLocale=void 0,n.__uniConfig.locales=i.keys().reduce((function(n,e){var o=e.replace(/\.\/(uni-app.)?(.*).json/,"$2"),t=i(e);return Object.assign(n[o]||(n[o]={}),t.common||t),n}),{}),n.__uniConfig.nvue={"flex-direction":"column"},n.__uniConfig.__webpack_chunk_load__=o.e,t.default.component("pages-home-home",(function(n){var e={component:Promise.all([o.e("pages-home-home~pages-index-index"),o.e("pages-home-home")]).then(function(){return n(o("5caa"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-test-test",(function(n){var e={component:o.e("pages-test-test").then(function(){return n(o("52c7"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-index",(function(n){var e={component:o.e("pages-index").then(function(){return n(o("ed73"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-index-index",(function(n){var e={component:Promise.all([o.e("pages-home-home~pages-index-index"),o.e("pages-index-index")]).then(function(){return n(o("aad2"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-index-monitor",(function(n){var e={component:o.e("pages-index-monitor").then(function(){return n(o("715b"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),n.__uniRoutes=[{path:"/",alias:"/pages/home/home",component:{render:function(n){return n("Page",{props:Object.assign({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-home-home",{slot:"page"})])}},meta:{id:1,name:"pages-home-home",isNVue:!1,maxWidth:0,pagePath:"pages/home/home",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/test/test",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-test-test",{slot:"page"})])}},meta:{name:"pages-test-test",isNVue:!1,maxWidth:0,pagePath:"pages/test/test",windowTop:0}},{path:"/pages/index",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-index",{slot:"page"})])}},meta:{name:"pages-index",isNVue:!1,maxWidth:0,pagePath:"pages/index",windowTop:0}},{path:"/pages/index/index",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-index-index",{slot:"page"})])}},meta:{name:"pages-index-index",isNVue:!1,maxWidth:0,pagePath:"pages/index/index",windowTop:0}},{path:"/pages/index/monitor",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[n("pages-index-monitor",{slot:"page"})])}},meta:{name:"pages-index-monitor",isNVue:!1,maxWidth:0,pagePath:"pages/index/monitor",windowTop:0}},{path:"/choose-location",component:{render:function(n){return n("Page",{props:{navigationStyle:"custom"}},[n("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(n){return n("Page",{props:{navigationStyle:"custom"}},[n("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],n.UniApp&&new n.UniApp}).call(this,o("c8ba"))},"6c7d":function(n,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};e.default=t},"799e":function(n,e,o){"use strict";var t=o("af77"),i=o.n(t);i.a},"8e14":function(n,e,o){var t=o("24fb");e=t(!1),e.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*姣忎釜椤甸潰鍏叡css */",""]),n.exports=e},"9c3e":function(n,e,o){"use strict";o.r(e);var t=o("ef1c"),i=o("219d");for(var a in i)["default"].indexOf(a)<0&&function(n){o.d(e,n,(function(){return i[n]}))}(a);o("799e");var r=o("f0c5"),u=Object(r["a"])(i["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],void 0);e["default"]=u.exports},af77:function(n,e,o){var t=o("8e14");t.__esModule&&(t=t.default),"string"===typeof t&&(t=[[n.i,t,""]]),t.locals&&(n.exports=t.locals);var i=o("4f06").default;i("5e05cc02",t,!0,{sourceMap:!1,shadowMode:!1})},bfc5:function(n,e,o){"use strict";var t=o("4ea4").default,i=t(o("5530"));o("e260"),o("e6cf"),o("cca6"),o("a79d"),o("4923"),o("1c31");var a=t(o("9c3e")),r=t(o("e143"));r.default.config.productionTip=!1,r.default.prototype.baseHttp="http://",a.default.mpType="app";var u=new r.default((0,i.default)({},a.default));u.$mount()},ef1c:function(n,e,o){"use strict";o.d(e,"b",(function(){return t})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var t=function(){var n=this.$createElement,e=this._self._c||n;return e("App",{attrs:{keepAliveInclude:this.keepAliveInclude}})},i=[]}}); \ No newline at end of file diff --git a/src/main/webapp/h5/static/js/pages-home-home.d3a1b468.js b/src/main/webapp/h5/static/js/pages-home-home.d3a1b468.js new file mode 100644 index 0000000..d109bd8 --- /dev/null +++ b/src/main/webapp/h5/static/js/pages-home-home.d3a1b468.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-home-home"],{"14a5":function(t,n,e){"use strict";e.r(n);var i=e("cbda"),r=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=r.a},1690:function(t,n,e){"use strict";e.r(n);var i=e("f732"),r=e("14a5");for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);e("d6ea");var s=e("f0c5"),o=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"71f2edbe",null,!1,i["a"],void 0);n["default"]=o.exports},"4e53":function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("e9c4");i(e("f887"));var r=i(e("6bf8")),a={data:function(){return{series:[],homeViewShow:!0,infoViewShow:!1,errorInfoViewShow:!1,homeMode:[],infoMode:[],errorInfoMode:[],baseInfo:{xDistance:1,yDistance:2,xDuration:3,yDuration:4,usedPr:50,used:3537,stockCount:"",emptyCount:"",noneCount:""},chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},duration:1e3,calendar:"",ringOpts:{},chartsDataLine1:{},chartsDataPie2:{},fontSize:"",height:"",showCharts:!1,ejectShow:!1,baseIP:"",basePort:"",baseLedId:"",baseCrnId:"",baseUrl:"",info:null,error:null,infoType:0,text:"",infoText:{title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",error:"",barcode:""},swiperList:[],timeOut:!1,times:0,currDate:""}},onShow:function(){},mounted:function(){var t=uni.getStorageSync("BaseIp"),n=uni.getStorageSync("BaseLedId"),e=uni.getStorageSync("BasePort"),i=uni.getStorageSync("BaseCrnId"),r=uni.getStorageSync("UPROJ");this.baseUrl=r,this.baseIP=t,this.baseLedId=n,this.basePort=e,this.baseCrnId=i},onLoad:function(){var t=this;setInterval((function(){t.getServerData(),t.initlineChart(),t.initPieChart(),t.getOther(),t.getDate2(),t.getInfo(),t.getError(),t.getUrl(),t.controller()}),1e3)},methods:{timeOut:function(){console.log(this.times)},getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+"/"+this.baseUrl},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},getInfo2:function(){var t=r.default.dataInfo2,n=t.data;if(n.data&&""!==n.data){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===n.data[0].ioType?this.infoText.title="鍏ㄦ澘鍑哄簱":103===n.data[0].ioType?this.infoText.title="妫�鏂欏嚭搴�":107===n.data[0].ioType?this.infoText.title="鐩樼偣鍑哄簱":1===n.data[0].ioType?this.infoText.title="鍏ュ簱":10===n.data[0].ioType?this.infoText.title="绌烘墭鍏ュ簱":110===n.data[0].ioType&&(this.infoText.title="绌烘墭鍑哄簱"),this.infoText.barcode=n.data[0].barcode,this.infoText.workNo=n.data[0].workNo,this.infoText.sourceLocNo=n.data[0].sourceLocNo,this.infoText.staNo=n.data[0].staNo,this.swiperList=n.data[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},getError2:function(){var t=r.default.dataError2,n=t.data;if(n.data&&""!==n.data){var e=n.data;if(1==this.infoType)return this.infoType=3,this.infoText.title="鍏朵粬淇℃伅",void(this.infoText.error=e);this.infoType=2,this.infoText.title="鍏朵粬淇℃伅",this.infoText.error=e}else{if(1==this.infoType)return;this.infoType=0}},getInfo:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led",method:"GET",data:{ledId:t.baseLedId},success:function(n){t.timeOut=!1,t.times=0;var e=n.data;if(e.data&&""!==e.data){if(2==t.infoType||3==t.infoType)return;t.infoType=1,101===e.data[0].ioType?t.infoText.title="鍏ㄦ澘鍑哄簱":103===e.data[0].ioType?t.infoText.title="妫�鏂欏嚭搴�":107===e.data[0].ioType?t.infoText.title="鐩樼偣鍑哄簱":1===e.data[0].ioType?t.infoText.title="鍏ュ簱":10===e.data[0].ioType?t.infoText.title="绌烘墭鍏ュ簱":110===e.data[0].ioType&&(t.infoText.title="绌烘墭鍑哄簱"),t.infoText.barcode=e.data[0].barcode,t.infoText.workNo=e.data[0].workNo,t.infoText.sourceLocNo=e.data[0].sourceLocNo,t.infoText.staNo=e.data[0].staNo,t.swiperList=e.data[0].matDtos}else{if(2==t.infoType||3==t.infoType)return;t.infoType=0}},fail:function(n){t.timeOut=!0,t.times=t.times+3,t.infoType=0}})},getError:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led/error",data:{ledId:t.baseLedId},method:"GET",success:function(n){t.timeOut=!1,t.times=0;var e=n.data;if(console.log(e),e.data&&""!==e.data){var i=e.data;if(1==t.infoType)return t.infoType=3,t.infoText.title="鍏朵粬淇℃伅",void(t.infoText.error=i);t.infoType=2,t.infoText.title="鍏朵粬淇℃伅",t.infoText.error=i}else{if(1==t.infoType)return;t.infoType=0}},fail:function(n){t.timeOut=!0,t.infoType=0}})},controller:function(){var t=this;switch(this.infoType){case 0:return void(this.errorInfoViewShow?(this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),1e3)):this.infoViewShow?(this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),1e3)):this.errorInfoViewShow&&this.infoViewShow&&(this.errorInfoViewShow=!1,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),1e3)));case 1:return void(this.homeViewShow?(this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"]}),1e3)):this.errorInfoViewShow&&(this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"]}),1e3)));case 2:return void(this.homeViewShow?(this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)):this.infoViewShow&&(this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)));case 3:return void(this.homeViewShow?(this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)):this.infoViewShow&&(this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)))}},handle:function(t){this.homeViewShow=!this.homeViewShow,this.modeClass=t},handle1:function(t){this.infoViewShow=!this.infoViewShow,this.modeClass=t},handle2:function(t){this.errorInfoViewShow=!this.errorInfoViewShow,this.modeClass=t},ejected:function(){this.ejectShow=!0},ejectClose:function(){this.ejectShow=!1},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),uni.setStorageSync("UPROJ",this.baseUrl),this.getUrl(),this.ejectShow=!1},getDate2:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/date",method:"GET",success:function(n){var e=n.data.data;t.calendar=e.year+"骞�"+e.month+"鏈�"+e.day+"鏃� "+e.hour+":"+e.minute+":"+e.second+" "+e.week,t.currDate=e.year+"/"+e.month+"/"+e.day}})},getDate:function(){var t,n,e,i,r,a,s,o=new Date;switch(t=o.getFullYear(),n=o.getMonth()+1<10?"0"+(o.getMonth()+1):o.getMonth()+1,e=o.getDate()<10?"0"+o.getDate():o.getDate(),i=o.getHours()<10?"0"+o.getHours():o.getHours(),r=o.getMinutes()<10?"0"+o.getMinutes():o.getMinutes(),a=o.getSeconds()<10?"0"+o.getSeconds():o.getSeconds(),s=o.getDay(),s){case 0:s="鏄熸湡鏃�";break;case 1:s="鏄熸湡涓�";break;case 2:s="鏄熸湡浜�";break;case 3:s="鏄熸湡涓�";break;case 4:s="鏄熸湡鍥�";break;case 5:s="鏄熸湡浜�";break;default:s="鏄熸湡鍏�"}this.calendar=t+"骞�"+n+"鏈�"+e+"鏃� "+i+":"+r+":"+a+" "+s},getDateFormat:function(t){var n=new Date(this.currDate);n.setDate(n.getDate()+t);var e=n.getMonth()+1,i=n.getDate(),r=e+"-"+i;return r},initlineChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/line/charts",method:"GET",success:function(n){var e=n.data;200===e.code&&(t.chartsData.Line.categories=[t.getDateFormat(-11),t.getDateFormat(-10),t.getDateFormat(-9),t.getDateFormat(-8),t.getDateFormat(-7),t.getDateFormat(-6),t.getDateFormat(-5),t.getDateFormat(-4),t.getDateFormat(-3),t.getDateFormat(-2),t.getDateFormat(-1),t.getDateFormat(0)],t.chartsData.Line.series=e.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(n){var e=n.data;200===e.code&&(t.chartsData.Pie.series[0].data=e.data.pie,t.baseInfo.stockCount=e.data.stockCunt,t.baseInfo.emptyCount=e.data.emptyCount,t.baseInfo.noneCount=e.data.noneCount,t.baseInfo.used=e.data.used,t.baseInfo.usedPr=e.data.usedPr)}})},getOther:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/other",data:{crnId:t.baseCrnId,ledId:t.baseLedId},success:function(n){var e=n.data;200===e.code?(t.baseInfo.xDistance=e.data.xDistance,t.baseInfo.yDistance=e.data.yDistance,t.baseInfo.xDuration=e.data.xDuration,t.baseInfo.yDuration=e.data.yDuration):e.code}})}}};n.default=a},"5caa":function(t,n,e){"use strict";e.r(n);var i=e("7d6c"),r=e("eabc");for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);e("a278");var s=e("f0c5"),o=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"048fa192",null,!1,i["a"],void 0);n["default"]=o.exports},"7d6c":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var i={uniTransition:e("9b17").default,yBox:e("1690").default,qiunDataCharts:e("1f58").default},r=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"container"},[i("uni-transition",{attrs:{duration:t.duration,"mode-class":t.homeMode,show:t.homeViewShow}},[i("v-uni-view",{staticClass:"home-view"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",[t._v("鑷姩浠撳簱WCS鐩戞帶骞冲彴")])],1),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.calendar))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"main"},[i("v-uni-view",{staticClass:"mian-item"},[i("v-uni-view",{staticClass:"mian-item-box"},[i("y-box",[i("v-uni-view",{staticClass:"box-item"},[i("v-uni-text",{staticClass:"item-title"},[t._v("鑷姩鍖栫珛浣撲粨搴�")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("Automatic Storageand Retrieval System")]),i("v-uni-text",{staticClass:"item-text",staticStyle:{"text-align":"left"}},[t._v("鍒╃敤绔嬩綋浠撳簱璁惧鍙疄鐜颁粨搴撻珮灞傚悎鐞嗗寲銆佸瓨鍙栬嚜鍔ㄥ寲銆佹搷浣滅畝渚垮寲锛涜嚜鍔ㄥ寲绔嬩綋浠撳簱鏄綋鍓嶆妧鏈按骞宠緝楂樼殑褰㈠紡銆傝嚜鍔ㄥ寲绔嬩綋浠撳簱鐨勪富浣撶敱璐ф灦銆佸贩閬撳紡鍫嗗灈璧烽噸鏈恒�佸叆锛堝嚭锛夊簱宸ヤ綔鍙板拰鑷姩杩愯繘锛堝嚭锛夊強鎿嶄綔鎺у埗绯荤粺缁勬垚銆傝揣鏋舵槸閽㈢粨鏋勬垨閽㈢瓔娣峰嚌鍦熺粨鏋勭殑寤虹瓚鐗╂垨缁撴瀯浣擄紝璐ф灦鍐呮槸鏍囧噯灏哄鐨勮揣浣嶇┖闂达紝宸烽亾鍫嗗灈璧烽噸鏈虹┛琛屼簬璐ф灦涔嬮棿鐨勫贩閬撲腑锛屽畬鎴愬瓨銆佸彇璐х殑宸ヤ綔銆傜鐞嗕笂閲囩敤璁$畻鏈哄強鏉″舰鐮佹妧鏈��")])],1),i("v-uni-view",{staticClass:"box-item"},[i("v-uni-text",{staticClass:"item-title"},[t._v("浠撳簱鏁版嵁")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("warehouse data")]),i("v-uni-view",{staticClass:"img-box"},[i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("7be7"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{width:"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.xDistance))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("KM")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("绱璧拌璺濈(鍗冪背)")])],1)],1),i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("feb8"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{width:"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.yDistance))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("KM")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("绱鍗囬檷璺濈(鍗冪背)")])],1)],1),i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("00ce"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{"-width":"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.xDuration))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("H")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("绱璧拌鏃堕暱(灏忔椂)")])],1)],1),i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("05a1"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{width:"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.yDuration))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("H")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("绱鍗囬檷鏃堕暱(灏忔椂)")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"box-item"},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-start","justify-content":"flex-start"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("搴撲綅浣跨敤鐜�")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),i("v-uni-view",{staticStyle:{"margin-left":"auto"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-end","justify-content":"flex-end"}},[i("v-uni-text",{staticClass:"item-title"},[t._v(t._s(t.baseInfo.usedPr)+"%")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("鍚屾瘮涓婃湀 + 5%")])],1)],1)],1),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"100%","align-items":"flex-start",position:"relative","font-size":"1vw"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%",position:"relative","margin-top":"5%"}},[i("v-uni-view",{staticClass:"progressBar",staticStyle:{width:"80%",height:"2vw"}},[i("v-uni-view",{staticClass:"progress",style:"width:"+t.baseInfo.usedPr+"%"})],1),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",right:"0","font-size":"2.5vw",color:"#FF5722"}},[t._v(t._s(t.baseInfo.used))])],1)],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"mian-item"},[i("v-uni-view",{staticClass:"mian-item-box"},[i("v-uni-view",{staticStyle:{width:"100%",height:"100%"}},[i("v-uni-view",{staticStyle:{height:"35%"}},[i("y-box",[i("v-uni-view",{staticClass:"box-item"},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-start","justify-content":"flex-start"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("鍏ュ嚭搴撶粺璁�")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("ORDER STATISTICS")])],1),i("v-uni-view",{staticStyle:{"margin-left":"auto"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-end","justify-content":"flex-end"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("31")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("浠婃棩璁㈠崟鏁�")])],1)],1)],1),i("v-uni-view",{staticClass:"charts-box"},[i("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0}})],1)],1)],1)],1),i("v-uni-view",{staticStyle:{height:"2%"}}),i("v-uni-view",{staticStyle:{height:"43%"}},[i("y-box",[i("v-uni-view",{staticClass:"box-item"},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-start","justify-content":"flex-start"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("搴撳瓨绫诲瀷")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("INCOME DATE")])],1),i("v-uni-view",{staticStyle:{"margin-left":"auto"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-end","justify-content":"flex-end"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("浠婂ぉ")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("Today")])],1)],1)],1),i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"charts-box-ring"},[i("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0}})],1),i("v-uni-view",[i("v-uni-view",{staticClass:"flex-row sub-info"},[i("v-uni-image",{attrs:{src:e("82fe"),mode:"aspectFit"}}),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"}},[t._v("鍦ㄥ簱")]),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.stockCount))])],1),i("v-uni-view",{staticClass:"flex-row sub-info",staticStyle:{"margin-top":"2vh"}},[i("v-uni-image",{attrs:{src:e("1cd5"),mode:"aspectFit"}}),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"}},[t._v("绌哄簱")]),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.emptyCount))])],1),i("v-uni-view",{staticClass:"flex-row sub-info",staticStyle:{"margin-top":"2vh"}},[i("v-uni-image",{attrs:{src:e("b64b0"),mode:"aspectFit"}}),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"}},[t._v("閿佸畾")]),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.noneCount))])],1)],1)],1)],1)],1)],1),i("v-uni-view",{staticStyle:{height:"2%"}}),i("v-uni-view",{staticStyle:{height:"18%"}},[i("y-box",[i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"100%",height:"100%","font-size":"4vh","justify-content":"center","letter-spacing":"1vh"}},[t._v("鑷姩浠撳簱WCS鐩戞帶骞冲彴")])],1)],1)],1)],1)],1)],1)],1)],1),i("uni-transition",{attrs:{duration:t.duration,"mode-class":t.infoMode,show:t.infoViewShow}},[i("v-uni-view",{staticClass:"home-view"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",[t._v(t._s(t.infoText.title))])],1),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.calendar))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"info-main"},[i("v-uni-view",{staticClass:"info-box"},[i("y-box",[i("v-uni-view",{staticClass:"text-content"},[i("v-uni-view",{staticClass:"swiper-head"},[i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("鎵樼洏鐮�: "+t._s(t.infoText.barcode))]),i("v-uni-view",{staticStyle:{width:"20%"}},[t._v("宸ヤ綔鍙�: "+t._s(t.infoText.workNo))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("婧愬簱浣�: "+t._s(t.infoText.sourceLocNo))]),i("v-uni-view",{staticStyle:{width:"20%"}},[t._v("鐩爣绔�: "+t._s(t.infoText.staNo))])],1),i("v-uni-view",{staticClass:"swiper-body"},[i("v-uni-swiper",{staticClass:"swiper-body-main",attrs:{vertical:"true","display-multiple-items":"3",circular:"true",autoplay:!0,interval:3e3,duration:2e3}},t._l(t.swiperList,(function(n,e){return i("v-uni-swiper-item",{key:e,staticClass:"swiper-item"},[i("v-uni-view",{staticStyle:{width:"30%"}},[t._v(t._s(e+1)+" / "+t._s(t.swiperList.length))]),i("v-uni-view",{staticStyle:{width:"40%"}},[t._v("鍚嶇О: "+t._s(n.maknx))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("瀹㈡埛: "+t._s(n.manu))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("鍑哄簱: "+t._s(n.count)+" / 鎬绘暟: "+t._s(n.total))]),i("v-uni-view",{staticStyle:{width:"40%"}},[t._v("瑙勬牸: "+t._s(n.specs))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("澶囨敞: "+t._s(n.memo))])],1)})),1)],1)],1)],1)],1)],1)],1)],1),i("uni-transition",{attrs:{duration:t.duration,"mode-class":t.errorInfoMode,show:t.errorInfoViewShow}},[i("v-uni-view",{staticClass:"error-info-view"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",[t._v(t._s(t.infoText.title))])],1),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.calendar))]),i("v-uni-view",{staticClass:"button-left"}),i("v-uni-view",{staticClass:"button-right"}),i("v-uni-view",{staticClass:"info-main"},[i("v-uni-view",{staticClass:"info-box"},[i("y-box",[i("v-uni-view",{staticClass:"info-box-text"},[i("v-uni-view",{staticClass:"flex-col info-box-text-item"},[t._v(t._s(t.infoText.error))])],1)],1)],1)],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.ejectShow,expression:"ejectShow"}],staticClass:"eject-mask"},[i("v-uni-view",{staticClass:"eject"},[i("v-uni-view",{staticClass:"eject-title"},[t._v("淇敼 / 閰嶇疆")]),i("v-uni-scroll-view",{staticClass:"eject-input",attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ip锛�")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseIP,callback:function(n){t.baseIP=n},expression:"baseIP"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("port锛�")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.basePort,callback:function(n){t.basePort=n},expression:"basePort"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ledId锛�")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseLedId,callback:function(n){t.baseLedId=n},expression:"baseLedId"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("CrnId锛�")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseCrnId,callback:function(n){t.baseCrnId=n},expression:"baseCrnId"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("Url锛�")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseUrl,callback:function(n){t.baseUrl=n},expression:"baseUrl"}})],1)],1)],1),i("v-uni-view",{staticClass:"eject-button"},[i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectClose.apply(void 0,arguments)}}},[t._v("鍙� 娑�")]),i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectConfirm.apply(void 0,arguments)}}},[t._v("纭� 璁�")])],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.timeOut,expression:"timeOut"}],staticStyle:{color:"#FFF",position:"fixed",bottom:"10px",left:"10px"}},[t._v("杩炴帴瓒呮椂: "+t._s(t.times)+" s")])],1)},a=[]},"907e":function(t,n,e){var i=e("e688");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=e("4f06").default;r("6acf5f8e",i,!0,{sourceMap:!1,shadowMode:!1})},"9df8":function(t,n,e){var i=e("bbbf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=e("4f06").default;r("5a0018ba",i,!0,{sourceMap:!1,shadowMode:!1})},a278:function(t,n,e){"use strict";var i=e("9df8"),r=e.n(i);r.a},bbbf:function(t,n,e){var i=e("24fb"),r=e("1de5"),a=e("2617"),s=e("88ac");n=i(!1);var o=r(a),l=r(s);n.push([t.i,'\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* @import url("../../static/css/common.css"); */.text-content[data-v-048fa192]{width:100%;height:100%;font-size:%?44?%\r\n\t/* background-color: aliceblue;\t */}.swiper-head[data-v-048fa192]{width:100%;height:10%;background-color:rgba(54,94,226,.5);display:flex;\r\n\t/* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */align-items:center}.swiper-body[data-v-048fa192]{width:100%;height:90%\r\n\t/* background-color: #aa0000; */}.swiper-body-main[data-v-048fa192]{width:100%;height:100%\r\n\t/* background-color: #00a8ff; */}.swiper-item[data-v-048fa192]{display:flex;flex-wrap:wrap;align-items:center;text-align:start;border-bottom:2px solid #000;background-color:rgba(0,0,0,.2)}.swiper-item[data-v-048fa192]:nth-child(2n-1){\r\n\t/* background-color: rgba(255, 255, 255, .1); */}\r\n/* 鍒� */.flex-col[data-v-048fa192]{display:flex;flex-direction:column}\r\n/* 琛� */.flex-row[data-v-048fa192]{display:flex;flex-direction:row}.container[data-v-048fa192]{width:100vw;min-height:100vh;background-color:#00163e;color:#fff;text-align:center}\r\n/* 涓昏鍥� */.home-view[data-v-048fa192]{width:100vw;min-height:100vh;background-image:url('+o+");background-size:100vw 100vh}.home-right[data-v-048fa192]{width:50vw;height:89vh\r\n\t/* background-color: cadetblue; */}.home-right-box[data-v-048fa192]{width:98%;height:98%}.head[data-v-048fa192]{width:100vw;height:11vh;font-size:4vw;font-weight:700;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.7);transform:scale(.7)}.time-tools[data-v-048fa192]{position:absolute;right:2%;top:2%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.button-left[data-v-048fa192]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right[data-v-048fa192]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.img-box[data-v-048fa192]{width:100%;\r\n\t/* background-color: #666666; */display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;font-size:1vw}.item-img[data-v-048fa192]{width:50%;margin-top:5%;display:flex;flex-direction:row;\r\n\t/* background-color: #00ffff; */justify-content:flex-start;align-items:flex-start}.item-img uni-image[data-v-048fa192]{height:5vw;width:5vw}.progressBar[data-v-048fa192]{margin-top:9%;\r\n\t/* width: 100%; */height:20%;background-color:#233751;border-radius:5vw}.progress[data-v-048fa192]{\r\n\t/* width: 90%; */height:100%;background-color:#ff5722;border-radius:5vw}.charts-box[data-v-048fa192]{width:80%;height:24vh;margin-left:10%}.charts-box-ring[data-v-048fa192]{width:50%;height:24vh\r\n\t/* background-color: #00ffff; */}.sub-info[data-v-048fa192]{font-size:1.5vw}.sub-info uni-image[data-v-048fa192]{width:3.5vw;height:3.5vw}\r\n/* 鍏辩敤 */.main[data-v-048fa192]{width:100vw;height:88vh;margin-top:1vh;display:flex}.mian-item[data-v-048fa192]{width:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.mian-item-box[data-v-048fa192]{width:98%;height:98%}.box-item[data-v-048fa192]{width:100%;margin-top:4%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.item-title[data-v-048fa192]{font-size:1.5vw;font-weight:700}.item-subTitle[data-v-048fa192]{font-size:.5vw;text-indent:0}.item-text[data-v-048fa192]{font-size:1vw;text-indent:2em;letter-spacing:1px;line-height:3vh}\r\n/* 鍏ㄦ澘/鎷f枡淇℃伅 */.info-view[data-v-048fa192]{width:100vw;min-height:100vh;background-image:url("+o+");background-size:100vw 100vh}.info-main[data-v-048fa192]{width:100vw;height:88vh;display:flex;justify-content:center;align-items:center}.info-box[data-v-048fa192]{width:98%;height:98%}\r\n/* 寮傚父淇℃伅 */.error-info-view[data-v-048fa192]{width:100vw;min-height:100vh;background-image:url("+o+");background-size:100vw 100vh}\r\n/* 寮瑰嚭:閰嶇疆鍖哄煙 */.eject-mask[data-v-048fa192]{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject[data-v-048fa192]{position:relative;width:40vw;height:40vh;background-color:#fff;border-radius:2rem}.eject-title[data-v-048fa192]{width:100%;height:5vh;line-height:6vh;font-size:3vh;font-weight:700;color:#606266;text-align:center}.eject-input[data-v-048fa192]{margin-top:2vh;height:25vh;\r\n\t/* background-color: #00163E; */::-webkit-scrollbar{display:none}}.item[data-v-048fa192]{display:flex;align-items:center;margin:1vh 0 0 0;font-size:1.5vw;color:#363636}.desc[data-v-048fa192]{display:inline-block;width:40%;text-align:right;color:#606266}.input[data-v-048fa192]{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:3vh;border:.1vh solid #cfd4dc;margin-right:20%;text-align:start}.eject-input uni-input[data-v-048fa192]{width:100%;height:3vh;font-size:1vw}.eject-button[data-v-048fa192]{display:flex;align-items:center;position:absolute;bottom:0;height:6vh;line-height:6vh;width:100%;border-top:1px solid #ccc}.button-item[data-v-048fa192]{width:50%;height:100%;font-size:1.5vw;font-weight:700;text-align:center;color:#909399}.button-item[data-v-048fa192]:last-child{color:#67c23a;border-left:1px solid #ccc}.info-box-text[data-v-048fa192]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.info-box-text-item[data-v-048fa192]{height:20%;font-size:8vh;justify-content:center}",""]),t.exports=n},cbda:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("a9e3");var i={props:{title:{type:[String,Number],default:"鏍囬"}},computed:{titleText:function(){return this.title}},data:function(){return{}}};n.default=i},d6ea:function(t,n,e){"use strict";var i=e("907e"),r=e.n(i);r.a},e688:function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,".box[data-v-71f2edbe]{width:calc(100% - .2vh);height:calc(100% - .2vh);position:relative;border:.1vh solid #145088;display:flex;justify-content:center}.box-main[data-v-71f2edbe]{width:96%;height:100%;\n\t/* background-color: #31c4c4; */display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.box-border[data-v-71f2edbe]{position:absolute;\n\t/* background-color: #4CD964; */width:1.5vh;height:1.5vh}.box-border1[data-v-71f2edbe]{top:0;left:0;border-left:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border2[data-v-71f2edbe]{top:0;right:0;border-right:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border3[data-v-71f2edbe]{bottom:0;left:0;border-bottom:.1vh solid #31c4c4;border-left:.1vh solid #31c4c4}.box-border4[data-v-71f2edbe]{bottom:0;right:0;border-right:.1vh solid #31c4c4;border-bottom:.1vh solid #31c4c4}",""]),t.exports=n},eabc:function(t,n,e){"use strict";e.r(n);var i=e("4e53"),r=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=r.a},f732:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=this._self._c||t;return n("v-uni-view",{staticClass:"box"},[n("v-uni-view",{staticClass:"box-border box-border1"}),n("v-uni-view",{staticClass:"box-border box-border2"}),n("v-uni-view",{staticClass:"box-border box-border3"}),n("v-uni-view",{staticClass:"box-border box-border4"}),n("v-uni-view",{staticClass:"box-main"},[this._t("default")],2)],1)},r=[]}}]); \ No newline at end of file diff --git a/src/main/webapp/h5/static/js/pages-test-test.1a751597.js b/src/main/webapp/h5/static/js/pages-test-test.1a751597.js new file mode 100644 index 0000000..80c39f7 --- /dev/null +++ b/src/main/webapp/h5/static/js/pages-test-test.1a751597.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-test-test"],{"125c":function(t,a,n){var e=n("24fb");a=e(!1),a.push([t.i,".clear[data-v-43b25569]{position:fixed;top:0;left:0;z-index:9999;background:transparent;border:none}.clear[data-v-43b25569]:hover{background:#fff}",""]),t.exports=a},4714:function(t,a,n){var e=n("125c");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var r=n("4f06").default;r("0b24bcfe",e,!0,{sourceMap:!1,shadowMode:!1})},"47ad":function(t,a,n){"use strict";n("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={data:function(){return{data:"",url:"http://10.10.10.120:9090/wcs/h5/index.html"}},onShow:function(){var t=this;uni.getStorage({key:"data",success:function(a){t.data=a.data}})},methods:{setUrl:function(){""!=this.url&&(uni.setStorage({key:"data",data:this.url}),this.data=this.url)},clearUrl:function(){this.data="",this.url="http://10.10.10.120:9090/wcs/h5/index.html",uni.removeStorage({key:"data"})}}};a.default=e},"52c7":function(t,a,n){"use strict";n.r(a);var e=n("f30a"),r=n("9264");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(a,t,(function(){return r[t]}))}(i);n("717a");var u=n("f0c5"),o=Object(u["a"])(r["default"],e["b"],e["c"],!1,null,"43b25569",null,!1,e["a"],void 0);a["default"]=o.exports},"717a":function(t,a,n){"use strict";var e=n("4714"),r=n.n(e);r.a},9264:function(t,a,n){"use strict";n.r(a);var e=n("47ad"),r=n.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){n.d(a,t,(function(){return e[t]}))}(i);a["default"]=r.a},f30a:function(t,a,n){"use strict";n.d(a,"b",(function(){return e})),n.d(a,"c",(function(){return r})),n.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("v-uni-view",[n("v-uni-button",{staticClass:"clear",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.clearUrl.apply(void 0,arguments)}}},[t._v("Clear")]),""!=t.data?n("v-uni-web-view",{attrs:{src:t.data}}):t._e(),""==t.data?n("v-uni-view",{staticStyle:{"margin-top":"100px"}},[n("v-uni-input",{attrs:{type:"text",placeholder:"杈撳叆URL"},model:{value:t.url,callback:function(a){t.url=a},expression:"url"}}),n("v-uni-button",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.setUrl.apply(void 0,arguments)}}},[t._v("璁剧疆")])],1):t._e()],1)},r=[]}}]); \ No newline at end of file diff --git a/src/main/webapp/static/js/console.map.js b/src/main/webapp/static/js/console.map.js index c377ec1..8ea6a2f 100644 --- a/src/main/webapp/static/js/console.map.js +++ b/src/main/webapp/static/js/console.map.js @@ -164,24 +164,24 @@ "id": "site-100", "text": "100", "top": 176, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-102", "text": "102", "top": 237, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-101", "text": "101", "top": 176, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", @@ -189,23 +189,23 @@ "text": "112", "top": 176, "left": 1072, - "width": 65, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-105", "text": "105", "top": 284, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-103", "text": "103", "top": 237, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", @@ -236,8 +236,8 @@ "id": "site-104", "text": "104", "top": 284, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", @@ -277,24 +277,24 @@ "id": "site-200", "text": "200", "top": 176, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-202", "text": "202", "top": 237, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-201", "text": "201", "top": 176, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", @@ -302,23 +302,23 @@ "text": "212", "top": 176, "left": 1072, - "width": 65, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-205", "text": "205", "top": 284, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-203", "text": "203", "top": 237, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", @@ -349,8 +349,8 @@ "id": "site-204", "text": "204", "top": 284, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", @@ -390,24 +390,24 @@ "id": "site-300", "text": "300", "top": 176, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-302", "text": "302", "top": 237, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-301", "text": "301", "top": 176, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", @@ -415,23 +415,23 @@ "text": "312", "top": 176, "left": 1072, - "width": 65, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-305", "text": "305", "top": 284, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", "id": "site-303", "text": "303", "top": 237, - "left": 1138, - "width": 65, + "left": 1154, + "width": 80, "height": 23 }, { "type": "stn", @@ -462,8 +462,8 @@ "id": "site-304", "text": "304", "top": 284, - "left": 1204, - "width": 65, + "left": 1236, + "width": 80, "height": 23 }, { "type": "stn", -- Gitblit v1.9.1