任务管理页面调整优化

This commit is contained in:
WindowBird 2025-11-24 14:18:14 +08:00
parent 97508016bf
commit 2abebb6730
2 changed files with 19 additions and 19 deletions

View File

@ -35,9 +35,9 @@ const items = ref([
{ key: 'project', text: '项目管理', icon: '/static/workbench/project.png' }, { key: 'project', text: '项目管理', icon: '/static/workbench/project.png' },
{ key: 'task', text: '任务管理', icon: '/static/workbench/task.png' }, { key: 'task', text: '任务管理', icon: '/static/workbench/task.png' },
// { key: 'schedule', text: '', icon: '/static/workbench/schedule.png' }, // { key: 'schedule', text: '', icon: '/static/workbench/schedule.png' },
{ key: 'contact', text: '通讯录', icon: '/static/workbench/contact.png' }, // { key: 'contact', text: '', icon: '/static/workbench/contact.png' },
{ key: 'notice', text: '公告管理', icon: '/static/workbench/notice.png' }, { key: 'notice', text: '公告管理', icon: '/static/workbench/notice.png' },
{ key: 'wechat', text: '工作微信', icon: '/static/workbench/wechat.png' } // { key: 'wechat', text: '', icon: '/static/workbench/wechat.png' }
]); ]);
const goToSearch = () => { const goToSearch = () => {

View File

@ -50,7 +50,7 @@
<text class="filter-label">优先级</text> <text class="filter-label">优先级</text>
<view class="filter-value" :class="{ 'has-value': filterForm.levelName }"> <view class="filter-value" :class="{ 'has-value': filterForm.levelName }">
<text v-if="filterForm.levelName" class="value-text">{{ filterForm.levelName }}</text> <text v-if="filterForm.levelName" class="value-text">{{ filterForm.levelName }}</text>
<text v-else class="placeholder">选择优先级</text> <text v-else class="placeholder">选择优先级</text>
</view> </view>
</view> </view>
</view> </view>
@ -109,20 +109,20 @@
<text v-else class="placeholder">请选择日期</text> <text v-else class="placeholder">请选择日期</text>
</view> </view>
</view> </view>
<view class="filter-item" @click="openExpireDatePicker"> <!-- <view class="filter-item" @click="openExpireDatePicker">-->
<text class="filter-label">开始日期</text> <!-- <text class="filter-label">开始日期</text>-->
<view class="filter-value" :class="{ 'has-value': filterForm.expireTimeStart }"> <!-- <view class="filter-value" :class="{ 'has-value': filterForm.expireTimeStart }">-->
<text v-if="filterForm.expireTimeStart" class="value-text">{{ filterForm.expireTimeStart }}</text> <!-- <text v-if="filterForm.expireTimeStart" class="value-text">{{ filterForm.expireTimeStart }}</text>-->
<text v-else class="placeholder">请选择日期</text> <!-- <text v-else class="placeholder">请选择日期</text>-->
</view> <!-- </view>-->
</view> <!-- </view>-->
<view class="filter-item" @click="openExpireEndDatePicker"> <!-- <view class="filter-item" @click="openExpireEndDatePicker">-->
<text class="filter-label">结束日期</text> <!-- <text class="filter-label">结束日期</text>-->
<view class="filter-value" :class="{ 'has-value': filterForm.expireTimeEnd }"> <!-- <view class="filter-value" :class="{ 'has-value': filterForm.expireTimeEnd }">-->
<text v-if="filterForm.expireTimeEnd" class="value-text">{{ filterForm.expireTimeEnd }}</text> <!-- <text v-if="filterForm.expireTimeEnd" class="value-text">{{ filterForm.expireTimeEnd }}</text>-->
<text v-else class="placeholder">请选择日期</text> <!-- <text v-else class="placeholder">请选择日期</text>-->
</view> <!-- </view>-->
</view> <!-- </view>-->
</view> </view>
<view class="filter-row"> <view class="filter-row">
@ -356,7 +356,7 @@ const filterForm = ref({
const showFilter = ref(false); const showFilter = ref(false);
// //
const activeStatusTab = ref('all'); const activeStatusTab = ref('pending');
// //
const sortBy = ref('expireTime'); const sortBy = ref('expireTime');
@ -1027,7 +1027,7 @@ onMounted(() => {
background: #f8f9fa; background: #f8f9fa;
border: 1px solid #e4e7ed; border: 1px solid #e4e7ed;
border-radius: 10px; border-radius: 10px;
padding: 10px 14px; padding: 2px 14px;
min-height: 40px; min-height: 40px;
transition: all 0.2s; transition: all 0.2s;
position: relative; position: relative;