fix : 项目实施台账时间搜索

This commit is contained in:
2024-07-18 17:33:54 +08:00
parent 618cc8cb87
commit ad3e7479f4
3 changed files with 105 additions and 84 deletions

View File

@@ -220,7 +220,11 @@ const getList = async () => {
if (api) {
localData.loading = true
try {
const {code, data, msg} = await requestList(api, queryParmas)
const {code, data, msg} = await requestList(api, queryParmas).then(res=>{
console.log(res)
return res
})
console.log(code,data,msg)
if (code === 1000) {
if (data.rows) {
localData.list = data.rows
@@ -239,6 +243,10 @@ const getList = async () => {
localData.loading = false
}
} catch (error) {
console.log("error",error)
if (!error){
return
}
ElNotification({
title: '提示',
message: '请求数据失败',
@@ -305,6 +313,7 @@ onMounted(() => {
getList()
})
</script>
<style lang="scss" scoped>