d91059fa by 任超

style:api配置化

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