diff --git a/fuintAdmin/src/api/oilPrice.js b/fuintAdmin/src/api/oilPrice.js index 0577796a8..4e8433b4d 100644 --- a/fuintAdmin/src/api/oilPrice.js +++ b/fuintAdmin/src/api/oilPrice.js @@ -37,7 +37,7 @@ export function dictSelect(data) { }) } -// 字典查询 +// export function getOilPresetList(data) { return request({ url: 'business/petrolStationManagement/oilPresetPrices/getList', @@ -45,3 +45,40 @@ export function getOilPresetList(data) { data: data }) } + + +// 查询油品 +export function getOilNameListApi(data) { + return request({ + url: '/business/petrolStationManagement/oilNumber/getOilName', + method: 'get', + params: data + }) +} +// 查询油品名称 +export function getOilNameApi(data) { + return request({ + url: '/business/petrolStationManagement/oilName/getList', + method: 'get', + params: data + }) +} +// 查询油品名称 +export function getAllOilListApi(data) { + return request({ + url: '/business/petrolStationManagement/oilName/getOilName', + method: 'get', + params: data + }) +} + +// 新增预设 +export function insertOilPresePricesApi(data) { + return request({ + url: 'business/petrolStationManagement/oilPresetPrices', + method: 'post', + data: data + }) +} + + diff --git a/fuintAdmin/src/views/oilPrice/index.vue b/fuintAdmin/src/views/oilPrice/index.vue index 4ed2aeba6..bd657d956 100644 --- a/fuintAdmin/src/views/oilPrice/index.vue +++ b/fuintAdmin/src/views/oilPrice/index.vue @@ -8,18 +8,21 @@