d91059fa by 任超

style:api配置化

1 parent d8de6238
/*
* @Description: 统计率
* @Autor: renchao
* @LastEditTime: 2023-03-21 16:11:47
* @LastEditTime: 2023-03-21 16:25:26
*/
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class business {
/**
* @description: 成功率统计
......
/*
* @Description: 这个是所有api的前缀配置文件
* @Autor: renchao
* @LastEditTime: 2023-03-16 13:37:11
* @LastEditTime: 2023-03-21 16:26:55
*/
export default {
SERVERAPI: '/bdcsjsb', //赵千
MANAGEMENTAPI: 'http://192.168.2.236/management'
}
// 汉中
// export default {
// // SERVERAPI: '/service-bdcsjsb-th', //线上
// SERVERAPI: '/bdcsjsb', //赵千
// MANAGEMENTAPI: 'http://172.16.56.32:8877/management'
// }
}
\ No newline at end of file
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/*
获取全部字典数据
*/
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class djfDjSf {
// 登记收费信息
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class fjF100 {
// 非结构化文档
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtDzdzw {
// 点状定着物信息
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtMzdzw {
// 面状定着物
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class ktfQtXzdzw {
// 线状定着物
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZdbhqk {
//宗地变化情况
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhydzb {
// 用海,用岛坐标
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhzk {
//用海状况
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class kttFwZrz {
// 自然幢信息
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzd {
//界址点
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class kttGyJzx {
//界址线信息
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class kttGzw {
//构筑物
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class kttZdjbxx {
// 宗地基本信息
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class kttZhjbxx {
//宗海基本信息
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
/*
更新排序
record-排序整条数据
operate-BOTTOM(置底), DOWN(向下), TOP(置顶), UP(向上)
*/
export function updateOrder(url, record, operate, swapId) {
export function updateOrder (url, record, operate, swapId) {
return request({
url: SERVER.MANAGEMENTAPI + url + "/" + record.id + "/orders",
method: "put",
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class qlfFwFdcqDzXm {
// 房地产权_项目内多幢房屋项目属性
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlGzdj {
// 更正登记信息
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class qlfQlQtxgql {
// 其他相关权利
......
......@@ -6,7 +6,7 @@
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/RecordLog/'
/**
* @description: 登簿日志分页
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class ruleConfig {
// 列表查询
async getSysYwsjbList (data) {
return request({
url: SERVER.SERVERAPI +'/rest/SysYwsjb/getSysYwsjbList',
url: SERVER.SERVERAPI + '/rest/SysYwsjb/getSysYwsjbList',
method: 'post',
data
})
......@@ -12,7 +12,7 @@ class ruleConfig {
// 编辑界面列表查询
async eidtConfigRule (id) {
return request({
url: SERVER.SERVERAPI +'/rest/SysYwsjb/getSysYwsjbWithSysYwsjbFieldByBsmYwsjb',
url: SERVER.SERVERAPI + '/rest/SysYwsjb/getSysYwsjbWithSysYwsjbFieldByBsmYwsjb',
method: 'get',
params: {
bsmYwsjb: id
......@@ -22,7 +22,7 @@ class ruleConfig {
// 编辑
async editSysYwsjbWithSysYwsjbField (data) {
return request({
url: SERVER.SERVERAPI +'/rest/SysYwsjb/editSysYwsjbWithSysYwsjbField',
url: SERVER.SERVERAPI + '/rest/SysYwsjb/editSysYwsjbWithSysYwsjbField',
method: 'post',
data
})
......@@ -30,7 +30,7 @@ class ruleConfig {
// 编辑
async deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb (id) {
return request({
url: SERVER.SERVERAPI +'/rest/SysYwsjb/deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb',
url: SERVER.SERVERAPI + '/rest/SysYwsjb/deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb',
method: 'delete',
params: {
bsmYwsjb: id
......@@ -40,7 +40,7 @@ class ruleConfig {
// 编辑界面列表查询----根据数据表名查询
async getRuleList (bsmYwsjb) {
return request({
url: SERVER.SERVERAPI +'/rest/sjsb/DataReport/getTableColumn',
url: SERVER.SERVERAPI + '/rest/sjsb/DataReport/getTableColumn',
method: 'get',
params: {
bsmYwsjb: bsmYwsjb
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class sjsbFunctionOper {
// 数据上报表头相关接口
......@@ -13,7 +13,7 @@ class sjsbFunctionOper {
})
}
// xml
async queryXML(id) {
async queryXML (id) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/sjsbFunctionOper/queryXML',
method: 'get',
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = 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'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/'
/**
* dataReceiveQuality
......@@ -19,7 +19,7 @@ const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/'
*/
export function dataReceiveQuality (startDate, endDate) {
return request({
url: url + 'dataReceiveQuality?startDate='+startDate+'&endDate='+endDate,
url: url + 'dataReceiveQuality?startDate=' + startDate + '&endDate=' + endDate,
method: 'post'
})
}
......@@ -32,7 +32,7 @@ export function dataReceiveQuality (startDate, endDate) {
*/
export function nonNullSta (startDate, endDate) {
return request({
url: url + 'nonNullSta?startDate='+startDate+'&endDate='+endDate,
url: url + 'nonNullSta?startDate=' + startDate + '&endDate=' + endDate,
method: 'post'
})
}
......@@ -45,7 +45,7 @@ export function nonNullSta (startDate, endDate) {
*/
export function registerBookQuality (startDate, endDate) {
return request({
url: url + 'registerBookQuality?startDate='+startDate+'&endDate='+endDate,
url: url + 'registerBookQuality?startDate=' + startDate + '&endDate=' + endDate,
method: 'post'
})
}
......
import request from '@/utils/request'
// import SERVER from './config'
// let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
// 获取用户信息
export function getUserInfo () {
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class work {
// 登记类型总量
......@@ -36,8 +36,8 @@ class work {
}
})
}
// 数据趋势
async dataTrend (code) {
// 数据趋势
async dataTrend (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/dataTrend',
method: 'get',
......@@ -46,8 +46,8 @@ class work {
}
})
}
// 新建国有房屋信息
async addhousetotal (code) {
// 新建国有房屋信息
async addhousetotal (code) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/work/addhousetotal',
method: 'get',
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class zdK103 {
//宗地空间属性
......
import request from '@/utils/request'
import SERVER from './config'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class zhK105 {
// 宗海空间属性
......
......@@ -14,6 +14,7 @@
.sidebar-container {
transition: width 0.28s;
width: $sideBarWidth !important;
overflow-y: scroll;
font-size: 0px;
@include background_color("menuBg");
......