Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
songrui
frontend-h5
Commits
ef652f6e
Commit
ef652f6e
authored
Sep 05, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口请求修改
parent
f06d8ef2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
15 deletions
+10
-15
doctorFetch.js
src/api/doctor/doctorFetch.js
+1
-1
DocOffice.vue
src/doctor/components/docOffice/DocOffice.vue
+2
-4
DocOfficeDoctor.vue
src/doctor/components/docOfficeDoctor/DocOfficeDoctor.vue
+1
-4
vue.config.js
vue.config.js
+6
-6
No files found.
src/api/doctor/doctorFetch.js
View file @
ef652f6e
...
...
@@ -41,7 +41,7 @@ export function fetchBase({
}
baseAxios
({
method
:
method
,
url
:
`
/chronic-admin
${
url
}
`
,
url
:
`
${
url
}
`
,
params
:
params
,
data
:
body
,
headers
:
{
...
...
src/doctor/components/docOffice/DocOffice.vue
View file @
ef652f6e
...
...
@@ -40,9 +40,6 @@ export default {
computed
:
{
innerShow
()
{
return
this
.
show
},
innerUnitId
()
{
return
this
.
unitId
}
},
created
()
{
...
...
@@ -51,8 +48,9 @@ export default {
methods
:
{
getData
()
{
this
.
array
=
[]
if
(
!
this
.
unitId
)
return
this
.
loading
=
true
getOfficeList
(
this
.
innerU
nitId
).
then
(
res
=>
{
getOfficeList
(
this
.
u
nitId
).
then
(
res
=>
{
this
.
array
=
res
.
data
||
[]
}).
finally
(()
=>
{
this
.
loading
=
false
...
...
src/doctor/components/docOfficeDoctor/DocOfficeDoctor.vue
View file @
ef652f6e
...
...
@@ -47,9 +47,6 @@ export default {
},
innerShow
()
{
return
this
.
show
},
innerUnitId
()
{
return
this
.
unitId
}
},
created
()
{
...
...
@@ -60,7 +57,7 @@ export default {
this
.
array
=
[]
if
(
!
this
.
officeId
)
return
this
.
loading
=
true
getOfficeDoctor
(
this
.
innerU
nitId
,
this
.
officeId
).
then
(
res
=>
{
getOfficeDoctor
(
this
.
u
nitId
,
this
.
officeId
).
then
(
res
=>
{
this
.
array
=
res
.
data
||
[]
}).
finally
(()
=>
{
this
.
loading
=
false
...
...
vue.config.js
View file @
ef652f6e
...
...
@@ -30,19 +30,19 @@ module.exports = defineConfig({
}
},
'/chronic-admin'
:
{
//
target: 'https://beta-tumour.zmnyjk.com',
target
:
'http://192.168.1.26:8900'
,
target
:
'https://beta-tumour.zmnyjk.com'
,
//
target: 'http://192.168.1.26:8900',
changOrigin
:
true
,
pathRewrite
:
{
'^/chronic-admin'
:
'/'
'^/chronic-admin'
:
'/
chronic-admin
'
}
},
'/chronic-resident'
:
{
target
:
'http://192.168.1.43:8903'
,
//
target: 'https://beta-tumour.zmnyjk.com',
//
target: 'http://192.168.1.43:8903',
target
:
'https://beta-tumour.zmnyjk.com'
,
changOrigin
:
true
,
pathRewrite
:
{
'^/chronic-resident'
:
'/'
'^/chronic-resident'
:
'/
chronic-resident
'
}
}
},
...
...
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