完成小区相关的接口对接

This commit is contained in:
Zy
2026-04-07 18:02:18 +08:00
parent ee55b4dca7
commit b87a594d4e
32 changed files with 913 additions and 384 deletions

View File

@@ -38,7 +38,6 @@ const getBreadcrumb = () => {
matched = [{ path: '/index', meta: { title: '首页' } }].concat(matched);
}
levelList.value = matched.filter((item) => item.meta && item.meta.title && item.meta.breadcrumb !== false);
console.log(levelList.value);
};
const findPathNum = (str, char = '/') => {
if (typeof str !== 'string' || str.length === 0) return 0;

View File

@@ -45,7 +45,6 @@ const open = async (e: MouseEvent, value: any) => {
if (left + rect.width > window.innerWidth) {
left = window.innerWidth - rect.width - 8;
}
console.log('window', window.innerWidth);
// 下边界碰撞
if (top + rect.height > window.innerHeight) {
@@ -69,7 +68,6 @@ const open = async (e: MouseEvent, value: any) => {
// 关闭
const close = () => {
show.value = false;
console.log('close');
document.removeEventListener('click', close);
document.removeEventListener('contextmenu', close);
};

View File

@@ -14,8 +14,6 @@
</template>
<script setup lang="ts">
import { ref } from 'vue';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
import Breadcrumb from '@/components/Breadcrumb/index.vue';
const slots = useSlots();
const showSlot = computed(() => {
@@ -28,6 +26,10 @@ const props = defineProps({
default: '房屋管理'
}
});
defineSlots<{
content?: () => void;
}>();
</script>
<style scoped lang="scss">

View File

@@ -271,7 +271,6 @@ const openDialog = async (id?: string) => {
selectCopyUserList.value = task.value.copyList;
selectCopyUserIds.value = task.value.copyList.map((e) => e.userId).join(',');
varNodeList.value = task.value.varList;
console.log('varNodeList', varNodeList.value);
buttonDisabled.value = false;
try {
const data = {