维修完成api

This commit is contained in:
Zy
2026-05-20 09:15:30 +08:00
parent 25ef557d27
commit 9738fd1404
3 changed files with 15 additions and 19 deletions

View File

@@ -80,7 +80,7 @@
<text v-if="record.problemStatus === '1'" class="repairman"
>维修师傅:{{ record.repairName }}</text
>
<view class="share" v-if="record.problemStatus === '2'">
<view class="share" v-if="record.problemStatus === '0'">
<text>维修完成</text>
</view>
</view>
@@ -92,7 +92,7 @@
<script setup>
import { ref, computed } from 'vue'
import { onReady } from '@dcloudio/uni-app'
import { onReady, onShow } from '@dcloudio/uni-app'
import TabsComponents from '@/components/tabs/tabs.vue'
import NavBar from '@/components/navbar/navbar.vue'
import { getUserTicketlist } from '@/api/ticket.js'
@@ -155,7 +155,9 @@ function getlist() {
uni.hideLoading()
})
}
getlist()
onShow(() => {
getlist()
})
function resetList() {
reportRecords.value = []
queryParmas.value.pageNum = 1