Sfoglia il codice sorgente

Merge branch 'dataType' of git.sagacloud.cn:web/adm into dataType

zhangyu 3 anni fa
parent
commit
967fb325b8
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      src/components/ready/buildfloor/formItems.vue

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

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