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
170f5509
Commit
170f5509
authored
Feb 22, 2023
by
wangshuangqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加新字段
添加长期与短期医嘱切换
parent
196cfeec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
145 additions
and
31 deletions
+145
-31
src/views/outClinicalpathway.vue
+145
-31
No files found.
src/views/outClinicalpathway.vue
View file @
170f5509
...
...
@@ -2,7 +2,7 @@
* @Author: wsq
* @Date: 2022-04-22 15:20:58
* @LastEditors: wsq
* @LastEditTime: 2023-02-
15 15:57:48
* @LastEditTime: 2023-02-
22 14:55:23
* @Description:
-->
<
template
>
...
...
@@ -28,7 +28,7 @@
</div>
</div>
<div
class=
"outClinicalpathway_top_left_two"
>
<el-radio-group
v-model=
"radio"
>
<el-radio-group
v-model=
"radio"
@
input=
"radiochange"
>
<el-radio
:label=
"1"
>
长期医嘱
</el-radio>
<el-radio
:label=
"2"
>
临时医嘱
</el-radio>
</el-radio-group>
...
...
@@ -159,12 +159,12 @@
label=
"路径名称"
width=
"150"
/>
<el-table-column
<
!-- <
el-table-column
show-overflow-tooltip
property="project_code"
label="医院项目编码"
width="120"
/>
/>
-->
<el-table-column
show-overflow-tooltip
property=
"project_name"
...
...
@@ -176,7 +176,7 @@
show-overflow-tooltip
property=
"specifications"
label=
"规格说明"
width=
"
12
0"
width=
"
8
0"
/>
<el-table-column
show-overflow-tooltip
...
...
@@ -188,7 +188,7 @@
show-overflow-tooltip
property=
"isAntibiotic"
label=
"抗生素否"
width=
"
10
0"
width=
"
9
0"
>
<
template
#
default=
"scope"
>
<el-select
...
...
@@ -207,7 +207,7 @@
<span
v-else
>
{{
scope
.
row
.
isAntibiotic
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"
9
0"
>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"
8
0"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
...
...
@@ -270,7 +270,7 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"dropNumber"
label=
"滴数"
width=
"
9
0"
>
<el-table-column
prop=
"dropNumber"
label=
"滴数"
width=
"
6
0"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
...
...
@@ -300,7 +300,7 @@
show-overflow-tooltip
property=
"remark"
label=
"嘱托"
width=
"
32
0'"
width=
"
17
0'"
>
<
template
#
default=
"scope"
>
<el-input
...
...
@@ -314,6 +314,91 @@
<span
v-else
>
{{
scope
.
row
.
remark
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"chiefComplaint"
label=
"主诉"
width=
"90"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true
"
v-model=
"scope.row.chiefComplaint"
size=
"mini"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"inspectionPurpose"
label=
"检查目的"
width=
"90"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true
"
v-model=
"scope.row.inspectionPurpose"
size=
"mini"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"symptom"
label=
"症状及体征"
width=
"90"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true
"
v-model=
"scope.row.symptom"
size=
"mini"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"pastHistory"
label=
"既往史"
width=
"90"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true
"
v-model=
"scope.row.pastHistory"
size=
"mini"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"auxiliaryItems"
label=
"其他辅助项目"
width=
"120"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"
scope.row.advice_name == null &&
scope.row.ischeck == 1 &&
scope.row.isShow == true
"
v-model=
"scope.row.auxiliaryItems"
size=
"mini"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"inspectRemarks"
label=
"备注"
width=
"170"
>
<
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.inspectRemarks"
>
</el-input>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
...
...
@@ -581,33 +666,61 @@ export default {
})
.
catch
((
error
)
=>
{});
};
//单选
const
radiochange
=
()
=>
{
if
(
state
.
radio
==
1
)
{
//获取表格数据
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
route
.
value
.
query
.
pid
}
&case_routeid=
${
state
.
case_routeid
}
&searchQuery=
${
state
.
inhosdays
}
`
,
{}
)
.
then
((
data
)
=>
{
state
.
tableData
=
data
.
route1
;
state
.
tableData
.
map
((
el
)
=>
{
// console.log(" el",el);
if
(
el
.
children
)
{
for
(
let
i
=
0
;
i
<
el
.
children
.
length
;
i
++
)
{
if
(
el
.
children
[
i
].
ischeck
==
1
)
{
toggleSelection
(
el
.
children
[
i
],
true
);
toggleSelection
(
el
,
true
);
}
}
}
});
})
.
catch
((
error
)
=>
{});
}
else
if
(
state
.
radio
==
2
)
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
route
.
value
.
query
.
pid
}
&case_routeid=
${
state
.
case_routeid
}
&searchQuery=
${
state
.
inhosdays
}
`
,
{}
)
.
then
((
data
)
=>
{
state
.
tableData
=
data
.
route2
;
state
.
tableData
.
map
((
el
)
=>
{
// console.log(" el",el);
if
(
el
.
children
)
{
for
(
let
i
=
0
;
i
<
el
.
children
.
length
;
i
++
)
{
if
(
el
.
children
[
i
].
ischeck
==
1
)
{
toggleSelection
(
el
.
children
[
i
],
true
);
toggleSelection
(
el
,
true
);
}
}
}
});
})
.
catch
((
error
)
=>
{});
}
};
//点击左侧时间线 获取右侧表格数据
const
timeclick
=
(
val
)
=>
{
state
.
timeindex
=
val
.
inhosdays
;
state
.
case_routeid
=
val
.
case_routeid
;
state
.
inhosdays
=
val
.
inhosdays
;
//获取表格数据
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
route
.
value
.
query
.
pid
}
&case_routeid=
${
state
.
case_routeid
}
&searchQuery=
${
state
.
inhosdays
}
`
,
{}
)
.
then
((
data
)
=>
{
state
.
tableData
=
data
;
state
.
tableData
.
map
((
el
)
=>
{
// console.log(" el",el);
if
(
el
.
children
)
{
for
(
let
i
=
0
;
i
<
el
.
children
.
length
;
i
++
)
{
if
(
el
.
children
[
i
].
ischeck
==
1
)
{
toggleSelection
(
el
.
children
[
i
],
true
);
toggleSelection
(
el
,
true
);
}
}
}
});
})
.
catch
((
error
)
=>
{});
radiochange
();
};
//加入医嘱
const
joinorder
=
()
=>
{
...
...
@@ -725,6 +838,7 @@ export default {
tableLayout
,
gemedicUseModeoptions
,
gemedicUsePlanoptions
,
radiochange
,
};
},
};
...
...
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