Pārlūkot izejas kodu

修改业务空间创建未将本地名称代入问题

haojianlong 4 gadi atpakaļ
vecāks
revīzija
edd9558c47

+ 2 - 2
src/components/business_space/newGraphy/graphy.vue

@@ -615,8 +615,8 @@ export default {
       if (arr.length) {
         let tempArr = [];
         arr.map(t => {
-          if (this.BIMIDToSIName[t.data.sourceId]) {
-            tempArr.push(this.BIMIDToSIName[t.data.sourceId]);
+          if (this.BIMIDToSIName[t.data.SourceId]) {
+            tempArr.push(this.BIMIDToSIName[t.data.SourceId]);
           }
         })
         this.$refs.createBSP.showDialog(tempArr.toString());

+ 2 - 2
src/views/data_admin/buildGraphy/index.vue

@@ -52,8 +52,8 @@ export default {
   data() {
     return {
       props: {
-        value: 'BuildID',
-        label: 'BuildLocalName',
+        value: 'id',
+        label: 'localName',
         children: 'floor'
       },
       param: {