wenhongquan 1 年間 前
コミット
1c52403101
1 ファイル変更3 行追加0 行削除
  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;