From 3c75ba788897a524771bfde12feddcc94aaf14c6 Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期二, 22 四月 2025 11:26:02 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiXinLaiRui/LunDuiYa

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/basicinfo/extend/routerview.vue |   96 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 96 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basicinfo/extend/routerview.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basicinfo/extend/routerview.vue"
new file mode 100644
index 0000000..7ad2ff8
--- /dev/null
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/basicinfo/extend/routerview.vue"
@@ -0,0 +1,96 @@
+<template>
+  <div>
+    <vol-box
+      v-model="showDetialBox"
+      :lazy="true"
+      width="1200px"
+      :padding="15"
+      title="瀹屾暣璺敱鏌ョ湅"
+    >
+      <div
+        style="margin-bottom: 1%"
+        v-for="(item, index) in routerDatas"
+        :key="index"
+      >
+        <el-row>
+          <el-col>
+            <div
+              class="grid-content right-text"
+              style="font-weight: bold; font-size: 18px"
+            >
+              <span>{{ item.type == "Out" ? "鍑哄簱璺敱" : "鍏ュ簱璺敱" }}</span>
+            </div>
+          </el-col>
+        </el-row>
+        <el-steps :active="item.routes.length" align-center simple>
+          <el-step
+            v-for="itemRouter in item.routes"
+            :key="itemRouter"
+            :title="itemRouter"
+            icon=""
+          ></el-step>
+        </el-steps>
+      </div>
+    </vol-box>
+  </div>
+</template>
+  
+  <script>
+import VolBox from "@/components/basic/VolBox.vue";
+export default {
+  components: { VolBox },
+  data() {
+    return {
+      active: 0,
+      showDetialBox: false,
+      routerDatas: [],
+    };
+  },
+  methods: {
+    open() {
+      this.showDetialBox = true;
+      this.getData();
+    },
+    getData() {
+      this.http.post("/api/Router/GetAllWholeRouters", {}, true).then((x) => {
+        if (!x.status) return this.$message.error(x.message);
+        this.routerDatas = x.data;
+      });
+    },
+  },
+  created() {},
+};
+</script>
+  
+  <style scoped>
+.el-col {
+  border-radius: 4px;
+}
+.grid-content {
+  border-radius: 4px;
+  min-height: 36px;
+}
+.content-text {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+.left-text {
+  display: flex;
+  align-items: center;
+  justify-content: flex-start;
+}
+</style>
+  <style>
+.el-table .warning-row {
+  background: #fcf1e2;
+}
+
+.el-table .success-row {
+  background: #f0f9eb;
+}
+
+.el-table .error-row {
+  background: #fde2e2;
+}
+</style>
\ No newline at end of file

--
Gitblit v1.9.3