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
0d31f7d4
Commit
0d31f7d4
authored
Aug 27, 2024
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b2e75765
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
100 additions
and
47 deletions
+100
-47
src/views/outClinicalpathway.vue
+100
-47
No files found.
src/views/outClinicalpathway.vue
View file @
0d31f7d4
...
@@ -108,18 +108,6 @@
...
@@ -108,18 +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=
"isSkin"
label=
"是否皮试"
width=
"110"
>
<template
#
default=
"scope"
>
<template
v-if=
"scope.row.orderType == '药疗' && scope.row.isnew"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType && scope.row.isSkinCheck == 1"
>
<el-select
size=
"mini"
v-model=
"scope.row.isSkin"
>
<el-option
v-for=
"item in isSkinoptions"
:key=
"item.label"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
<!-- <div v-else>{{ scope.row.isSkin == 1 ? "是" : "否" }}</div> -->
</template>
</template>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"orderType"
label=
"类型"
width=
"50"
>
<el-table-column
show-overflow-tooltip
property=
"orderType"
label=
"类型"
width=
"50"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
<div
v-if=
"scope.row.orderType == '药疗'"
>
<div
v-if=
"scope.row.orderType == '药疗'"
>
...
@@ -185,17 +173,6 @@
...
@@ -185,17 +173,6 @@
<span
v-else
>
{{ scope.row.project_name }}
</span>
<span
v-else
>
{{ scope.row.project_name }}
</span>
</template>
</template>
</el-table-column>
</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"
>
<!-- <template #default="scope">
<el-select v-if="scope.row.ischeck == 1 && scope.row.orderType" size="mini" v-model="scope.row.isAntibiotic">
<el-option v-for="item in chargeTypeoptions" :key="item.label" :label="item.label" :value="item.label"> </el-option>
</el-select>
<span v-else>{{ scope.row.isAntibiotic }}</span>
</template> -->
</el-table-column>
<
template
v-if=
"projectType == '2'"
>
<
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"
>
...
@@ -254,6 +231,82 @@
...
@@ -254,6 +231,82 @@
</el-form-item>
</el-form-item>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"chiefComplaint"
label=
"主诉"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.chiefComplaint`"
v-if="scope.row.ischeck == 1
&&
scope.row.type == 2
&&
scope.row.isedit
&&
scope.row.orderType"
:rules="[{ required: false, message: '请输入内容' }]"
>
<template
#
label
>
<span></span></
template
>
<el-input
size=
"mini"
v-model
.
trim=
"scope.row.chiefComplaint"
autocomplete=
"off"
placeholder=
"请输入内容"
type=
"textarea"
:autosize=
"{ minRows: 2 }"
></el-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=
"pastHistory"
label=
"既往史"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.pastHistory`"
v-if="scope.row.ischeck == 1
&&
scope.row.type == 2
&&
scope.row.isedit
&&
scope.row.orderType"
:rules="[{ required: false, message: '请输入内容' }]"
>
<template
#
label
>
<span></span></
template
>
<el-input
size=
"mini"
v-model
.
trim=
"scope.row.pastHistory"
autocomplete=
"off"
placeholder=
"请输入内容"
type=
"textarea"
:autosize=
"{ minRows: 2 }"
></el-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=
"auxiliaryItems"
label=
"其他辅助项目"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.auxiliaryItems`"
v-if="scope.row.ischeck == 1
&&
scope.row.type == 2
&&
scope.row.isedit
&&
scope.row.orderType"
:rules="[{ required: false, message: '请输入内容' }]"
>
<template
#
label
>
<span></span></
template
>
<el-input
size=
"mini"
v-model
.
trim=
"scope.row.auxiliaryItems"
autocomplete=
"off"
placeholder=
"请输入内容"
type=
"textarea"
:autosize=
"{ minRows: 2 }"
></el-input>
</el-form-item>
</template>
</el-table-column>
<el-table-column
prop=
"inspectRemarks"
label=
"备注"
width=
"150"
>
<
template
#
default=
"scope"
>
<el-form-item
:prop=
"`tableList.$
{scope.row.customIndex}.inspectRemarks`"
v-if="scope.row.ischeck == 1
&&
scope.row.type == 2
&&
scope.row.isedit
&&
scope.row.orderType"
:rules="[{ required: false, message: '请输入内容' }]"
>
<template
#
label
>
<span></span></
template
>
<el-input
size=
"mini"
v-model
.
trim=
"scope.row.inspectRemarks"
autocomplete=
"off"
placeholder=
"请输入内容"
type=
"textarea"
:autosize=
"{ minRows: 2 }"
></el-input>
</el-form-item>
</template>
</el-table-column>
</template>
</template>
<el-table-column
show-overflow-tooltip
property=
"specimen_id"
label=
"标本"
width=
"130"
v-if=
"projectType == '3'"
>
<el-table-column
show-overflow-tooltip
property=
"specimen_id"
label=
"标本"
width=
"130"
v-if=
"projectType == '3'"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
...
@@ -275,6 +328,29 @@
...
@@ -275,6 +328,29 @@
<span
v-else
>
{{ scope.row.specimen_id }}
</span>
<span
v-else
>
{{ scope.row.specimen_id }}
</span>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"isSkin"
label=
"是否皮试"
width=
"110"
>
<
template
#
default=
"scope"
>
<template
v-if=
"scope.row.orderType == '药疗' && scope.row.isnew"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType && scope.row.isSkinCheck == 1"
>
<el-select
size=
"mini"
v-model=
"scope.row.isSkin"
>
<el-option
v-for=
"item in isSkinoptions"
:key=
"item.label"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</
template
>
<!-- <div v-else>{{ scope.row.isSkin == 1 ? "是" : "否" }}</div> -->
</template>
</template>
</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"
>
<!-- <template #default="scope">
<el-select v-if="scope.row.ischeck == 1 && scope.row.orderType" size="mini" v-model="scope.row.isAntibiotic">
<el-option v-for="item in chargeTypeoptions" :key="item.label" :label="item.label" :value="item.label"> </el-option>
</el-select>
<span v-else>{{ scope.row.isAntibiotic }}</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"
>
...
@@ -486,7 +562,7 @@
...
@@ -486,7 +562,7 @@
<el-table-column
label=
"操作"
width=
"80"
>
<el-table-column
label=
"操作"
width=
"80"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-button
<el-button
v-if=
"scope.row.ischeck == 1 && scope.row.type == 2 && scope.row.isedit && scope.row.orderType"
v-if=
"scope.row.ischeck == 1 && scope.row.type == 2 && scope.row.isedit && scope.row.orderType
&& projectType != '2'
"
size=
"mini"
size=
"mini"
type=
"primary"
type=
"primary"
@
click=
"goSeeScore(scope.row, scope.$index, scope)"
@
click=
"goSeeScore(scope.row, scope.$index, scope)"
...
@@ -1457,29 +1533,6 @@ export default {
...
@@ -1457,29 +1533,6 @@ 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 b = this.objtable.route2.filter((item) => item.orderType == "检查");
// if (a.length) {
// if (!a[0].inspectionPurpose) {
// Message.warning({
// showClose: true,
// message: `检查目的为必填,请填写`,
// type: "warning",
// });
// return;
// }
// }
// if (b.length) {
// if (!b[0].inspectionPurpose) {
// Message.warning({
// showClose: true,
// message: `检查目的为必填,请填写`,
// type: "warning",
// });
// 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