wenhongquan 1 anno fa
parent
commit
1c52403101
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/views/project/list/index.vue

+ 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;