Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d91059fa
authored
2023-03-21 16:30:15 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:api配置化
1 parent
d8de6238
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
47 additions
and
52 deletions
src/api/business.js
src/api/config.js
src/api/dict.js
src/api/djfDjSf.js
src/api/fjF100.js
src/api/ktfQtDzdzw.js
src/api/ktfQtMzdzw.js
src/api/ktfQtXzdzw.js
src/api/ktfZdbhqk.js
src/api/ktfZhYhydzb.js
src/api/ktfZhYhzk.js
src/api/kttFwZrz.js
src/api/kttGyJzd.js
src/api/kttGyJzx.js
src/api/kttGzw.js
src/api/kttZdjbxx.js
src/api/kttZhjbxx.js
src/api/orders.js
src/api/qlfFwFdcqDzXm.js
src/api/qlfQlGzdj.js
src/api/qlfQlQtxgql.js
src/api/recordLog.js
src/api/ruleConfig.js
src/api/sjsbFunctionOper.js
src/api/sjsbTask.js
src/api/statistics.js
src/api/user.js
src/api/work.js
src/api/zdK103.js
src/api/zhK105.js
src/styles/sbSidebar.scss
src/api/business.js
View file @
d91059f
/*
* @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: 成功率统计
...
...
src/api/config.js
View file @
d91059f
/*
* @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
...
...
src/api/dict.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/*
获取全部字典数据
*/
...
...
src/api/djfDjSf.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
djfDjSf
{
// 登记收费信息
...
...
src/api/fjF100.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
fjF100
{
// 非结构化文档
...
...
src/api/ktfQtDzdzw.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
ktfQtDzdzw
{
// 点状定着物信息
...
...
src/api/ktfQtMzdzw.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
ktfQtMzdzw
{
// 面状定着物
...
...
src/api/ktfQtXzdzw.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
ktfQtXzdzw
{
// 线状定着物
...
...
src/api/ktfZdbhqk.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
ktfZdbhqk
{
//宗地变化情况
...
...
src/api/ktfZhYhydzb.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
ktfZhYhydzb
{
// 用海,用岛坐标
...
...
src/api/ktfZhYhzk.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
ktfZhYhzk
{
//用海状况
...
...
src/api/kttFwZrz.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
kttFwZrz
{
// 自然幢信息
...
...
src/api/kttGyJzd.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
kttGyJzd
{
//界址点
...
...
src/api/kttGyJzx.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
kttGyJzx
{
//界址线信息
...
...
src/api/kttGzw.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
kttGzw
{
//构筑物
...
...
src/api/kttZdjbxx.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
kttZdjbxx
{
// 宗地基本信息
...
...
src/api/kttZhjbxx.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
kttZhjbxx
{
//宗海基本信息
...
...
src/api/orders.js
View file @
d91059f
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"
,
...
...
src/api/qlfFwFdcqDzXm.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
qlfFwFdcqDzXm
{
// 房地产权_项目内多幢房屋项目属性
...
...
src/api/qlfQlGzdj.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
qlfQlGzdj
{
// 更正登记信息
...
...
src/api/qlfQlQtxgql.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
qlfQlQtxgql
{
// 其他相关权利
...
...
src/api/recordLog.js
View file @
d91059f
...
...
@@ -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: 登簿日志分页
...
...
src/api/ruleConfig.js
View file @
d91059f
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
...
...
src/api/sjsbFunctionOper.js
View file @
d91059f
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'
,
...
...
src/api/sjsbTask.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
sjsbTask
{
// 定时任务
...
...
src/api/statistics.js
View file @
d91059f
...
...
@@ -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'
})
}
...
...
src/api/user.js
View file @
d91059f
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
()
{
...
...
src/api/work.js
View file @
d91059f
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'
,
...
...
src/api/zdK103.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
zdK103
{
//宗地空间属性
...
...
src/api/zhK105.js
View file @
d91059f
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
class
zhK105
{
// 宗海空间属性
...
...
src/styles/sbSidebar.scss
View file @
d91059f
...
...
@@ -14,6 +14,7 @@
.sidebar-container
{
transition
:
width
0
.28s
;
width
:
$sideBarWidth
!
important
;
overflow-y
:
scroll
;
font-size
:
0px
;
@include
background_color
(
"menuBg"
);
...
...
Please
register
or
sign in
to post a comment