diff --git a/data-room-ui/packages/DataSetManagement/src/CustomEditForm.vue b/data-room-ui/packages/DataSetManagement/src/CustomEditForm.vue index a608b96a..916fa7b5 100644 --- a/data-room-ui/packages/DataSetManagement/src/CustomEditForm.vue +++ b/data-room-ui/packages/DataSetManagement/src/CustomEditForm.vue @@ -51,7 +51,7 @@ item=='unAdd') + } + if(a==-1){ + return true + }else{ + return false + } + }, + doEdit(){ + let a=-1 + if(window.BS_CONFIG?.datasetAuth) { + a=window.BS_CONFIG?.datasetAuth.findIndex(item=>item=='unEdit') + } + if(a==-1){ + return true + }else{ + return false + } + }, + isDelete(){ + let a=-1 + if(window.BS_CONFIG?.datasetAuth) { + a=window.BS_CONFIG?.datasetAuth.findIndex(item=>item=='unDelete') + } + if(a==-1){ + return true + }else{ + return false + } } + }, mounted () { this.dataSetId = this.dsId