Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-composition-api
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
宁路鹏
vue-composition-api
Commits
5fa364f5
Commit
5fa364f5
authored
Mar 19, 2024
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
44439d49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
src/views/outClinicalpathway.vue
+18
-3
No files found.
src/views/outClinicalpathway.vue
View file @
5fa364f5
...
@@ -54,6 +54,7 @@
...
@@ -54,6 +54,7 @@
</div>
</div>
<el-timeline
style=
"display: flex; padding: 0 10px"
>
<el-timeline
style=
"display: flex; padding: 0 10px"
>
<el-timeline-item
<el-timeline-item
style=
"cursor: pointer"
:class=
"timeindex == activity.inhosdays ? 'outClinicalpathway_top_time_timespan' : 'outClinicalpathway_top_time_timespan2'"
:class=
"timeindex == activity.inhosdays ? 'outClinicalpathway_top_time_timespan' : 'outClinicalpathway_top_time_timespan2'"
v-for=
"(activity, index) in activities"
v-for=
"(activity, index) in activities"
:key=
"index"
:key=
"index"
...
@@ -64,9 +65,9 @@
...
@@ -64,9 +65,9 @@
:timestamp=
"activity.timestamp"
:timestamp=
"activity.timestamp"
>
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"activity.inhosdays"
placement=
"top-start"
v-if=
"activity.inhosdays.length > 7"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"activity.inhosdays"
placement=
"top-start"
v-if=
"activity.inhosdays.length > 7"
>
<span
@
click=
"timeclick(activity)"
>
{{
activity
.
inhosdays
}}
</span>
<span
@
click
.
stop
=
"timeclick(activity)"
>
{{
activity
.
inhosdays
}}
</span>
</el-tooltip>
</el-tooltip>
<span
v-else
@
click=
"timeclick(activity)"
>
{{
activity
.
inhosdays
}}
</span>
<span
v-else
@
click
.
stop
=
"timeclick(activity)"
>
{{
activity
.
inhosdays
}}
</span>
</el-timeline-item>
</el-timeline-item>
</el-timeline>
</el-timeline>
</div>
</div>
...
@@ -601,7 +602,17 @@ export default {
...
@@ -601,7 +602,17 @@ export default {
}
}
},
},
init
()
{
init
()
{
location
.
reload
();
this
.
GetDipHisInfo
();
},
GetDipHisInfo
()
{
http
.
post
(
`/SysTool/get/GetDipHisInfo`
,
{})
.
then
((
data
)
=>
{
location
.
reload
();
})
.
catch
((
error
)
=>
{
location
.
reload
();
});
},
},
// 总量计算
// 总量计算
setIput
(
row
)
{
setIput
(
row
)
{
...
@@ -944,6 +955,7 @@ export default {
...
@@ -944,6 +955,7 @@ export default {
.
filter
((
item
)
=>
item
.
isForbidden
)
.
filter
((
item
)
=>
item
.
isForbidden
)
.
map
((
j
)
=>
{
.
map
((
j
)
=>
{
j
.
tickTime
=
transformTimestampnow
();
j
.
tickTime
=
transformTimestampnow
();
this
.
setIput
(
j
);
this
.
toggleSelection
(
j
,
type
);
this
.
toggleSelection
(
j
,
type
);
if
(
j
.
children
&&
j
.
children
.
length
)
{
if
(
j
.
children
&&
j
.
children
.
length
)
{
this
.
setChildren
(
j
.
children
,
type
);
this
.
setChildren
(
j
.
children
,
type
);
...
@@ -966,6 +978,7 @@ export default {
...
@@ -966,6 +978,7 @@ export default {
}
else
{
}
else
{
selection
.
map
((
v
)
=>
{
selection
.
map
((
v
)
=>
{
this
.
toggleSelection
(
v
,
true
);
this
.
toggleSelection
(
v
,
true
);
this
.
setIput
(
v
);
});
});
}
}
...
@@ -1175,6 +1188,7 @@ export default {
...
@@ -1175,6 +1188,7 @@ export default {
//点击左侧时间线 获取右侧表格数据
//点击左侧时间线 获取右侧表格数据
timeclick
(
val
)
{
timeclick
(
val
)
{
console
.
log
(
val
);
this
.
timeindex
=
val
.
inhosdays
;
this
.
timeindex
=
val
.
inhosdays
;
this
.
case_routeid
=
val
.
case_routeid
;
this
.
case_routeid
=
val
.
case_routeid
;
this
.
inhosdays
=
val
.
inhosdays
;
this
.
inhosdays
=
val
.
inhosdays
;
...
@@ -1582,6 +1596,7 @@ export default {
...
@@ -1582,6 +1596,7 @@ export default {
max-width
:
200px
;
max-width
:
200px
;
/* height: 20px; */
/* height: 20px; */
display
:
flex
;
display
:
flex
;
align-content
:
center
;
background-color
:
#0283bb
;
background-color
:
#0283bb
;
border-radius
:
20px
;
border-radius
:
20px
;
margin-right
:
10px
;
margin-right
:
10px
;
...
...
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