123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- 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: 'post'
- })
- }
- export function apiGetIndicatordictionaryList(params) {
- return httpRequest({
- url: 'indicator-dictionary/list',
- method: 'get',
- params: params
- })
- }
- export function apiGetIndicatordicsaveList(params) {
- return httpRequest.post('indicator-dictionary/save', params)
- }
- export function apiGetIndicatordicdeleteList(params) {
- return httpRequest({
- url: `indicator-dictionary/remove/${params}`,
- method: 'post'
- })
- }
- export function apiGetdataDictionaryList() {
- return httpRequest({
- url: 'data-dictionary/list?superKey=ZBX0001',
- method: 'get'
- })
- }
- export function apiGetevaluateRuleList(params) {
- return httpRequest({
- url: 'evaluate-rule/list',
- method: 'get',
- params: params
- })
- }
- export function apiGetevaluateRuleSaveList(params) {
- return httpRequest.post('evaluate-rule/save', params)
- }
- export function apiGetevaluateRuledeleteList(params) {
- return httpRequest({
- url: `evaluate-rule/remove/${params}`,
- method: 'post'
- })
- }
- export function apiGetdatadictionaryList(params) {
- return httpRequest({
- url: 'data-dictionary/list',
- method: 'get',
- params: params
- })
- }
- export function apiGetevaluateRuleinfoList(params) {
- return httpRequest({
- url: 'evaluate-rule-info/list',
- method: 'get',
- params: params
- })
- }
- export function apiGetevaluateRuleInfoSaveList(params) {
- return httpRequest.post('evaluate-rule-info/save', params)
- }
- export function apiGetevaluateRuleinfodeleteList(params) {
- return httpRequest({
- url: `evaluate-rule-info/remove/${params}`,
- method: 'post'
- })
- }
- export function apiGetindicatorListAll() {
- return httpRequest({
- url: `indicator/listAll`,
- method: 'get'
- })
- }
- export function apiGetOrganizationList(params) {
- return httpRequest({
- url: 'organization-evaluation-rule/list',
- method: 'get',
- params: params
- })
- }
- export function apiGetorganizationSaveList(params) {
- return httpRequest.post('organization-evaluation-rule/save', params)
- }
- export function apiGetorganizationdeleteList(params) {
- return httpRequest({
- url: `organization-evaluation-rule/remove/${params}`,
- method: 'post'
- })
- }
- export function apiGetevaluateListAll() {
- return httpRequest({
- url: 'evaluate-rule/listAll',
- method: 'get'
- })
- }
- export function apiGetpersonnelList(params) {
- return httpRequest({
- url: 'personnel-evaluation-rule/list',
- method: 'get',
- params: params
- })
- }
- export function apiGetpersonnelSaveList(params) {
- return httpRequest.post('personnel-evaluation-rule/save', params)
- }
- export function apiGetpersonneldeleteList(params) {
- return httpRequest({
- url: `personnel-evaluation-rule/remove/${params}`,
- method: 'post'
- })
- }
|