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
e742d60e
Commit
e742d60e
authored
Feb 23, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改样式
2,添加新字段 3.合并提交加入医嘱数据
parent
170f5509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
14 deletions
+59
-14
src/views/outClinicalpathway.vue
+59
-14
No files found.
src/views/outClinicalpathway.vue
View file @
e742d60e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: wsq
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditors: wsq
* @LastEditTime: 2023-02-2
2 14:55:2
3
* @LastEditTime: 2023-02-2
3 17:15:3
3
* @Description:
* @Description:
-->
-->
<
template
>
<
template
>
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
<div
class=
"outClinicalpathway_table"
>
<div
class=
"outClinicalpathway_table"
>
<!-- 时间线 -->
<!-- 时间线 -->
<div
class=
"outClinicalpathway_table_left"
>
<div
class=
"outClinicalpathway_table_left"
>
<el-timeline>
<el-timeline
style=
"padding: 5px"
>
<el-timeline-item
<el-timeline-item
v-for=
"(activity, index) in activities"
v-for=
"(activity, index) in activities"
:key=
"index"
:key=
"index"
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
show-overflow-tooltip
show-overflow-tooltip
property=
"advice_name"
property=
"advice_name"
label=
"路径名称"
label=
"路径名称"
width=
"1
5
0"
width=
"1
2
0"
/>
/>
<!-- <el-table-column
<!-- <el-table-column
show-overflow-tooltip
show-overflow-tooltip
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
show-overflow-tooltip
show-overflow-tooltip
property=
"project_name"
property=
"project_name"
label=
"医院项目名称"
label=
"医院项目名称"
width=
"1
5
0"
width=
"1
2
0"
/>
/>
<el-table-column
<el-table-column
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
<span
v-else
>
{{
scope
.
row
.
isAntibiotic
}}
</span>
<span
v-else
>
{{
scope
.
row
.
isAntibiotic
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"
80
"
>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"
75
"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
...
@@ -280,7 +280,7 @@
...
@@ -280,7 +280,7 @@
<span
v-else
>
{{
scope
.
row
.
dropNumber
}}
</span>
<span
v-else
>
{{
scope
.
row
.
dropNumber
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"medicQuantity"
label=
"用药总量"
width=
"
9
0"
>
<el-table-column
prop=
"medicQuantity"
label=
"用药总量"
width=
"
8
0"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
...
@@ -314,7 +314,7 @@
...
@@ -314,7 +314,7 @@
<span
v-else
>
{{
scope
.
row
.
remark
}}
</span>
<span
v-else
>
{{
scope
.
row
.
remark
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"chiefComplaint"
label=
"主诉"
width=
"
9
0"
>
<el-table-column
prop=
"chiefComplaint"
label=
"主诉"
width=
"
12
0"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<el-input
v-if=
"
v-if=
"
...
@@ -324,10 +324,17 @@
...
@@ -324,10 +324,17 @@
"
"
v-model=
"scope.row.chiefComplaint"
v-model=
"scope.row.chiefComplaint"
size=
"mini"
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
>
</el-input>
>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"inspectionPurpose"
label=
"检查目的"
width=
"90"
>
<el-table-column
prop=
"inspectionPurpose"
label=
"检查目的"
width=
"120"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<el-input
v-if=
"
v-if=
"
...
@@ -337,10 +344,13 @@
...
@@ -337,10 +344,13 @@
"
"
v-model=
"scope.row.inspectionPurpose"
v-model=
"scope.row.inspectionPurpose"
size=
"mini"
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
>
</el-input>
>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"symptom"
label=
"症状及体征"
width=
"
9
0"
>
<el-table-column
prop=
"symptom"
label=
"症状及体征"
width=
"
12
0"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<el-input
v-if=
"
v-if=
"
...
@@ -350,10 +360,13 @@
...
@@ -350,10 +360,13 @@
"
"
v-model=
"scope.row.symptom"
v-model=
"scope.row.symptom"
size=
"mini"
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
>
</el-input>
>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"pastHistory"
label=
"既往史"
width=
"
9
0"
>
<el-table-column
prop=
"pastHistory"
label=
"既往史"
width=
"
12
0"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<el-input
v-if=
"
v-if=
"
...
@@ -363,6 +376,9 @@
...
@@ -363,6 +376,9 @@
"
"
v-model=
"scope.row.pastHistory"
v-model=
"scope.row.pastHistory"
size=
"mini"
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
>
</el-input>
>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -380,10 +396,29 @@
...
@@ -380,10 +396,29 @@
"
"
v-model=
"scope.row.auxiliaryItems"
v-model=
"scope.row.auxiliaryItems"
size=
"mini"
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
>
</el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"description"
label=
"诊断描述"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-input
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
v-if="
scope.row.advice_name == null
&&
scope.row.ischeck == 1
&&
scope.row.isShow == true
"
v-model="scope.row.description"
>
</el-input>
>
</el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"inspectRemarks"
label=
"备注"
width=
"1
7
0"
>
<el-table-column
prop=
"inspectRemarks"
label=
"备注"
width=
"1
5
0"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<el-input
size=
"mini"
size=
"mini"
...
@@ -483,6 +518,9 @@ export default {
...
@@ -483,6 +518,9 @@ export default {
medicUseModeoptions
:
[],
//途径
medicUseModeoptions
:
[],
//途径
medicUsePlanoptions
:
[],
//频率
medicUsePlanoptions
:
[],
//频率
radio
:
1
,
radio
:
1
,
newtable1
:
[],
newtable2
:
[],
objtable
:
{
route1
:
[],
route2
:
[]
},
});
});
//获取途径,频率的下拉数据
//获取途径,频率的下拉数据
const
gemedicUseModeoptions
=
()
=>
{
const
gemedicUseModeoptions
=
()
=>
{
...
@@ -689,6 +727,7 @@ export default {
...
@@ -689,6 +727,7 @@ export default {
}
}
}
}
});
});
state
.
newtable1
=
state
.
tableData
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
else
if
(
state
.
radio
==
2
)
{
}
else
if
(
state
.
radio
==
2
)
{
...
@@ -711,6 +750,7 @@ export default {
...
@@ -711,6 +750,7 @@ export default {
}
}
}
}
});
});
state
.
newtable2
=
state
.
tableData
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
}
...
@@ -724,10 +764,15 @@ export default {
...
@@ -724,10 +764,15 @@ export default {
};
};
//加入医嘱
//加入医嘱
const
joinorder
=
()
=>
{
const
joinorder
=
()
=>
{
// console.log("state.newtable1", state.newtable1);
// console.log("state.newtable2", state.newtable2);
state
.
objtable
.
route1
=
state
.
newtable1
;
state
.
objtable
.
route2
=
state
.
newtable2
;
console
.
log
(
"state.objtable"
,
state
.
objtable
);
http
http
.
post
(
.
post
(
`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=
${
route
.
value
.
query
.
pid
}
`
,
`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=
${
route
.
value
.
query
.
pid
}
`
,
state
.
tableData
state
.
objtable
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
//重新获取左侧时间线数据
//重新获取左侧时间线数据
...
@@ -1042,7 +1087,7 @@ export default {
...
@@ -1042,7 +1087,7 @@ export default {
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
&_left
{
&_left
{
width
:
11
%
;
width
:
8
%
;
height
:
100%
;
height
:
100%
;
margin-right
:
5px
;
margin-right
:
5px
;
background-color
:
#ffff
;
background-color
:
#ffff
;
...
@@ -1061,7 +1106,7 @@ export default {
...
@@ -1061,7 +1106,7 @@ export default {
}
}
}
}
&
_right
{
&
_right
{
width
:
88
%
;
width
:
91
%
;
height
:
100%
;
height
:
100%
;
}
}
}
}
...
...
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