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
62042df4
Commit
62042df4
authored
Mar 04, 2025
by
芮自成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回路由修改
parent
034238e4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
8 deletions
+18
-8
Doctor.vue
src/doctor/Doctor.vue
+2
-2
BaseInfo.vue
src/doctor/followUp/separateFU/form/BaseInfo.vue
+5
-1
Index.vue
src/doctor/followUp/separateFU/form/Index.vue
+7
-1
vue.config.js
vue.config.js
+4
-4
No files found.
src/doctor/Doctor.vue
View file @
62042df4
...
@@ -66,8 +66,8 @@ export default {
...
@@ -66,8 +66,8 @@ export default {
if
(
!
token
)
{
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
// token = '
51f77c42-29a2-4d50-8010-bd19bab99a31
'
// token = '
9486b3ed-332d-4a2e-86dc-0502a3e2bd69
'
token
=
'
f849fb46-b0d1-4b9e-bc1c-69f962d500ba
'
token
=
'
25637a72-13ba-4efb-a892-e443a93113ef
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/followUp/separateFU/form/BaseInfo.vue
View file @
62042df4
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
:disabled=
"$route.query.id ? true : false"
:disabled=
"$route.query.id ? true : false"
placeholder=
"请选择"
placeholder=
"请选择"
:rules=
"rules.diseaseTypeName"
:rules=
"rules.diseaseTypeName"
@
click=
"showDiseaseType
= tru
e"
@
click=
"showDiseaseType
Chang
e"
class=
"form-input mb-5"
class=
"form-input mb-5"
/>
/>
<van-popup
v-model:show=
"showDiseaseType"
position=
"bottom"
>
<van-popup
v-model:show=
"showDiseaseType"
position=
"bottom"
>
...
@@ -145,6 +145,10 @@ export default {
...
@@ -145,6 +145,10 @@ export default {
// }
// }
},
showDiseaseTypeChange
()
{
if
(
this
.
$route
.
query
.
id
)
return
this
.
showDiseaseType
=
true
}
}
}
}
}
}
...
...
src/doctor/followUp/separateFU/form/Index.vue
View file @
62042df4
...
@@ -57,7 +57,13 @@ export default {
...
@@ -57,7 +57,13 @@ export default {
onSubmit
()
{
onSubmit
()
{
this
.
$refs
.
formCont
.
submit
().
then
(()
=>
{
this
.
$refs
.
formCont
.
submit
().
then
(()
=>
{
this
.
$message
.
success
(
'新增成功'
)
this
.
$message
.
success
(
'新增成功'
)
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
replace
({
path
:
'/doctor/patient-detail'
,
query
:
{
residentInfoId
:
this
.
routeQuery
.
residentInfoId
}
})
this
.
store
.
onRefreshMark
()
this
.
store
.
onRefreshMark
()
})
})
}
}
...
...
vue.config.js
View file @
62042df4
...
@@ -30,12 +30,12 @@ module.exports = defineConfig({
...
@@ -30,12 +30,12 @@ module.exports = defineConfig({
}
}
},
},
'/chronic-admin'
:
{
'/chronic-admin'
:
{
//
target: 'https://beta-tumour.zmnyjk.com',
target
:
'https://beta-tumour.zmnyjk.com'
,
target
:
'http://192.168.1.202:8900'
,
//
target: 'http://192.168.1.202:8900',
changOrigin
:
true
,
changOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
'^/chronic-admin'
:
'/'
//
'^/chronic-admin': '/'
//
'^/chronic-admin': '/chronic-admin'
'^/chronic-admin'
:
'/chronic-admin'
}
}
},
},
'/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