|
@ -66,7 +66,8 @@ |
|
|
} from '@dcloudio/uni-app' |
|
|
} from '@dcloudio/uni-app' |
|
|
import { |
|
|
import { |
|
|
ref, |
|
|
ref, |
|
|
getCurrentInstance |
|
|
getCurrentInstance, |
|
|
|
|
|
nextTick |
|
|
} from 'vue' |
|
|
} from 'vue' |
|
|
import * as repairOrderApi from "@/api/repairOrder.js" |
|
|
import * as repairOrderApi from "@/api/repairOrder.js" |
|
|
import { useCountStore } from '@/store' |
|
|
import { useCountStore } from '@/store' |
|
@ -79,7 +80,7 @@ |
|
|
pageSize: 10, |
|
|
pageSize: 10, |
|
|
type: '', |
|
|
type: '', |
|
|
}) |
|
|
}) |
|
|
const title = ref(); |
|
|
const title = ref('维修工单'); |
|
|
const status = ref('loadmore') //是否显示没有更多了 |
|
|
const status = ref('loadmore') //是否显示没有更多了 |
|
|
const list = ref([]) |
|
|
const list = ref([]) |
|
|
function itemClick(item, index) { |
|
|
function itemClick(item, index) { |
|
@ -114,6 +115,9 @@ |
|
|
}else{ |
|
|
}else{ |
|
|
title.value = "维修工单" |
|
|
title.value = "维修工单" |
|
|
} |
|
|
} |
|
|
|
|
|
nextTick(() => { |
|
|
|
|
|
// 重新渲染页面 |
|
|
|
|
|
}); |
|
|
}) |
|
|
}) |
|
|
onShow(() => { |
|
|
onShow(() => { |
|
|
params.value.pageNo = 1 |
|
|
params.value.pageNo = 1 |
|
|