This commit is contained in:
oneao committed 2025-12-13 17:30:32 +08:00
1 parent fe15bfd35f
commit 52112bd277
21 files changed
+2781 -939

No files matched your search

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import type { PropType } from 'vue'
import type { Area, CompanyQuery, Property } from '@/types/company/index'
import type { Area, CompanyQuery, Industry } from '@/types/company/index'
import { computed } from 'vue'
const props = defineProps({
@@ -8,8 +8,8 @@ const props = defineProps({
type: Object as PropType<CompanyQuery>,
required: true,
},
properties: {
type: Object as PropType<Property[]>,
industries: {
type: Object as PropType<Industry[]>,
required: false,
},
areas: {
@@ -32,7 +32,7 @@ const query = computed({
<div class="query">
<div class="query-item">
<el-select
v-model="query.properties"
v-model="query.industries"
filterable
placeholder="请选择行业"
multiple
@@ -41,7 +41,7 @@ const query = computed({
:max-collapse-tags="2"
>
<el-option
v-for="item in props.properties"
v-for="item in props.industries"
:key="item.value"
:label="item.label"
:value="item.value"