Browse Source

reactor:对接随手拍邀请码;

zhangchong 3 months ago
parent
commit
ff0876da5a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/plan/index/index.vue

+ 2 - 2
src/views/plan/index/index.vue

@@ -261,7 +261,6 @@ import { ElMessageBox, ElMessage } from 'element-plus';
 import { useRouter } from 'vue-router';
 import type { FormInstance } from 'element-plus';
 import { formatDate } from '@/utils/formatTime';
-import { treeList } from '@/api/knowledge/type';
 import { Splitpanes, Pane } from 'splitpanes';
 import 'splitpanes/dist/splitpanes.css';
 import Other from '@/utils/other';
@@ -270,6 +269,7 @@ import { VxeUI } from 'vxe-pc-ui';
 import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
 import { getPlanBaseData, getPlanExport, getPlanList, planDetailExport, planOffShelf, planOnShelf } from '@/api/plan';
 import { VTreeSearch } from '@wsfe/vue-tree';
+import { planTreeList } from '@/api/plan/type';
 
 // 引入组件
 const ProcessAudit = defineAsyncComponent(() => import('@/components/ProcessAudit/index.vue')); // 流程审批
@@ -327,7 +327,7 @@ const handleQuery = () => {
 const getPlanType = async () => {
 	state.typeLoading = true;
 	try {
-		const { result } = await treeList({ IsEnable: true, Attribution: state.queryParams.Attribution });
+		const { result } = await planTreeList({ IsEnable: true });
 		state.typeOptions = result ?? [];
 		state.typeLoading = false;
 	} catch (error) {