new-map
parent
758568e610
commit
8b9f107b82
|
|
@ -177,7 +177,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
// import moment from 'moment'
|
import moment from 'moment'
|
||||||
import { formatDataByObject, getWeek, getMonth } from '/@/utils/index'
|
import { formatDataByObject, getWeek, getMonth } from '/@/utils/index'
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
import { PageWrapper } from '/@/components/Page'
|
import { PageWrapper } from '/@/components/Page'
|
||||||
|
|
@ -222,10 +222,7 @@
|
||||||
const statisData = ref<any>({})
|
const statisData = ref<any>({})
|
||||||
const name = computed(() => baseDate?.value?.find((e: any) => e.id === formState.base_id)?.name)
|
const name = computed(() => baseDate?.value?.find((e: any) => e.id === formState.base_id)?.name)
|
||||||
const disabledDate = (current) => {
|
const disabledDate = (current) => {
|
||||||
// console.log(moment().endOf('day'))
|
return current && current > moment().endOf('day')
|
||||||
return false
|
|
||||||
|
|
||||||
// return current && current > moment().endOf('day')
|
|
||||||
}
|
}
|
||||||
// 获取基地数据
|
// 获取基地数据
|
||||||
const getBase = async () => {
|
const getBase = async () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue