fix文件管理查询问题

This commit is contained in:
不做码农 2022-05-27 20:18:14 +08:00
parent 56bf61a8b9
commit 69aebfd039

View File

@ -253,9 +253,9 @@ const { proxy } = getCurrentInstance()
const uploadData = ref({}) const uploadData = ref({})
// //
function getList() { function getList() {
proxy.addDateRange(queryParams, dateRangeAddTime.value, 'Create_time') proxy.addDateRange(queryParams.value, dateRangeAddTime.value, 'Create_time')
loading.value = true loading.value = true
listSysfile(queryParams).then((res) => { listSysfile(queryParams.value).then((res) => {
if (res.code == 200) { if (res.code == 200) {
dataList.value = res.data.result dataList.value = res.data.result
total.value = res.data.totalNum total.value = res.data.totalNum
@ -344,7 +344,6 @@ function submitUpload() {
fileName: form.value.fileName, fileName: form.value.fileName,
storeType: form.value.storeType, storeType: form.value.storeType,
} }
console.log(uploadData.value)
proxy.$refs.uploadRef.submitUpload() proxy.$refs.uploadRef.submitUpload()
} }
const { toClipboard } = useClipboard() const { toClipboard } = useClipboard()