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
245b5809
Commit
245b5809
authored
Feb 17, 2025
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医生端 初筛表单路由跳转修改
parent
cb901851
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
Doctor.vue
src/doctor/Doctor.vue
+1
-1
Visit.vue
src/doctor/patientDetail/components/screening/Visit.vue
+1
-1
FirstForm.vue
src/doctor/screening/first/FirstForm.vue
+17
-0
No files found.
src/doctor/Doctor.vue
View file @
245b5809
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ 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
=
'
09050c27-9dca-40eb-811a-8afd10db0aa6
'
token
=
'
bfda4283-602d-45b1-ac7f-99f5c40f7e6c
'
}
}
}
}
if
(
token
)
{
if
(
token
)
{
...
...
src/doctor/patientDetail/components/screening/Visit.vue
View file @
245b5809
...
@@ -108,7 +108,7 @@ export default {
...
@@ -108,7 +108,7 @@ export default {
getHighVisitList
(
query
,
loading
).
then
(
res
=>
{
getHighVisitList
(
query
,
loading
).
then
(
res
=>
{
if
(
this
.
pagination
.
pageIndex
===
1
)
{
if
(
this
.
pagination
.
pageIndex
===
1
)
{
this
.
list
=
[]
this
.
list
=
[]
}
}
this
.
list
=
this
.
list
.
concat
(
res
.
data
.
dataList
||
[])
this
.
list
=
this
.
list
.
concat
(
res
.
data
.
dataList
||
[])
this
.
pagination
.
total
=
res
.
data
.
total
||
0
this
.
pagination
.
total
=
res
.
data
.
total
||
0
this
.
finished
=
this
.
list
.
length
>=
this
.
pagination
.
total
this
.
finished
=
this
.
list
.
length
>=
this
.
pagination
.
total
...
...
src/doctor/screening/first/FirstForm.vue
View file @
245b5809
...
@@ -32,6 +32,7 @@ import { getChronicResidentsId } from '@/api/doctor/generalFU'
...
@@ -32,6 +32,7 @@ import { getChronicResidentsId } from '@/api/doctor/generalFU'
import
{
firstScreenDetail
,
saveFirstScreening
,
updateFirstScreening
}
from
'@/api/doctor/screening.js'
import
{
firstScreenDetail
,
saveFirstScreening
,
updateFirstScreening
}
from
'@/api/doctor/screening.js'
import
{
fetchDataHandle
}
from
'@/utils/common.js'
import
{
fetchDataHandle
}
from
'@/utils/common.js'
import
{
useStore
}
from
'@/doctor/store'
import
{
useStore
}
from
'@/doctor/store'
import
{
showConfirmDialog
}
from
'vant'
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -63,6 +64,22 @@ export default {
...
@@ -63,6 +64,22 @@ export default {
return
this
.
$route
.
query
.
idCard
return
this
.
$route
.
query
.
idCard
},
},
},
},
// 路由守卫
beforeRouteLeave
(
to
,
from
)
{
// showConfirmDialog({
// message: '已填写的表单不会保存,确定要离开吗?'})
// .then(() => {
// next()
// })
// .catch(() => {
// next(false)
// })
if
(
this
.
step
===
2
)
{
this
.
onBack
()
return
false
}
return
true
},
created
()
{
created
()
{
this
.
init
()
this
.
init
()
},
},
...
...
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