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