fix(接口场景): 引用场景的弹窗中不再显示场景的操作按钮

引用场景的弹窗中不再显示场景的操作按钮
This commit is contained in:
song-tianyang 2021-07-15 18:11:10 +08:00 committed by 刘瑞斌
parent dade120602
commit e842bb88d8
2 changed files with 9 additions and 2 deletions

View File

@ -271,6 +271,10 @@ export default {
type: Boolean,
default: false,
},
isReferenceTable: {
type: Boolean,
default: false,
},
selectNodeIds: Array,
selectProjectId: {
type: String,
@ -462,8 +466,10 @@ export default {
if (!this.projectName || this.projectName === "") {
this.getProjectName();
}
if(!this.isReferenceTable){
this.operators = this.unTrashOperators;
this.buttons = this.unTrashButtons;
}
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
let orderArr = this.getSortField();
if (orderArr) {

View File

@ -19,6 +19,7 @@
:select-project-id="projectId"
:referenced="true"
:trash-enable="false"
:is-reference-table="true"
@selection="setData"
:custom-num="customNum"
ref="apiScenarioList"/>