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
d8c9567c
Commit
d8c9567c
authored
Jun 16, 2022
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.点击异常类目切换对应数据
2.点击异常细目切换定应表格数据
parent
0322cb71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
1 deletions
+47
-1
src/views/outpatientDetails.vue
+47
-1
No files found.
src/views/outpatientDetails.vue
View file @
d8c9567c
...
@@ -276,6 +276,7 @@
...
@@ -276,6 +276,7 @@
class=
"outpatientDetails_bottom_rght2_top_mes_span1"
class=
"outpatientDetails_bottom_rght2_top_mes_span1"
v-for=
"(item, ind) in typeCountDatas"
v-for=
"(item, ind) in typeCountDatas"
:key=
"ind"
:key=
"ind"
@
click=
"gettype(item.name)"
>
{{ item.name }}:
<span
:style=
"{ color: item.color }"
>
{{
>
{{ item.name }}:
<span
:style=
"{ color: item.color }"
>
{{
item.count
item.count
}}
</span></span
}}
</span></span
...
@@ -291,6 +292,7 @@
...
@@ -291,6 +292,7 @@
class=
"outpatientDetails_bottom_rght2_bottom_li"
class=
"outpatientDetails_bottom_rght2_bottom_li"
v-for=
"(item, ind) in options"
v-for=
"(item, ind) in options"
:key=
"ind"
:key=
"ind"
@
click=
"getruleId(item.ruleId)"
>
>
<span
<span
v-show=
"item.projectRuleLevel == '禁止'"
v-show=
"item.projectRuleLevel == '禁止'"
...
@@ -356,7 +358,7 @@ export default {
...
@@ -356,7 +358,7 @@ export default {
}
}
};
};
//异常问题接口
//异常问题接口
显示全部异常信息
const
GetProjectRulesData
=
()
=>
{
const
GetProjectRulesData
=
()
=>
{
http
http
.
post
(
`/medical/get/GetPRHisData?&code=
${
route
.
value
.
query
.
id
}
`
,
{})
.
post
(
`/medical/get/GetPRHisData?&code=
${
route
.
value
.
query
.
id
}
`
,
{})
...
@@ -372,6 +374,48 @@ export default {
...
@@ -372,6 +374,48 @@ export default {
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
};
//点击异常分类 显示异常信息
const
gettype
=
(
name
)
=>
{
console
.
log
(
'name'
,
name
);
state
.
showCountDatas
=
true
;
state
.
showbottom
=
true
;
http
.
post
(
`/medical/get/GetPRHisData?&code=
${
route
.
value
.
query
.
id
}
&projectType=
${
name
}
`
,
{})
.
then
((
data
)
=>
{
state
.
options
=
data
.
projectRules
;
// state.typeCountDatas = data.typeCountDatas;
// if (data.typeCountDatas == null) {
// state.showCountDatas = false;
// }
if
(
data
.
projectRules
==
null
)
{
state
.
showbottom
=
false
;
}
})
.
catch
((
error
)
=>
{
});
};
//点击获取中间的表格数据
const
getruleId
=
(
ruleId
)
=>
{
http
.
post
(
`/medical/Post/GetiFHisByItemCode?code=
${
route
.
value
.
query
.
id
}
&ruleId=
${
ruleId
}
`
,
{})
.
then
((
data
)
=>
{
state
.
tableData
=
data
;
})
.
catch
((
error
)
=>
{
});
};
//医嘱质控
//医嘱质控
const
getControl
=
()
=>
{
const
getControl
=
()
=>
{
http
http
...
@@ -543,6 +587,8 @@ export default {
...
@@ -543,6 +587,8 @@ export default {
// tableCot,
// tableCot,
GetProjectRulesData
,
GetProjectRulesData
,
getControl
,
getControl
,
gettype
,
getruleId
};
};
},
},
};
};
...
...
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