From 5845950aa395da1a1f56a5fff4c80358cf4b5f7f Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 16 五月 2023 21:03:56 +0800
Subject: [PATCH] 新增引用码段下的参照配置界面,代码整合

---
 Source/UBCS-WEB/src/views/modeling/classifyTree.vue |  101 +++++++++++++++++++++++++++++---------------------
 1 files changed, 58 insertions(+), 43 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/modeling/classifyTree.vue b/Source/UBCS-WEB/src/views/modeling/classifyTree.vue
index 5463246..761a794 100644
--- a/Source/UBCS-WEB/src/views/modeling/classifyTree.vue
+++ b/Source/UBCS-WEB/src/views/modeling/classifyTree.vue
@@ -5,58 +5,36 @@
 </template>
 
 <script>
+
 export default {
   name: "classifyTree.vue",
   //浣跨敤provide浼犻�掔粰瀛愮粍浠�
   //鐖朵紶瀛愭湁闂锛屾殏鏃舵病瑙e喅锛岀敤provide浠f浛鐖朵紶瀛愶紝瀛愪紶鐖惰繕鏄敤$emit浼犻�掞紝娉ㄦ剰锛侊紒锛佸叾浠栫粍浠朵笉鑳戒娇鐢ㄥ悓鏍风殑绫诲悕鍚﹀垯浼氭姤閿欍��
   provide() {
     return {
-      Treeoption: {
-        multiple: true,
-        formslot: true,
-        defaultExpandAll: true,
-        formOption: {
-          labelWidth: 100,
-          column: [{
-            label: '鑷畾涔夐」',
-            prop: 'label'
-          }],
-        }
-      },
-      Treedata: [
-        {
-          value: 0,
-          label: '涓�绾ч儴闂�',
-          children: [
-            {
-              value: 1,
-              label: '涓�绾ч儴闂�1',
-            }, {
-              value: 2,
-              label: '涓�绾ч儴闂�2',
-            }
-          ]
-        }, {
-          value: 3,
-          label: '浜岀骇閮ㄩ棬',
-          children: [
-            {
-              value: 4,
-              label: '浜岀骇閮ㄩ棬1',
-            }, {
-              value: 5,
-              label: '浜岀骇閮ㄩ棬2',
-            }
-          ]
-        }
-      ],
       crudTreeOption: {
         index: true,
         border: true,
         column: [
           {
-            label: "娴嬭瘯1",
-            prop: "cash"
+            label: "妯℃澘缂栧彿",
+            prop: "id"
+          },
+          {
+            label:"妯℃澘鍚嶇О",
+            prop:"name"
+          },
+          {
+            label: "妯℃澘鎻忚堪",
+            prop:"description"
+          },
+          {
+            label:"鐗堟湰鍙�",
+            prop:"revisionSeq"
+          },
+          {
+            label:"鐘舵��",
+            prop:"lcStatusText"
           }
         ]
       },
@@ -85,12 +63,49 @@
           ]
         }
       ],
-
+      arr : [
+        {
+          name: 'Alice',
+          age: 30,
+          children: [
+            {
+              name: 'Bob',
+              age: 5,
+              toys: [
+                {
+                  name: 'ball',
+                  color: 'red'
+                },
+                {
+                  name: 'doll',
+                  color: 'blue'
+                }
+              ]
+            },
+            {
+              name: 'Charlie',
+              age: 3,
+              toys: [
+                {
+                  name: 'car',
+                  color: 'green'
+                },
+                {
+                  name: 'train',
+                  color: 'yellow'
+                }
+              ]
+            }
+          ]
+        },]
     }
   },
   created() {
+
   },
-  methods: {}
+  methods: {
+
+  }
 }
 </script>
 

--
Gitblit v1.9.3