Commit 0827063f authored by coffee's avatar coffee

关联摄像头对话框绘图比例调整

parent 2de15695
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
el-input.mywidth(type="textarea" :rows=5 resize="none" v-model="dataForm.attachedInfo" placeholder='请填写附属信息') el-input.mywidth(type="textarea" :rows=5 resize="none" v-model="dataForm.attachedInfo" placeholder='请填写附属信息')
el-form-item(label='备注:' prop='remark') el-form-item(label='备注:' prop='remark')
el-input.mywidth(type="textarea" :rows=5 resize="none" v-model="dataForm.remark" placeholder='请填写备注') el-input.mywidth(type="textarea" :rows=5 resize="none" v-model="dataForm.remark" placeholder='请填写备注')
el-dialog(top="2vh" v-if="addVisible" :visible.sync="addVisible" width="1586px" :append-to-body='true' :before-close="dialogClose" class="map-dialog" :modal-append-to-body='true') el-dialog(top="2vh" v-if="addVisible" :visible.sync="addVisible" width="1300px" :append-to-body='true' :before-close="dialogClose" class="map-dialog" :modal-append-to-body='true')
div(slot='title') div(slot='title')
span.title-bold 选择摄像头 span.title-bold 选择摄像头
div(id="mapDialog" style="width: 100%;height: 680px;position: relative;") div(id="mapDialog" style="width: 100%;height: 680px;position: relative;")
...@@ -278,7 +278,7 @@ export default { ...@@ -278,7 +278,7 @@ export default {
source: new ImageStatic({ source: new ImageStatic({
url: bean.readPath, //这里添加静态图片的地址 url: bean.readPath, //这里添加静态图片的地址
projection: this.projection, projection: this.projection,
imageExtent: this.extent imageExtent: [-600, -100, 800, 1000]
}), }),
visible: true visible: true
}) })
...@@ -293,7 +293,7 @@ export default { ...@@ -293,7 +293,7 @@ export default {
zoom: 2.5, zoom: 2.5,
maxZoom: 5, maxZoom: 5,
minZoom: 1.5, minZoom: 1.5,
extent: [-1100, -100, 2000, 1000] extent: [-800, -100, 2000, 1000]
}) })
}) })
//点击事件 //点击事件
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment