Commit 88b049d1832630e0443871f5df1472ff9dc2fc4d
1 parent
c4c57d72
线路相关问题修改
Showing
3 changed files
with
4 additions
and
3 deletions
src/main/resources/static/index.html
| @@ -630,7 +630,8 @@ | @@ -630,7 +630,8 @@ | ||
| 630 | <script | 630 | <script |
| 631 | src="http://webapi.amap.com/maps?v=1.3&key=16cb1c5043847e09ef9edafdd77befda" | 631 | src="http://webapi.amap.com/maps?v=1.3&key=16cb1c5043847e09ef9edafdd77befda" |
| 632 | data-exclude=1></script> | 632 | data-exclude=1></script> |
| 633 | - | 633 | +<!-- echarts --> |
| 634 | +<script src="/metronic_v4.5.4/plugins/echarts4/echarts.min.js"></script> | ||
| 634 | <script src="/real_control_v2/assets/plugins/perfect-scrollbar/perfect-scrollbar.jquery.js" merge="plugins"></script> | 635 | <script src="/real_control_v2/assets/plugins/perfect-scrollbar/perfect-scrollbar.jquery.js" merge="plugins"></script> |
| 635 | 636 | ||
| 636 | </body> | 637 | </body> |
src/main/resources/static/pages/base/line/edit.html
| @@ -59,7 +59,7 @@ | @@ -59,7 +59,7 @@ | ||
| 59 | </label> | 59 | </label> |
| 60 | <div class="col-md-4"> | 60 | <div class="col-md-4"> |
| 61 | <input type="text" class="form-control" name="lineCode" id="lineCodeInput" | 61 | <input type="text" class="form-control" name="lineCode" id="lineCodeInput" |
| 62 | - placeholder="线路编码"> | 62 | + placeholder="线路编码" readonly="readonly"> |
| 63 | </div> | 63 | </div> |
| 64 | </div> | 64 | </div> |
| 65 | <!-- 线路编码 (* 必填项) END --> | 65 | <!-- 线路编码 (* 必填项) END --> |
src/main/resources/static/pages/base/line/js/line-edit-form.js
| @@ -236,7 +236,7 @@ | @@ -236,7 +236,7 @@ | ||
| 236 | // 表单序列化 | 236 | // 表单序列化 |
| 237 | var params = form.serializeJSON(); | 237 | var params = form.serializeJSON(); |
| 238 | // 查询线路编码的顺延号 | 238 | // 查询线路编码的顺延号 |
| 239 | - $get('/line/all', {lineCode_prefixLike: params.lineCode},function(lineCode){ | 239 | + $get('/line/all', {lineCode_eq: params.lineCode},function(lineCode){ |
| 240 | // 定义返回值的长度 | 240 | // 定义返回值的长度 |
| 241 | var len = lineCode.length; | 241 | var len = lineCode.length; |
| 242 | // 如果大于零,则已存在录入的线路编码;否则不存在 | 242 | // 如果大于零,则已存在录入的线路编码;否则不存在 |