Browse Source

adm:feat> 关系上传下载魔板

onlyh 3 years ago
parent
commit
972f68a248
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/components/ready/buildfloor/formItems.vue

+ 4 - 1
src/components/ready/buildfloor/formItems.vue

@@ -129,6 +129,7 @@
 </template>
 <script>
 import { getDataDictionary } from "@/api/dict";
+import rules from "../../../api/fm/rules";
 
 export default {
   props: {
@@ -137,7 +138,9 @@ export default {
     },
   },
   data() {
+
     let validateId = (rule, value, callback) => {
+      console.log('localId', rule, value, callback)
       if (!value) {
         this.isShowTitle = false;
         return callback(new Error("请输入楼层本地编码"));
@@ -201,7 +204,7 @@ export default {
           }
           switch (
             item.code //过滤掉待删除的
-          ) {
+            ) {
             case "floorIdentity":
             case "relatedSchedule":
             case "outPeopleFlow":