From 226de684b04ae50ea17677744251882e910182f6 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Thu, 04 May 2023 15:13:34 +0800
Subject: [PATCH] 专家库
---
src/views/analyse/plan/index.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/analyse/plan/index.vue b/src/views/analyse/plan/index.vue
index 41a1f9e..0ec5b78 100644
--- a/src/views/analyse/plan/index.vue
+++ b/src/views/analyse/plan/index.vue
@@ -123,7 +123,6 @@
const PlanDialog = defineAsyncComponent(() => import('./components/planDialog.vue'));
-
const planDialogRef = ref();
const userInfo = useUserInfo();
const { userInfos } = storeToRefs(userInfo);
@@ -199,10 +198,13 @@
const getPersonList = async () => {
let res = await userApi().getUserList({
- roleId: 1,
- usePage: false,
pageIndex: 1,
- pageSize: 10
+ pageSize: 99999,
+ searchParams:{
+ roleId: null,
+ name: '',
+ realName: ''
+ }
});
if(res.data.code === 100){
planState.personList = JSON.parse(JSON.stringify(res.data.data));
@@ -406,7 +408,7 @@
getPlanData();
getAllRiskUnitList();
getPersonList();
- planState.user = userInfos.value.uid
+ planState.user = Number(userInfos.value.uid)
})
</script>
--
Gitblit v1.9.2