CzRger hai 3 meses
pai
achega
4635e831eb

+ 1 - 1
web/app/(commonLayout)/apps/Apps.tsx

@@ -83,7 +83,7 @@ const Apps = () => {
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     }).then((res: any) => {
       setOptionsDept(res.data || [])

+ 2 - 2
web/app/(commonLayout)/datasets/Container.tsx

@@ -97,7 +97,7 @@ const Container = () => {
       url: '/tags/page',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
         tag_type: 'knowledge_category',
       },
     }).then((res: any) => {
@@ -111,7 +111,7 @@ const Container = () => {
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     }).then((res: any) => {
       setOptionsDept(res.data || [])

+ 1 - 1
web/app/components/datasets/documents/mould/index.tsx

@@ -71,7 +71,7 @@ const DetailModel = ({
       url: `/datasets/${datasetId}/templates`,
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     },
     fetchMoulds,

+ 3 - 3
web/app/components/datasets/rename-modal/index.tsx

@@ -42,7 +42,7 @@ const RenameDatasetModal = ({ show, dataset, onSuccess, onClose }: RenameDataset
       url: '/tags/page',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
         tag_type: 'knowledge_category',
       },
     }).then((res: any) => {
@@ -114,7 +114,7 @@ const RenameDatasetModal = ({ show, dataset, onSuccess, onClose }: RenameDataset
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     }).then((res: any) => {
       setOptionsDeptUser(res.data || [])
@@ -125,7 +125,7 @@ const RenameDatasetModal = ({ show, dataset, onSuccess, onClose }: RenameDataset
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     }).then((res: any) => {
       setOptionsDeptUserEdit(res.data || [])

+ 1 - 1
web/app/components/explore/create-app-modal/index.tsx

@@ -95,7 +95,7 @@ const CreateAppModal = ({
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     }).then((res: any) => {
       setOptionsDeptUser(res.data || [])

+ 1 - 1
web/app/components/header/account-setting/dept-page/detail-modal/index.tsx

@@ -22,7 +22,7 @@ const InviteModal = ({
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     }).then((res: any) => {
       setOptions(res.data || [])

+ 1 - 1
web/app/components/header/account-setting/dept-page/index.tsx

@@ -35,7 +35,7 @@ const DeptsPage = () => {
       url: '/external_applications',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     },
     fetchDepts,

+ 1 - 1
web/app/components/header/account-setting/dept-page/user-modal.tsx

@@ -68,7 +68,7 @@ const TypeModal = ({
       url: '/tags/page',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
         tag_type: 'knowledge_category',
       },
     }).then((res: any) => {

+ 1 - 1
web/app/components/header/account-setting/knowledges-page/index.tsx

@@ -43,7 +43,7 @@ const KnowledgesPage = () => {
       url: '/external_applications',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     },
     fetchKnowledges,

+ 1 - 1
web/app/components/header/account-setting/types-page/index.tsx

@@ -32,7 +32,7 @@ const TypesPage = () => {
       url: '/tags/page',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
         tag_type: 'knowledge_category',
       },
     },

+ 2 - 2
web/app/components/skill/corpus/detail-modal.tsx

@@ -31,7 +31,7 @@ const DetailModal = ({
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     },
     fetchIntentType,
@@ -43,7 +43,7 @@ const DetailModal = ({
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
         intentType,
       },
     },

+ 2 - 2
web/app/components/skill/corpus/index.tsx

@@ -21,7 +21,7 @@ const CorpusIndex = () => {
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     },
     fetchIntentType,
@@ -33,7 +33,7 @@ const CorpusIndex = () => {
       url: '/xxx',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
         intentType,
       },
     },

+ 2 - 2
web/app/components/skill/intent/detail-modal.tsx

@@ -35,7 +35,7 @@ const DetailModal = ({
       url: '/intentions/types',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     },
     fetchIntentType,
@@ -58,7 +58,7 @@ const DetailModal = ({
       url: `/intentions/${transfer.row.id}/keywords`,
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     })
     setKeywordsList(res)

+ 1 - 1
web/app/components/skill/intent/index.tsx

@@ -22,7 +22,7 @@ const CorpusIndex = () => {
       url: '/intentions/types',
       params: {
         page: 1,
-        limit: 1000,
+        limit: 99999,
       },
     },
     fetchIntentType,