新需求优化
This commit is contained in:
parent
fe129b2c86
commit
d5ddd971f4
|
|
@ -116,7 +116,9 @@ function getRopewayById() {
|
||||||
function (result) {
|
function (result) {
|
||||||
layer.close(loadingMsg);
|
layer.close(loadingMsg);
|
||||||
if (result.code === 200) {
|
if (result.code === 200) {
|
||||||
setFormData(result.data);
|
const data = result.data;
|
||||||
|
data.name = data.towerName;
|
||||||
|
setFormData(data);
|
||||||
} else {
|
} else {
|
||||||
layer.alert(result.msg, { icon: 2 });
|
layer.alert(result.msg, { icon: 2 });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ function initTable(dataList, limit, page) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "towerName",
|
field: "towerName",
|
||||||
title: "索道终点所在杆塔",
|
title: "索道位置",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -919,7 +919,8 @@ async function addMapLine() {
|
||||||
lineColor = "#fff";
|
lineColor = "#fff";
|
||||||
lineMaterial = new Cesium.PolylineDashMaterialProperty({
|
lineMaterial = new Cesium.PolylineDashMaterialProperty({
|
||||||
// 虚线
|
// 虚线
|
||||||
color: Cesium.Color.fromCssColorString(lineColor),
|
// color: Cesium.Color.fromCssColorString(lineColor),
|
||||||
|
color: Cesium.Color.TRANSPARENT,
|
||||||
dashLength: 16.0, // 可调整虚线长度
|
dashLength: 16.0, // 可调整虚线长度
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,8 @@
|
||||||
<input type="hidden" name="id" id="id">
|
<input type="hidden" name="id" id="id">
|
||||||
|
|
||||||
<div class="layui-form-item" style="margin-top: 2%;">
|
<div class="layui-form-item" style="margin-top: 2%;">
|
||||||
<label class="layui-form-label"><span class="required-mark">*</span>索道终点所在杆塔:</label>
|
<!-- <label class="layui-form-label"><span class="required-mark">*</span>索道终点所在杆塔:</label> -->
|
||||||
|
<label class="layui-form-label"><span class="required-mark">*</span>索道位置:</label>
|
||||||
<div class="layui-input-inline">
|
<div class="layui-input-inline">
|
||||||
<!-- <select name="towerId" lay-verify="required" lay-filter="towerSelect">
|
<!-- <select name="towerId" lay-verify="required" lay-filter="towerSelect">
|
||||||
<option value="">选择杆塔</option>
|
<option value="">选择杆塔</option>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue