334a1fb3 by renchao@pashanhoo.com

style:api配置的修改

1 parent 3a92924c
Showing 70 changed files with 159 additions and 161 deletions
......@@ -7,5 +7,6 @@
"SERVERAPI": "/bdcsjsb",
"calcHeight": 200,
"echartTextColor": "#FFFFFF",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
"MANAGEMENTAPI": "http://192.168.2.38:8090/management",
"IPCONFIG": "http://192.168.2.38:8027"
}
\ No newline at end of file
......
......@@ -7,5 +7,6 @@
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"echartTextColor": "#4A4A4A",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
"MANAGEMENTAPI": "http://192.168.2.38:8090/management",
"IPCONFIG": "http://192.168.2.38:8027"
}
\ No newline at end of file
......
......@@ -7,5 +7,6 @@
"SERVERAPI": "/bdcsjsb",
"calcHeight": 200,
"echartTextColor": "#FFFFFF",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
"MANAGEMENTAPI": "http://192.168.2.38:8090/management",
"IPCONFIG": "http://192.168.2.38:8027"
}
\ No newline at end of file
......
......@@ -7,5 +7,6 @@
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"echartTextColor": "#4A4A4A",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
"MANAGEMENTAPI": "http://192.168.2.38:8090/management",
"IPCONFIG": "http://192.168.2.38:8027"
}
\ No newline at end of file
......
......@@ -7,5 +7,6 @@
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"echartTextColor": "#4A4A4A",
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
"MANAGEMENTAPI": "http://192.168.2.38:8090/management",
"IPCONFIG": "http://192.168.2.38:8027"
}
\ No newline at end of file
......
<!--
* @Description: 引入配置文件
* @Autor: renchao
* @LastEditTime: 2023-04-12 11:12:50
* @LastEditTime: 2023-05-06 10:24:57
-->
<!DOCTYPE html>
<html>
......@@ -17,6 +17,13 @@
<%= webpackConfig.name %>
</title>
</head>
<script>
fetch('<%= BASE_URL %>config.json')
.then(response => response.json())
.then(config => {
window.config = config
});
</script>
<body>
<div id="app"></div>
......
......@@ -6,7 +6,7 @@
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class business {
/**
* @description: 成功率统计
......
/*
* @Description: 这个是所有api的前缀配置文件
* @Autor: renchao
* @LastEditTime: 2023-03-24 16:51:18
*/
export default {
SERVERAPI: '/bdcsjsb', //赵千
MANAGEMENTAPI: 'http://192.168.2.38:8090/management'
}
\ No newline at end of file
/*
* @Description: 数据上报模块api文件
* @Autor: renchao
* @LastEditTime: 2023-03-21 16:21:31
* @LastEditTime: 2023-05-06 10:25:44
*/
/* 引入axios请求文件 */
import request from '@/utils/request'
/* 引入配置 */
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/'
/**
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
获取全部字典数据
*/
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjDb {
//登记登簿信息
async getDjfDjDbById(bsmSjsb) {
async getDjfDjDbById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjDb {
});
}
//修改登记登簿信息
async updateDjfDjDb(data) {
async updateDjfDjDb (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjDb/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjFz {
//登记发证信息
async getDjfDjFzDetailById(bsmSjsb) {
async getDjfDjFzDetailById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjFz {
});
}
//修改登记发证信息
async updateDjfDjFz(data) {
async updateDjfDjFz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjFz/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjGd {
// 登记归档信息-业务表单
async getDjfDjGdById(bsmSjsb) {
async getDjfDjGdById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjGd {
});
}
// 登记归档信息-业务-修改
async updateDjfDjGd(data) {
async updateDjfDjGd (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjGd/edit",
method: "put",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSf {
// 登记收费信息
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSh {
//登记审核信息
async getDjfDjShById(bsmSjsb) {
async getDjfDjShById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSh {
});
}
//修改登记审核信息
async updateDjfDjSh(data) {
async updateDjfDjSh (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSh/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSj {
//登记收件信息
async getDjfDjSjById(bsmSjsb) {
async getDjfDjSjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSj {
});
}
//修改登记收件信息
async updateDjfDjSj(data) {
async updateDjfDjSj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSqr {
// 申请人属性信息-业务表单
async getDjfDjSqrById(bsmSjsb) {
async getDjfDjSqrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSqr {
});
}
// 申请人属性信息-业务-修改
async updateDjfDjSqr(data) {
async updateDjfDjSqr (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSqr/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSz {
//登记缮证信息
async getDjfDjSzById(bsmSjsb) {
async getDjfDjSzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djfDjSz {
});
}
//修改登记缮证信息
async updateDjfDjSz(data) {
async updateDjfDjSz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class djtDjSlsq {
// 登记受理申请信息 -- 业务表单
async getDjtDjSlsqById(bsmSjsb) {
async getDjtDjSlsqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/detail",
method: "get",
......@@ -13,7 +13,7 @@ class djtDjSlsq {
});
}
// 登记受理申请信息 -- 业务修改
async updateDjtDjSlsq(data) {
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/edit",
method: "post",
......@@ -21,7 +21,7 @@ class djtDjSlsq {
});
}
//修改登记受理申请信息
async updateDjtDjSlsq(data) {
async updateDjtDjSlsq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/DjtDjSlsq/updateDjtDjSlsq",
method: "put",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class efficient {
/*
......@@ -7,14 +7,14 @@ class efficient {
startDate:开始日期
endDate:结束日期
*/
async getProcessCounts(startDate, endDate,qxdm) {
async getProcessCounts (startDate, endDate, qxdm) {
return request({
url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessCounts",
method: "post",
params: {
startDate: startDate,
endDate: endDate,
qxdm:qxdm
qxdm: qxdm
},
});
}
......@@ -24,7 +24,7 @@ class efficient {
startDate:开始日期
endDate:结束日期
*/
async getProcessDays(recType, startDate, endDate) {
async getProcessDays (recType, startDate, endDate) {
return request({
url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessDays",
method: "post",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class fjF100 {
// 非结构化文档
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtDzdzw {
// 点状定着物信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtMzdzw {
// 面状定着物
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtXzdzw {
// 线状定着物
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZdbhqk {
//宗地变化情况
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhydzb {
// 用海,用岛坐标
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhzk {
//用海状况
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwC {
// 层信息- 业务表单
async getKttFwCById(bsmSjsb) {
async getKttFwCById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/detail",
method: "get",
......@@ -13,7 +13,7 @@ class kttFwC {
});
}
// 层信息-业务-修改
async updateKttFwC(data) {
async updateKttFwC (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwC/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwH {
// 户信息- 业务表单
async getKttFwHById(bsmSjsb) {
async getKttFwHById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/detail",
method: "get",
......@@ -13,7 +13,7 @@ class kttFwH {
});
}
// 户信息-业务-修改
async updateKttFwH(data) {
async updateKttFwH (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwH/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwLjz {
// 逻辑幢信息 -- 业务表单
async getKttFwLjzById(bsmSjsb) {
async getKttFwLjzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/detail",
method: "get",
......@@ -13,7 +13,7 @@ class kttFwLjz {
});
}
// 逻辑幢信息 -- 业务修改
async updateKttFwLjz(data) {
async updateKttFwLjz (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/edit",
method: "post",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwZrz {
// 自然幢信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzd {
//界址点
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzx {
//界址线信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGzw {
//构筑物
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttZdjbxx {
// 宗地基本信息
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttZhjbxx {
//宗海基本信息
......
......@@ -4,10 +4,7 @@
* @LastEditTime: 2023-03-23 17:19:52
*/
import request from "@/utils/request";
// import SERVER from "./config";
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// console.log(SERVER, 'SERVERSERVER');
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
export function loginIn (username, password) {
return request({
url: `${SERVER.MANAGEMENTAPI}/login?username=${username}&password=${password}`,
......
import request from '@/utils/request'
// import SERVER from "./config";
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const workflow = '/workflow'
const log = '/log'
const crud = '/crud'
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/*
更新排序
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfFwFdcqDzXm {
// 房地产权_项目内多幢房屋项目属性
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfFwFdcqQfsyq {
// 建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqList(data) {
async getQlfFwFdcqQfsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfFwFdcqQfsyq {
});
}
//建筑物区分所有权业主共有部分信息
async getQlfFwFdcqQfsyqById(bsmSjsb) {
async getQlfFwFdcqQfsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfFwFdcqQfsyq {
});
}
//修改建筑物区分所有权业主共有部分信息
async updateQlfFwFdcqQfsyq(data) {
async updateQlfFwFdcqQfsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfFwFdcqQfsyq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlCfdj {
// 查封登记信息
async getQlfQlCfdjList(data) {
async getQlfQlCfdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlCfdj {
});
}
// 查封登记信息
async getQlfQlCfdjById(bsmSjsb) {
async getQlfQlCfdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlCfdj {
});
}
// 查封登记信息-修改
async updateQlfQlCfdj(data) {
async updateQlfQlCfdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlCfdj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlDyaq {
// 抵押权登记
async getQlfQlDyaqList(data) {
async getQlfQlDyaqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlDyaq {
});
}
// 抵押权
async getQlfQlDyaqById(bsmSjsb) {
async getQlfQlDyaqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlDyaq {
});
}
// 抵押权-修改
async updateQlfQlDyaq(data) {
async updateQlfQlDyaq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlDyiq {
// 地役权
async getQlfQlDyiqList(data) {
async getQlfQlDyiqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlDyiq {
});
}
// 地役权信息
async getQlfQlDyiqById(bsmSjsb) {
async getQlfQlDyiqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlDyiq {
});
}
// 地役权信息-修改
async updateQlfQlDyiq(data) {
async updateQlfQlDyiq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyiq/edit",
method: "post",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlGzdj {
// 更正登记信息
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlHysyq {
// 海域(含无居民海岛)使用权
async getQlfQlHysyqByConditon(data) {
async getQlfQlHysyqByConditon (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlHysyq {
});
}
//海域(含无居民海岛)使用权
async getQlfQlHysyqById(bsmSjsb) {
async getQlfQlHysyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlHysyq {
});
}
//修改海域(含无居民海岛)使用权
async updateQlfQlHysyq(data) {
async updateQlfQlHysyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlHysyq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlJsydsyq {
// 建设用地、宅基地使用权
async getQlfQlJsydsyqList(data) {
async getQlfQlJsydsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlJsydsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlJsydsyq {
});
}
//建设用地、宅基地使用权
async getQlfQlJsydsyqById(bsmSjsb) {
async getQlfQlJsydsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qlfQlJsydsyq {
})
}
//修改建设用地、宅基地使用权
async updateQlfQlJsydsyq(data) {
async updateQlfQlJsydsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlJsydsyq/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlNydsyq {
// 农用地使用权(非林地)
async getQlfQlNydsyqByConditon(data) {
async getQlfQlNydsyqByConditon (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlNydsyq {
});
}
//农用地使用权(非林地)
async getQlfQlNydsyqByID(bsmSjsb) {
async getQlfQlNydsyqByID (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlNydsyq {
});
}
//修改农用地使用权(非林地)
async updateQlfQlNydsyq(data) {
async updateQlfQlNydsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/edit",
method: "post",
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlQtxgql {
// 其他相关权利
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlTdsyq {
// 土地所有权
async getQlfQlTdsyqList(data) {
async getQlfQlTdsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlTdsyq {
});
}
//土地所有权
async getQlfQlTdsyqById(bsmSjsb) {
async getQlfQlTdsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qlfQlTdsyq {
})
}
//修改土地所有权
async updateQlfQlTdsyq(data) {
async updateQlfQlTdsyq (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlYgdj {
// 预告登记信息
async getQlfQlYgdjList(data) {
async getQlfQlYgdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlYgdj {
});
}
// 预告登记信息
async getQlfQlYgdjById(bsmSjsb) {
async getQlfQlYgdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlYgdj {
});
}
// 预告登记信息-修改
async updateQlfQlYgdj(data) {
async updateQlfQlYgdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYgdj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlYydj {
// 异议登记信息
async getQlfQlYydjList(data) {
async getQlfQlYydjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlYydj {
});
}
// 异议登记信息
async getQlfQlYydjById(bsmSjsb) {
async getQlfQlYydjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlYydj {
});
}
// 异议登记信息-修改
async updateQlfQlYydj(data) {
async updateQlfQlYydj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlYydj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlZxdj {
// 注销登记
async getQlfQlZxdjList(data) {
async getQlfQlZxdjList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qlfQlZxdj {
});
}
// 注销登记信息
async getQlfQlZxdjById(bsmSjsb) {
async getQlfQlZxdjById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qlfQlZxdj {
});
}
//注销登记信息 - 修改
async updateQlfQlZxdj(data) {
async updateQlfQlZxdj (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QlfQlZxdj/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltFwFdcqDz {
// 房地产权_项目内多幢房屋信息
async getQltFwFdcqDzList(data) {
async getQltFwFdcqDzList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqDz/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltFwFdcqDz {
});
}
//房地产权_项目内多幢房屋信息
async getQltFwFdcqDzById(bsmSjsb) {
async getQltFwFdcqDzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qltFwFdcqDz {
})
}
//修改房地产权_项目内多幢房屋信息
async updateQltFwFdcqDz(data) {
async updateQltFwFdcqDz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqDz/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltFwFdcqYz {
// 房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzList(data) {
async getQltFwFdcqYzList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltFwFdcqYz/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltFwFdcqYz {
});
}
//房地产权(独幢、层、套、间、房屋)
async getQltFwFdcqYzById(bsmSjsb) {
async getQltFwFdcqYzById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/detail',
method: 'get',
......@@ -21,7 +21,7 @@ class qltFwFdcqYz {
})
}
//修改房地产权(独幢、层、套、间、房屋)
async updateQltFwFdcqYz(data) {
async updateQltFwFdcqYz (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/QltFwFdcqYz/edit',
method: 'post',
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltQlGjzwsyq {
// 构(建)筑物所有权
async getQltQlGjzwsyqList(data) {
async getQltQlGjzwsyqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltQlGjzwsyq {
});
}
// 构(建)筑物所有权
async getQltQlGjzwsyqById(bsmSjsb) {
async getQltQlGjzwsyqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qltQlGjzwsyq {
});
}
//构(建)筑物所有权 - 修改
async updateQltQlGjzwsyq(data) {
async updateQltQlGjzwsyq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlGjzwsyq/edit",
method: "post",
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class qltQlLq {
// 林权
async getQltQlLqList(data) {
async getQltQlLqList (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/getDataPage",
method: "post",
......@@ -11,7 +11,7 @@ class qltQlLq {
});
}
//林权
async getQltQlLqById(bsmSjsb) {
async getQltQlLqById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/detail",
method: "get",
......@@ -21,7 +21,7 @@ class qltQlLq {
});
}
//修改林权
async updateQltQlLq(data) {
async updateQltQlLq (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/QltQlLq/edit",
method: "post",
......
......@@ -6,7 +6,7 @@
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/'
/**
* @description: 登簿日志分页
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ruleConfig {
// 列表查询
async getSysYwsjbList (data) {
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class sjsbFunctionOper {
// 数据上报表头相关接口
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class sjsbTask {
// 定时任务
......
......@@ -9,7 +9,7 @@
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
*/
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/'
/**
* dataReceiveQuality
......
......@@ -4,8 +4,8 @@
* @LastEditTime: 2023-03-24 09:28:25
*/
import request from '@/utils/request'
// let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
// 获取用户信息
export function getUserInfo () {
return request({
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class work {
// 登记类型总量
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zdK103 {
//宗地空间属性
......
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zhK105 {
// 宗海空间属性
......
import request from "@/utils/request";
import SERVER from "./config";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class zttGyQlr {
// 权利人 -- 业务表单
async getZttGyQlrById(bsmSjsb) {
async getZttGyQlrById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/detail",
method: "get",
......@@ -13,7 +13,7 @@ class zttGyQlr {
});
}
// 权利人 -- 业务表单修改
async updateZttGyQlr(data) {
async updateZttGyQlr (data) {
return request({
url: SERVER.SERVERAPI + "/rest/reg/ZttGyQlr/edit",
method: "post",
......
......@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-01-16 09:10:12
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-04-06 14:12:53
* @LastEditTime: 2023-04-27 17:07:58
* @FilePath: \bdcjg-web\src\main.js
* @Description:
*
......@@ -60,7 +60,8 @@ axios.get("./config.json")
.then((res) => {
Vue.prototype.BASE_API = res.data
localStorage.setItem('ApiUrl', JSON.stringify(res.data));
window.TITLE = res.data.TITLE
process.env.TITLE = res.data.TITLE
process.env.IPCONFIG = res.data.IPCONFIG
require('./permission')
new Vue({
el: '#app',
......
/*
* @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
* @Autor: renchao
* @LastEditTime: 2023-03-29 10:14:34
* @LastEditTime: 2023-04-27 17:09:51
*/
import Vue from 'vue'
import axios from "axios";
......@@ -85,12 +85,9 @@ function handleErrorData (status) {
},
});
}
}
break;
case 403:
Message.error("拒绝访问");
break;
case 404:
Message.error("很抱歉,资源未找到!");
break;
......