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