fix(Filter): 更新年报过滤条件的年份限制
- 将年报过滤条件从2025年更新为2026年 - 同步修改临时重置方法中的年份判断逻辑
This commit is contained in:
parent
260c9d7edc
commit
23304eccab
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
<el-select v-model="headFilter.reportType" placeholder="请选择类型" size="default" style="width: 160px"
|
||||
@change="handleChange">
|
||||
<el-option v-if="headFilter.year != 2025" label="年报" :value="0" />
|
||||
<el-option v-if="headFilter.year != 2026" label="年报" :value="0" />
|
||||
<el-option label="半年报" :value="1" />
|
||||
<el-option label="一季报" :value="2" />
|
||||
<el-option v-if="headFilter.year != 2026" label="三季报" :value="3" />
|
||||
|
|
@ -54,9 +54,9 @@ const handleChange = () => {
|
|||
}, 100);
|
||||
};
|
||||
|
||||
// 临时方法 ---- 重置2025年为一季报
|
||||
// 临时方法 ---- 重置2026年为一季报
|
||||
const handleChange2 = (value: any) => {
|
||||
if (value == 2025) {
|
||||
if (value == 2026) {
|
||||
const reportType = [2]; //2025年有的报表类型 0年报、1半年报、2一季报、3三季报
|
||||
if (!reportType.includes(headFilter.value.reportType)) {
|
||||
headFilter.value.reportType = 2;
|
||||
|
|
|
|||
|
|
@ -103,15 +103,15 @@
|
|||
<div class="line"></div>
|
||||
</div>
|
||||
|
||||
<div class="right_tabs">
|
||||
<!-- <div class="right_tabs">
|
||||
<div :class="['tab_item', { active: tabIndex === 0 }]" @click="tabIndexChange(0)">H5</div>
|
||||
|
||||
<div :class="['tab_item', { active: tabIndex === 1 }]" @click="tabIndexChange(1)">视频</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<el-input
|
||||
v-if="!isCommon"
|
||||
:style="{ marginTop: isCommon ? '0px' : '20px' }"
|
||||
:style="{ marginTop: isCommon ? '0px' : '40px' }"
|
||||
:prefix-icon="Search"
|
||||
placeholder="请输入公司证券代码或公司简称搜索"
|
||||
class="input"
|
||||
|
|
|
|||
Loading…
Reference in New Issue