|
@@ -209,6 +209,9 @@ export default {
|
|
// floorId = this.$cookie.get('floorMapId'),
|
|
// floorId = this.$cookie.get('floorMapId'),
|
|
floorId = this.$store.state.currentFloor.gname || this.$cookie.get('floorMapId'),
|
|
floorId = this.$store.state.currentFloor.gname || this.$cookie.get('floorMapId'),
|
|
categoryId = this.$cookie.get('categoryId')
|
|
categoryId = this.$cookie.get('categoryId')
|
|
|
|
+ // 暖通系统,消防系统上送值修改
|
|
|
|
+ categoryId == 'NTXT' && (categoryId = 'FZQZL')
|
|
|
|
+ categoryId == 'XFXT' && (categoryId = 'XFBFYCFL')
|
|
// 增加校验 floorId,防止上传 undefined
|
|
// 增加校验 floorId,防止上传 undefined
|
|
if (!floorId) {
|
|
if (!floorId) {
|
|
return true
|
|
return true
|
|
@@ -342,8 +345,14 @@ export default {
|
|
// 查询图例
|
|
// 查询图例
|
|
queryView(flag) {
|
|
queryView(flag) {
|
|
let postParams = {}
|
|
let postParams = {}
|
|
|
|
+ //FZQZL
|
|
|
|
+ //XFBFYCFL
|
|
|
|
+ // 暖通系统,消防系统上送值修改
|
|
|
|
+ let categoryId = this.$cookie.get('categoryId')
|
|
|
|
+ categoryId == 'NTXT' && (categoryId = 'FZQZL')
|
|
|
|
+ categoryId == 'XFXT' && (categoryId = 'XFBFYCFL')
|
|
let data = {
|
|
let data = {
|
|
- categoryId: this.$cookie.get('categoryId'),
|
|
|
|
|
|
+ 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,
|
|
@@ -375,8 +384,12 @@ export default {
|
|
// 查询编辑状态图例
|
|
// 查询编辑状态图例
|
|
queryEditNum(flag) {
|
|
queryEditNum(flag) {
|
|
let postParams = {}
|
|
let postParams = {}
|
|
|
|
+ // 暖通系统,消防系统上送值修改
|
|
|
|
+ let categoryId = this.$cookie.get('categoryId')
|
|
|
|
+ categoryId == 'NTXT' && (categoryId = 'FZQZL')
|
|
|
|
+ categoryId == 'XFXT' && (categoryId = 'XFBFYCFL')
|
|
let data = {
|
|
let data = {
|
|
- categoryId: this.$cookie.get('categoryId'),
|
|
|
|
|
|
+ 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,
|