|
@@ -568,7 +568,7 @@ const getTableData = async () => {
|
|
|
tableLoading.value = true
|
|
|
|
|
|
// const classifyType = getContractTypeKey();
|
|
|
- const { error, code, data } = await queryApi.getPageData({
|
|
|
+ const { error, code, data, msg } = await queryApi.getPageData({
|
|
|
projectId: projectId.value,
|
|
|
contractId: contractId.value,
|
|
|
...searchForm.value,
|
|
@@ -580,6 +580,7 @@ const getTableData = async () => {
|
|
|
tableListData.value = getArrValue(data['records'])
|
|
|
searchForm.value.total = data.total || 0
|
|
|
} else {
|
|
|
+ window.$message?.error(msg)
|
|
|
tableListData.value = []
|
|
|
searchForm.value.total = 0
|
|
|
}
|