|
@@ -319,7 +319,9 @@ export default {
|
|
categoryId: this.$cookie.get('categoryId'),
|
|
categoryId: this.$cookie.get('categoryId'),
|
|
graphId: this.$cookie.get('graphId'),
|
|
graphId: this.$cookie.get('graphId'),
|
|
projectId: this.$store.state.plazaId,
|
|
projectId: this.$store.state.plazaId,
|
|
- flag: flag
|
|
|
|
|
|
+ flag: flag,
|
|
|
|
+ buildingId: '1',
|
|
|
|
+ floorId: this.$store.state.currentFloor.gname
|
|
}
|
|
}
|
|
queryStatis({ data, postParams }).then(res => {
|
|
queryStatis({ data, postParams }).then(res => {
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -347,9 +349,12 @@ export default {
|
|
queryEditNum(flag) {
|
|
queryEditNum(flag) {
|
|
let postParams = {}
|
|
let postParams = {}
|
|
let data = {
|
|
let data = {
|
|
|
|
+ categoryId: this.$cookie.get('categoryId'),
|
|
graphId: this.$cookie.get('graphId'),
|
|
graphId: this.$cookie.get('graphId'),
|
|
projectId: this.$store.state.plazaId,
|
|
projectId: this.$store.state.plazaId,
|
|
- flag: flag
|
|
|
|
|
|
+ flag: flag,
|
|
|
|
+ buildingId: '1',
|
|
|
|
+ floorId: this.$store.state.currentFloor.gname
|
|
}
|
|
}
|
|
queryStatis({ data, postParams }).then(res => {
|
|
queryStatis({ data, postParams }).then(res => {
|
|
//console.log('编辑图例数', res)
|
|
//console.log('编辑图例数', res)
|
|
@@ -363,6 +368,9 @@ export default {
|
|
if (val.length > 0) {
|
|
if (val.length > 0) {
|
|
val.forEach(el => {
|
|
val.forEach(el => {
|
|
let obj = {
|
|
let obj = {
|
|
|
|
+ BuildingId: '1',
|
|
|
|
+ FloorId: this.$store.state.currentFloor.gname,
|
|
|
|
+ ProjectId: this.plazaId,
|
|
CategoryId: el.GraphCategoryId,
|
|
CategoryId: el.GraphCategoryId,
|
|
GraphId: this.$cookie.get('graphId'),
|
|
GraphId: this.$cookie.get('graphId'),
|
|
GraphElementId: el.GraphElementId,
|
|
GraphElementId: el.GraphElementId,
|