wenhongquan 1 жил өмнө
parent
commit
1c52403101

+ 3 - 0
src/views/project/list/index.vue

@@ -494,6 +494,9 @@ const getnextdata = (page: number) => {
     searchForm.value["createBy"]=useUserStore().userId;
     delete  searchForm.value.status;
   }
+  if(userroles.indexOf("superadmin")!=-1){
+     delete searchForm.value.createBy
+  }
 
   listArchives({ pageSize: 10, pageNum: page, ...searchForm.value }).then((res) => {
     tableData.value = res.rows;