Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
ln-medicalAppointment-pc
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
孙海亮
ln-medicalAppointment-pc
Commits
435ee0ca
Commit
435ee0ca
authored
Nov 23, 2021
by
huangyecong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口地址
parent
a3721f48
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
customer.js
src/api/customer.js
+11
-11
login.js
src/api/login.js
+1
-1
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/customer.js
View file @
435ee0ca
...
@@ -6,46 +6,46 @@ import req from './request'
...
@@ -6,46 +6,46 @@ import req from './request'
let
api
=
{}
let
api
=
{}
// 体检客户详情
// 体检客户详情
api
.
getCustomerDetail
=
function
(
data
)
{
api
.
getCustomerDetail
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/getCustomerDetail
'
,
data
)
return
req
.
post
(
'
/mn/mobile/getCustomerDetail
'
,
data
)
}
}
// 修改客户信息
// 修改客户信息
api
.
improveInformation
=
function
(
data
)
{
api
.
improveInformation
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/improveInformation
'
,
data
)
return
req
.
post
(
'
/mn/mobile/improveInformation
'
,
data
)
}
}
// 待预约列表
// 待预约列表
api
.
getPackageList
=
function
(
data
)
{
api
.
getPackageList
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/getPackageList
'
,
data
)
return
req
.
post
(
'
/mn/mobile/getPackageList
'
,
data
)
}
}
// 已预约列表
// 已预约列表
api
.
getAppointmentList
=
function
(
data
)
{
api
.
getAppointmentList
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/getAppointmentList
'
,
data
)
return
req
.
post
(
'
/mn/mobile/getAppointmentList
'
,
data
)
}
}
// 省
// 省
api
.
getProvinceList
=
function
(
data
)
{
api
.
getProvinceList
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mobile/getProvinceList
'
,
data
)
return
req
.
post
(
'
/mobile/getProvinceList
'
,
data
)
}
}
// 市
// 市
api
.
getCityListByProvinceCode
=
function
(
data
)
{
api
.
getCityListByProvinceCode
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mobile/getCityListByProvinceCode
'
,
data
)
return
req
.
post
(
'
/mobile/getCityListByProvinceCode
'
,
data
)
}
}
// 区/城市
// 区/城市
api
.
getDistrictListByCityCode
=
function
(
data
)
{
api
.
getDistrictListByCityCode
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mobile/getDistrictListByCityCode
'
,
data
)
return
req
.
post
(
'
/mobile/getDistrictListByCityCode
'
,
data
)
}
}
// 体检机构列表
// 体检机构列表
api
.
getSupplierList
=
function
(
data
)
{
api
.
getSupplierList
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/getSupplierList
'
,
data
)
return
req
.
post
(
'
/mn/mobile/getSupplierList
'
,
data
)
}
}
// 体检中心列表
// 体检中心列表
api
.
getShopByDistrictCode
=
function
(
data
)
{
api
.
getShopByDistrictCode
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/getShopByDistrictCode
'
,
data
)
return
req
.
post
(
'
/mn/mobile/getShopByDistrictCode
'
,
data
)
}
}
// 门店排期
// 门店排期
api
.
getScheduleByCode
=
function
(
data
)
{
api
.
getScheduleByCode
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/getScheduleByCode
'
,
data
)
return
req
.
post
(
'
/mn/mobile/getScheduleByCode
'
,
data
)
}
}
// 预约
// 预约
api
.
addAppointment
=
function
(
data
)
{
api
.
addAppointment
=
function
(
data
)
{
return
req
.
post
(
'
/
api/
mn/mobile/addAppointment
'
,
data
)
return
req
.
post
(
'
/mn/mobile/addAppointment
'
,
data
)
}
}
export
default
api
export
default
api
src/api/login.js
View file @
435ee0ca
...
@@ -10,7 +10,7 @@ api.userLogin = function (data) {
...
@@ -10,7 +10,7 @@ api.userLogin = function (data) {
}
}
//查询当前语言
//查询当前语言
api
.
getLanguageL
=
function
(
data
)
{
api
.
getLanguageL
=
function
(
data
)
{
return
req
.
post
(
`/
api/
web/getLanguage`
,
data
)
return
req
.
post
(
`/web/getLanguage`
,
data
)
}
}
api
.
goLoginInfo
=
function
(
data
)
{
api
.
goLoginInfo
=
function
(
data
)
{
...
...
vue.config.js
View file @
435ee0ca
...
@@ -22,7 +22,7 @@ module.exports = {
...
@@ -22,7 +22,7 @@ module.exports = {
devServer
:
{
devServer
:
{
proxy
:
{
proxy
:
{
"
^/api
"
:
{
"
^/api
"
:
{
target
:
"
http://lnh.run4wd.com
"
,
//测试
target
:
"
http://lnh.run4wd.com
/api
"
,
//测试
// target: "http://lnh.ssish.com/api/",//生产,需api
// target: "http://lnh.ssish.com/api/",//生产,需api
ws
:
true
,
ws
:
true
,
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
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