lcw
This commit is contained in:
@ -7,7 +7,7 @@ import request from "@/utils/request";
|
||||
//获取用户所属区域数据
|
||||
export function getUserArea(params = {}) {
|
||||
return request({
|
||||
url: "/bagl/mosty-base/other/getGajg",
|
||||
url: "/mosty-base/other/getGajg",
|
||||
method: "post",
|
||||
params
|
||||
});
|
||||
@ -21,7 +21,7 @@ export function getUserArea(params = {}) {
|
||||
// 获取方正cokie
|
||||
export function getCokie(params) {
|
||||
return request({
|
||||
url: `/bagl/mosty-base/fzmsg/getCokie`,
|
||||
url: `/mosty-base/fzmsg/getCokie`,
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import request from "@/utils/request";
|
||||
const api = "/bagl/mosty-base";
|
||||
const api = "/mosty-base";
|
||||
|
||||
/**
|
||||
* 消息列表
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import request from "@/utils/request";
|
||||
const api = "/bagl/mosty-base";
|
||||
const api = "/mosty-base";
|
||||
/*
|
||||
* 登录
|
||||
* return promise 实例对象
|
||||
|
||||
@ -11,7 +11,7 @@ export const cyryPage = (data) => {
|
||||
};
|
||||
// 查询公司下的年检人员
|
||||
|
||||
// /bagl/mosty-base/baxx / njry / list
|
||||
// /mosty-base/baxx / njry / list
|
||||
export const njryList = (data) => {
|
||||
return request({
|
||||
url: api + "/baxx/njry/list",
|
||||
|
||||
@ -1,20 +1,20 @@
|
||||
import request from "@/utils/request";
|
||||
import axios from "axios";
|
||||
const api = "";
|
||||
const api = "/bagl";
|
||||
const egisSpace = "/egis-space";
|
||||
|
||||
// 选择站口名称
|
||||
export function egisSpaceGet(fun,coords){
|
||||
export function egisSpaceGet(fun, coords) {
|
||||
let params = {
|
||||
pageNum: 1,
|
||||
pageSize: 1000,
|
||||
keyword: "",
|
||||
geometry: `{"type":"Polygon","coordinates":${JSON.stringify(coords)}}`,
|
||||
};
|
||||
params.geometry = encodeURIComponent(params.geometry)
|
||||
params.geometry = encodeURIComponent(params.geometry)
|
||||
|
||||
let url = egisSpace + '/space/search/custom/ms-dy-intersections'
|
||||
axios.get(url,{params}).then((res) => {
|
||||
axios.get(url, { params }).then((res) => {
|
||||
fun(res.data)
|
||||
});
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
//不巡防申请
|
||||
import request from "@/utils/request";
|
||||
const api = "/mosty-api/mosty-jmxf";
|
||||
const api2 = "/bagl/mosty-base";
|
||||
const api2 = "/mosty-base";
|
||||
//新增
|
||||
export function addRw(data) {
|
||||
return request({
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import request from "@/utils/request";
|
||||
const api = "/bagl/mosty-base";
|
||||
const api = "/mosty-base";
|
||||
/*
|
||||
* 登录
|
||||
* return promise 实例对象
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import request from "@/utils/request";
|
||||
const api = "/bagl/mosty-base";
|
||||
const api = "/mosty-base";
|
||||
// 查询生成表数据
|
||||
export function listTable(params) {
|
||||
return request({
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import request from "@/utils/request";
|
||||
const api = "/bagl/mosty-base";
|
||||
const api = "/mosty-base";
|
||||
/*
|
||||
* 登录
|
||||
* return promise 实例对象
|
||||
|
||||
Reference in New Issue
Block a user