Browse Source

reactor:自贡开放新增用户和新增部门;

zhangchong 3 tháng trước cách đây
mục cha
commit
c3b8ad2ee6

+ 1 - 1
src/views/knowledge/retrieval/YBRetrieval.vue

@@ -400,7 +400,7 @@ const getOrgListApi = async () => {
 const getKnowledgeType = async () => {
 	state.typeLoading = true;
 	try {
-		const {result} = await treeList({ IsEnable: true, Attribution: state.queryParams.Attribution });
+		const {result} = await treeList({ IsEnable: true, Attribution: state.queryParams.Attribution,status:3 });
 		state.knowledgeOptions = result ?? [];
 		state.typeLoading = false;
 	} catch (error) {

+ 1 - 1
src/views/knowledge/retrieval/ZGRetrieval.vue

@@ -387,7 +387,7 @@ const getOrgListApi = async () => {
 const getKnowledgeType = async () => {
 	state.typeLoading = true;
 	try {
-		const { result } = await treeList({ IsEnable: true,Attribution: state.queryParams.Attribution });
+		const { result } = await treeList({ IsEnable: true,Attribution: state.queryParams.Attribution,status:3 });
 		state.knowledgeOptions = result ?? [];
 		state.typeLoading = false;
 	} catch (error) {