parent
dade120602
commit
e842bb88d8
|
@ -271,6 +271,10 @@ export default {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
isReferenceTable: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
selectNodeIds: Array,
|
selectNodeIds: Array,
|
||||||
selectProjectId: {
|
selectProjectId: {
|
||||||
type: String,
|
type: String,
|
||||||
|
@ -462,8 +466,10 @@ export default {
|
||||||
if (!this.projectName || this.projectName === "") {
|
if (!this.projectName || this.projectName === "") {
|
||||||
this.getProjectName();
|
this.getProjectName();
|
||||||
}
|
}
|
||||||
this.operators = this.unTrashOperators;
|
if(!this.isReferenceTable){
|
||||||
this.buttons = this.unTrashButtons;
|
this.operators = this.unTrashOperators;
|
||||||
|
this.buttons = this.unTrashButtons;
|
||||||
|
}
|
||||||
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
this.condition.filters = {status: ["Prepare", "Underway", "Completed"]};
|
||||||
let orderArr = this.getSortField();
|
let orderArr = this.getSortField();
|
||||||
if (orderArr) {
|
if (orderArr) {
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
:select-project-id="projectId"
|
:select-project-id="projectId"
|
||||||
:referenced="true"
|
:referenced="true"
|
||||||
:trash-enable="false"
|
:trash-enable="false"
|
||||||
|
:is-reference-table="true"
|
||||||
@selection="setData"
|
@selection="setData"
|
||||||
:custom-num="customNum"
|
:custom-num="customNum"
|
||||||
ref="apiScenarioList"/>
|
ref="apiScenarioList"/>
|
||||||
|
|
Loading…
Reference in New Issue