This commit is contained in:
lcw
2025-09-26 17:22:28 +08:00
parent 7f6783108b
commit ee5e534052
77 changed files with 185 additions and 158 deletions

View File

@ -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
});

View File

@ -1,5 +1,5 @@
import request from "@/utils/request";
const api = "/bagl/mosty-base";
const api = "/mosty-base";
/**
* 消息列表

View File

@ -1,5 +1,5 @@
import request from "@/utils/request";
const api = "/bagl/mosty-base";
const api = "/mosty-base";
/*
* 登录
* return promise 实例对象

View File

@ -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",

View File

@ -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)
});
}

View File

@ -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({

View File

@ -1,5 +1,5 @@
import request from "@/utils/request";
const api = "/bagl/mosty-base";
const api = "/mosty-base";
/*
* 登录
* return promise 实例对象

View File

@ -1,5 +1,5 @@
import request from "@/utils/request";
const api = "/bagl/mosty-base";
const api = "/mosty-base";
// 查询生成表数据
export function listTable(params) {
return request({

View File

@ -1,5 +1,5 @@
import request from "@/utils/request";
const api = "/bagl/mosty-base";
const api = "/mosty-base";
/*
* 登录
* return promise 实例对象