|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import { computed, defineOptions, ref, watch } from 'vue'
|
|
|
|
|
import { VueDraggable } from 'vue-draggable-plus'
|
|
|
|
|
import { clone, debounce, difference } from 'lodash-es'
|
|
|
|
|
import { setFilter } from '@/api/home/filter'
|
|
|
|
|
import { getAllfieldList, getfieldList, setFilter } from '@/api/home/filter'
|
|
|
|
|
import { asideMap } from '@/config/aside'
|
|
|
|
|
import { useConfig } from '@/store/modules/asideConfig'
|
|
|
|
|
import { useUser } from "@/store/modules/user"
|
|
|
|
|
import { debounce, difference } from 'lodash-es'
|
|
|
|
|
import { computed, defineOptions, onMounted, ref, watch } from 'vue'
|
|
|
|
|
import { VueDraggable } from 'vue-draggable-plus'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'CustomFilterModal' })
|
|
|
|
|
|
|
|
|
@ -242,6 +244,21 @@ const leftInputHandler = debounce((keyword) => {
|
|
|
|
|
const rightInputHandler = debounce((keyword) => {
|
|
|
|
|
onKeyword.value = keyword
|
|
|
|
|
}, 300)
|
|
|
|
|
|
|
|
|
|
async function getfield(){
|
|
|
|
|
let res;
|
|
|
|
|
res = await getAllfieldList(3)
|
|
|
|
|
console.log(res,'getAllfieldList')
|
|
|
|
|
const userStore = useUser();
|
|
|
|
|
const userInfo = userStore.getUserInfo;
|
|
|
|
|
res = await getfieldList(3,userInfo.id)
|
|
|
|
|
console.log(res,'res')
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onMounted(()=>{
|
|
|
|
|
getfield();
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|