|
@@ -165,14 +165,14 @@ export default {
|
|
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 => {
|
|
this.loading = false
|
|
this.loading = false
|
|
this.getDataSuc(res, 'ZoneSpaceBaseIn')
|
|
this.getDataSuc(res, 'ZoneSpaceBaseIn')
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
// pa.data.Cascade.push({ Name: "zoneSpaceForBase" })
|
|
// pa.data.Cascade.push({ Name: "zoneSpaceForBase" })
|
|
- pa.data.cascade = [{ Name: "equipCategory" }];
|
|
|
|
|
|
+ pa.data.cascade = [{ name: "equipCategory" }];
|
|
getEqNotForSpace(pa, res => {
|
|
getEqNotForSpace(pa, res => {
|
|
this.loading = false
|
|
this.loading = false
|
|
this.getDataSuc(res, 'ZoneSpaceBaseFor')
|
|
this.getDataSuc(res, 'ZoneSpaceBaseFor')
|
|
@@ -180,13 +180,13 @@ 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
|
|
this.getDataSuc(res, 'ZoneSpaceBaseIn')
|
|
this.getDataSuc(res, 'ZoneSpaceBaseIn')
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
- pa.data.cascade.push({ Name: "zoneSpaceForBase" })
|
|
|
|
|
|
+ pa.data.cascade.push({ name: "zoneSpaceForBase" })
|
|
notEqForSpaceQuery(pa, res => {
|
|
notEqForSpaceQuery(pa, res => {
|
|
this.loading = false
|
|
this.loading = false
|
|
this.getDataSuc(res, 'ZoneSpaceBaseFor')
|
|
this.getDataSuc(res, 'ZoneSpaceBaseFor')
|