|
@@ -163,7 +163,7 @@ export default {
|
|
delete pa.data.filters
|
|
delete pa.data.filters
|
|
}
|
|
}
|
|
if (this.showType) {
|
|
if (this.showType) {
|
|
- if (this.type == "Equipment") {
|
|
|
|
|
|
+ if (this.type == "equipment") {
|
|
// pa.data.Cascade.push({ Name: "zoneSpaceInBase" })
|
|
// pa.data.Cascade.push({ Name: "zoneSpaceInBase" })
|
|
pa.data.cascade = [{ Name: "equipCategory" }];
|
|
pa.data.cascade = [{ Name: "equipCategory" }];
|
|
getEqNotInSpace(pa, res => {
|
|
getEqNotInSpace(pa, res => {
|
|
@@ -179,7 +179,7 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- if (this.type == "Equipment") {
|
|
|
|
|
|
+ if (this.type == "equipment") {
|
|
pa.data.cascade.push({ Name: "zoneSpaceInBase" })
|
|
pa.data.cascade.push({ Name: "zoneSpaceInBase" })
|
|
notEqInSpaceQuery(pa, res => {
|
|
notEqInSpaceQuery(pa, res => {
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -225,7 +225,7 @@ export default {
|
|
this.selections.map(t => {
|
|
this.selections.map(t => {
|
|
pa.data.equipIdList.push(t.id)
|
|
pa.data.equipIdList.push(t.id)
|
|
})
|
|
})
|
|
- if (this.type == "Equipment") {
|
|
|
|
|
|
+ if (this.type == "equipment") {
|
|
eqInSpaceCreate(pa, res => {
|
|
eqInSpaceCreate(pa, res => {
|
|
this.successCallback()
|
|
this.successCallback()
|
|
})
|
|
})
|