Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
621a64ec
authored
2023-05-06 09:23:43 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:api初始化的完成
1 parent
7150b0af
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
48 additions
and
31 deletions
public/index.html
src/api/bdcqz.js
src/api/clxx.js
src/api/file.js
src/api/fqsq.js
src/api/jkfw.js
src/api/lpb.js
src/api/registerBook.js
src/api/selectQlxx.js
src/api/sqcx.js
src/api/system.js
src/api/user.js
src/api/workflow/cfdjFlow.js
src/api/workflow/diyaqFlow.js
src/api/workflow/fwsyqFlow.js
src/api/workflow/jsydsyqFlow.js
src/api/workflow/nydsyqFlow.js
src/api/workflow/ygdjFlow.js
src/api/workflow/ygdyFlow.js
src/api/workflow/zjgcdyFlow.js
src/api/xtjk.js
src/api/ywbl.js
src/api/zhcx.js
src/api/zsgl.js
src/main.js
src/utils/operation.js
vue.config.js
public/index.html
View file @
621a64e
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
4-26 09:35:33
* @LastEditTime: 2023-0
5-05 10:00:05
-->
<!DOCTYPE html>
<html>
...
...
@@ -17,6 +17,14 @@
<
%= webpackConfig.name %>
</title>
</head>
<script>
const
appConfig
=
fetch
(
'<%= BASE_URL %>config.json'
)
.
then
(
response
=>
response
.
json
())
.
then
(
config
=>
{
window
.
config
=
config
console
.
log
(
11111111111111
);
});
</script>
<body>
<div
id=
"app"
></div>
...
...
@@ -24,6 +32,7 @@
</body>
</html>
<script>
window
.
baseUrl
=
location
.
origin
||
location
.
protocol
+
'//'
+
location
.
host
// window.authorization = 'bearer AT-14-h4UlUGjPvgmrIgnDO-3QgMP0m4YJGQTR';
...
...
src/api/bdcqz.js
View file @
621a64e
...
...
@@ -4,7 +4,7 @@
* @LastEditTime: 2023-04-20 09:40:17
*/
import
request
from
'@/utils/request'
;
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 获取不动产权证列表
export
function
getBdcqzList
(
params
)
{
...
...
src/api/clxx.js
View file @
621a64e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
4-20 09:40:36
* @LastEditTime: 2023-0
5-06 09:15:02
*/
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 材料目录明细初始化
export
function
InitClml
(
data
)
{
...
...
src/api/file.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
export
function
uploadUrl
()
{
return
process
.
env
.
VUE_APP_BASE_API
+
SERVER
.
SERVERAPI
+
'/file/upload'
}
...
...
src/api/fqsq.js
View file @
621a64e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-06 09:17:56
*/
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 转出
export
function
completeTask
(
data
)
{
return
request
({
...
...
src/api/jkfw.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 新增平台接口
export
function
addSysInterface
(
data
)
{
...
...
src/api/lpb.js
View file @
621a64e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-06 09:17:41
*/
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
.
LPBSERVERAPI
+
'/rest/zhcx/lpcx/'
/*
楼盘查询
...
...
@@ -7,7 +12,6 @@ const url = SERVER.LPBSERVERAPI + '/rest/zhcx/lpcx/'
// 根据条件进行列表查询
export
function
getLpZrz
(
data
)
{
return
request
({
// url: SERVER.SERVERAPI + '/rest/zhcx/lpcx/getLpZrz',
url
:
'service-lpb/rest/zhcx/lpcx/getLpZrz'
,
method
:
'post'
,
data
:
data
...
...
@@ -18,7 +22,6 @@ export function getLpZrz (data) {
export
function
getLpb
(
zrzbsm
)
{
return
request
({
url
:
url
+
'getLpb?scyclx=1&zrzbsm='
+
zrzbsm
,
// url: 'service-lpb/rest/zhcx/lpcx/getLpb?zrzbsm=' + zrzbsm ,
method
:
'get'
})
}
...
...
src/api/registerBook.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/*
登记簿详情页
*/
...
...
src/api/selectQlxx.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 获取自然幢下其他户
...
...
src/api/sqcx.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 获取申请查询列表
export
function
getSqcxPage
(
data
)
{
return
request
({
...
...
src/api/system.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 上传单个文件
export
function
upload
(
data
)
{
...
...
src/api/user.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 用户首页
// 获取首页通知公告列表
export
function
getHomeNoticeList
()
{
...
...
src/api/workflow/cfdjFlow.js
View file @
621a64e
...
...
@@ -4,7 +4,7 @@
* @LastEditTime: 2023-04-20 09:39:44
*/
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
//批量初始化
export
function
BatchInit
(
data
)
{
...
...
src/api/workflow/diyaqFlow.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 初始化内容
export
function
Init
(
data
)
{
...
...
src/api/workflow/fwsyqFlow.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 初始化内容
export
function
Init
(
data
)
{
let
apiUrl
=
""
;
...
...
src/api/workflow/jsydsyqFlow.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 初始化内容
export
function
Init
(
data
)
{
...
...
src/api/workflow/nydsyqFlow.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 初始化内容
export
function
Init
(
data
)
{
...
...
src/api/workflow/ygdjFlow.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 初始化内容
export
function
Init
(
data
)
{
let
apiUrl
=
""
;
...
...
src/api/workflow/ygdyFlow.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 初始化内容
export
function
Init
(
data
)
{
let
apiUrl
=
""
;
...
...
src/api/workflow/zjgcdyFlow.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
// 初始化内容
export
function
Init
(
data
)
{
...
...
src/api/xtjk.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/*
系统监控 -获取错误日志列表
*/
...
...
src/api/ywbl.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/*
业务办理-获取收藏业务集合
*/
...
...
src/api/zhcx.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/*
综合查询
*/
...
...
src/api/zsgl.js
View file @
621a64e
import
request
from
'@/utils/request'
let
SERVER
=
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
/*
证书管理-获取序列号
*/
...
...
src/main.js
View file @
621a64e
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
4-26 09:36:10
* @LastEditTime: 2023-0
5-06 09:14:47
*/
import
Vue
from
'vue'
import
App
from
'./App'
...
...
src/utils/operation.js
View file @
621a64e
vue.config.js
View file @
621a64e
...
...
@@ -61,6 +61,9 @@ module.exports = {
// configureWebpack通过操作对象的形式,来修改默认的webpack配置
configureWebpack
:
{
name
:
name
,
entry
:
{
app
:
'./src/main.js'
},
resolve
:
{
alias
:
{
'@'
:
resolve
(
'src'
)
...
...
@@ -70,7 +73,6 @@ module.exports = {
},
// chainWebpack通过链式编程的形式,来修改默认的webpack配置
chainWebpack
(
config
)
{
config
.
entry
.
app
=
[
'babel-polyfill'
,
'./src/main.js'
];
// it can improve the speed of the first screen, it is recommended to turn on preload
// it can improve the speed of the first screen, it is recommended to turn on preload
config
.
plugin
(
'preload'
).
tap
(()
=>
[
...
...
Please
register
or
sign in
to post a comment