diff --git a/src/api/management/mapline.js b/src/api/management/mapline.js index 345914d09..baf989ed9 100644 --- a/src/api/management/mapline.js +++ b/src/api/management/mapline.js @@ -43,6 +43,23 @@ export function updateSkinCode(data) { }); } +// 根据code获取线路配置 +export function getRealLineConfigList(id) { + return request({ + url: `/api/realLine/config/${id}`, + method: 'get' + }); +} + +// 根据id修改线路配置 +export function putRealLineConfig(id, data) { + return request({ + url: `/api/realLine/config/${id}`, + method: 'post', + data: data + }); +} + /** 通过皮肤Code更新地图皮肤*/ export function updateSkinCodeByCode(data) { return request({ diff --git a/src/components/QueryListPage/DataForm.vue b/src/components/QueryListPage/DataForm.vue index c23734a1b..9d1ef4c04 100644 --- a/src/components/QueryListPage/DataForm.vue +++ b/src/components/QueryListPage/DataForm.vue @@ -58,6 +58,7 @@ :disabled="item.disabled" :min="isNaN(item.min) ? -Infinity : item.min" :max="isNaN(item.max)? Infinity : item.max" + :step="isNaN(item.step) ? -Infinity : item.step" /> -