wujingjing
2024-11-08 651cc37b98c2f496bbaa42704f801d4ac0af58bb
src/components/chat/chatComponents/summaryCom/components/recordSet/components/TimeRange.vue
@@ -33,8 +33,15 @@
      <div class="ml-2 inline-flex items-center space-x-2 text-[14px]">
         <div
            @click="quickPickRangeClick(parseInt(item))"
            class="border border-solid rounded-md px-2 cursor-pointer"
            :class="{ 'bg-[#1677ff]': parseInt(item) === quickPickValue, 'text-white': parseInt(item) === quickPickValue }"
            class="border border-solid rounded-md px-2 py-1 cursor-pointer"
            :class="{
               'bg-[#1677ff]': parseInt(item) === quickPickValue,
               'text-white': parseInt(item) === quickPickValue,
               'bg-[#f5f7fa]': isSharePage,
               'text-[#a9acb3]': isSharePage,
               'border-[#dcdfe6]': isSharePage,
               '!cursor-not-allowed': isSharePage,
            }"
            v-for="item in Object.keys(timeRangeMapTitle)"
            :key="item"
         >
@@ -61,6 +68,7 @@
} from '/@/components/form/datepicker/constants';
import { formatDate } from '/@/utils/formatTime';
import moment from 'moment';
import { isSharePage } from '/@/stores/chatRoom';
const valueFormat = DEFAULT_FORMATS_DATE + ' ' + DEFAULT_FORMATS_TIME;
const props = defineProps({