文件上传限制,巡检详情日期参数

This commit is contained in:
Zy
2026-08-08 10:26:04 +08:00
parent ca7c998bf7
commit 598082e9e8
6 changed files with 35 additions and 10 deletions

View File

@@ -99,6 +99,7 @@ import { getInspectionMain } from '@/api/insepction.js'
import { onLoad } from '@dcloudio/uni-app'
const taskid = ref('')
let date = ''
const info = ref({
planName: '',
remindTime: '',
@@ -114,7 +115,7 @@ const baseFormData = ref([])
function init() {
if (!taskid.value) return
getInspectionMain(taskid.value)
getInspectionMain(taskid.value, date)
.then(res => {
info.value = res.data
if (!res.data.routes) return
@@ -154,6 +155,8 @@ function init() {
onLoad(options => {
taskid.value = options.id
date = options.date
console.log(date)
init()
})