修改生活缴费功能
This commit is contained in:
@@ -73,10 +73,12 @@
|
||||
const loading = ref(false)
|
||||
const detail = ref(null)
|
||||
let recordId = ''
|
||||
let queryDate = ''
|
||||
|
||||
onLoad((options) => {
|
||||
if (options.id) {
|
||||
recordId = options.id
|
||||
queryDate = options.date || ''
|
||||
fetchDetail()
|
||||
}
|
||||
})
|
||||
@@ -86,7 +88,7 @@
|
||||
loading.value = true
|
||||
detail.value = null
|
||||
try {
|
||||
const res = await inspectionDetails({ id: recordId })
|
||||
const res = await inspectionDetails({ id: recordId, date: queryDate })
|
||||
if (res.code === 200) {
|
||||
detail.value = res.data
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user