默认值修改

This commit is contained in:
lai
2024-07-05 19:18:53 +08:00
parent 22797a8ae8
commit 21621c2056
3 changed files with 5 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ import useI18n from '@/hooks/useI18n';
import { parseDateToStr } from '@/utils/date-utils'; import { parseDateToStr } from '@/utils/date-utils';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import { upfFlowData, upfFlowParse } from '../../hooks/useUPFTotalFlow'; import { upfFlowData, upfFlowParse } from '../../hooks/useUPFTotalFlow';
import { upfWhoId } from '../../hooks/useWS';
const { t } = useI18n(); const { t } = useI18n();
@@ -206,10 +207,10 @@ function fnGetInitData() {
// 查询10分钟前的 // 查询10分钟前的
const nowDate: Date = new Date(); const nowDate: Date = new Date();
const tenMinutesAgo = new Date(nowDate.getTime() - 5 * 60 * 1000); const tenMinutesAgo = new Date(nowDate.getTime() - 5 * 60 * 1000);
console.log(upfWhoId.value)
listKPIData({ listKPIData({
neType: 'UPF', neType: 'UPF',
neId: '001', neId: upfWhoId.value,
startTime: parseDateToStr(tenMinutesAgo), startTime: parseDateToStr(tenMinutesAgo),
endTime: parseDateToStr(nowDate), endTime: parseDateToStr(nowDate),
// startTime: '2024-03-20 19:50:00', // startTime: '2024-03-20 19:50:00',

View File

@@ -231,7 +231,7 @@ onMounted(() => {
if (arr.length > 0) { if (arr.length > 0) {
queryParams.neRealId = arr[0].value; queryParams.neRealId = arr[0].value;
upfWhoId.value = arr[0].value;
reSendUPF(arr[0].rmUid); reSendUPF(arr[0].rmUid);
} }
} }

View File

@@ -298,7 +298,7 @@ onMounted(() => {
:options="[ :options="[
{ label: '4G', value: '4g' }, { label: '4G', value: '4g' },
{ label: '5G', value: '5g' }, { label: '5G', value: '5g' },
{ label: '45G', value: '45g' }, { label: '4/5G', value: '45g' },
]" ]"
:allow-clear="false" :allow-clear="false"
:placeholder="t('common.selectPlease')" :placeholder="t('common.selectPlease')"