0f958611 by xukangle

fix

1 parent ffe58a1e
...@@ -669,8 +669,30 @@ watch( ...@@ -669,8 +669,30 @@ watch(
669 } 669 }
670 handleChangeTime(daterange.value); 670 handleChangeTime(daterange.value);
671 }, 671 },
672
673 ); 672 );
673 const handleDatePickerChange = (val) => {
674 // 更新开始时间和结束时间
675 startTime.value = val[0];
676 endTime.value = val[1];
677
678 // 获取数据表格
679 getAssetTableData();
680
681 // 获取统计信息
682 fetchStatisticsInfo();
683
684 // 获取质量饼图数据
685 fetchQualityInfo();
686
687 // 获取交易和融资数据
688 getTradeTableData();
689 getFinancingTableData();
690
691 // 获取注册文档数据
692 fetchRegisterUrl();
693 // 取消选择按钮的 is-active 状态
694 filterDate.value = '';
695 };
674 696
675 const startTime = ref() 697 const startTime = ref()
676 const endTime = ref() 698 const endTime = ref()
...@@ -711,7 +733,7 @@ const handleChangeTime = (val) => { ...@@ -711,7 +733,7 @@ const handleChangeTime = (val) => {
711 </div> 733 </div>
712 <el-date-picker v-model="daterange" type="datetimerange" range-separator="至" start-placeholder="开始时间" 734 <el-date-picker v-model="daterange" type="datetimerange" range-separator="至" start-placeholder="开始时间"
713 :clearable="false" end-placeholder="截止时间" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" 735 :clearable="false" end-placeholder="截止时间" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss"
714 ref="datePickerRef" /> 736 ref="datePickerRef" @change="handleDatePickerChange" />
715 </div> 737 </div>
716 </div> 738 </div>
717 <div v-if="userData.tenantType != 1" class="main-content"> 739 <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!