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