Browse Source

日期表格哼

lwx_v27
herenshan112 3 months ago
parent
commit
fc3b5d17a5
  1. 8
      src/components/DesignForm/app/calendar/calendar1/dayPage.vue
  2. 8
      src/components/DesignForm/app/calendar/calendar1/monthPage.vue
  3. 6
      src/components/DesignForm/app/calendar/calendar1/weekPage.vue
  4. 2
      src/components/DesignForm/app/index.vue

8
src/components/DesignForm/app/calendar/calendar1/dayPage.vue

@ -62,7 +62,7 @@ onMounted(()=>{
watch(()=>props.taDay,(val:any)=>{
dayInfo.value = Calendar.gainOneDay(val[0],val[1],val[2])
// console.log("",dayInfo.value)
console.log("监听变化",dayInfo.value)
searchatDayList(props.searchSend)
},{
deep: true,
@ -104,9 +104,9 @@ const searchatDayList = (val:any) => {
})
.finally(()=>{ loadDay.value = false })
}
defineExpose({
searchatDayList
})
// defineExpose({
// searchatDayList
// })
</script>
<template>
<div class="monthCalendarBox" :style="'height:calc(100vh - '+ drawingBoardHeight +'px)'">

8
src/components/DesignForm/app/calendar/calendar1/monthPage.vue

@ -41,7 +41,7 @@ const TBody = ref<any[]>([]);
const loadMonth = ref(false);
onMounted(() => {
TBody.value = Calendar.table(props.taDay);
searchatMonthList(props.searchSend);
// searchatMonthList(props.searchSend);
nextTick(() => {
selectedTime.value =
props.taDay[0] +
@ -114,9 +114,9 @@ const searchatMonthList = (val: any) => {
});
};
defineExpose({
searchatMonthList,
});
// defineExpose({
// searchatMonthList,
// });
</script>
<template>
<div

6
src/components/DesignForm/app/calendar/calendar1/weekPage.vue

@ -105,9 +105,9 @@ watch(()=>props.taDay,(val:any)=>{
deep: true,
})
defineExpose({
searchatWeekList
})
// defineExpose({
// searchatWeekList
// })
</script>
<template>
<div class="monthCalendarBox" :style="'height:calc(100vh - '+ drawingBoardHeight +'px)'">

2
src/components/DesignForm/app/index.vue

@ -1814,7 +1814,7 @@ const tableChildren = (field:string,dataList:any) => {
if(Array.isArray(dataList)){
dataList.forEach((item:any,key:string) => {
console.log("表头label长度-item--->",field, item);
// console.log("label-item--->",field, item);
if(isObject(item)){
for (let key in item) {

Loading…
Cancel
Save