|
@@ -346,13 +346,19 @@ export default {
|
|
|
this.$message("新添加业务空间内容不能为空!")
|
|
|
return
|
|
|
}
|
|
|
- if (this.buildFloorSelectd && this.buildFloorSelectd[0] && this.buildFloorSelectd[1]) {
|
|
|
- param.BuildingId = this.buildFloorSelectd[0]
|
|
|
- param.FloorId = this.buildFloorSelectd[1]
|
|
|
+ if (param.flowBuild) {
|
|
|
+ param.BuildingId = param.flowBuild.split('-')[0]
|
|
|
+ param.FloorId = param.flowBuild.split('-')[1] || null
|
|
|
+ } else {
|
|
|
+ if (this.buildFloorSelectd) {
|
|
|
+ if (this.buildFloorSelectd[0] != 'all' && this.buildFloorSelectd[0] != 'noKnow') {
|
|
|
+ param.BuildingId = this.buildFloorSelectd[0]
|
|
|
+ }
|
|
|
+ if (this.buildFloorSelectd[1] && this.buildFloorSelectd[1] != 'all' && this.buildFloorSelectd[1] != 'noKnow') {
|
|
|
+ param.FloorId = this.buildFloorSelectd[1]
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
- // else if (this.buildMess.selectd && this.buildMess.selectd[0] && !this.buildMess.selectd[1]) {
|
|
|
- // param.BuildingId = this.buildMess.selectd[0]
|
|
|
- // }
|
|
|
let params = {
|
|
|
zone: this.zoneCode,
|
|
|
data: {
|