wujingjing
2025-03-05 4e394d1f4ed0928d5498083621966aba390a7642
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<template>
    <div>
        <el-input v-if="filter === 'like'" @input="(value) => input(value)" v-model="modelValue[0]" style="width: 226.4px" clearable />
        <TimeRange v-model="modelValue" v-if="filter === 'time_range'" @change="input" />
    </div>
</template>
 
<script setup lang="ts" name="TableSearch">
import TimeRange from '/@/components/chat/chatComponents/summaryCom/components/recordSet/components/TimeRange.vue';
import { TimeRangeEnum } from '/@/components/chat/chatComponents/summaryCom/components/recordSet/components/types';
const props = defineProps(['filter']);
const emit = defineEmits(['input']);
const modelValue = defineModel({
    type: Array<string>,
    default: [''],
});
 
const input = (value) => {
    emit('input', value);
};
</script>
<style scoped lang="scss"></style>