fix : 细节优化

This commit is contained in:
2024-03-25 22:39:25 +08:00
parent f646c13e9d
commit 5d31b52e67
23 changed files with 98 additions and 51 deletions

View File

@@ -56,6 +56,7 @@ import {useProcessStore} from '@/stores/processStore.js'
import Paging from "@/components/pagination/index.vue";
import {useCacheStore} from '@/stores/cache.js'
import PointTag from "@/components/PointTag.vue";
import {ElMessage} from "element-plus";
const processStore = useProcessStore()
const dictStore = useCacheStore()
@@ -100,9 +101,15 @@ const getList = async () => {
}
loading.value = true
getTaskList(params).then(res => {
list.value = res.data.rows
total.value = res.data.total
if (res.code === 1000) {
list.value = res.data.rows
total.value = res.data.total
} else {
ElMessage.error(res.msg)
}
loading.value = false
}).catch(err => {
loading.value = false;
})
}