Merge branch 'master' of http://gitea.bugtc.com/zhouyanli/property-manager-side
This commit is contained in:
@@ -163,9 +163,10 @@ function handleChangeTime(event: string) {
|
|||||||
getlist()
|
getlist()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const isAllowTaskStatus = ['超时完成', '已完成']
|
||||||
function handleTap(ite) {
|
function handleTap(ite) {
|
||||||
const today = parseTime(new Date(), '{m}月{d}日')
|
const today = parseTime(new Date(), '{m}月{d}日')
|
||||||
if (today !== showDate.value && ite.taskStatus !== '已完成') {
|
if (today !== showDate.value && !isAllowTaskStatus.includes(ite.taskStatus)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
>
|
>
|
||||||
<view class="housepath flex items-center flex-1">
|
<view class="housepath flex items-center flex-1">
|
||||||
<radio color="#4d5dfa" :value="item.houseId" />
|
<radio color="#4d5dfa" :value="item.houseId" />
|
||||||
<text class="address">{{ item.addressCn ?? item.addressHyphen }}</text>
|
<text class="address">{{ item.addressHyphen ?? item.addressCn }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="username">{{ item.residentName }}</view>
|
<view class="username">{{ item.residentName }}</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
Reference in New Issue
Block a user