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
67a098fc
Commit
67a098fc
authored
Jan 13, 2025
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作台滚动修改
parent
0e2534b9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
+13
-6
Doctor.vue
src/doctor/Doctor.vue
+1
-1
DiagnoseDtail.vue
src/doctor/diagnose/detail/DiagnoseDtail.vue
+1
-0
DiagnosePicker.vue
src/doctor/diagnose/form/DiagnosePicker.vue
+1
-4
Workbench.vue
src/doctor/workbench/Workbench.vue
+10
-1
No files found.
src/doctor/Doctor.vue
View file @
67a098fc
...
...
@@ -66,7 +66,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
f0c1b081-b6d8-4958-a40f-0750cc27227
1'
token
=
'
1b8515e3-66a8-458b-b4d9-0cef6f73b8c
1'
}
}
if
(
token
)
{
...
...
src/doctor/diagnose/detail/DiagnoseDtail.vue
View file @
67a098fc
...
...
@@ -100,6 +100,7 @@
v-if=
"check.inspectFileList?.length"
/>
</div>
</div>
<span
class=
"py-1"
v-if=
"!checkInfo.length"
>
-
</span>
</div>
</van-collapse-item>
</van-collapse>
...
...
src/doctor/diagnose/form/DiagnosePicker.vue
View file @
67a098fc
...
...
@@ -33,10 +33,7 @@ export default {
}
},
// 疾病类型
diseaseType
:
{
type
:
[
String
,
Number
],
required
:
true
},
diseaseType
:
[
String
,
Number
],
teleport
:
[
String
,
Element
]
},
emits
:
[
'update:show'
,
'update:value'
,
'change'
],
...
...
src/doctor/workbench/Workbench.vue
View file @
67a098fc
...
...
@@ -78,12 +78,20 @@ export default {
// 工作台查询范围 1:本科室 2:本人
configRange
:
1
,
configValue
:
{
range
:
1
},
configOption
:
null
configOption
:
null
,
// tab滚动记录
scrollRecord
:
0
}
},
created
()
{
this
.
init
()
},
activated
()
{
if
(
this
.
scrollRecord
)
{
const
dom
=
this
.
$refs
[
'tab-inner'
]
dom
.
scrollTo
({
left
:
this
.
scrollRecord
>
0
?
this
.
scrollRecord
:
0
})
}
},
methods
:
{
init
()
{
this
.
tabActive
=
this
.
configTab
[
0
]
...
...
@@ -127,6 +135,7 @@ export default {
// dom.children[index].scrollIntoView({ behavior: 'smooth', inline: 'start' })
const
scrollNum
=
dom
.
children
[
index
].
offsetLeft
-
(
dom
.
clientWidth
-
dom
.
children
[
index
].
clientWidth
)
/
2
dom
.
scrollTo
({
left
:
scrollNum
>
0
?
scrollNum
:
0
,
behavior
:
'smooth'
})
this
.
scrollRecord
=
scrollNum
}
}
}
...
...
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