项目管理页面重构0.8
This commit is contained in:
parent
4df396b3bf
commit
f01ee6ad68
|
|
@ -28,11 +28,6 @@
|
||||||
<view class="filter-item">
|
<view class="filter-item">
|
||||||
<text class="filter-label">状态:</text>
|
<text class="filter-label">状态:</text>
|
||||||
<view class="filter-options">
|
<view class="filter-options">
|
||||||
<text
|
|
||||||
class="filter-option"
|
|
||||||
:class="{ 'active': filterParams.status === '' }"
|
|
||||||
@click="handleFilterStatusChange('')"
|
|
||||||
>全部</text>
|
|
||||||
<text
|
<text
|
||||||
class="filter-option"
|
class="filter-option"
|
||||||
v-for="tab in filterStatusTabs"
|
v-for="tab in filterStatusTabs"
|
||||||
|
|
@ -762,6 +757,8 @@ const goToAddTask = (project) => {
|
||||||
// 处理状态标签点击
|
// 处理状态标签点击
|
||||||
const handleStatusTabClick = (value) => {
|
const handleStatusTabClick = (value) => {
|
||||||
activeStatusTab.value = value;
|
activeStatusTab.value = value;
|
||||||
|
// 点击导航栏按钮时,清空筛选面板中的状态选择,确保导航栏状态和筛选面板状态独立
|
||||||
|
filterParams.value.status = '';
|
||||||
handleSearch();
|
handleSearch();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user