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
49636999
Commit
49636999
authored
Aug 06, 2024
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
医嘱
parent
601352bc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
162 additions
and
35 deletions
+162
-35
src/views/outClinicalpathway.vue
+162
-35
No files found.
src/views/outClinicalpathway.vue
View file @
49636999
...
@@ -46,12 +46,18 @@
...
@@ -46,12 +46,18 @@
</div>
</div>
</div>
</div>
<div
class=
"outClinicalpathway_top_time"
>
<div
class=
"outClinicalpathway_top_time"
>
<div>
<div
class=
"mar-right-10"
>
<span
style=
"font-size: 14px; color: #666"
>
药房类别:
</span>
<span
style=
"font-size: 14px; color: #666"
>
药房类别:
</span>
<el-select
v-model=
"deptName"
style=
"width: 150px"
placeholder=
"请选择"
size=
"mini"
@
change=
"sele"
>
<el-select
v-model=
"deptName"
style=
"width: 150px"
placeholder=
"请选择"
size=
"mini"
@
change=
"sele"
>
<el-option
v-for=
"item in deptNames"
:key=
"item"
:label=
"item"
:value=
"item"
/>
<el-option
v-for=
"item in deptNames"
:key=
"item"
:label=
"item"
:value=
"item"
/>
</el-select>
</el-select>
</div>
</div>
<div>
<span
style=
"font-size: 14px; color: #666"
>
医嘱类别:
</span>
<el-select
v-model=
"projectType"
style=
"width: 150px"
placeholder=
"请选择"
size=
"mini"
@
change=
"sele"
>
<el-option
v-for=
"item in projectTypeList"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
/>
</el-select>
</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"
style=
"cursor: pointer"
...
@@ -86,6 +92,7 @@
...
@@ -86,6 +92,7 @@
<el-form
:model=
"formData"
label-width=
"15px"
label-position=
"left"
ref=
"formData"
class=
"formData"
>
<el-form
:model=
"formData"
label-width=
"15px"
label-position=
"left"
ref=
"formData"
class=
"formData"
>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
v-if=
"formData.tableList && formData.tableList.length"
row-key=
"uidd"
row-key=
"uidd"
:data=
"formData.tableList"
:data=
"formData.tableList"
height=
"100%"
height=
"100%"
...
@@ -101,11 +108,6 @@
...
@@ -101,11 +108,6 @@
>
>
<el-table-column
type=
"selection"
:selectable=
"selectEnable"
width=
"50"
/>
<el-table-column
type=
"selection"
:selectable=
"selectEnable"
width=
"50"
/>
<el-table-column
show-overflow-tooltip
property=
"advice_name"
label=
"路径名称"
width=
"120"
/>
<el-table-column
show-overflow-tooltip
property=
"advice_name"
label=
"路径名称"
width=
"120"
/>
<!--
<el-table-column
show-overflow-tooltip
property=
"tickTime"
label=
"当前时间"
width=
"145"
>
<template
#
default=
"scope"
>
<span
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
{{
scope
.
row
.
tickTime
}}
</span>
</
template
>
</el-table-column>
-->
<el-table-column
show-overflow-tooltip
property=
"isSkin"
label=
"是否皮试"
width=
"110"
>
<el-table-column
show-overflow-tooltip
property=
"isSkin"
label=
"是否皮试"
width=
"110"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
<template
v-if=
"scope.row.orderType == '药疗' && scope.row.isnew"
>
<template
v-if=
"scope.row.orderType == '药疗' && scope.row.isnew"
>
...
@@ -194,6 +196,85 @@
...
@@ -194,6 +196,85 @@
<span v-else>{{ scope.row.isAntibiotic }}</span>
<span v-else>{{ scope.row.isAntibiotic }}</span>
</template> -->
</template> -->
</el-table-column>
</el-table-column>
<
template
v-if=
"projectType == '2'"
>
<el-table-column
prop=
"description"
label=
"诊断"
width=
"150"
>
<template
#
default=
"scope"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.description`"
v-if="scope.row.ischeck == 1
&&
scope.row.type == 2
&&
scope.row.isedit
&&
scope.row.orderType"
:rules="[{ required: scope.row.orderType == '检查' ? true : false, message: '请输入内容' }]"
>
<template
#
label
>
<span></span></
template
>
<el-input
size=
"mini"
v-model
.
trim=
"scope.row.description"
autocomplete=
"off"
placeholder=
"请输入内容"
type=
"textarea"
:autosize=
"{ minRows: 2 }"
></el-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=
"symptom"
label=
"症状及体征"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.symptom`"
v-if="scope.row.ischeck == 1
&&
scope.row.type == 2
&&
scope.row.isedit
&&
scope.row.orderType"
:rules="[{ required: scope.row.orderType == '检查' ? true : false, message: '请输入内容' }]"
>
<template
#
label
>
<span></span></
template
>
<el-input
size=
"mini"
v-model
.
trim=
"scope.row.symptom"
autocomplete=
"off"
placeholder=
"请输入内容"
type=
"textarea"
:autosize=
"{ minRows: 2 }"
></el-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=
"inspectionPurpose"
label=
"检查目的"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.inspectionPurpose`"
v-if="scope.row.ischeck == 1
&&
scope.row.type == 2
&&
scope.row.isedit
&&
scope.row.orderType"
:rules="[{ required: scope.row.orderType == '检查' ? true : false, message: '请输入内容' }]"
>
<template
#
label
>
<span></span></
template
>
<el-input
size=
"mini"
v-model
.
trim=
"scope.row.inspectionPurpose"
autocomplete=
"off"
placeholder=
"请输入内容"
type=
"textarea"
:autosize=
"{ minRows: 2 }"
></el-input>
</el-form-item>
</template>
</el-table-column>
</template>
<el-table-column
show-overflow-tooltip
property=
"specimen_id"
label=
"标本"
width=
"130"
v-if=
"projectType == '3'"
>
<
template
#
default=
"scope"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.specimen_id`" :rules="[{ required: false, message: '请选择' }]">
<template
#
label
>
<span></span></
template
>
<el-select
size=
"mini"
filterable
remote
:filter-method=
"remoteMethodspecimen"
v-model=
"scope.row.specimen_id"
:disabled=
"!scope.row.isAdd"
>
<el-option
v-for=
"item in specimenList"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</el-form-item>
</template>
<span
v-else
>
{{ scope.row.specimen_id }}
</span>
</template>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"medicalPurpose"
label=
"用药目的"
width=
"135"
>
<el-table-column
show-overflow-tooltip
property=
"medicalPurpose"
label=
"用药目的"
width=
"135"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
...
@@ -330,7 +411,7 @@
...
@@ -330,7 +411,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
show-overflow-tooltip
property=
"specimen_id"
label=
"标本"
width=
"130"
>
<el-table-column
show-overflow-tooltip
property=
"specimen_id"
label=
"标本"
width=
"130"
v-if=
"projectType != '3'"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.specimen_id`" :rules="[{ required: false, message: '请选择' }]">
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.specimen_id`" :rules="[{ required: false, message: '请选择' }]">
...
@@ -350,6 +431,7 @@
...
@@ -350,6 +431,7 @@
<span
v-else
>
{{ scope.row.specimen_id }}
</span>
<span
v-else
>
{{ scope.row.specimen_id }}
</span>
</template>
</template>
</el-table-column>
</el-table-column>
<
template
v-if=
"projectType != '2'"
>
<el-table-column
prop=
"description"
label=
"诊断"
width=
"150"
>
<el-table-column
prop=
"description"
label=
"诊断"
width=
"150"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
<el-form-item
<el-form-item
...
@@ -388,6 +470,7 @@
...
@@ -388,6 +470,7 @@
</el-form-item>
</el-form-item>
</template>
</template>
</el-table-column>
</el-table-column>
</template>
<el-table-column
show-overflow-tooltip
property=
"emergency"
label=
"急诊"
width=
"85"
>
<el-table-column
show-overflow-tooltip
property=
"emergency"
label=
"急诊"
width=
"85"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-select
<el-select
...
@@ -412,6 +495,46 @@
...
@@ -412,6 +495,46 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-table
v-else
ref=
"multipleTable"
row-key=
"uidd"
:data=
"formData.tableList"
height=
"100%"
style=
"width: 100%"
:tree-props=
"{ children: 'children', hasChildren: 'hasChildren' }"
:select-on-indeterminate=
"true"
@
selection-change=
"SelectionChange"
@
select-all=
"selectAll"
@
select=
"select"
default-expand-all
size=
"mini"
:row-class-name=
"rowClass"
>
<el-table-column
type=
"selection"
:selectable=
"selectEnable"
width=
"50"
/>
<el-table-column
show-overflow-tooltip
property=
"advice_name"
label=
"路径名称"
width=
"120"
/>
<el-table-column
show-overflow-tooltip
property=
"isSkin"
label=
"是否皮试"
width=
"110"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"orderType"
label=
"类型"
width=
"50"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"project_name"
label=
"医院项目名称"
width=
"180"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"specifications"
label=
"规格说明"
width=
"80"
/>
<el-table-column
show-overflow-tooltip
property=
"price"
label=
"单价"
width=
"80"
/>
<el-table-column
show-overflow-tooltip
property=
"dosage"
label=
"药品剂型"
width=
"70"
/>
<el-table-column
show-overflow-tooltip
property=
"isAntibiotic"
label=
"抗生素"
width=
"60"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"medicalPurpose"
label=
"用药目的"
width=
"135"
>
</el-table-column>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"100"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"medicUseUnit"
label=
"单位"
width=
"80"
/>
<el-table-column
show-overflow-tooltip
property=
"medicUseMode"
label=
"途径"
width=
"120"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"medicUsePlan"
label=
"频率"
width=
"130"
>
</el-table-column>
<el-table-column
prop=
"dropNumber"
label=
"滴数"
width=
"85"
>
</el-table-column>
<el-table-column
prop=
"medicQuantity"
label=
"用药总量"
width=
"85"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"medicUnit"
label=
"单位"
width=
"60"
/>
<el-table-column
show-overflow-tooltip
property=
"remark"
label=
"嘱托"
width=
"150'"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"specimen_id"
label=
"标本"
width=
"130"
>
</el-table-column>
<el-table-column
prop=
"description"
label=
"诊断"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"symptom"
label=
"症状及体征"
width=
"150"
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"emergency"
label=
"急诊"
width=
"85"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"80"
>
</el-table-column>
</el-table>
</el-form>
</el-form>
</div>
</div>
</div>
</div>
...
@@ -421,9 +544,9 @@
...
@@ -421,9 +544,9 @@
<el-form-item
label=
"主诉:"
>
<el-form-item
label=
"主诉:"
>
<el-input
v-model=
"goSeeform.chiefComplaint"
:autosize=
"{ minRows: 2 }"
type=
"textarea"
placeholder=
"请输入内容"
/>
<el-input
v-model=
"goSeeform.chiefComplaint"
:autosize=
"{ minRows: 2 }"
type=
"textarea"
placeholder=
"请输入内容"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"检查目的:"
>
<
!-- <
el-form-item label="检查目的:">
<el-input v-model="goSeeform.inspectionPurpose" :autosize="{ minRows: 2 }" type="textarea" placeholder="请输入内容" />
<el-input v-model="goSeeform.inspectionPurpose" :autosize="{ minRows: 2 }" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"既往史:"
>
<el-form-item
label=
"既往史:"
>
<el-input
v-model=
"goSeeform.pastHistory"
:autosize=
"{ minRows: 2 }"
type=
"textarea"
placeholder=
"请输入内容"
/>
<el-input
v-model=
"goSeeform.pastHistory"
:autosize=
"{ minRows: 2 }"
type=
"textarea"
placeholder=
"请输入内容"
/>
</el-form-item>
</el-form-item>
...
@@ -571,6 +694,12 @@ export default {
...
@@ -571,6 +694,12 @@ export default {
deptName
:
""
,
deptName
:
""
,
deptNames
:
[],
deptNames
:
[],
keyword
:
""
,
keyword
:
""
,
projectType
:
"1"
,
projectTypeList
:
[
{
id
:
"1"
,
name
:
"药疗"
},
{
id
:
"2"
,
name
:
"检查"
},
{
id
:
"3"
,
name
:
"检验"
},
],
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -1162,9 +1291,6 @@ export default {
...
@@ -1162,9 +1291,6 @@ export default {
item
.
isedit
=
true
;
item
.
isedit
=
true
;
});
});
}
}
console
.
log
(
this
.
multipleSelection
);
console
.
log
(
this
.
multipleSelection1
);
},
},
//获取左侧时间线数据
//获取左侧时间线数据
...
@@ -1218,10 +1344,11 @@ export default {
...
@@ -1218,10 +1344,11 @@ export default {
});
});
},
},
getTableData
()
{
getTableData
()
{
this
.
formData
.
tableList
=
[];
http
.
post
(
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
this
.
$route
.
query
.
pid
}
&case_routeid=
${
this
.
case_routeid
}
&searchQuery=
${
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
this
.
$route
.
query
.
pid
}
&case_routeid=
${
this
.
case_routeid
}
&searchQuery=
${
this
.
inhosdays
this
.
inhosdays
}
&type=
${
this
.
radio
}
&t=
${
Math
.
random
()}
&deptName=
${
this
.
deptName
}
`
,
}
&type=
${
this
.
radio
}
&t=
${
Math
.
random
()}
&deptName=
${
this
.
deptName
}
&projectType=
${
this
.
projectType
}
`
,
{}
{}
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
...
@@ -1329,29 +1456,29 @@ export default {
...
@@ -1329,29 +1456,29 @@ export default {
this
.
sDate
(
this
.
multipleSelection1
.
filter
((
item
)
=>
item
.
adviceType
));
this
.
sDate
(
this
.
multipleSelection1
.
filter
((
item
)
=>
item
.
adviceType
));
this
.
objtable
.
route1
=
this
.
multipleSelection
.
filter
((
item
)
=>
item
.
adviceType
);
this
.
objtable
.
route1
=
this
.
multipleSelection
.
filter
((
item
)
=>
item
.
adviceType
);
this
.
objtable
.
route2
=
this
.
multipleSelection1
.
filter
((
item
)
=>
item
.
adviceType
);
this
.
objtable
.
route2
=
this
.
multipleSelection1
.
filter
((
item
)
=>
item
.
adviceType
);
let
a
=
this
.
objtable
.
route1
.
filter
((
item
)
=>
item
.
orderType
==
"检查"
);
//
let a = this.objtable.route1.filter((item) => item.orderType == "检查");
let
b
=
this
.
objtable
.
route2
.
filter
((
item
)
=>
item
.
orderType
==
"检查"
);
//
let b = this.objtable.route2.filter((item) => item.orderType == "检查");
if
(
a
.
length
)
{
//
if (a.length) {
if
(
!
a
[
0
].
inspectionPurpose
)
{
//
if (!a[0].inspectionPurpose) {
Message
.
warning
({
//
Message.warning({
showClose
:
true
,
//
showClose: true,
message
:
`检查目的为必填,请填写`
,
//
message: `检查目的为必填,请填写`,
type
:
"warning"
,
//
type: "warning",
});
//
});
return
;
//
return;
}
//
}
}
//
}
if
(
b
.
length
)
{
//
if (b.length) {
if
(
!
b
[
0
].
inspectionPurpose
)
{
//
if (!b[0].inspectionPurpose) {
Message
.
warning
({
//
Message.warning({
showClose
:
true
,
//
showClose: true,
message
:
`检查目的为必填,请填写`
,
//
message: `检查目的为必填,请填写`,
type
:
"warning"
,
//
type: "warning",
});
//
});
return
;
//
return;
}
//
}
}
//
}
this
.
objtable
.
deptName
=
this
.
deptName
;
this
.
objtable
.
deptName
=
this
.
deptName
;
http
.
post
(
`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=
${
this
.
$route
.
query
.
pid
}
`
,
this
.
objtable
)
http
.
post
(
`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=
${
this
.
$route
.
query
.
pid
}
`
,
this
.
objtable
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
...
...
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