From dd58c1d3a27ba48a5df050aab7c586bb9b988914 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期三, 09 四月 2025 18:01:22 +0800
Subject: [PATCH] activeTopMenuStyle

---
 src/components/chat/chatComponents/contentCbCom/TimeRange.vue |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/src/components/chat/chatComponents/contentCbCom/TimeRange.vue b/src/components/chat/chatComponents/contentCbCom/TimeRange.vue
new file mode 100644
index 0000000..073dc4b
--- /dev/null
+++ b/src/components/chat/chatComponents/contentCbCom/TimeRange.vue
@@ -0,0 +1,37 @@
+<template>
+	<div class="flex flex-col gap-1">
+		<span class="text-gray-600 font-normal">{{ `${item?.data?.title}` }}</span>
+		<TimeRange :disabled="disabled" @change="timeRangeChange" ></TimeRange>
+	</div>
+</template>
+<script lang="ts" setup>
+import { definePropType } from 'element-plus/es/utils';
+import type { PropType } from 'vue';
+import TimeRange from '../summaryCom/components/recordSet/components/TimeRange.vue';
+
+const props = defineProps({
+	
+	item: {
+		type: Object as PropType<any>,
+	},
+	disabled: {
+		type: Boolean,
+		default: false,
+	},
+});
+const emit = defineEmits(['change']);
+// const timeRangeValue = defineModel({
+// 	type: definePropType<[string, string]>(Array),
+// });
+const timeRangeChange = (val: [string, string]) => {
+	if (props.disabled) return;
+	emit(
+		'change',
+		props.item?.data?.reply_id,
+		{
+			start_time: val[0],
+			end_time: val[1],
+		}
+	);
+};
+</script>

--
Gitblit v1.9.3