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/views/basicinfo/router.vue |  265 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 265 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/basicinfo/router.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/basicinfo/router.vue"
new file mode 100644
index 0000000..319e35e
--- /dev/null
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/views/basicinfo/router.vue"
@@ -0,0 +1,265 @@
+
+<template>
+  <view-grid
+    ref="grid"
+    :columns="columns"
+    :detail="detail"
+    :editFormFields="editFormFields"
+    :editFormOptions="editFormOptions"
+    :searchFormFields="searchFormFields"
+    :searchFormOptions="searchFormOptions"
+    :table="table"
+    :extend="extend"
+  >
+  </view-grid>
+</template>
+    <script>
+import extend from "@/extension/basicinfo/router.js";
+import { ref, defineComponent } from "vue";
+export default defineComponent({
+  setup() {
+    const table = ref({
+      key: "id",
+      footer: "Foots",
+      cnName: "璺敱閰嶇疆淇℃伅",
+      name: "router",
+      url: "/Router/",
+      sortName: "createDate",
+    });
+    const editFormFields = ref({
+      // name: "",
+      // jobGroup: "",
+      // assemblyName: "",
+      // className: "",
+      // intervalSecond: "",
+      // beginTime: "",
+      // endTime: "",
+      // remark: "",
+    });
+    const editFormOptions = ref([
+      // [
+      //   {
+      //     title: "浠诲姟鍚嶇О",
+      //     required: true,
+      //     field: "name",
+      //     type: "string",
+      //   },
+      //   {
+      //     title: "浠诲姟鍒嗙粍",
+      //     required: true,
+      //     field: "jobGroup",
+      //     type: "select",
+      //     dataKey: "deviceType",
+      //     data: [],
+      //   },
+      //   {
+      //     title: "绋嬪簭闆嗗悕绉�",
+      //     required: true,
+      //     field: "assemblyName",
+      //     type: "string",
+      //     type: "select",
+      //     dataKey: "jobAssembly",
+      //     data: [],
+      //   },
+      //   {
+      //     title: "浠诲姟鎵�鍦ㄧ被",
+      //     required: true,
+      //     field: "className",
+      //     type: "string",
+      //     type: "select",
+      //     dataKey: "jobClassName",
+      //     data: [],
+      //   },
+      // ],
+      // [
+      //   {
+      //     title: "闂撮殧鏃堕棿",
+      //     required: true,
+      //     field: "intervalSecond",
+      //     type: "number",
+      //   },
+      //   {
+      //     title: "寮�濮嬫椂闂�",
+      //     field: "beginTime",
+      //     type: "datetime",
+      //   },
+      //   {
+      //     title: "缁撴潫鏃堕棿",
+      //     field: "endTime",
+      //     type: "datetime",
+      //   },
+      //   {
+      //     title: "澶囨敞",
+      //     field: "remark",
+      //     type: "string",
+      //   },
+      // ],
+    ]);
+    const searchFormFields = ref({
+      startPosi: "",
+      nextPosi: "",
+      // assemblyName: "",
+      // className: "",
+    });
+    const searchFormOptions = ref([
+      [
+        {
+          title: "璧风偣浣嶇疆",
+          field: "startPosi",
+          type: "like",
+        },
+        {
+          title: "缁堢偣浣嶇疆",
+          field: "nextPosi",
+          type: "like",
+        },
+        //   {
+        //     title: "绋嬪簭闆嗗悕绉�",
+        //     field: "assemblyName",
+        //     type: "like",
+        //   },
+        //   {
+        //     title: "浠诲姟鎵�鍦ㄧ被",
+        //     field: "className",
+        //     type: "like",
+        //   },
+      ],
+    ]);
+    const columns = ref([
+      {
+        field: "id",
+        title: "Id",
+        type: "int",
+        width: 90,
+        hidden: true,
+        readonly: true,
+        require: true,
+        align: "left",
+      },
+      {
+        field: "startPosi",
+        title: "璧风偣浣嶇疆",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "nextPosi",
+        title: "缁堢偣浣嶇疆",
+        type: "string",
+        width: 180,
+        align: "left",
+      },
+      {
+        field: "inOutType",
+        title: "璺敱绫诲瀷",
+        type: "string",
+        width: 180,
+        align: "left",
+      },
+      {
+        field: "childPosi",
+        title: "瀛愪綅缃�",
+        type: "string",
+        width: 200,
+        align: "left",
+      },
+      {
+        field: "childPosiDeviceCode",
+        title: "瀛愪綅缃墍灞炶澶�",
+        type: "string",
+        width: 120,
+        align: "left",
+      },
+      {
+        field: "srmRow",
+        title: "鍫嗗灈鏈哄彇璐�/鏀捐揣琛�",
+        type: "int",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "srmColumn",
+        title: "鍫嗗灈鏈哄彇璐�/鏀捐揣鍒�",
+        type: "int",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "srmLayer",
+        title: "鍫嗗灈鏈哄彇璐�/鏀捐揣灞�",
+        type: "int",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "depth",
+        title: "娣卞害",
+        type: "int",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "isEnd",
+        title: "鏄惁鏄渶缁堢偣",
+        type: "bool",
+        width: 150,
+        align: "left",
+      },
+      {
+        field: "creater",
+        title: "鍒涘缓浜�",
+        type: "string",
+        width: 90,
+        align: "left",
+      },
+      {
+        field: "createDate",
+        title: "鍒涘缓鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+      },
+      {
+        field: "modifier",
+        title: "淇敼浜�",
+        type: "string",
+        width: 100,
+        align: "left",
+      },
+      {
+        field: "modifyDate",
+        title: "淇敼鏃堕棿",
+        type: "datetime",
+        width: 160,
+        align: "left",
+      },
+      {
+        field: "remark",
+        title: "澶囨敞",
+        type: "string",
+        width: 100,
+        align: "left",
+      },
+    ]);
+    const detail = ref({
+      cnName: "",
+      table: "",
+      columns: [],
+      sortName: "",
+      key: "",
+    });
+    return {
+      table,
+      extend,
+      editFormFields,
+      editFormOptions,
+      searchFormFields,
+      searchFormOptions,
+      columns,
+      detail,
+    };
+  },
+});
+</script>
+    
\ No newline at end of file

--
Gitblit v1.9.3