0f958611 by xukangle

fix

1 parent ffe58a1e
......@@ -669,8 +669,30 @@ watch(
}
handleChangeTime(daterange.value);
},
);
const handleDatePickerChange = (val) => {
// 更新开始时间和结束时间
startTime.value = val[0];
endTime.value = val[1];
// 获取数据表格
getAssetTableData();
// 获取统计信息
fetchStatisticsInfo();
// 获取质量饼图数据
fetchQualityInfo();
// 获取交易和融资数据
getTradeTableData();
getFinancingTableData();
// 获取注册文档数据
fetchRegisterUrl();
// 取消选择按钮的 is-active 状态
filterDate.value = '';
};
const startTime = ref()
const endTime = ref()
......@@ -711,7 +733,7 @@ const handleChangeTime = (val) => {
</div>
<el-date-picker v-model="daterange" type="datetimerange" range-separator="至" start-placeholder="开始时间"
:clearable="false" end-placeholder="截止时间" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss"
ref="datePickerRef" />
ref="datePickerRef" @change="handleDatePickerChange" />
</div>
</div>
<div v-if="userData.tenantType != 1" class="main-content">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!