Procházet zdrojové kódy

资料查询提示

duy před 1 rokem
rodič
revize
20abadd93d
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/views/data-fill/query.vue

+ 2 - 1
src/views/data-fill/query.vue

@@ -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
         }