工单分配,维修人员,报修详情
This commit is contained in:
@@ -5,7 +5,11 @@
|
||||
<view class="line"></view>
|
||||
<text class="title">仪表换新记录</text>
|
||||
</view>
|
||||
<TabsComponents :tabslist="tabslist" @update="handleChangeTabs"></TabsComponents>
|
||||
<TabsComponents
|
||||
:activeValue="activeValue"
|
||||
:tabslist="tabslist"
|
||||
@update="handleChangeTabs"
|
||||
></TabsComponents>
|
||||
<view class="instrument_body flex-1 flex">
|
||||
<scroll-view scroll-y lower-threshold="160" @scrolltolower="scrolltolower">
|
||||
<view
|
||||
@@ -75,10 +79,11 @@ const tabslist = [
|
||||
value: 1
|
||||
}
|
||||
]
|
||||
|
||||
const activeValue = ref(0)
|
||||
// 切换tabs
|
||||
function handleChangeTabs(val: number) {
|
||||
queryParmas.value.deviceType = val
|
||||
activeValue.value = val
|
||||
if (val === 0) {
|
||||
queryParmas.value.deviceType = undefined
|
||||
}
|
||||
@@ -132,9 +137,7 @@ function getlist() {
|
||||
})
|
||||
}
|
||||
onShow(() => {
|
||||
infolist.value = []
|
||||
hasMore.value = true
|
||||
getlist()
|
||||
resetList()
|
||||
})
|
||||
|
||||
// 重置
|
||||
|
||||
Reference in New Issue
Block a user