新需求优化

This commit is contained in:
BianLzhaoMin 2025-07-28 16:42:14 +08:00
parent fe129b2c86
commit d5ddd971f4
4 changed files with 8 additions and 4 deletions

View File

@ -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 });
} }

View File

@ -86,7 +86,7 @@ function initTable(dataList, limit, page) {
}, },
{ {
field: "towerName", field: "towerName",
title: "索道终点所在杆塔", title: "索道位置",
unresize: true, unresize: true,
align: "center", align: "center",
}, },

View File

@ -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, // 可调整虚线长度
}); });
} }

View File

@ -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>