|
@@ -1,27 +1,41 @@
|
|
|
<div>
|
|
|
<div><img src onerror="IV.custom.init_coord()"></div>
|
|
|
- <div id="editor_coord_froms" align="center" style="height:30px;margin-top: 10px;margin-left: 30px;margin-RIGHT:20px;">
|
|
|
- <span >选择坐标系</span>
|
|
|
+ <div id="editor_coord_froms" align="center" style="height:30px;margin-top: 10px;margin-left: 30px;margin-RIGHT:20px;">
|
|
|
+ <span>选择坐标系</span>
|
|
|
<select id="select_coordinate" style="width:200px;" onchange="IV.custom.pick_coord(this)">无</select>
|
|
|
<br/>
|
|
|
|
|
|
<div id="coord_editor">
|
|
|
<hr style="background-color:grey" />
|
|
|
<span>新增坐标系</span>
|
|
|
- <div style="margin-top:10px; width: 95%;height: 100px;padding: 10px; border: 1px solid grey; border-radius: 4px;">
|
|
|
+ <div style="margin-top:10px; width: 95%;height: 100px;padding: 10px; border: 1px solid grey; border-radius: 4px;">
|
|
|
<span>名称:</span>
|
|
|
- <input id="coord_name" type="text" style="margin-left:10px;">
|
|
|
+ <input id="coord_name" type="text" style="margin-left:10px;">
|
|
|
<br/> <br/>
|
|
|
<span>proj4:</span>
|
|
|
- <input id="coord_proj4" type="text" style="margin-left:10px;">
|
|
|
+ <input id="coord_proj4" type="text" style="margin-left:10px;">
|
|
|
</div>
|
|
|
<br/>
|
|
|
<div align="center">
|
|
|
<input type="button" id="save_coord" value="保存" style="width:100px;margin-top: 5px" onclick="IV.custom.save_coord_action()">
|
|
|
<input type="button" id="del_coord" value="删除" style="width:100px;margin-top: 5px" onclick="IV.custom.del_coord_action()">
|
|
|
</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <div id="text_tip" style="color: #999;padding: 10px 89px 10px 59px;box-sizing: border-box;">
|
|
|
+ 提示:当前控制点坐标为系统提供的默认值,请点击按钮输入真实的控制点坐标。
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
-
|
|
|
+<script>
|
|
|
+ const sceneName = window.location.pathname.split('/')[2]
|
|
|
+ const isDev = !sceneName
|
|
|
+ const sceneCode = isDev ? 't-kJ2PEjZ' : sceneName
|
|
|
+ $.ajax({
|
|
|
+ url: `/indoor/${sceneCode}/api/controlPoint/detail`,
|
|
|
+ success: function(res) {
|
|
|
+ if (res.data.status == 1) {
|
|
|
+ $('#text_tip').hide()
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+</script>
|