This commit is contained in:
parent
afe021d167
commit
0fdc5c75b5
|
|
@ -101,7 +101,7 @@
|
|||
<script setup>
|
||||
import { computed, ref } from 'vue'
|
||||
import { auditRepairPass } from '@/services/repair/repair.js'
|
||||
import { onLoad } from '@dcloudio/uni-app'
|
||||
import {onLoad, onShow} from '@dcloudio/uni-app'
|
||||
|
||||
const queryParams = ref({})
|
||||
const allChecked = ref(false)
|
||||
|
|
@ -112,6 +112,11 @@ const selectableItems = computed(() => {
|
|||
return repairDeviceList.value.filter(item => item.status === '0' || item.status==='3').map(item => item.code)
|
||||
})
|
||||
|
||||
onShow(() => {
|
||||
selectedItems.value = []
|
||||
allChecked.value = false
|
||||
})
|
||||
|
||||
onLoad((options) => {
|
||||
queryParams.value = JSON.parse(options.queryParams)
|
||||
console.log(queryParams.value)
|
||||
|
|
|
|||
|
|
@ -111,6 +111,9 @@ const selectableItems = computed(() => {
|
|||
})
|
||||
onShow(() => {
|
||||
getRepairDetailsData()
|
||||
selectedItems.value = []
|
||||
ids.value = []
|
||||
allChecked.value = false
|
||||
})
|
||||
|
||||
onLoad((options) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue