|
@@ -205,71 +205,71 @@ export default {
|
|
|
computed:{
|
|
|
//添加分类是否展示
|
|
|
isAddClassifyBtnShow(){
|
|
|
- if(this.aTab===0&&this.authTabsOpt.length){
|
|
|
+ // if(this.aTab===0&&this.authTabsOpt.length){
|
|
|
return this.permissionBtn.checkPermissionBtn(
|
|
|
this.permissionBtn.enClassifyBtn.classifyList_enClassify_rpAddClassify
|
|
|
)
|
|
|
- }
|
|
|
- if(this.aTab===1&&this.authTabsOpt.length){
|
|
|
- return this.permissionBtn.checkPermissionBtn(
|
|
|
- this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsAddClassify
|
|
|
- )
|
|
|
- }
|
|
|
+ // }
|
|
|
+ // if(this.aTab===1&&this.authTabsOpt.length){
|
|
|
+ // return this.permissionBtn.checkPermissionBtn(
|
|
|
+ // this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsAddClassify
|
|
|
+ // )
|
|
|
+ // }
|
|
|
},
|
|
|
//编辑是否展示
|
|
|
isEditBtnShow(){
|
|
|
- if(this.aTab===0){
|
|
|
+ // if(this.aTab===0){
|
|
|
return this.permissionBtn.checkPermissionBtn(
|
|
|
this.permissionBtn.enClassifyBtn.classifyList_enClassify_rpEdit
|
|
|
)
|
|
|
- }else{
|
|
|
- return this.permissionBtn.checkPermissionBtn(
|
|
|
- this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsEdit
|
|
|
- )
|
|
|
- }
|
|
|
+ // }else{
|
|
|
+ // return this.permissionBtn.checkPermissionBtn(
|
|
|
+ // this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsEdit
|
|
|
+ // )
|
|
|
+ // }
|
|
|
},
|
|
|
//删除是否展示
|
|
|
isDeleteBtnShow(){
|
|
|
- if(this.aTab===0){
|
|
|
+ // if(this.aTab===0){
|
|
|
return this.permissionBtn.checkPermissionBtn(
|
|
|
this.permissionBtn.enClassifyBtn.classifyList_enClassify_rpDel
|
|
|
)
|
|
|
- }else{
|
|
|
- return this.permissionBtn.checkPermissionBtn(
|
|
|
- this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsDel
|
|
|
- )
|
|
|
- }
|
|
|
+ // }else{
|
|
|
+ // return this.permissionBtn.checkPermissionBtn(
|
|
|
+ // this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsDel
|
|
|
+ // )
|
|
|
+ // }
|
|
|
},
|
|
|
//权限设置是否展示
|
|
|
isAuthSetBtnShow(){
|
|
|
- if(this.aTab===0){
|
|
|
+ // if(this.aTab===0){
|
|
|
return this.permissionBtn.checkPermissionBtn(
|
|
|
this.permissionBtn.enClassifyBtn.classifyList_enClassify_rpAuthSetting
|
|
|
)
|
|
|
- }else{
|
|
|
- return this.permissionBtn.checkPermissionBtn(
|
|
|
- this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsAuthSetting
|
|
|
- )
|
|
|
- }
|
|
|
- },
|
|
|
- //英文研报、线上路演选项卡
|
|
|
- authTabsOpt(){
|
|
|
- const isShowTabRoadshow = this.permissionBtn.checkPermissionBtn(
|
|
|
- this.permissionBtn.enClassifyBtn.classifyList_enClassify_roadshow
|
|
|
- )
|
|
|
- const isShowTabReport = this.permissionBtn.checkPermissionBtn(
|
|
|
- this.permissionBtn.enClassifyBtn.classifyList_enClassify_report
|
|
|
- )
|
|
|
- //没时间写更好的写法了,有空再优化
|
|
|
- let authTabs = []
|
|
|
- if(isShowTabReport){
|
|
|
- authTabs.push(this.tabsOpt[0])
|
|
|
- }
|
|
|
- if(isShowTabRoadshow){
|
|
|
- authTabs.push(this.tabsOpt[1])
|
|
|
- }
|
|
|
- return authTabs
|
|
|
+ // }else{
|
|
|
+ // return this.permissionBtn.checkPermissionBtn(
|
|
|
+ // this.permissionBtn.enClassifyBtn.classifyList_enClassify_rsAuthSetting
|
|
|
+ // )
|
|
|
+ // }
|
|
|
},
|
|
|
+ //英文研报、线上路演选项卡 - ETA1.1.7 不区分英文研报和线上路演,统一用英文研报的 按钮标识
|
|
|
+ // authTabsOpt(){
|
|
|
+ // const isShowTabRoadshow = this.permissionBtn.checkPermissionBtn(
|
|
|
+ // this.permissionBtn.enClassifyBtn.classifyList_enClassify_roadshow
|
|
|
+ // )
|
|
|
+ // const isShowTabReport = this.permissionBtn.checkPermissionBtn(
|
|
|
+ // this.permissionBtn.enClassifyBtn.classifyList_enClassify_report
|
|
|
+ // )
|
|
|
+ // //没时间写更好的写法了,有空再优化
|
|
|
+ // let authTabs = []
|
|
|
+ // if(isShowTabReport){
|
|
|
+ // authTabs.push(this.tabsOpt[0])
|
|
|
+ // }
|
|
|
+ // if(isShowTabRoadshow){
|
|
|
+ // authTabs.push(this.tabsOpt[1])
|
|
|
+ // }
|
|
|
+ // return authTabs
|
|
|
+ // },
|
|
|
//添加分类时的选项框
|
|
|
},
|
|
|
data() {
|