1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import httpRequest from '@/request/index'
- export function apiGetExportMsg(url, params) {
- return httpRequest({
- url: url,
- method: 'get',
- responseType: 'blob',
- params: params
- })
- }
- export function apiGetModel(url, params) {
- return httpRequest({
- url: url,
- method: 'get',
- params: params
- })
- }
- export function apiGetUserInfo() {
- return httpRequest({
- url: 'captchaImage',
- method: 'get'
- })
- }
- export function toLoginApi(params) {
- return httpRequest({
- url: 'toLogin',
- method: 'post',
- params: params
- })
- }
- export function apiGetWeather(params) {
- return httpRequest({
- url: 'predict/api/wfc/getWeatherForecastDataOne',
- method: 'get',
- params: params
- })
- }
- export function apiGetIndicatorList(params) {
- return httpRequest({
- url: 'indicator/list',
- method: 'get',
- params: params
- })
- }
- export function apiGetIndicatorSave(params) {
- return httpRequest.post('indicator/save', params)
- }
- export function apiGetIndicatorDelete(params) {
- return httpRequest({
- url: `indicator/remove/${params}`,
- method: 'delete'
- })
- }
- export function apiGetIndicatordictionaryList(params) {
- return httpRequest({
- url: 'indicator-dictionary/list',
- method: 'get',
- params: params
- })
- }
|