beta 模块 view ARR 和 Automatic Analysis Log 增加按钮权限,及提示信息
This commit is contained in:
parent
83d3da81ad
commit
f0dc116793
|
@ -794,7 +794,7 @@ export default {
|
|||
key: 'all',
|
||||
},
|
||||
],
|
||||
key: 'resultsToDB'
|
||||
key: 'resultsToDB',
|
||||
},
|
||||
{
|
||||
title: 'Save PHD to File',
|
||||
|
@ -808,7 +808,7 @@ export default {
|
|||
key: 'all',
|
||||
},
|
||||
],
|
||||
key: 'phdToFile'
|
||||
key: 'phdToFile',
|
||||
},
|
||||
],
|
||||
width: '170px',
|
||||
|
@ -1077,12 +1077,16 @@ export default {
|
|||
{
|
||||
type: 'a-menu-item',
|
||||
title: 'View ARR',
|
||||
handler: () => {
|
||||
this.arrOrRRRModalVisible = true
|
||||
this.arrOrRRRModalExtraData = {}
|
||||
this.arrOrRRRModalType = 3
|
||||
},
|
||||
show: this.isBetaGamma,
|
||||
handler: () => {
|
||||
if (this.newSampleData.sampleId) {
|
||||
this.arrOrRRRModalVisible = true
|
||||
this.arrOrRRRModalExtraData = {}
|
||||
this.arrOrRRRModalType = 3
|
||||
} else {
|
||||
this.$message.warning("The file isn't existed.")
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
type: 'a-menu-item',
|
||||
|
@ -1141,16 +1145,13 @@ export default {
|
|||
title: 'Automatic Analysis Log',
|
||||
show: this.isBetaGamma || this.isGamma,
|
||||
handler: () => {
|
||||
if (this.isGamma) {
|
||||
if (this.isBetaGamma || this.isGamma) {
|
||||
if (this.newSampleData.sampleId) {
|
||||
this.autoAnalysisMogModalType = this.isGamma ? 1 : this.isBetaGamma ? 2 : 1
|
||||
this.autoAnalysisMogModalVisible = true
|
||||
} else {
|
||||
this.$message.warning("The file isn't existed.")
|
||||
}
|
||||
} else if (this.isBetaGamma) {
|
||||
this.autoAnalysisMogModalType = this.isGamma ? 1 : this.isBetaGamma ? 2 : 1
|
||||
this.autoAnalysisMogModalVisible = true
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user