|
@@ -41,12 +41,13 @@
|
|
|
<detail-list-item term="单位">{{ model.unit }}</detail-list-item>
|
|
|
<detail-list-item term="x轴位置">{{ model.xPosition }}</detail-list-item>
|
|
|
<detail-list-item term="y轴位置">{{ model.yPosition }}</detail-list-item>
|
|
|
+ <detail-list-item term="位置宽度">{{ model.width }}</detail-list-item>
|
|
|
+ <detail-list-item term="位置高度">{{ model.height }}</detail-list-item>
|
|
|
<detail-list-item term="图片x轴位置">{{ model.imgXPosition }}</detail-list-item>
|
|
|
<detail-list-item term="图片y轴位置">{{ model.imgYPosition }}</detail-list-item>
|
|
|
- <detail-list-item term="图片高度">{{ model.imgHeight}}</detail-list-item>
|
|
|
+ <detail-list-item term="图片高度">{{ model.imgHeight }}</detail-list-item>
|
|
|
<detail-list-item term="图片宽度">{{ model.imgWidth }}</detail-list-item>
|
|
|
- <detail-list-item term="位置宽度">{{ model.width }}</detail-list-item>
|
|
|
- <detail-list-item term="位置高度">{{ model.height }}</detail-list-item>
|
|
|
+ <detail-list-item term="图片方向">{{ BaseTool.Object.getField(positionMap,model.imgPosition) }}</detail-list-item>
|
|
|
<detail-list-item term="备注">{{ model.remark }}</detail-list-item>
|
|
|
<detail-list-item term="创建人">{{ model.createdUserId }}</detail-list-item>
|
|
|
<detail-list-item term="更新人">{{ model.updateUserId }}</detail-list-item>
|
|
@@ -71,6 +72,7 @@ export default {
|
|
|
mdl: {},
|
|
|
map: {},
|
|
|
yesNoMap: {},
|
|
|
+ positionMap: {},
|
|
|
modalTitle: null,
|
|
|
visible: false,
|
|
|
// 下拉框map
|
|
@@ -98,6 +100,7 @@ export default {
|
|
|
'imgYPosition': null,
|
|
|
'imgHeight': null,
|
|
|
'imgWidth': null,
|
|
|
+ 'imgPosition': null,
|
|
|
'width': null,
|
|
|
'height': null,
|
|
|
'low': null,
|
|
@@ -119,6 +122,7 @@ export default {
|
|
|
// 下拉框map
|
|
|
this.map = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REMOTE_OPC)
|
|
|
this.yesNoMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.YES_NO)
|
|
|
+ this.positionMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.REMOTE_OPC_IMG_POSITION)
|
|
|
},
|
|
|
methods: {
|
|
|
base (record) {
|