Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sensorConsult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglw
sensorConsult
Commits
54cd76aa
Commit
54cd76aa
authored
Jun 03, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加api
parent
8697e18e
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
201 additions
and
10 deletions
+201
-10
.env.production
.env.production
+3
-2
common.js
src/api/common.js
+26
-0
add.vue
src/views/backstage/customMgt/customTabulate/add.vue
+172
-8
No files found.
.env.production
View file @
54cd76aa
...
...
@@ -2,6 +2,7 @@ ENV = 'production'
# 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http
VUE_APP_BASE_API = 'https://eladmin.vip'
# 如果接口是 http 形式, wss 需要改为 ws
VUE_APP_WS_API = 'wss://eladmin.vip'
VUE_APP_BASE_API = 'http://192.168.3.23:7001'
VUE_APP_WS_API = 'ws://192.168.3.23:7001'
src/api/common.js
0 → 100644
View file @
54cd76aa
import
request
from
'
@/utils/request
'
export
const
HttpReq
=
{
// 后台管理接口列表
backstageApi
:
{
// 上传营业执照图片
uploadBusinessLicense
:
function
(
data
)
{
return
request
({
url
:
'
/api/bsw/users/updateBusinessLicense
'
,
method
:
'
POST
'
,
data
:
data
}).
then
((
res
)
=>
{
return
res
})
},
// 获取行政区划
findAreaByCodeAndType
:
function
(
param
)
{
return
request
({
url
:
'
/api/bsw/users/findAreaByCodeAndType
'
,
method
:
'
get
'
,
params
:
param
})
}
}
}
src/views/backstage/customMgt/customTabulate/add.vue
View file @
54cd76aa
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment