|
@@ -40,9 +40,9 @@ export default {
|
|
|
Url: '',
|
|
|
LineWidth: '',
|
|
|
LineDash: '',
|
|
|
- InfoTypeId: [], //铺位可视化typeid
|
|
|
- InfoLocal: [], //工程信息化位置与设备分类
|
|
|
- InfoSystem: [] //工程信息化专业/系统
|
|
|
+ InfoTypeId: [] //铺位可视化typeid
|
|
|
+ // InfoLocal: [], //工程信息化位置与设备分类
|
|
|
+ // InfoSystem: [] //工程信息化专业/系统
|
|
|
},
|
|
|
title: '',
|
|
|
GraphCategoryId: 'DTXT',
|
|
@@ -70,9 +70,9 @@ export default {
|
|
|
Unit: '',
|
|
|
FillColor: '',
|
|
|
Url: '',
|
|
|
- InfoTypeId: [], //铺位可视化typeid
|
|
|
- InfoLocal: [], //工程信息化位置与设备分类
|
|
|
- InfoSystem: [] //工程信息化专业/系统
|
|
|
+ InfoTypeId: [] //铺位可视化typeid
|
|
|
+ // InfoLocal: [], //工程信息化位置与设备分类
|
|
|
+ // InfoSystem: [] //工程信息化专业/系统
|
|
|
}
|
|
|
} else if (title == '添加图例库') {
|
|
|
this.dialogVisible = true
|
|
@@ -82,9 +82,9 @@ export default {
|
|
|
Unit: '',
|
|
|
FillColor: '',
|
|
|
Url: '',
|
|
|
- InfoTypeId: [], //铺位可视化typeid
|
|
|
- InfoLocal: [], //工程信息化位置与设备分类
|
|
|
- InfoSystem: [] //工程信息化专业/系统
|
|
|
+ InfoTypeId: [] //铺位可视化typeid
|
|
|
+ // InfoLocal: [], //工程信息化位置与设备分类
|
|
|
+ // InfoSystem: [] //工程信息化专业/系统
|
|
|
}
|
|
|
} else if (title == '修改图例库') {
|
|
|
this.dialogVisible = true
|
|
@@ -108,9 +108,9 @@ export default {
|
|
|
Unit: '',
|
|
|
FillColor: '',
|
|
|
Url: '',
|
|
|
- InfoTypeId: [], //铺位可视化typeid
|
|
|
- InfoLocal: [], //工程信息化位置与设备分类
|
|
|
- InfoSystem: [] //工程信息化专业/系统
|
|
|
+ InfoTypeId: [] //铺位可视化typeid
|
|
|
+ // InfoLocal: [], //工程信息化位置与设备分类
|
|
|
+ // InfoSystem: [] //工程信息化专业/系统
|
|
|
}
|
|
|
},
|
|
|
mesg() {
|
|
@@ -128,7 +128,23 @@ export default {
|
|
|
if (this.info.Name == '') {
|
|
|
this.$message.info('请填写图例名称')
|
|
|
return false
|
|
|
- } else {
|
|
|
+ }
|
|
|
+ // else if (this.info.Type == 'Zone') {
|
|
|
+ // if (this.info.FillColor == '') {
|
|
|
+ // this.$message.info('请选择填充色以及透明度')
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ // if (this.info.Color == '') {
|
|
|
+ // this.$message.info('请选择边框颜色')
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ // } else if (this.info.Type == 'Line') {
|
|
|
+ // if (this.info.Color == '') {
|
|
|
+ // this.$message.info('请选择边框颜色')
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ else {
|
|
|
if (this.info.Type != 'Image' && this.info.Type != 'None') {
|
|
|
this.$refs.add.saveImg()
|
|
|
} else {
|