|
@@ -155,7 +155,7 @@ const tableConstructionData = ref([])
|
|
const tableConstructionLoading = ref(false)
|
|
const tableConstructionLoading = ref(false)
|
|
const getTableConstructionData = async () => {
|
|
const getTableConstructionData = async () => {
|
|
tableConstructionLoading.value = true
|
|
tableConstructionLoading.value = true
|
|
- const { error, code, data } = await constructionApi.queryConstructionPage({
|
|
|
|
|
|
+ const { error, code, data ,msg } = await constructionApi.queryConstructionPage({
|
|
...searchConstructionForm.value,
|
|
...searchConstructionForm.value,
|
|
projectId: projectId.value,
|
|
projectId: projectId.value,
|
|
})
|
|
})
|
|
@@ -167,6 +167,7 @@ const getTableConstructionData = async () => {
|
|
} else {
|
|
} else {
|
|
tableConstructionData.value = []
|
|
tableConstructionData.value = []
|
|
searchConstructionForm.value.total = 0
|
|
searchConstructionForm.value.total = 0
|
|
|
|
+ window?.$message?.error(msg)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|