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
ebd7fc90
Commit
ebd7fc90
authored
Mar 27, 2023
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表格必填校验
parent
3ca3d7e1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1396 additions
and
911 deletions
+1396
-911
src/components/medicalRecordHomepage/index.vue
+282
-149
src/router/index.js
+4
-0
src/views/outClinicalpathway.vue
+176
-28
src/views/outpatientDetails.vue
+177
-202
src/views/test.vue
+757
-532
No files found.
src/components/medicalRecordHomepage/index.vue
View file @
ebd7fc90
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"24"
class=
"juStart"
>
<el-col
:span=
"24"
class=
"juStart"
>
<span
class=
"key a46C"
>
医疗付费方式:
{{
changeValue
(
'a46C'
)
}}
</span>
<span
class=
"key a46C"
>
医疗付费方式:
{{
changeValue
(
"a46C"
)
}}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a47"
>
健康卡号:
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a47"
>
健康卡号:
</span></el-col>
<el-col
:span=
"12"
><span>
{{
changeValue
(
'a47'
)
}}
</span>
<el-col
:span=
"12"
><span>
{{
changeValue
(
"a47"
)
}}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -24,7 +25,9 @@
...
@@ -24,7 +25,9 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key a49"
>
第
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key a49"
>
第
</span></el-col>
<el-col
:span=
"8"
><span>
{{
changeValue
(
'a49'
)
}}
</span></el-col>
<el-col
:span=
"8"
><span>
{{
changeValue
(
"a49"
)
}}
</span></el-col
>
<el-col
:span=
"8"
><span
class=
"key"
>
次入院
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key"
>
次入院
</span></el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -32,14 +35,18 @@
...
@@ -32,14 +35,18 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a48"
>
病案号:
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a48"
>
病案号:
</span></el-col>
<el-col
:span=
"12"
><span>
{{
changeValue
(
'a48'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span>
{{
changeValue
(
"a48"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key"
>
共
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key"
>
共
</span></el-col>
<el-col
:span=
"8"
><span>
{{
changeValue
(
''
)
}}
</span></el-col>
<el-col
:span=
"8"
><span>
{{
changeValue
(
""
)
}}
</span></el-col
>
<el-col
:span=
"8"
><span
class=
"key"
>
页
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key"
>
页
</span></el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -49,33 +56,41 @@
...
@@ -49,33 +56,41 @@
<el-col
:xl=
"3"
:lg=
"3"
:md=
"4"
>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"4"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a11"
>
姓名
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a11"
>
姓名
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a11'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a11"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a12C"
>
性别
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a12C"
>
性别
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a12C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a12C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"10"
:lg=
"10"
:md=
"9"
>
<el-col
:xl=
"10"
:lg=
"10"
:md=
"9"
>
<el-row>
<el-row>
<el-col
:span=
"7"
><span
class=
"key a13"
>
出生日期
</span></el-col>
<el-col
:span=
"7"
><span
class=
"key a13"
>
出生日期
</span></el-col>
<el-col
:span=
"17"
><span
class=
"values"
>
{{
changeValue
(
'a13'
)
!=
'——'
?
<el-col
:span=
"17"
transformTime
(
changeValue
(
'a13'
))
:
changeValue
(
'a13'
)
><span
class=
"values"
>
{{
changeValue
(
"a13"
)
!=
"——"
?
transformTime
(
changeValue
(
"a13"
))
:
changeValue
(
"a13"
)
}}
</span></el-col
}}
</span></el-col
>
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"4"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"4"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a14"
>
年龄
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a14"
>
年龄
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a14'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a14"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"4"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"4"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a15C"
>
国籍
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a15C"
>
国籍
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a15C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a15C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -86,7 +101,7 @@
...
@@ -86,7 +101,7 @@
<el-col
:span=
"12"
:md=
"15"
><span
class=
"value"
style=
"border: none"
>
(年龄不满一周岁的)
</span></el-col>
<el-col
:span=
"12"
:md=
"15"
><span
class=
"value"
style=
"border: none"
>
(年龄不满一周岁的)
</span></el-col>
<el-col
:span=
"4"
:md=
"4"
><span
class=
"key a16"
>
年龄
</span></el-col>
<el-col
:span=
"4"
:md=
"4"
><span
class=
"key a16"
>
年龄
</span></el-col>
<el-col
:span=
"6"
:md=
"3"
>
<el-col
:span=
"6"
:md=
"3"
>
<span
class=
"values"
>
{{
changeValue
(
'a16'
)
}}
</span>
<span
class=
"values"
>
{{
changeValue
(
"a16"
)
}}
</span>
</el-col>
</el-col>
<el-col
:span=
"2"
><span
class=
"value"
style=
"border: none"
>
月
</span></el-col>
<el-col
:span=
"2"
><span
class=
"value"
style=
"border: none"
>
月
</span></el-col>
</el-row>
</el-row>
...
@@ -95,7 +110,9 @@
...
@@ -95,7 +110,9 @@
<el-col
:span=
"7"
>
<el-col
:span=
"7"
>
<el-row>
<el-row>
<el-col
:span=
"15"
><span
class=
"key a18x01"
>
新生儿出生体重
</span></el-col>
<el-col
:span=
"15"
><span
class=
"key a18x01"
>
新生儿出生体重
</span></el-col>
<el-col
:span=
"6"
><span
class=
"values"
>
{{
changeValue
(
'a18x01'
)
}}
</span></el-col>
<el-col
:span=
"6"
><span
class=
"values"
>
{{
changeValue
(
"a18x01"
)
}}
</span></el-col
>
<el-col
:span=
"3"
><span
class=
"value"
style=
"border: none"
>
克
</span></el-col>
<el-col
:span=
"3"
><span
class=
"value"
style=
"border: none"
>
克
</span></el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -103,7 +120,9 @@
...
@@ -103,7 +120,9 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-row>
<el-row>
<el-col
:span=
"14"
><span
class=
"key a17"
>
新生儿入院体重
</span></el-col>
<el-col
:span=
"14"
><span
class=
"key a17"
>
新生儿入院体重
</span></el-col>
<el-col
:span=
"6"
><span
class=
"values"
>
{{
changeValue
(
'a17'
)
}}
</span></el-col>
<el-col
:span=
"6"
><span
class=
"values"
>
{{
changeValue
(
"a17"
)
}}
</span></el-col
>
<el-col
:span=
"4"
><span
class=
"value"
style=
"border: none"
>
克
</span></el-col>
<el-col
:span=
"4"
><span
class=
"value"
style=
"border: none"
>
克
</span></el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -113,20 +132,26 @@
...
@@ -113,20 +132,26 @@
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-row>
<el-row>
<el-col
:span=
"5"
><span
class=
"key a22"
>
出生地
</span></el-col>
<el-col
:span=
"5"
><span
class=
"key a22"
>
出生地
</span></el-col>
<el-col
:span=
"19"
><span
class=
"values"
>
{{
changeValue
(
'a22'
)
}}
</span></el-col>
<el-col
:span=
"19"
><span
class=
"values"
>
{{
changeValue
(
"a22"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"9"
>
<el-col
:span=
"9"
>
<el-row>
<el-row>
<el-col
:span=
"4"
><span
class=
"key a23C"
>
籍贯
</span></el-col>
<el-col
:span=
"4"
><span
class=
"key a23C"
>
籍贯
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
'a23C'
)
}}
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
"a23C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a19C"
>
民族
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a19C"
>
民族
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a19C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a19C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -135,19 +160,25 @@
...
@@ -135,19 +160,25 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"5"
><span
class=
"key a20"
>
身份证号
</span></el-col>
<el-col
:span=
"5"
><span
class=
"key a20"
>
身份证号
</span></el-col>
<el-col
:span=
"19"
><span
class=
"values"
>
{{
changeValue
(
'a20'
)
}}
</span></el-col>
<el-col
:span=
"19"
><span
class=
"values"
>
{{
changeValue
(
"a20"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key a38C"
>
职业
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key a38C"
>
职业
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'a38C'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"a38C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key a21C"
>
婚姻
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key a21C"
>
婚姻
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'a21C'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"a21C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -156,19 +187,25 @@
...
@@ -156,19 +187,25 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"4"
><span
class=
"key a26"
>
现住址
</span></el-col>
<el-col
:span=
"4"
><span
class=
"key a26"
>
现住址
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
'a26'
)
}}
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
"a26"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key a27"
>
电话
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key a27"
>
电话
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'a27'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"a27"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key a28C"
>
邮编
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key a28C"
>
邮编
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'a28C'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"a28C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -177,13 +214,17 @@
...
@@ -177,13 +214,17 @@
<el-col
:span=
"15"
>
<el-col
:span=
"15"
>
<el-row>
<el-row>
<el-col
:span=
"4"
><span
class=
"key a24"
>
户口地址
</span></el-col>
<el-col
:span=
"4"
><span
class=
"key a24"
>
户口地址
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
'a24'
)
}}
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
"a24"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a25C"
>
邮编
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a25C"
>
邮编
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a25C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a25C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -192,19 +233,25 @@
...
@@ -192,19 +233,25 @@
<el-col
:xl=
"13"
:lg=
"13"
:md=
"15"
>
<el-col
:xl=
"13"
:lg=
"13"
:md=
"15"
>
<el-row
justify=
"left"
>
<el-row
justify=
"left"
>
<el-col
:span=
"7"
><span
class=
"key a29"
>
工作单位及地址
</span></el-col>
<el-col
:span=
"7"
><span
class=
"key a29"
>
工作单位及地址
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'a29'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"a29"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a30"
>
单位电话
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a30"
>
单位电话
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a30'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a30"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a31C"
>
邮编
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a31C"
>
邮编
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a31C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a31C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -213,26 +260,34 @@
...
@@ -213,26 +260,34 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key a32"
>
联系人姓名
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key a32"
>
联系人姓名
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'a32'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"a32"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key a33C"
>
关系
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key a33C"
>
关系
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'a33C'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"a33C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"7"
>
<el-col
:span=
"7"
>
<el-row>
<el-row>
<el-col
:span=
"6"
><span
class=
"key a34"
>
地址
</span></el-col>
<el-col
:span=
"6"
><span
class=
"key a34"
>
地址
</span></el-col>
<el-col
:span=
"18"
><span
class=
"values"
>
{{
changeValue
(
'a34'
)
}}
</span></el-col>
<el-col
:span=
"18"
><span
class=
"values"
>
{{
changeValue
(
"a34"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key a35"
>
电话
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key a35"
>
电话
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'a35'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"a35"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -242,7 +297,7 @@
...
@@ -242,7 +297,7 @@
<span
class=
"key b11C"
>
入院途径
</span>
<span
class=
"key b11C"
>
入院途径
</span>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<span
class=
"values"
>
{{
changeValue
(
'b11C'
)
}}
</span>
<span
class=
"values"
>
{{
changeValue
(
"b11C"
)
}}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -250,30 +305,36 @@
...
@@ -250,30 +305,36 @@
<el-col
:xl=
"7"
:lg=
"7"
:md=
"10"
>
<el-col
:xl=
"7"
:lg=
"7"
:md=
"10"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b12"
>
入院时间
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b12"
>
入院时间
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'b12'
)
!=
'——'
?
<el-col
:span=
"16"
transformTime
(
changeValue
(
'b12'
))
:
changeValue
(
'b12'
)
><span
class=
"values"
>
{{
changeValue
(
"b12"
)
!=
"——"
?
transformTime
(
changeValue
(
"b12"
))
:
changeValue
(
"b12"
)
}}
</span></el-col
}}
</span></el-col
>
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"7"
>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"7"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b13C"
>
入院科别
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b13C"
>
入院科别
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b13C'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b13C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b14"
>
病房
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b14"
>
病房
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'b14'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"b14"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key b21C"
>
转科科别
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key b21C"
>
转科科别
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'b21C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"b21C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -282,30 +343,36 @@
...
@@ -282,30 +343,36 @@
<el-col
:xl=
"7"
:lg=
"7"
:md=
"10"
>
<el-col
:xl=
"7"
:lg=
"7"
:md=
"10"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b15"
>
出院时间
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b15"
>
出院时间
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'b15'
)
!=
'——'
?
<el-col
:span=
"16"
transformTime
(
changeValue
(
'b15'
))
:
changeValue
(
'b15'
)
><span
class=
"values"
>
{{
changeValue
(
"b15"
)
!=
"——"
?
transformTime
(
changeValue
(
"b15"
))
:
changeValue
(
"b15"
)
}}
</span></el-col
}}
</span></el-col
>
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"7"
>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"7"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key b16C"
>
出院科别
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key b16C"
>
出院科别
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'b16C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"b16C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b17"
>
病房
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b17"
>
病房
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'b17'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"b17"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key b20"
>
实际住院
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key b20"
>
实际住院
</span></el-col>
<el-col
:span=
"8"
><span
class=
"values"
>
{{
changeValue
(
'b20'
)
}}
</span></el-col>
<el-col
:span=
"8"
><span
class=
"values"
>
{{
changeValue
(
"b20"
)
}}
</span></el-col
>
<el-col
:span=
"4"
><span
class=
"key"
>
天
</span></el-col>
<el-col
:span=
"4"
><span
class=
"key"
>
天
</span></el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -315,13 +382,17 @@
...
@@ -315,13 +382,17 @@
<el-col
:span=
"13"
>
<el-col
:span=
"13"
>
<el-row>
<el-row>
<el-col
:span=
"7"
><span
class=
"key c02N"
>
门(急)诊诊断
</span></el-col>
<el-col
:span=
"7"
><span
class=
"key c02N"
>
门(急)诊诊断
</span></el-col>
<el-col
:span=
"17"
><span
class=
"values"
>
{{
changeValue
(
'c02N'
)
}}
</span></el-col>
<el-col
:span=
"17"
><span
class=
"values"
>
{{
changeValue
(
"c02N"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key c01C"
>
疾病编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key c01C"
>
疾病编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'c01C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"c01C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -329,13 +400,17 @@
...
@@ -329,13 +400,17 @@
<el-col
:span=
"9"
>
<el-col
:span=
"9"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key c03C"
>
出院主要诊断编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key c03C"
>
出院主要诊断编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'c03C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"c03C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key c04N"
>
出院主要诊断名称
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key c04N"
>
出院主要诊断名称
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'c04N'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"c04N"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -345,25 +420,31 @@
...
@@ -345,25 +420,31 @@
<el-table-column
prop=
"diaG_NAME"
label=
"出院诊断"
></el-table-column>
<el-table-column
prop=
"diaG_NAME"
label=
"出院诊断"
></el-table-column>
<el-table-column
prop=
"diaG_CODE"
label=
"疾病编码"
></el-table-column>
<el-table-column
prop=
"diaG_CODE"
label=
"疾病编码"
></el-table-column>
<el-table-column
prop=
"diaG_ORDERNAME"
label=
"诊断类型"
>
</el-table-column>
<el-table-column
prop=
"diaG_ORDERNAME"
label=
"诊断类型"
>
</el-table-column>
<el-table-column
prop=
"diaG_ILLNESS"
label=
"入院
详
情"
></el-table-column>
<el-table-column
prop=
"diaG_ILLNESS"
label=
"入院
病
情"
></el-table-column>
</el-table>
</el-table>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"3"
><span
class=
"key c05C"
>
入院病情
</span></el-col>
<el-col
:span=
"3"
><span
class=
"key c05C"
>
入院病情
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
'c05C'
)
}}
</span></el-col>
<el-col
:span=
"20"
><span
class=
"values"
>
{{
changeValue
(
"c05C"
)
}}
</span></el-col
>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"18"
>
<el-col
:span=
"18"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key c13N"
>
损伤、中毒的外部原因
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key c13N"
>
损伤、中毒的外部原因
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'c13N'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"c13N"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key c12C"
>
疾病编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key c12C"
>
疾病编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'c12C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"c12C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -372,19 +453,25 @@
...
@@ -372,19 +453,25 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"5"
><span
class=
"key c10N"
>
病理诊断:
</span></el-col>
<el-col
:span=
"5"
><span
class=
"key c10N"
>
病理诊断:
</span></el-col>
<el-col
:span=
"17"
><span
class=
"values"
>
{{
changeValue
(
'c10N'
)
}}
</span></el-col>
<el-col
:span=
"17"
><span
class=
"values"
>
{{
changeValue
(
"c10N"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key c09C"
>
疾病编码
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key c09C"
>
疾病编码
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'c09C'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"c09C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key c11"
>
病理号
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key c11"
>
病理号
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'c11'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"c11"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -393,15 +480,21 @@
...
@@ -393,15 +480,21 @@
<el-col
:span=
"18"
>
<el-col
:span=
"18"
>
<el-row>
<el-row>
<el-col
:span=
"3"
><span
class=
"key c24C"
>
药物过敏
</span></el-col>
<el-col
:span=
"3"
><span
class=
"key c24C"
>
药物过敏
</span></el-col>
<el-col
:span=
"4"
><span
class=
"values"
>
{{
changeValue
(
'c24C'
)
}}
</span></el-col>
<el-col
:span=
"4"
><span
class=
"values"
>
{{
changeValue
(
"c24C"
)
}}
</span></el-col
>
<el-col
:span=
"4"
><span
class=
"value c25"
style=
"border: none"
>
过敏药物
</span></el-col>
<el-col
:span=
"4"
><span
class=
"value c25"
style=
"border: none"
>
过敏药物
</span></el-col>
<el-col
:span=
"11"
><span
class=
"values"
>
{{
changeValue
(
'c25'
)
}}
</span></el-col>
<el-col
:span=
"11"
><span
class=
"values"
>
{{
changeValue
(
"c25"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"16"
><span
class=
"key c34C"
>
死亡患者尸检
</span></el-col>
<el-col
:span=
"16"
><span
class=
"key c34C"
>
死亡患者尸检
</span></el-col>
<el-col
:span=
"8"
><span
class=
"values"
>
{{
changeValue
(
'c34C'
)
}}
</span></el-col>
<el-col
:span=
"8"
><span
class=
"values"
>
{{
changeValue
(
"c34C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -410,13 +503,17 @@
...
@@ -410,13 +503,17 @@
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-row>
<el-row>
<el-col
:span=
"5"
><span
class=
"key c26C"
>
血型
</span></el-col>
<el-col
:span=
"5"
><span
class=
"key c26C"
>
血型
</span></el-col>
<el-col
:span=
"10"
><span
class=
"values"
>
{{
changeValue
(
'c26C'
)
}}
</span></el-col>
<el-col
:span=
"10"
><span
class=
"values"
>
{{
changeValue
(
"c26C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-row>
<el-row>
<el-col
:span=
"4"
><span
class=
"key c27C"
>
RH
</span></el-col>
<el-col
:span=
"4"
><span
class=
"key c27C"
>
RH
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'c27C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"c27C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -425,27 +522,35 @@
...
@@ -425,27 +522,35 @@
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b22"
>
科主任
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b22"
>
科主任
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b22'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b22"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"7"
>
<el-col
:span=
"7"
>
<el-row>
<el-row>
<el-col
:span=
"16"
><span
class=
"key b23"
>
主任(副主任)医师
</span></el-col>
<el-col
:span=
"16"
><span
class=
"key b23"
>
主任(副主任)医师
</span></el-col>
<el-col
:span=
"8"
><span
class=
"values"
>
{{
changeValue
(
'b23'
)
}}
</span></el-col>
<el-col
:span=
"8"
><span
class=
"values"
>
{{
changeValue
(
"b23"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b24"
>
主治医师
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b24"
>
主治医师
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'b24'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"b24"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b25"
>
住院医师
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b25"
>
住院医师
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'b25'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"b25"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -454,13 +559,17 @@
...
@@ -454,13 +559,17 @@
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b22C"
>
科主任编码
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b22C"
>
科主任编码
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b22C'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b22C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b23C"
>
主任(副主任)医师编码
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b23C"
>
主任(副主任)医师编码
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b23C'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b23C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -468,14 +577,18 @@
...
@@ -468,14 +577,18 @@
<el-col
:span=
"11"
>
<el-col
:span=
"11"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b24C"
>
主治医师编码
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b24C"
>
主治医师编码
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b24C'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b24C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"9"
><span
class=
"key b25C"
>
住院医师编码
</span></el-col>
<el-col
:span=
"9"
><span
class=
"key b25C"
>
住院医师编码
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b25C'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b25C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -484,25 +597,33 @@
...
@@ -484,25 +597,33 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b28"
>
实习医师
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b28"
>
实习医师
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'b28'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"b28"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b27"
>
进修医师
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b27"
>
进修医师
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b27'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b27"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b26"
>
责任护士
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b26"
>
责任护士
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b26'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b26"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"12"
><span
class=
"key b26C"
>
责任护士编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"key b26C"
>
责任护士编码
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'b26C'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"b26C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -511,35 +632,43 @@
...
@@ -511,35 +632,43 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b29"
>
编码员
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b29"
>
编码员
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
'b29'
)
}}
</span></el-col>
<el-col
:span=
"12"
><span
class=
"values"
>
{{
changeValue
(
"b29"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b30C"
>
病案质量
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b30C"
>
病案质量
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b30C'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b30C"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"10"
><span
class=
"key b31"
>
质控医师
</span></el-col>
<el-col
:span=
"10"
><span
class=
"key b31"
>
质控医师
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
'b31'
)
}}
</span></el-col>
<el-col
:span=
"14"
><span
class=
"values"
>
{{
changeValue
(
"b31"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-row>
<el-row>
<el-col
:span=
"8"
><span
class=
"key b32"
>
质控护士
</span></el-col>
<el-col
:span=
"8"
><span
class=
"key b32"
>
质控护士
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
'b32'
)
}}
</span></el-col>
<el-col
:span=
"16"
><span
class=
"values"
>
{{
changeValue
(
"b32"
)
}}
</span></el-col
>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"3"
><span
class=
"key b33"
>
质控日期
</span></el-col>
<el-col
:span=
"3"
><span
class=
"key b33"
>
质控日期
</span></el-col>
<el-col
:span=
"15"
><span
class=
"values"
>
{{
changeValue
(
'b33'
)
!=
'——'
?
<el-col
:span=
"15"
transformTime
(
changeValue
(
'b33'
))
:
changeValue
(
'b33'
)
><span
class=
"values"
>
{{
changeValue
(
"b33"
)
!=
"——"
?
transformTime
(
changeValue
(
"b33"
))
:
changeValue
(
"b33"
)
}}
</span></el-col
}}
</span></el-col
>
>
</el-row>
</el-row>
</div>
</div>
...
@@ -549,7 +678,7 @@
...
@@ -549,7 +678,7 @@
<el-table-column
prop=
"opS_CODE"
label=
"手术及操作编码"
></el-table-column>
<el-table-column
prop=
"opS_CODE"
label=
"手术及操作编码"
></el-table-column>
<el-table-column
prop=
"opS_TIME"
label=
"手术及操作日期"
>
<el-table-column
prop=
"opS_TIME"
label=
"手术及操作日期"
>
<template
#
default=
"scope"
>
<template
#
default=
"scope"
>
{{
scope
.
row
.
opS_TIME
?
transformTime
(
scope
.
row
.
opS_TIME
)
:
''
}}
{{
scope
.
row
.
opS_TIME
?
transformTime
(
scope
.
row
.
opS_TIME
)
:
""
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"opS_LEVEL"
label=
"手术级别"
></el-table-column>
<el-table-column
prop=
"opS_LEVEL"
label=
"手术级别"
></el-table-column>
...
@@ -568,27 +697,35 @@
...
@@ -568,27 +697,35 @@
<el-row>
<el-row>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<span
class=
"key b34C"
>
离院方式:
</span></el-col>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<span
class=
"key b34C"
>
离院方式:
</span></el-col>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<span
class=
"value"
>
{{ changeValue(
'b34C'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"b34C"
) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"9"
:lg=
"10"
:md=
"12"
><span
class=
"value noBottomBoder b35"
>
1.医嘱离院 2.医嘱转院,拟接收医疗机构名称:
</span>
<el-col
:xl=
"9"
:lg=
"10"
:md=
"12"
><span
class=
"value noBottomBoder b35"
>
1.医嘱离院 2.医嘱转院,拟接收医疗机构名称:
</span>
</el-col>
</el-col>
<el-col
:xl=
"8"
:lg=
"8"
:md=
"6"
<el-col
:xl=
"8"
:lg=
"8"
:md=
"6"
><span
class=
"value"
>
{{ changeValue('b35') }}
</span></el-col>
><span
class=
"value"
>
{{ changeValue("b35") }}
</span></el-col
>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:xl=
"12"
:lg=
"13"
:md=
"16"
><span
<el-col
:xl=
"12"
:lg=
"13"
:md=
"16"
class=
"value noBottomBoder b35"
>
3.医嘱转社区卫生服务机构/乡镇卫生院,拟接收医疗机构名称:
</span></el-col>
><span
class=
"value noBottomBoder b35"
>
3.医嘱转社区卫生服务机构/乡镇卫生院,拟接收医疗机构名称:
</span></el-col
<el-col
:xl=
"4"
:lg=
"4"
:md=
"8"
><span
class=
"value"
>
{{ changeValue('b35') }}
</span></el-col>
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"8"
><span
class=
"value"
>
{{ changeValue("b35") }}
</span></el-col
>
<el-col
:xl=
"5"
:lg=
"6"
:md=
"7"
><span
class=
"value noBottomBoder"
>
4.非医嘱离院5.死亡9.其他
</span></el-col>
<el-col
:xl=
"5"
:lg=
"6"
:md=
"7"
><span
class=
"value noBottomBoder"
>
4.非医嘱离院5.死亡9.其他
</span></el-col>
</el-row>
</el-row>
<hr
/>
<hr
/>
<el-row>
<el-row>
<el-col
:xl=
"6"
:lg=
"6"
:md=
"8"
><span
class=
"value noBottomBoder b36C"
>
是否有出院31天内再住院计划
</span></el-col>
<el-col
:xl=
"6"
:lg=
"6"
:md=
"8"
><span
class=
"value noBottomBoder b36C"
>
是否有出院31天内再住院计划
</span></el-col>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"2"
><span
class=
"value"
>
{{ changeValue('b36C') }}
</span></el-col>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"2"
><span
class=
"value"
>
{{ changeValue("b36C") }}
</span></el-col
>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"2"
><span
class=
"value noBottomBoder b37"
>
目的:
</span></el-col>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"2"
><span
class=
"value noBottomBoder b37"
>
目的:
</span></el-col>
<el-col
:xl=
"11"
:lg=
"11"
:md=
"11"
><span
class=
"value"
>
{{ changeValue('b37') }}
</span></el-col>
<el-col
:xl=
"11"
:lg=
"11"
:md=
"11"
><span
class=
"value"
>
{{ changeValue("b37") }}
</span></el-col
>
</el-row>
</el-row>
<hr
/>
<hr
/>
...
@@ -598,30 +735,30 @@
...
@@ -598,30 +735,30 @@
<span
class=
"value noBottomBoder c28 c29 c30"
>
颅脑损伤患者昏迷时间:入院前
</span>
<span
class=
"value noBottomBoder c28 c29 c30"
>
颅脑损伤患者昏迷时间:入院前
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<span
class=
"value"
>
{{ changeValue(
'c28'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"c28"
) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
天
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
天
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<span
class=
"value"
>
{{ changeValue(
'c29'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"c29"
) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
小时
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
小时
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<span
class=
"value"
>
{{ changeValue(
'c30'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"c30"
) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
分钟
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
分钟
</el-col>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"2"
>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"2"
>
<span
class=
"value noBottomBoder c31 c32 c33"
>
入院后
</span>
<span
class=
"value noBottomBoder c31 c32 c33"
>
入院后
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<span
class=
"value"
>
{{ changeValue(
'c31'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"c31"
) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
天
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
天
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<span
class=
"value"
>
{{ changeValue(
'c32'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"c32"
) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
小时
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
小时
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
<span
class=
"value"
>
{{ changeValue(
'c33'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"c33"
) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
分钟
</el-col>
<el-col
:xl=
"1"
:lg=
"1"
:md=
"2"
>
分钟
</el-col>
</el-row>
</el-row>
...
@@ -633,13 +770,13 @@
...
@@ -633,13 +770,13 @@
<span
class=
"key d01"
>
住院费用(元):总费用
</span>
<span
class=
"key d01"
>
住院费用(元):总费用
</span>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd01'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d01"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value noBottomBoder d09"
>
(自付金额:
</span>
<span
class=
"value noBottomBoder d09"
>
(自付金额:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd09'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d09"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"1"
>
<el-col
:span=
"1"
>
<span
class=
"value noBottomBoder"
>
)
</span>
<span
class=
"value noBottomBoder"
>
)
</span>
...
@@ -654,13 +791,13 @@
...
@@ -654,13 +791,13 @@
<span
class=
"value noBottomBoder d11"
>
(1)一般医疗服务费:
</span>
<span
class=
"value noBottomBoder d11"
>
(1)一般医疗服务费:
</span>
</el-col>
</el-col>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd11'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d11"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<span
class=
"value noBottomBoder d12"
>
(2)一般治疗操作费:
</span>
<span
class=
"value noBottomBoder d12"
>
(2)一般治疗操作费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd12'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d12"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -669,13 +806,13 @@
...
@@ -669,13 +806,13 @@
<span
class=
"value noBottomBoder d13"
>
(3)护理费:
</span>
<span
class=
"value noBottomBoder d13"
>
(3)护理费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd13'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d13"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"4"
>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"4"
>
<span
class=
"value noBottomBoder d14"
>
(4)其他费用:
</span>
<span
class=
"value noBottomBoder d14"
>
(4)其他费用:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd14'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d14"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -687,13 +824,13 @@
...
@@ -687,13 +824,13 @@
<span
class=
"value noBottomBoder d15"
>
(5)病理诊断费:
</span>
<span
class=
"value noBottomBoder d15"
>
(5)病理诊断费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd15'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d15"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<span
class=
"value noBottomBoder d16"
>
(6)实验室诊断费:
</span>
<span
class=
"value noBottomBoder d16"
>
(6)实验室诊断费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd16'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d16"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -702,13 +839,13 @@
...
@@ -702,13 +839,13 @@
<span
class=
"value noBottomBoder d17"
>
(7)影像学诊断费:
</span>
<span
class=
"value noBottomBoder d17"
>
(7)影像学诊断费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd17'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d17"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<span
class=
"value noBottomBoder d18"
>
(8)临床诊断项目费:
</span>
<span
class=
"value noBottomBoder d18"
>
(8)临床诊断项目费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd18'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d18"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -720,14 +857,14 @@
...
@@ -720,14 +857,14 @@
<span
class=
"value noBottomBoder d19"
>
(9)非手术治疗项目费:
</span>
<span
class=
"value noBottomBoder d19"
>
(9)非手术治疗项目费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd19'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d19"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"5"
>
<span
class=
"value noBottomBoder d19x01"
>
(临床物理治疗费:
</span>
<span
class=
"value noBottomBoder d19x01"
>
(临床物理治疗费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd19x01'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d19x01"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"1"
>
<el-col
:span=
"1"
>
<span
class=
"value noBottomBoder"
>
)
</span>
<span
class=
"value noBottomBoder"
>
)
</span>
...
@@ -739,20 +876,20 @@
...
@@ -739,20 +876,20 @@
<span
class=
"value noBottomBoder d20"
>
(9)手术治疗费:
</span>
<span
class=
"value noBottomBoder d20"
>
(9)手术治疗费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd20'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d20"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"3"
>
<el-col
:xl=
"2"
:lg=
"2"
:md=
"3"
>
<span
class=
"value noBottomBoder d20x01"
>
(麻醉费:
</span>
<span
class=
"value noBottomBoder d20x01"
>
(麻醉费:
</span>
</el-col>
</el-col>
<el-col
:span=
"2"
>
<el-col
:span=
"2"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd20x01'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d20x01"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"2"
>
<el-col
:span=
"2"
>
<span
class=
"value noBottomBoder"
>
手术费:
</span>
<span
class=
"value noBottomBoder"
>
手术费:
</span>
</el-col>
</el-col>
<el-col
:span=
"2"
>
<el-col
:span=
"2"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'4'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"4"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"1"
>
<el-col
:span=
"1"
>
<span
class=
"value noBottomBoder"
>
)
</span>
<span
class=
"value noBottomBoder"
>
)
</span>
...
@@ -767,7 +904,7 @@
...
@@ -767,7 +904,7 @@
<span
class=
"value noBottomBoder d21"
>
(11)康复费:
</span>
<span
class=
"value noBottomBoder d21"
>
(11)康复费:
</span>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd21'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d21"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -779,7 +916,7 @@
...
@@ -779,7 +916,7 @@
<span
class=
"value noBottomBoder d22"
>
(12)中医治疗费:
</span>
<span
class=
"value noBottomBoder d22"
>
(12)中医治疗费:
</span>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd22'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d22"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -791,13 +928,13 @@
...
@@ -791,13 +928,13 @@
<span
class=
"value noBottomBoder d23"
>
(13)西药费:
</span>
<span
class=
"value noBottomBoder d23"
>
(13)西药费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd23'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d23"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<span
class=
"value noBottomBoder d23x01"
>
(抗菌药物费用:
</span>
<span
class=
"value noBottomBoder d23x01"
>
(抗菌药物费用:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd23x01'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d23x01"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"1"
>
<el-col
:span=
"1"
>
<span
class=
"value noBottomBoder"
>
)
</span>
<span
class=
"value noBottomBoder"
>
)
</span>
...
@@ -812,13 +949,13 @@
...
@@ -812,13 +949,13 @@
<span
class=
"value noBottomBoder d24"
>
(14)中成药费:
</span>
<span
class=
"value noBottomBoder d24"
>
(14)中成药费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd24'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d24"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"4"
>
<el-col
:xl=
"3"
:lg=
"3"
:md=
"4"
>
<span
class=
"value noBottomBoder d25"
>
(15)中草药费:
</span>
<span
class=
"value noBottomBoder d25"
>
(15)中草药费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd25'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d25"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -830,19 +967,19 @@
...
@@ -830,19 +967,19 @@
<span
class=
"value noBottomBoder d26"
>
(16)血费:
</span>
<span
class=
"value noBottomBoder d26"
>
(16)血费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd26'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d26"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"6"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"6"
>
<span
class=
"value noBottomBoder d27"
>
(17)白蛋白类制品费:
</span>
<span
class=
"value noBottomBoder d27"
>
(17)白蛋白类制品费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd27'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d27"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"6"
>
<el-col
:xl=
"4"
:lg=
"4"
:md=
"6"
>
<span
class=
"value noBottomBoder d28"
>
(18)球蛋白类制品费:
</span>
<span
class=
"value noBottomBoder d28"
>
(18)球蛋白类制品费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd28'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d28"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -851,13 +988,13 @@
...
@@ -851,13 +988,13 @@
<span
class=
"value noBottomBoder d29"
>
(19)凝血因子类制品费:
</span>
<span
class=
"value noBottomBoder d29"
>
(19)凝血因子类制品费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd29'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d29"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"6"
>
<el-col
:xl=
"5"
:lg=
"5"
:md=
"6"
>
<span
class=
"value noBottomBoder d30"
>
(20)细胞因子类制品费:
</span>
<span
class=
"value noBottomBoder d30"
>
(20)细胞因子类制品费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd30'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d30"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -869,13 +1006,13 @@
...
@@ -869,13 +1006,13 @@
<span
class=
"value noBottomBoder d31"
>
(21)检查用一次性医用材料费:
</span>
<span
class=
"value noBottomBoder d31"
>
(21)检查用一次性医用材料费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd31'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d31"
)) }}
</span>
</el-col>
</el-col>
<el-col
:xl=
"6"
:lg=
"6"
:md=
"8"
>
<el-col
:xl=
"6"
:lg=
"6"
:md=
"8"
>
<span
class=
"value noBottomBoder d32"
>
(22)治疗用一次性医用材料费:
</span>
<span
class=
"value noBottomBoder d32"
>
(22)治疗用一次性医用材料费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd32'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d32"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -884,7 +1021,7 @@
...
@@ -884,7 +1021,7 @@
<span
class=
"value noBottomBoder d33"
>
(23)术用一次性医用材料费:
</span>
<span
class=
"value noBottomBoder d33"
>
(23)术用一次性医用材料费:
</span>
</el-col>
</el-col>
<el-col
:span=
"3"
>
<el-col
:span=
"3"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd33'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d33"
)) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -896,13 +1033,13 @@
...
@@ -896,13 +1033,13 @@
<span
class=
"value noBottomBoder d34"
>
(24)其他费:
</span>
<span
class=
"value noBottomBoder d34"
>
(24)其他费:
</span>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<span
class=
"value"
>
{{ decimal(changeValue(
'd34'
)) }}
</span>
<span
class=
"value"
>
{{ decimal(changeValue(
"d34"
)) }}
</span>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<span
class=
"value noBottomBoder b38"
>
(25)是否为日间手术:
</span>
<span
class=
"value noBottomBoder b38"
>
(25)是否为日间手术:
</span>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<span
class=
"value"
>
{{ changeValue(
'b38'
) }}
</span>
<span
class=
"value"
>
{{ changeValue(
"b38"
) }}
</span>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -913,8 +1050,8 @@
...
@@ -913,8 +1050,8 @@
</el-col>
</el-col>
<el-col
:span=
"22"
>
<el-col
:span=
"22"
>
<span
class=
"value noBottomBoder"
style=
"text-align: left"
>
(一)医疗付费方式 1.城镇职工基本医疗保险 2.城镇居民基本医疗保险
<span
class=
"value noBottomBoder"
style=
"text-align: left"
3.新型农村合作医疗 4.贫困救助 5.商业医疗保险 6.全公费 7.全自费
>
(一)医疗付费方式 1.城镇职工基本医疗保险 2.城镇居民基本医疗保险
3.新型农村合作医疗 4.贫困救助 5.商业医疗保险 6.全公费 7.全自费
8.其他社会保险 9.其他(二)凡可由医院信息系统提供住院费用清单的,住院病案首页中可不填写"住院费用"。
8.其他社会保险 9.其他(二)凡可由医院信息系统提供住院费用清单的,住院病案首页中可不填写"住院费用"。
</span>
</span>
</el-col>
</el-col>
...
@@ -922,10 +1059,10 @@
...
@@ -922,10 +1059,10 @@
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
reactive
,
toRefs
,
computed
,
onMounted
,
nextTick
}
from
'@vue/composition-api'
;
import
{
reactive
,
toRefs
,
computed
,
onMounted
,
nextTick
}
from
"@vue/composition-api"
;
import
{
transformTimestamp
}
from
'../../utils/formatTime'
;
import
{
transformTimestamp
}
from
"../../utils/formatTime"
;
import
{
decimal
}
from
'../../utils/decimal'
;
import
{
decimal
}
from
"../../utils/decimal"
;
export
default
{
export
default
{
props
:
{
props
:
{
Object
,
//弹出层是否显示
Object
,
//弹出层是否显示
...
@@ -939,20 +1076,18 @@ export default {
...
@@ -939,20 +1076,18 @@ export default {
});
});
// 添加表头calss
// 添加表头calss
const
headerRowStyle
=
({
row
,
column
,
rowIndex
,
columnIndex
})
=>
{
const
headerRowStyle
=
({
row
,
column
,
rowIndex
,
columnIndex
})
=>
{
if
(
column
.
label
==
'手术及操作编码'
)
{
if
(
column
.
label
==
"手术及操作编码"
)
{
return
'ops'
;
return
"ops"
;
}
}
};
};
const
diagnosisclass
=
({
row
,
column
,
rowIndex
,
columnIndex
})
=>
{
const
diagnosisclass
=
({
row
,
column
,
rowIndex
,
columnIndex
})
=>
{
if
(
column
.
label
==
'出院诊断'
)
{
if
(
column
.
label
==
"出院诊断"
)
{
return
'diagnosis'
;
return
"diagnosis"
;
}
}
};
};
const
diagnosis
=
computed
(()
=>
{
const
diagnosis
=
computed
(()
=>
{
if
(
props
.
medicalrecord
.
diagnosis
)
{
if
(
props
.
medicalrecord
.
diagnosis
)
{
if
(
props
.
medicalrecord
.
diagnosis
.
length
<
4
)
{
if
(
props
.
medicalrecord
.
diagnosis
.
length
<
4
)
{
for
(
let
i
=
props
.
medicalrecord
.
diagnosis
.
length
;
i
<=
4
;
i
++
)
{
for
(
let
i
=
props
.
medicalrecord
.
diagnosis
.
length
;
i
<=
4
;
i
++
)
{
...
@@ -961,7 +1096,6 @@ export default {
...
@@ -961,7 +1096,6 @@ export default {
}
}
return
props
.
medicalrecord
.
diagnosis
;
return
props
.
medicalrecord
.
diagnosis
;
}
}
});
});
const
ops
=
computed
(()
=>
{
const
ops
=
computed
(()
=>
{
if
(
props
.
medicalrecord
.
ops
)
{
if
(
props
.
medicalrecord
.
ops
)
{
...
@@ -972,15 +1106,14 @@ export default {
...
@@ -972,15 +1106,14 @@ export default {
}
}
return
props
.
medicalrecord
.
ops
;
return
props
.
medicalrecord
.
ops
;
}
}
});
});
function
changeValue
(
str
)
{
function
changeValue
(
str
)
{
let
obj
=
props
.
medicalrecord
;
let
obj
=
props
.
medicalrecord
;
if
(
str
&&
obj
)
{
if
(
str
&&
obj
)
{
return
obj
[
str
]
?
obj
[
str
]
:
'——'
;
return
obj
[
str
]
?
obj
[
str
]
:
"——"
;
}
else
{
}
else
{
return
'——'
;
return
"——"
;
}
}
}
}
return
{
return
{
...
@@ -1011,7 +1144,7 @@ export default {
...
@@ -1011,7 +1144,7 @@ export default {
th,
th,
td
{
td
{
border-color
:
#000
!important
;
border-color
:
#000
!important
;
font-family
:
'PingFang SC'
;
font-family
:
"PingFang SC"
;
color
:
#000
;
color
:
#000
;
}
}
...
@@ -1037,7 +1170,7 @@ export default {
...
@@ -1037,7 +1170,7 @@ export default {
.homePageTitle
{
.homePageTitle
{
font-size
:
25px
;
font-size
:
25px
;
font-weight
:
bold
;
font-weight
:
bold
;
font-family
:
'PingFang SC'
;
font-family
:
"PingFang SC"
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
}
}
...
@@ -1066,20 +1199,20 @@ export default {
...
@@ -1066,20 +1199,20 @@ export default {
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
bold
;
font-weight
:
bold
;
font-family
:
'PingFang SC'
;
font-family
:
"PingFang SC"
;
}
}
.value
{
.value
{
font-size
:
14px
;
font-size
:
14px
;
border-bottom
:
1px
solid
#000
;
border-bottom
:
1px
solid
#000
;
font-family
:
'PingFang SC'
;
font-family
:
"PingFang SC"
;
display
:
block
;
display
:
block
;
}
}
.values
{
.values
{
font-size
:
14px
;
font-size
:
14px
;
border-bottom
:
1px
solid
#000
;
border-bottom
:
1px
solid
#000
;
font-family
:
'PingFang SC'
;
font-family
:
"PingFang SC"
;
display
:
block
;
display
:
block
;
}
}
...
...
src/router/index.js
View file @
ebd7fc90
...
@@ -55,6 +55,10 @@ const router = new Router({
...
@@ -55,6 +55,10 @@ const router = new Router({
name
:
"outClinicalpathway"
,
name
:
"outClinicalpathway"
,
component
:
outClinicalpathway
,
component
:
outClinicalpathway
,
},
},
{
path
:
"/test"
,
component
:
(
resolve
)
=>
require
([
"@/views/test.vue"
],
resolve
),
},
],
],
// mode: 'history' /*hash*/ /*不显示路由中的#*/
// mode: 'history' /*hash*/ /*不显示路由中的#*/
});
});
...
...
src/views/outClinicalpathway.vue
View file @
ebd7fc90
...
@@ -185,49 +185,92 @@
...
@@ -185,49 +185,92 @@
</el-table-column>
</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"
>
<el-select
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
size=
"mini"
v-model=
"scope.row.medicalPurpose"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<el-option
v-for=
"item in medicalPurposeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
<template
v-if=
"scope.row.isAntibiotic == '是' && scope.row.orderType == '药疗'"
>
</el-select>
<el-form
:model=
"scope.row"
label-width=
"15px"
label-position=
"left"
ref=
"medicalPurpose"
class=
"demo-ruleForm"
>
<el-form-item
prop=
"medicalPurpose"
:rules=
"[
{ required: true, message: '请选择' }]">
<template
#
label
>
<span></span></
template
>
<el-select
size=
"mini"
v-model=
"scope.row.medicalPurpose"
>
<el-option
v-for=
"item in medicalPurposeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<
template
v-else
>
<el-select
size=
"mini"
v-model=
"scope.row.medicalPurpose"
>
<el-option
v-for=
"item in medicalPurposeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</
template
>
</template>
<span
v-else
>
{{ scope.row.medicalPurpose }}
</span>
<span
v-else
>
{{ scope.row.medicalPurpose }}
</span>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"85"
>
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"85"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-input
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
<template
v-if=
"scope.row.orderType == '药疗'"
>
v-model=
"scope.row.medicUseQuantity"
<el-form
:model=
"scope.row"
label-width=
"15px"
label-position=
"left"
ref=
"medicUseQuantity"
class=
"demo-ruleForm"
>
@
input=
"setIput(scope.row, $event)"
<el-form-item
prop=
"medicUseQuantity"
:rules=
"[
{ required: true, message: '请填写' }]">
size=
"mini"
<template
#
label
>
<span></span></
template
>
></el-input>
<el-input
v-model=
"scope.row.medicUseQuantity"
@
input=
"setIput(scope.row, $event)"
size=
"mini"
></el-input>
</el-form-item>
</el-form>
</template>
<
template
v-else
>
<el-input
v-model=
"scope.row.medicUseQuantity"
@
input=
"setIput(scope.row, $event)"
size=
"mini"
></el-input>
</
template
>
</template>
<span
v-else
>
{{ scope.row.medicUseQuantity }}
</span>
<span
v-else
>
{{ scope.row.medicUseQuantity }}
</span>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"medicUseUnit"
label=
"单位"
width=
"50"
/>
<el-table-column
show-overflow-tooltip
property=
"medicUseUnit"
label=
"单位"
width=
"50"
/>
<el-table-column
show-overflow-tooltip
property=
"medicUseMode"
label=
"途径"
width=
"120"
>
<el-table-column
show-overflow-tooltip
property=
"medicUseMode"
label=
"途径"
width=
"120"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-select
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
<template
v-if=
"scope.row.orderType == '药疗'"
>
size=
"mini"
<el-form
:model=
"scope.row"
label-width=
"15px"
label-position=
"left"
ref=
"medicUseMode"
class=
"demo-ruleForm"
>
v-model=
"scope.row.medicUseMode"
<el-form-item
prop=
"medicUseMode"
:rules=
"[
{ required: true, message: '请选择' }]">
filterable
<template
#
label
>
<span></span></
template
>
remote
<el-select
size=
"mini"
v-model=
"scope.row.medicUseMode"
filterable
remote
:filter-method=
"remoteMethod"
>
:filter-method=
"remoteMethod"
<el-option
v-for=
"item in medicUseModeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
>
</el-option>
<el-option
v-for=
"item in medicUseModeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form>
</template>
<
template
v-else
>
<el-select
size=
"mini"
v-model=
"scope.row.medicUseMode"
filterable
remote
:filter-method=
"remoteMethod"
>
<el-option
v-for=
"item in medicUseModeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</
template
>
</template>
<span
v-else
>
{{ scope.row.medicUseMode }}
</span>
<span
v-else
>
{{ scope.row.medicUseMode }}
</span>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"medicUsePlan"
label=
"频率"
width=
"130"
>
<el-table-column
show-overflow-tooltip
property=
"medicUsePlan"
label=
"频率"
width=
"130"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-select
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
<template
v-if=
"scope.row.orderType == '药疗'"
>
size=
"mini"
<el-form
:model=
"scope.row"
label-width=
"15px"
label-position=
"left"
ref=
"medicUsePlan"
class=
"demo-ruleForm"
>
v-model=
"scope.row.medicUsePlan"
<el-form-item
prop=
"medicUsePlan"
:rules=
"[
{ required: true, message: '请选择' }]">
@
change=
"setIput(scope.row, $event)"
<template
#
label
>
<span></span></
template
>
>
<el-select
size=
"mini"
v-model=
"scope.row.medicUsePlan"
@
change=
"setIput(scope.row, $event)"
>
<el-option
v-for=
"item in medicUsePlanoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
<el-option
v-for=
"item in medicUsePlanoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-select>
</el-option>
</el-select>
</el-form-item>
</el-form>
</template>
<
template
v-else
>
<el-select
size=
"mini"
v-model=
"scope.row.medicUsePlan"
@
change=
"setIput(scope.row, $event)"
>
<el-option
v-for=
"item in medicUsePlanoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</
template
>
</template>
<span
v-else
>
{{ scope.row.medicUsePlan }}
</span>
<span
v-else
>
{{ scope.row.medicUsePlan }}
</span>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -527,7 +570,7 @@ export default {
...
@@ -527,7 +570,7 @@ export default {
stockID
:
null
,
stockID
:
null
,
dosage
:
null
,
dosage
:
null
,
isAntibiotic
:
""
,
isAntibiotic
:
""
,
medicUseQuantity
:
0
.0
,
medicUseQuantity
:
0
,
medicUseUnit
:
null
,
medicUseUnit
:
null
,
medicUseMode
:
null
,
medicUseMode
:
null
,
medicUsePlan
:
null
,
medicUsePlan
:
null
,
...
@@ -550,6 +593,14 @@ export default {
...
@@ -550,6 +593,14 @@ export default {
inspectRemarks
:
null
,
inspectRemarks
:
null
,
description
:
null
,
description
:
null
,
isPop
:
false
,
isPop
:
false
,
order_round
:
""
,
min_unit
:
""
,
package_unit
:
""
,
retail_unit
:
""
,
unit_dose
:
1
,
useDay
:
1
,
packagingnum
:
1
,
split_num
:
1
,
};
};
this
.
toggleSelection
(
newData
,
true
);
this
.
toggleSelection
(
newData
,
true
);
this
.
cout
=
cout
+
1
;
this
.
cout
=
cout
+
1
;
...
@@ -610,6 +661,14 @@ export default {
...
@@ -610,6 +661,14 @@ export default {
item
.
description
=
row
.
description
;
item
.
description
=
row
.
description
;
// item.adviceType = row.adviceType;
// item.adviceType = row.adviceType;
// item.advice_name = row.advice_name;
// item.advice_name = row.advice_name;
item
.
order_round
=
row
.
order_round
;
item
.
min_unit
=
row
.
min_unit
;
item
.
package_unit
=
row
.
package_unit
;
item
.
retail_unit
=
row
.
retail_unit
;
item
.
unit_dose
=
row
.
unit_dose
;
item
.
useDay
=
row
.
useDay
;
item
.
packagingnum
=
row
.
packagingnum
;
item
.
split_num
=
row
.
split_num
;
}
}
if
(
item
.
children
&&
item
.
children
.
length
>
0
)
{
if
(
item
.
children
&&
item
.
children
.
length
>
0
)
{
this
.
pushData
(
row
,
item
.
children
);
this
.
pushData
(
row
,
item
.
children
);
...
@@ -970,6 +1029,60 @@ export default {
...
@@ -970,6 +1029,60 @@ export default {
return
false
;
return
false
;
}
}
});
});
}
else
if
(
this
.
$refs
.
medicUseQuantity
||
this
.
$refs
.
medicUseMode
||
this
.
$refs
.
medicUsePlan
)
{
this
.
$refs
.
medicUseQuantity
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUseMode
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUsePlan
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
$refs
.
medicalPurpose
)
{
this
.
$refs
.
medicalPurpose
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
radio
=
e
;
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
if
(
this
.
radio
==
1
)
{
this
.
multipleSelection
.
map
((
j
)
=>
{
this
.
toggleSelection
(
j
,
true
);
});
}
else
{
this
.
multipleSelection1
.
map
((
p
)
=>
{
this
.
toggleSelection
(
p
,
true
);
});
}
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
this
.
radio
=
e
;
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
if
(
this
.
radio
==
1
)
{
this
.
multipleSelection
.
map
((
j
)
=>
{
this
.
toggleSelection
(
j
,
true
);
});
}
else
{
this
.
multipleSelection1
.
map
((
p
)
=>
{
this
.
toggleSelection
(
p
,
true
);
});
}
}
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
}
else
{
this
.
radio
=
e
;
this
.
radio
=
e
;
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
...
@@ -984,6 +1097,7 @@ export default {
...
@@ -984,6 +1097,7 @@ export default {
}
}
}
}
},
},
//点击左侧时间线 获取右侧表格数据
//点击左侧时间线 获取右侧表格数据
timeclick
(
val
)
{
timeclick
(
val
)
{
this
.
timeindex
=
val
.
inhosdays
;
this
.
timeindex
=
val
.
inhosdays
;
...
@@ -1010,6 +1124,40 @@ export default {
...
@@ -1010,6 +1124,40 @@ export default {
return
false
;
return
false
;
}
}
});
});
}
else
if
(
this
.
$refs
.
medicUseQuantity
||
this
.
$refs
.
medicUseMode
||
this
.
$refs
.
medicUsePlan
)
{
this
.
$refs
.
medicUseQuantity
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUseMode
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUsePlan
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
$refs
.
medicalPurpose
)
{
this
.
$refs
.
medicalPurpose
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
saveSetPatientRoutes
();
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
this
.
saveSetPatientRoutes
();
}
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
}
else
{
this
.
saveSetPatientRoutes
();
this
.
saveSetPatientRoutes
();
}
}
...
...
src/views/outpatientDetails.vue
View file @
ebd7fc90
...
@@ -295,300 +295,275 @@
...
@@ -295,300 +295,275 @@
</template>
</template>
<
script
>
<
script
>
import
http
from
"../utils/http"
;
import
http
from
"../utils/http"
;
import
{
reactive
,
toRefs
,
onMounted
,
nextTick
,
computed
,
ref
}
from
"@vue/composition-api"
;
import
{
decimal
}
from
"../utils/decimal"
;
import
{
decimal
}
from
"../utils/decimal"
;
import
{
Loading
,
Message
}
from
"element-ui"
;
import
{
Message
}
from
"element-ui"
;
import
{
useRoute
,
useRouter
}
from
"../utils/useVueRouter"
;
import
{
setItem
,
getItem
}
from
"../utils/auth"
;
import
{
Loading
}
from
"element-ui"
;
export
default
{
export
default
{
name
:
"outpatientDetails"
,
name
:
"outpatientDetails"
,
setup
()
{
data
()
{
const
monthlyPlanTable
=
ref
();
return
{
tableData1
:
[],
btnoptions
:
[
{
value
:
0
,
title
:
"全部"
,
},
{
value
:
1
,
title
:
"医保"
,
},
{
value
:
2
,
title
:
"自费"
,
},
],
btnspanind
:
0
,
//按个按钮的ind
btnvalue
:
0
,
//三个按钮没人高亮全部
Lefttype
:
[],
//左侧表格的数据
HistoryInfo
:
{
name
:
""
,
healthyID
:
""
,
paymentType
:
""
,
disNature
:
""
,
doctorName
:
""
,
rw
:
""
,
totalFee
:
""
,
avgFee
:
""
,
days
:
""
,
profitLoss
:
""
,
},
checkindex
:
0
,
// 初始化第一个栏块高亮
goods
:
[],
//左侧费用类型
tableListHead
:
[
{
cloumn
:
"开单日期"
,
name
:
"chargeTime"
},
{
cloumn
:
"项目编码"
,
name
:
"iteM_CODE"
,
},
{
cloumn
:
"项目名称"
,
name
:
"iteM_NAME"
,
},
{
cloumn
:
"单价"
,
name
:
"unitprice"
,
},
{
cloumn
:
"数量"
,
name
:
"quantity"
,
},
{
cloumn
:
"金额"
,
name
:
"fee"
,
},
{
cloumn
:
"支付类型"
,
name
:
"carD_TYPE"
,
},
],
tableData
:
[],
options
:
[],
//异常问题数据
medInsNum
:
0
,
//医保数
notdrugsNum
:
0
,
//非药品
drugsNum
:
0
,
//药品
diseaseNum
:
0
,
//疾病
dipid
:
""
,
typeCountDatas
:
[],
//异常数据
showCountDatas
:
true
,
//异常问题类型是否显示
showbottom
:
true
,
//异常问题详情是否显示
heightnum
:
""
,
//最大值
lowwidth
:
""
,
//低倍率宽度
heightwidth
:
""
,
//高倍率宽度
contentwidth
:
""
,
//正常倍率宽度
totalwidth
:
""
,
//总费用宽度
totalcolor
:
""
,
//总费用颜色
lowMagnification
:
0
,
//低倍率值
highMagnification
:
0
,
//高倍率值
bottomheight
:
"60%"
,
//底部高度
span1Ind
:
-
1
,
liInd
:
-
1
,
loadingOption1
:
{
// 加载loading
fullscreen
:
true
,
text
:
"正在加载..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(0, 0, 0, 0.5)"
,
},
};
},
mounted
()
{
this
.
GetProjectRulesData
();
this
.
getHistoryInfo
();
this
.
getlefttable
();
},
methods
:
{
decimal
,
//表格颜色
//表格颜色
const
tableRowClassName
=
({
row
})
=>
{
tableRowClassName
({
row
})
{
if
(
row
.
rowIndex
%
2
==
0
)
{
if
(
row
.
rowIndex
%
2
==
0
)
{
return
"isverifyStyle"
;
return
"isverifyStyle"
;
}
else
{
}
else
{
return
""
;
return
""
;
}
}
}
;
}
,
//当某一个行被点击时
//当某一个行被点击时
const
eowclick
=
(
row
)
=>
{
eowclick
(
row
)
{
if
(
state
.
tableData1
!=
[])
{
if
(
this
.
tableData1
!=
[])
{
getInpatFeesByREGCODE
(
row
.
types
);
this
.
getInpatFeesByREGCODE
(
row
.
types
);
state
.
Lefttype
=
row
.
types
;
this
.
Lefttype
=
row
.
types
;
}
}
}
;
}
,
//获取左侧表格数据
//获取左侧表格数据
const
getlefttable
=
()
=>
{
getlefttable
()
{
http
.
post
(
`/medical/Post/getHisStaChargeType?code=
${
route
.
valu
e
.
query
.
id
}
`
,
{})
http
.
post
(
`/medical/Post/getHisStaChargeType?code=
${
this
.
$rout
e
.
query
.
id
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
tableData1
=
data
;
this
.
tableData1
=
data
;
if
(
state
.
tableData1
!=
[])
{
if
(
this
.
tableData1
!=
[])
{
eowclick
(
state
.
tableData1
[
0
]);
this
.
eowclick
(
this
.
tableData1
[
0
]);
//默认高亮第一行
//默认高亮第一行
nextTick
(()
=>
{
this
.
$
nextTick
(()
=>
{
monthlyPlanTable
.
value
.
setCurrentRow
(
state
.
tableData1
[
0
]);
monthlyPlanTable
.
setCurrentRow
(
this
.
tableData1
[
0
]);
});
});
}
}
//中间的表格默认展示第一条数据
//中间的表格默认展示第一条数据
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//当行展开和关闭是触发
//当行展开和关闭是触发
c
onst
changeRowClick
=
(
row
)
=>
{
c
hangeRowClick
(
row
)
{
console
.
log
(
"row-chang"
,
row
);
console
.
log
(
"row-chang"
,
row
);
}
;
}
,
//异常问题接口 显示全部异常信息
//异常问题接口 显示全部异常信息
const
GetProjectRulesData
=
()
=>
{
GetProjectRulesData
()
{
http
.
post
(
`/medical/get/GetPRHisData?&code=
${
route
.
valu
e
.
query
.
id
}
`
,
{})
http
.
post
(
`/medical/get/GetPRHisData?&code=
${
this
.
$rout
e
.
query
.
id
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
options
=
data
.
projectRules
;
this
.
options
=
data
.
projectRules
;
state
.
typeCountDatas
=
data
.
typeCountDatas
;
this
.
typeCountDatas
=
data
.
typeCountDatas
;
if
(
data
.
typeCountDatas
==
null
)
{
if
(
data
.
typeCountDatas
==
null
)
{
state
.
showCountDatas
=
false
;
this
.
showCountDatas
=
false
;
}
}
if
(
data
.
projectRules
==
null
)
{
if
(
data
.
projectRules
==
null
)
{
state
.
showbottom
=
false
;
this
.
showbottom
=
false
;
}
}
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//点击异常分类 显示异常信息
//点击异常分类 显示异常信息
const
gettype
=
(
name
,
ind
)
=>
{
gettype
(
name
,
ind
)
{
console
.
log
(
"name"
,
name
);
console
.
log
(
"name"
,
name
);
state
.
showCountDatas
=
true
;
this
.
showCountDatas
=
true
;
state
.
showbottom
=
true
;
this
.
showbottom
=
true
;
var
loadingInstance2
=
Loading
.
service
(
loadingOption1
);
var
loadingInstance2
=
Loading
.
service
(
this
.
loadingOption1
);
http
.
post
(
`/medical/get/GetPRHisData?&code=
${
route
.
valu
e
.
query
.
id
}
&projectType=
${
name
}
`
,
{})
http
.
post
(
`/medical/get/GetPRHisData?&code=
${
this
.
$rout
e
.
query
.
id
}
&projectType=
${
name
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
liInd
=
-
1
;
this
.
liInd
=
-
1
;
state
.
span1Ind
=
ind
;
this
.
span1Ind
=
ind
;
state
.
options
=
data
.
projectRules
;
this
.
options
=
data
.
projectRules
;
loadingInstance2
.
close
();
loadingInstance2
.
close
();
//
state
.typeCountDatas = data.typeCountDatas;
//
this
.typeCountDatas = data.typeCountDatas;
// if (data.typeCountDatas == null) {
// if (data.typeCountDatas == null) {
//
state
.showCountDatas = false;
//
this
.showCountDatas = false;
// }
// }
if
(
data
.
projectRules
==
null
)
{
if
(
data
.
projectRules
==
null
)
{
state
.
showbottom
=
false
;
this
.
showbottom
=
false
;
}
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
loadingInstance2
.
close
();
loadingInstance2
.
close
();
});
});
}
;
}
,
//点击获取中间的表格数据
//点击获取中间的表格数据
const
getruleId
=
(
ruleId
,
ind
)
=>
{
getruleId
(
ruleId
,
ind
)
{
http
.
post
(
`/medical/Post/GetiFHisByItemCode?code=
${
route
.
valu
e
.
query
.
id
}
&ruleId=
${
ruleId
}
`
,
{})
http
.
post
(
`/medical/Post/GetiFHisByItemCode?code=
${
this
.
$rout
e
.
query
.
id
}
&ruleId=
${
ruleId
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
liInd
=
ind
;
this
.
liInd
=
ind
;
state
.
tableData
=
data
;
this
.
tableData
=
data
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//医嘱质控
//医嘱质控
const
getControl
=
()
=>
{
getControl
()
{
http
.
post
(
`/global/post/SetCaseProjectRuleHis?id=
${
route
.
valu
e
.
query
.
id
}
`
)
http
.
post
(
`/global/post/SetCaseProjectRuleHis?id=
${
this
.
$rout
e
.
query
.
id
}
`
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
Message
.
success
(
data
.
message
);
Message
.
success
(
data
.
message
);
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//获取患者信息数据
//获取患者信息数据
const
getHistoryInfo
=
()
=>
{
getHistoryInfo
()
{
http
.
post
(
`/medical/Get/getHisInfo?&code=
${
route
.
valu
e
.
query
.
id
}
`
,
{})
http
.
post
(
`/medical/Get/getHisInfo?&code=
${
this
.
$rout
e
.
query
.
id
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
HistoryInfo
=
data
;
this
.
HistoryInfo
=
data
;
state
.
dipid
=
data
.
id
;
this
.
dipid
=
data
.
id
;
state
.
goods
=
data
.
inpat_FeeDatas
;
this
.
goods
=
data
.
inpat_FeeDatas
;
state
.
lowMagnification
=
data
.
lowMagnification
;
this
.
lowMagnification
=
data
.
lowMagnification
;
state
.
highMagnification
=
data
.
highMagnification
;
this
.
highMagnification
=
data
.
highMagnification
;
// 高倍率>总费用 高倍率金额+高倍率金额*30%
// 高倍率>总费用 高倍率金额+高倍率金额*30%
if
(
data
.
highMagnification
>
data
.
totalFee
)
{
if
(
data
.
highMagnification
>
data
.
totalFee
)
{
state
.
heightnum
=
data
.
highMagnification
+
data
.
highMagnification
*
0.3
;
this
.
heightnum
=
data
.
highMagnification
+
data
.
highMagnification
*
0.3
;
console
.
log
(
"
state.heightnum"
,
state
.
heightnum
);
console
.
log
(
"
this.heightnum"
,
this
.
heightnum
);
}
else
if
(
data
.
highMagnification
<
data
.
totalFee
)
{
}
else
if
(
data
.
highMagnification
<
data
.
totalFee
)
{
// 高倍率
<
总费用
患者总费用的金额
+
患者总费用的金额
*
30
%
// 高倍率
<
总费用
患者总费用的金额
+
患者总费用的金额
*
30
%
state
.
heightnum
=
data
.
totalFee
+
data
.
totalFee
*
0.3
;
this
.
heightnum
=
data
.
totalFee
+
data
.
totalFee
*
0.3
;
console
.
log
(
"
state.heightnum"
,
state
.
heightnum
);
console
.
log
(
"
this.heightnum"
,
this
.
heightnum
);
}
}
// 低倍率宽度
// 低倍率宽度
state
.
lowwidth
=
Math
.
round
((
Math
.
round
(
data
.
lowMagnification
)
/
Math
.
round
(
state
.
heightnum
))
*
100
);
this
.
lowwidth
=
Math
.
round
((
Math
.
round
(
data
.
lowMagnification
)
/
Math
.
round
(
this
.
heightnum
))
*
100
);
// 高倍率宽度
// 高倍率宽度
state
.
heightwidth
=
Math
.
round
(((
Math
.
round
(
state
.
heightnum
)
-
Math
.
round
(
data
.
highMagnification
))
/
Math
.
round
(
state
.
heightnum
))
*
100
);
this
.
heightwidth
=
Math
.
round
(((
Math
.
round
(
this
.
heightnum
)
-
Math
.
round
(
data
.
highMagnification
))
/
Math
.
round
(
this
.
heightnum
))
*
100
);
// 正常倍率宽度
// 正常倍率宽度
state
.
contentwidth
=
100
-
(
state
.
lowwidth
+
state
.
heightwidth
);
this
.
contentwidth
=
100
-
(
this
.
lowwidth
+
this
.
heightwidth
);
//总费用宽度
//总费用宽度
state
.
totalwidth
=
Math
.
round
((
Math
.
round
(
data
.
totalFee
)
/
Math
.
round
(
state
.
heightnum
))
*
100
);
this
.
totalwidth
=
Math
.
round
((
Math
.
round
(
data
.
totalFee
)
/
Math
.
round
(
this
.
heightnum
))
*
100
);
// 判断总费用显示的颜色
// 判断总费用显示的颜色
if
(
data
.
totalFee
<
data
.
lowMagnification
)
{
if
(
data
.
totalFee
<
data
.
lowMagnification
)
{
state
.
totalcolor
=
"#e9c622"
;
this
.
totalcolor
=
"#e9c622"
;
}
else
if
(
data
.
totalFee
>
data
.
lowMagnification
&&
data
.
totalFee
<
data
.
highMagnification
)
{
}
else
if
(
data
.
totalFee
>
data
.
lowMagnification
&&
data
.
totalFee
<
data
.
highMagnification
)
{
state
.
totalcolor
=
"#22d016"
;
this
.
totalcolor
=
"#22d016"
;
}
else
if
(
data
.
totalFee
>
data
.
highMagnification
)
{
}
else
if
(
data
.
totalFee
>
data
.
highMagnification
)
{
state
.
totalcolor
=
"#ff7e00"
;
this
.
totalcolor
=
"#ff7e00"
;
}
}
if
(
data
.
lowMagnification
==
0
||
data
.
highMagnification
==
0
)
{
if
(
data
.
lowMagnification
==
0
||
data
.
highMagnification
==
0
)
{
state
.
bottomheight
=
"80%"
;
this
.
bottomheight
=
"80%"
;
}
else
if
(
data
.
lowMagnification
!=
0
)
{
}
else
if
(
data
.
lowMagnification
!=
0
)
{
state
.
bottomheight
=
"68%"
;
this
.
bottomheight
=
"68%"
;
}
}
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//点击中间三个按钮
//点击中间三个按钮
const
treebtn
=
(
value
,
ind
)
=>
{
treebtn
(
value
,
ind
)
{
state
.
btnspanind
=
ind
;
this
.
btnspanind
=
ind
;
state
.
btnvalue
=
value
;
this
.
btnvalue
=
value
;
getInpatFeesByREGCODE
(
state
.
Lefttype
);
this
.
getInpatFeesByREGCODE
(
this
.
Lefttype
);
}
;
}
,
// loading效果
// loading效果
const
loadingOption1
=
{
// 加载loading
fullscreen
:
true
,
text
:
"正在加载..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(0, 0, 0, 0.5)"
,
};
//费用分类接口
//费用分类接口
const
getInpatFeesByREGCODE
=
(
types
)
=>
{
getInpatFeesByREGCODE
(
types
)
{
var
loadingInstance1
=
Loading
.
service
(
loadingOption1
);
var
loadingInstance1
=
Loading
.
service
(
this
.
loadingOption1
);
http
.
post
(
`/medical/Get/getIFHisByREGCODE?&code=
${
route
.
value
.
query
.
id
}
&state=
${
state
.
btnvalue
}
`
,
types
)
http
.
post
(
`/medical/Get/getIFHisByREGCODE?&code=
${
this
.
$route
.
query
.
id
}
&state=
${
this
.
btnvalue
}
`
,
types
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
tableData
=
data
;
this
.
tableData
=
data
;
loadingInstance1
.
close
();
loadingInstance1
.
close
();
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
loadingInstance1
.
close
();
loadingInstance1
.
close
();
});
});
}
;
}
,
const
scrollToFoods
=
(
index
)
=>
{
scrollToFoods
(
index
)
{
// state.checkindex = index;
//this.checkindex = index;
};
},
let
state
=
reactive
({
tableData1
:
[],
btnoptions
:
[
{
value
:
0
,
title
:
"全部"
,
},
{
value
:
1
,
title
:
"医保"
,
},
{
value
:
2
,
title
:
"自费"
,
},
],
btnspanind
:
0
,
//按个按钮的ind
btnvalue
:
0
,
//三个按钮没人高亮全部
Lefttype
:
[],
//左侧表格的数据
HistoryInfo
:
{
name
:
""
,
healthyID
:
""
,
paymentType
:
""
,
disNature
:
""
,
doctorName
:
""
,
rw
:
""
,
totalFee
:
""
,
avgFee
:
""
,
days
:
""
,
profitLoss
:
""
,
},
checkindex
:
0
,
// 初始化第一个栏块高亮
goods
:
[],
//左侧费用类型
tableListHead
:
[
{
cloumn
:
"开单日期"
,
name
:
"chargeTime"
},
{
cloumn
:
"项目编码"
,
name
:
"iteM_CODE"
,
},
{
cloumn
:
"项目名称"
,
name
:
"iteM_NAME"
,
},
{
cloumn
:
"单价"
,
name
:
"unitprice"
,
},
{
cloumn
:
"数量"
,
name
:
"quantity"
,
},
{
cloumn
:
"金额"
,
name
:
"fee"
,
},
{
cloumn
:
"支付类型"
,
name
:
"carD_TYPE"
,
},
],
tableData
:
[],
options
:
[],
//异常问题数据
medInsNum
:
0
,
//医保数
notdrugsNum
:
0
,
//非药品
drugsNum
:
0
,
//药品
diseaseNum
:
0
,
//疾病
dipid
:
""
,
typeCountDatas
:
[],
//异常数据
showCountDatas
:
true
,
//异常问题类型是否显示
showbottom
:
true
,
//异常问题详情是否显示
heightnum
:
""
,
//最大值
lowwidth
:
""
,
//低倍率宽度
heightwidth
:
""
,
//高倍率宽度
contentwidth
:
""
,
//正常倍率宽度
totalwidth
:
""
,
//总费用宽度
totalcolor
:
""
,
//总费用颜色
lowMagnification
:
0
,
//低倍率值
highMagnification
:
0
,
//高倍率值
bottomheight
:
"60%"
,
//底部高度
span1Ind
:
-
1
,
liInd
:
-
1
,
});
//表格自适应高度
const
route
=
useRoute
();
onMounted
(()
=>
{
GetProjectRulesData
();
getHistoryInfo
();
getlefttable
();
});
return
{
...
toRefs
(
state
),
tableRowClassName
,
scrollToFoods
,
getHistoryInfo
,
getInpatFeesByREGCODE
,
decimal
,
// tableCot,
GetProjectRulesData
,
getControl
,
gettype
,
getruleId
,
eowclick
,
changeRowClick
,
getlefttable
,
monthlyPlanTable
,
treebtn
,
};
},
},
};
};
</
script
>
</
script
>
...
...
src/views/
outClinicalpathway copy 2
.vue
→
src/views/
test
.vue
View file @
ebd7fc90
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<!-- 患者信息 -->
<!-- 患者信息 -->
<div
class=
"outClinicalpathway_top"
>
<div
class=
"outClinicalpathway_top"
>
<div
class=
"outClinicalpathway_top_bg"
></div>
<div
class=
"outClinicalpathway_top_bg"
></div>
<div
class=
"outClinicalpathway_top_coent"
>
<div
class=
"outClinicalpathway_top_coent"
>
<!--患者信息 -->
<!--患者信息 -->
<div
class=
"outClinicalpathway_top_coent_left"
>
<div
class=
"outClinicalpathway_top_coent_left"
>
...
@@ -94,146 +95,217 @@
...
@@ -94,146 +95,217 @@
<el-radio
:label=
"2"
>
临时医嘱
</el-radio>
<el-radio
:label=
"2"
>
临时医嘱
</el-radio>
</el-radio-group>
</el-radio-group>
</div>
</div>
<el-table
<el-form
ref=
"tableDataform"
:model=
"tableDataform"
>
ref=
"multipleTable"
<el-table
row-key=
"id"
ref=
"multipleTable"
:data=
"tableData"
row-key=
"id"
height=
"100%"
:data=
"tableDataform.tableData"
style=
"width: 100%"
height=
"100%"
:tree-props=
"{ children: 'children', hasChildren: 'hasChildren' }"
style=
"width: 100%"
:select-on-indeterminate=
"true"
:tree-props=
"{ children: 'children', hasChildren: 'hasChildren' }"
@
selection-change=
"SelectionChange"
:select-on-indeterminate=
"true"
@
select-all=
"selectAll"
@
selection-change=
"SelectionChange"
@
select=
"select"
@
select-all=
"selectAll"
default-expand-all
@
select=
"select"
size=
"mini"
default-expand-all
:row-class-name=
"rowClass"
size=
"mini"
>
:row-class-name=
"rowClass"
<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=
"130"
/>
<el-table-column
show-overflow-tooltip
property=
"advice_name"
label=
"路径名称"
width=
"130"
/>
<el-table-column
show-overflow-tooltip
property=
"tickTime"
label=
"当前时间"
width=
"145"
>
<el-table-column
show-overflow-tooltip
property=
"tickTime"
label=
"当前时间"
width=
"145"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<span
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
>
{{
scope
.
row
.
tickTime
}}
</span>
<span
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
{{
scope
.
row
.
tickTime
}}
</span>
</
template
>
</
template
>
</el-table-column>
</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"
>
<el-table-column
show-overflow-tooltip
property=
"project_name"
label=
"医院项目名称"
width=
"200"
/>
<div
v-if=
"scope.row.orderType == '药疗'"
>
<i
@
click
.
prevent=
"addRow(scope.row)"
v-if=
"scope.row.ischeck == 1 && !scope.row.isnew && scope.row.orderType && scope.row.isAdd"
class=
"el-icon-circle-plus-outline"
style=
"font-size: 14px; color: #0283bb; margin-right: 3px; cursor: pointer"
></i>
<i
@
click
.
prevent=
"deleteRow(scope.row, tableData)"
v-if=
"scope.row.ischeck == 1 && scope.row.isnew && scope.row.orderType"
class=
"el-icon-remove-outline"
style=
"font-size: 14px; color: #ff0000; margin-right: 3px; cursor: pointer"
></i
>
{{
scope
.
row
.
orderType
}}
</div>
<div
v-else
>
{{
scope
.
row
.
orderType
}}
</div>
</
template
>
</el-table-column>
<el-table-column
show-overflow-tooltip
property=
"project_name"
label=
"医院项目名称"
width=
"200"
>
<
template
#
default=
"scope"
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.isnew && scope.row.orderType"
>
<el-popover
placement=
"bottom"
width=
"1000"
height=
"600"
trigger=
"focus"
v-model=
"scope.row.isPop"
>
<el-table
:data=
"gridData"
@
row-dblclick=
"rowdblclick"
max-height=
"400"
size=
"mini"
style=
"width: 100%"
row-key=
"id"
>
<el-table-column
width=
"80"
property=
"orderType"
label=
"类型"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"200"
property=
"project_name"
label=
"医嘱名称"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"100"
property=
"specifications"
label=
"规格说明"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"100"
property=
"dosage"
label=
"药品剂型"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"100"
property=
"isAntibiotic"
label=
"抗生素"
></el-table-column>
<!--
<el-table-column
show-overflow-tooltip
width=
"135"
property=
"medicalPurpose"
label=
"用药目的"
></el-table-column>
-->
<el-table-column
show-overflow-tooltip
width=
"80"
property=
"medicUseQuantity"
label=
"用量"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"80"
property=
"medicUseUnit"
label=
"单位"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"110"
property=
"inventoryNum"
label=
"可用数量"
></el-table-column>
<!--
<el-table-column
show-overflow-tooltip
width=
"110"
property=
"medicUsePlan"
label=
"频率"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"60"
property=
"dropNumber"
label=
"滴数"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"80"
property=
"medicQuantity"
label=
"用药总量"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"60"
property=
"medicUnit"
label=
"单位"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"150"
property=
"remark"
label=
"嘱托"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"150"
property=
"description"
label=
"诊断描述"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"150"
property=
"symptom"
label=
"症状及体征"
></el-table-column>
<el-table-column
show-overflow-tooltip
width=
"85"
property=
"emergency"
label=
"急诊"
></el-table-column>
-->
</el-table>
<el-input
slot=
"reference"
placeholder=
"请输入"
v-model=
"scope.row.project_name"
@
focus=
"onfocus(scope.row, $event)"
@
input=
"onInput(scope.row, $event)"
></el-input>
</el-popover>
</
template
>
<el-table-column
show-overflow-tooltip
property=
"specifications"
label=
"规格说明"
width=
"80"
/>
<span
v-else
>
{{ scope.row.project_name }}
</span>
<el-table-column
show-overflow-tooltip
property=
"dosage"
label=
"药品剂型"
width=
"70"
/>
</template>
<el-table-column
show-overflow-tooltip
property=
"isAntibiotic"
label=
"抗生素"
width=
"85"
>
</el-table-column>
<
template
#
default=
"scope"
>
<el-table-column
show-overflow-tooltip
property=
"specifications"
label=
"规格说明"
width=
"80"
/>
<el-select
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
size=
"mini"
v-model=
"scope.row.isAntibiotic"
>
<el-table-column
show-overflow-tooltip
property=
"dosage"
label=
"药品剂型"
width=
"70"
/>
<el-option
v-for=
"item in chargeTypeoptions"
:key=
"item.label"
:label=
"item.label"
:value=
"item.label"
>
</el-option>
<el-table-column
show-overflow-tooltip
property=
"isAntibiotic"
label=
"抗生素"
width=
"85"
>
</el-select>
<
template
#
default=
"scope"
>
<span
v-else
>
{{
scope
.
row
.
isAntibiotic
}}
</span>
<el-select
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
size=
"mini"
v-model=
"scope.row.isAntibiotic"
>
</
template
>
<el-option
v-for=
"item in chargeTypeoptions"
:key=
"item.label"
:label=
"item.label"
:value=
"item.label"
>
</el-option>
</el-table-column>
</el-select>
<el-table-column
show-overflow-tooltip
property=
"medicalPurpose"
label=
"用药目的"
width=
"135"
>
<span
v-else
>
{{
scope
.
row
.
isAntibiotic
}}
</span>
<
template
#
default=
"scope"
>
</
template
>
<el-select
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
size=
"mini"
v-model=
"scope.row.medicalPurpose"
>
</el-table-column>
<el-option
v-for=
"item in medicalPurposeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
<el-table-column
show-overflow-tooltip
property=
"medicalPurpose"
label=
"用药目的"
width=
"135"
>
</el-select>
<
template
#
default=
"scope"
>
<span
v-else
>
{{
scope
.
row
.
medicalPurpose
}}
</span>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
</
template
>
<template
v-if=
"scope.row.isAntibiotic == '是' && scope.row.orderType == '药疗'"
>
</el-table-column>
<el-form-item
prop=
"medicalPurpose"
:rules=
"[
{ required: true, message: '请选择' }]">
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"60"
>
<template
#
label
>
<span></span></
template
>
<
template
#
default=
"scope"
>
<el-select
size=
"mini"
v-model=
"scope.row.medicalPurpose"
>
<el-input
<el-option
v-for=
"item in medicalPurposeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
</el-option>
v-model=
"scope.row.medicUseQuantity"
</el-select>
size=
"mini"
</el-form-item>
></el-input>
</template>
<span
v-else
>
{{
scope
.
row
.
medicUseQuantity
}}
</span>
<
template
v-else
>
</
template
>
<el-select
size=
"mini"
v-model=
"scope.row.medicalPurpose"
>
</el-table-column>
<el-option
v-for=
"item in medicalPurposeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
<el-table-column
show-overflow-tooltip
property=
"medicUseUnit"
label=
"单位"
width=
"50"
/>
</el-option>
<el-table-column
show-overflow-tooltip
property=
"medicUseMode"
label=
"途径"
width=
"110"
>
</el-select>
<
template
#
default=
"scope"
>
</
template
>
<el-select
</template>
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
<span
v-else
>
{{ scope.row.medicalPurpose }}
</span>
size=
"mini"
</template>
v-model=
"scope.row.medicUseMode"
</el-table-column>
filterable
<el-table-column
prop=
"medicUseQuantity"
label=
"用量"
width=
"85"
>
:filter-method=
"remoteMethod"
<
template
#
default=
"scope"
>
>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<el-option
v-for=
"item in medicUseModeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
<template
v-if=
"scope.row.orderType == '药疗'"
>
</el-select>
<el-form-item
prop=
"medicUseQuantity"
:rules=
"[
{ required: true, message: '请填写' }]">
<span
v-else
>
{{
scope
.
row
.
medicUseMode
}}
</span>
<template
#
label
>
<span></span></
template
>
</
template
>
<el-input
v-model=
"scope.row.medicUseQuantity"
@
input=
"setIput(scope.row, $event)"
size=
"mini"
></el-input>
</el-table-column>
</el-form-item>
<el-table-column
show-overflow-tooltip
property=
"medicUsePlan"
label=
"频率"
width=
"110"
>
</template>
<
template
#
default=
"scope"
>
<
template
v-else
>
<el-select
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
size=
"mini"
v-model=
"scope.row.medicUsePlan"
>
<el-input
v-model=
"scope.row.medicUseQuantity"
@
input=
"setIput(scope.row, $event)"
size=
"mini"
></el-input>
<el-option
v-for=
"item in medicUsePlanoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</
template
>
</el-select>
</template>
<span
v-else
>
{{
scope
.
row
.
medicUsePlan
}}
</span>
<span
v-else
>
{{ scope.row.medicUseQuantity }}
</span>
</
template
>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"dropNumber"
label=
"滴数"
width=
"60"
>
<el-table-column
show-overflow-tooltip
property=
"medicUseUnit"
label=
"单位"
width=
"50"
/>
<
template
#
default=
"scope"
>
<el-table-column
show-overflow-tooltip
property=
"medicUseMode"
label=
"途径"
width=
"120"
>
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
v-model=
"scope.row.dropNumber"
size=
"mini"
></el-input>
<
template
#
default=
"scope"
>
<span
v-else
>
{{
scope
.
row
.
dropNumber
}}
</span>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
</
template
>
<template
v-if=
"scope.row.orderType == '药疗'"
>
</el-table-column>
<el-form-item
prop=
"medicUseMode"
:rules=
"[
{ required: true, message: '请选择' }]">
<el-table-column
prop=
"medicQuantity"
label=
"用药总量"
width=
"80"
>
<template
#
label
>
<span></span></
template
>
<
template
#
default=
"scope"
>
<el-select
size=
"mini"
v-model=
"scope.row.medicUseMode"
filterable
remote
:filter-method=
"remoteMethod"
>
<el-input
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
v-model=
"scope.row.medicQuantity"
size=
"mini"
></el-input>
<el-option
v-for=
"item in medicUseModeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
<span
v-else
>
{{
scope
.
row
.
medicQuantity
}}
</span>
</el-option>
</
template
>
</el-select>
</el-table-column>
</el-form-item>
<el-table-column
show-overflow-tooltip
property=
"medicUnit"
label=
"单位"
width=
"60"
/>
</template>
<el-table-column
show-overflow-tooltip
property=
"remark"
label=
"嘱托"
width=
"150'"
>
<
template
v-else
>
<
template
#
default=
"scope"
>
<el-select
size=
"mini"
v-model=
"scope.row.medicUseMode"
filterable
remote
:filter-method=
"remoteMethod"
>
<el-input
<el-option
v-for=
"item in medicUseModeoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1"
</el-option>
v-model=
"scope.row.remark"
</el-select>
size=
"mini"
</
template
>
type=
"textarea"
</template>
:autosize=
"
{ minRows: 2 }"
<span
v-else
>
{{ scope.row.medicUseMode }}
</span>
placeholder="请输入内容"
</template>
>
</el-input>
</el-table-column>
<span
v-else
>
{{
scope
.
row
.
remark
}}
</span>
<el-table-column
show-overflow-tooltip
property=
"medicUsePlan"
label=
"频率"
width=
"130"
>
</
template
>
<
template
#
default=
"scope"
>
</el-table-column>
<template
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
>
<template
v-if=
"scope.row.orderType == '药疗'"
>
<el-form-item
prop=
"medicUsePlan"
:rules=
"[
{ required: true, message: '请选择' }]">
<template
#
label
>
<span></span></
template
>
<el-select
size=
"mini"
v-model=
"scope.row.medicUsePlan"
@
change=
"setIput(scope.row, $event)"
>
<el-option
v-for=
"item in medicUsePlanoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</el-form-item>
</template>
<
template
v-else
>
<el-select
size=
"mini"
v-model=
"scope.row.medicUsePlan"
@
change=
"setIput(scope.row, $event)"
>
<el-option
v-for=
"item in medicUsePlanoptions"
:key=
"item.id"
:label=
"item.describe"
:value=
"item.describe"
>
</el-option>
</el-select>
</
template
>
</template>
<span
v-else
>
{{ scope.row.medicUsePlan }}
</span>
</template>
</el-table-column>
<el-table-column
prop=
"dropNumber"
label=
"滴数"
width=
"85"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
v-model=
"scope.row.dropNumber"
size=
"mini"
@
input=
"setIput(scope.row, $event)"
></el-input>
<span
v-else
>
{{
scope
.
row
.
dropNumber
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"medicQuantity"
label=
"用药总量"
width=
"85"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
v-model=
"scope.row.medicQuantity"
size=
"mini"
></el-input>
<span
v-else
>
{{
scope
.
row
.
medicQuantity
}}
</span>
</
template
>
</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'"
>
<
template
#
default=
"scope"
>
<el-input
v-if=
"scope.row.ischeck == 1 && scope.row.orderType"
v-model=
"scope.row.remark"
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
>
</el-input>
<span
v-else
>
{{
scope
.
row
.
remark
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"description"
label=
"诊断描述"
width=
"150"
>
<el-table-column
prop=
"description"
label=
"诊断描述"
width=
"150"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<!--
<div
style=
"display: flex; height: 100%; flex-direction: column; justify-content: center; align-items: center"
>
<el-form-item
<div
style=
"display: flex"
>
prop=
"description"
<span
:rules=
"[
{ required: true, message: '请输入内容' }]"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit"
v-if="scope.row.ischeck == 1
&&
scope.row.type != 1
&&
scope.row.isedit
&&
scope.row.orderType"
style=
"color: red"
>
*
</span
>
<el-input
size=
"mini"
validate-event
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
v-if="scope.row.advice_name == null
&&
scope.row.ischeck == 1
&&
scope.row.type != 1
&&
scope.row.isedit"
v-model="scope.row.description"
>
</el-input>
</div>
<span
style=
"font-size: 12px; color: red"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.description == ''"
>
请输入内容
</span
>
>
</div>
-->
<el-form
:model=
"scope.row"
label-width=
"15px"
label-position=
"left"
ref=
"numberValidateForm"
class=
"demo-ruleForm"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit"
>
<el-form-item
prop=
"description"
:rules=
"[
{ required: true, message: '请输入内容' }]">
<template
#
label
>
<span></span></
template
>
<template
#
label
>
<span></span></
template
>
<el-input
<el-input
v-model=
"scope.row.description"
v-model=
"scope.row.description"
...
@@ -243,42 +315,15 @@
...
@@ -243,42 +315,15 @@
:autosize=
"{ minRows: 2 }"
:autosize=
"{ minRows: 2 }"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</template>
</template>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"symptom"
label=
"症状及体征"
width=
"150"
>
<el-table-column
prop=
"symptom"
label=
"症状及体征"
width=
"150"
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<el-form-item
<!--
<div
style=
"display: flex; height: 100%; flex-direction: column; justify-content: center; align-items: center"
>
prop=
"symptom"
<div
style=
"display: flex"
>
:rules=
"[
{ required: true, message: '请输入内容' }]"
<span
v-if="scope.row.ischeck == 1
&&
scope.row.type != 1
&&
scope.row.isedit
&&
scope.row.orderType"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit"
style=
"color: red"
>
*
</span
>
<el-input
size=
"mini"
type=
"textarea"
:autosize=
"
{ minRows: 2 }"
placeholder="请输入内容"
v-if="scope.row.advice_name == null
&&
scope.row.ischeck == 1
&&
scope.row.type != 1
&&
scope.row.isedit"
v-model="scope.row.symptom"
>
</el-input>
</div>
<span
style=
"font-size: 12px; color: red"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.symptom == ''"
>
请输入内容
</span
>
>
</div>
-->
<el-form
:model=
"scope.row"
label-width=
"15px"
label-position=
"left"
ref=
"numberValidateForm1"
class=
"demo-ruleForm"
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit"
>
<el-form-item
prop=
"symptom"
:rules=
"[
{ required: true, message: '请输入内容' }]">
<template
#
label
>
<span></span></
template
>
<template
#
label
>
<span></span></
template
>
<el-input
<el-input
v-model=
"scope.row.symptom"
v-model=
"scope.row.symptom"
...
@@ -288,33 +333,29 @@
...
@@ -288,33 +333,29 @@
:autosize=
"{ minRows: 2 }"
:autosize=
"{ minRows: 2 }"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</template>
</template>
</el-table-column>
</el-table-column>
<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
v-if=
"scope.row.ischeck == 1 && scope.row.isedit && scope.row.orderType"
size=
"mini"
v-model=
"scope.row.emergency"
>
<el-select
<el-option
v-for=
"item in chargeTypeoptions"
:key=
"item.label"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.isedit"
</el-select>
size=
"mini"
<!--
<span
v-else
>
{{
isObj
[
scope
.
row
.
emergency
]
}}
</span>
-->
v-model=
"scope.row.emergency"
</
template
>
>
</el-table-column>
<el-option
v-for=
"item in chargeTypeoptions"
:key=
"item.label"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
<el-table-column
label=
"操作"
width=
"80"
>
</el-select>
<
template
#
default=
"scope"
>
<!--
<span
v-else
>
{{
isObj
[
scope
.
row
.
emergency
]
}}
</span>
-->
<el-button
</
template
>
v-if=
"scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit && scope.row.orderType"
</el-table-column>
size=
"mini"
<el-table-column
label=
"操作"
width=
"80"
>
type=
"primary"
<
template
#
default=
"scope"
>
@
click=
"goSeeScore(scope.row, scope.$index, scope)"
<el-button
>
更多
</el-button
v-if=
"scope.row.advice_name == null && scope.row.ischeck == 1 && scope.row.type != 1 && scope.row.isedit"
>
size=
"mini"
</
template
>
type=
"primary"
</el-table-column>
@
click=
"goSeeScore(scope.row, scope.$index, scope)"
</el-table>
>
更多
</el-button
</el-form>
>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</div>
</div>
<!-- 更多弹框开始 -->
<!-- 更多弹框开始 -->
...
@@ -348,40 +389,13 @@
...
@@ -348,40 +389,13 @@
</template>
</template>
<
script
>
<
script
>
import
http
from
"../utils/http"
;
import
http
from
"../utils/http"
;
import
{
reactive
,
toRefs
,
onMounted
,
nextTick
,
computed
,
ref
}
from
"@vue/composition-api"
;
import
{
decimal
}
from
"../utils/decimal"
;
import
{
img
}
from
"../assets/img/zu.png"
;
import
{
Message
}
from
"element-ui"
;
import
{
Message
}
from
"element-ui"
;
import
{
useRoute
,
useRouter
}
from
"../utils/useVueRouter"
;
import
{
setItem
,
getItem
}
from
"../utils/auth"
;
import
{
Loading
}
from
"element-ui"
;
import
_
from
"lodash"
;
import
_
from
"lodash"
;
import
{
transformTimestampnow
}
from
"../utils/formatTime"
;
import
{
transformTimestampnow
}
from
"../utils/formatTime"
;
import
{
format
}
from
"echarts"
;
import
M
from
"minimatch"
;
export
default
{
export
default
{
name
:
"outClinicalpathway"
,
name
:
"outClinicalpathway"
,
setup
()
{
data
()
{
//表格自适应高度
return
{
const
route
=
useRoute
();
const
router
=
useRouter
();
const
fromRef
=
ref
();
const
goSeefromRef
=
ref
();
function
tableLayout
()
{
nextTick
(()
=>
{
fromRef
.
value
.
doLayout
();
});
}
const
numberValidateForm
=
ref
();
const
numberValidateForm1
=
ref
();
const
monthlyPlanTable
=
ref
();
const
multipleTable
=
ref
();
const
transformTime
=
computed
(()
=>
{
return
transformTimestampnow
;
});
let
state
=
reactive
({
//患者信息
//患者信息
topdata
:
{
topdata
:
{
patientName
:
""
,
//患者姓名
patientName
:
""
,
//患者姓名
...
@@ -416,6 +430,9 @@ export default {
...
@@ -416,6 +430,9 @@ export default {
reason
:
""
,
//变异原因
reason
:
""
,
//变异原因
remarks
:
""
,
//备注
remarks
:
""
,
//备注
},
},
tableDataform
:
{
tableData
:
[],
},
//路径天数下拉数据
//路径天数下拉数据
options
:
[],
options
:
[],
reasonoptions
:
[],
//变异原因
reasonoptions
:
[],
//变异原因
...
@@ -448,139 +465,297 @@ export default {
...
@@ -448,139 +465,297 @@ export default {
goSeeIndex
:
""
,
goSeeIndex
:
""
,
goSeeIndexPid
:
""
,
goSeeIndexPid
:
""
,
distype
:
1
,
distype
:
1
,
hisUrl
:
""
,
//his的接口地址
cout
:
0
,
tempMedicalDrug
:
{},
isPop
:
false
,
tempMedicalcheck
:
{},
gridData
:
[],
tempMedicalCheckout
:
{},
query
:
""
,
longMedical
:
{},
};
});
},
mounted
()
{
this
.
getIsRoute
();
this
.
gettopdata
();
this
.
getlefttime
();
this
.
gemedicUseModeoptions
();
this
.
gemedicUsePlanoptions
();
this
.
getmedicalPurposeoptions
();
},
watch
:
{
query
()
{
console
.
log
(
this
.
query
);
if
(
this
.
query
!==
""
)
{
this
.
medicUseModeoptions
=
this
.
medicUseModeoptionsLise
.
filter
((
item
)
=>
{
return
(
item
.
describe
.
toLowerCase
().
indexOf
(
this
.
query
.
toLowerCase
())
>
-
1
||
item
.
pinyin
.
toLowerCase
().
indexOf
(
this
.
query
.
toLowerCase
())
>
-
1
);
});
}
else
{
this
.
medicUseModeoptions
=
this
.
medicUseModeoptionsLise
;
}
},
},
methods
:
{
// 总量计算
setIput
(
row
,
e
)
{
if
(
!
isNaN
(
parseFloat
(
row
.
medicUseQuantity
))
&&
isFinite
(
row
.
medicUseQuantity
)
&&
row
.
medicUsePlan
)
{
let
num
=
this
.
medicUsePlanoptions
.
find
((
item
)
=>
item
.
describe
==
row
.
medicUsePlan
).
num
;
// 使用量;
if
(
Number
(
row
.
medicUseQuantity
)
>
0
)
{
//医嘱取整 //单次取整
if
(
row
.
order_round
!==
"单次取整"
)
{
//住院零售单位 //最小单位
if
(
row
.
retail_unit
==
row
.
min_unit
)
{
//使用量 //频率数量 //用药天数 //单位剂量
row
.
medicQuantity
=
Math
.
ceil
((
Number
(
row
.
medicUseQuantity
)
*
num
*
row
.
useDay
)
/
row
.
unit_dose
);
console
.
log
(
num
+
"1"
);
//住院零售单位 //包装单位
}
else
if
(
row
.
retail_unit
==
row
.
package_unit
)
{
//使用量 //频率数量 //用药天数 //单位剂量 //包装数量
row
.
medicQuantity
=
Math
.
ceil
((
Number
(
row
.
medicUseQuantity
)
*
num
*
row
.
useDay
)
/
row
.
unit_dose
/
row
.
packagingnum
);
console
.
log
(
num
+
"2"
);
}
else
{
//使用量 //频率数量 //用药天数 //单位剂量 //包装数量 拆分系数
row
.
medicQuantity
=
Math
.
ceil
(
(
Number
(
row
.
medicUseQuantity
)
*
num
*
row
.
useDay
)
/
row
.
unit_dose
/
(
row
.
packagingnum
/
row
.
split_num
)
);
console
.
log
(
num
+
"3"
);
}
}
else
{
if
(
row
.
order_round
===
"单次取整"
)
{
row
.
medicQuantity
=
Math
.
round
(
Math
.
ceil
(
Number
(
row
.
medicUseQuantity
)
/
row
.
unit_dose
)
*
num
*
row
.
useDay
);
console
.
log
(
num
+
"4"
);
}
else
if
(
retail_unit
===
package_unit
)
{
row
.
medicQuantity
=
Math
.
round
(
Math
.
ceil
(
Number
(
row
.
medicUseQuantity
)
/
row
.
unit_dose
/
row
.
packagingnum
)
*
num
*
row
.
useDay
);
console
.
log
(
num
+
"5"
);
}
else
{
row
.
medicQuantity
=
Math
.
round
(
Math
.
ceil
(
Number
(
row
.
medicUseQuantity
)
/
row
.
unit_dose
/
(
row
.
packagingnum
/
row
.
split_num
))
*
num
*
row
.
useDay
);
console
.
log
(
num
+
"6"
);
}
}
}
}
console
.
log
(
row
);
},
//药疗新增
addRow
(
r
)
{
const
{
cout
}
=
this
;
const
newData
=
{
emergency
:
0
,
adviceType
:
r
.
adviceType
,
advice_name2
:
r
.
advice_name2
,
id
:
this
.
$uuid
(),
isClass
:
false
,
parentid
:
r
.
id
,
inhosdays
:
""
,
isForbidden
:
true
,
tickTime
:
transformTimestampnow
(),
project_code
:
r
.
project_code
,
project_name
:
null
,
ischeck
:
1
,
specifications
:
null
,
stockID
:
null
,
dosage
:
null
,
isAntibiotic
:
""
,
medicUseQuantity
:
0.0
,
medicUseUnit
:
null
,
medicUseMode
:
null
,
medicUsePlan
:
null
,
medicQuantity
:
1
,
medicUnit
:
null
,
remark
:
""
,
inventoryNum
:
null
,
orderType
:
r
.
orderType
,
medicalPurpose
:
null
,
price
:
null
,
type
:
r
.
type
,
sort
:
cout
+
1
,
isedit
:
false
,
isnew
:
true
,
chiefComplaint
:
null
,
inspectionPurpose
:
null
,
symptom
:
null
,
pastHistory
:
null
,
auxiliaryItems
:
null
,
inspectRemarks
:
null
,
description
:
null
,
isPop
:
false
,
};
this
.
toggleSelection
(
newData
,
true
);
this
.
cout
=
cout
+
1
;
r
.
children
.
push
(
newData
);
},
onfocus
(
row
,
value
)
{
this
.
tempRow
=
row
;
},
onInput
(
row
,
value
)
{
value
&&
this
.
etProjectByName
(
value
);
},
etProjectByName
(
query
)
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetProjectByName?searchQuery=
${
query
}
`
,
{})
.
then
((
data
)
=>
{
if
(
data
&&
data
.
length
)
{
data
.
map
((
el
,
i
)
=>
{
el
.
id
=
i
++
;
});
}
this
.
gridData
=
data
;
})
.
catch
((
error
)
=>
{});
},
rowdblclick
(
row
,
column
,
event
)
{
this
.
pushData
(
row
,
this
.
tableData
);
console
.
log
(
row
);
this
.
tempRow
.
isPop
=
false
;
},
pushData
(
row
,
arr
)
{
arr
.
map
((
item
)
=>
{
if
(
item
.
id
==
this
.
tempRow
.
id
)
{
item
.
project_name
=
row
.
project_name
;
item
.
specifications
=
row
.
specifications
;
item
.
dosage
=
row
.
dosage
;
item
.
isAntibiotic
=
row
.
isAntibiotic
;
item
.
medicalPurpose
=
row
.
medicalPurpose
;
item
.
medicUseQuantity
=
row
.
medicUseQuantity
;
item
.
medicUseUnit
=
row
.
medicUseUnit
;
item
.
medicUseMode
=
row
.
medicUseMode
;
item
.
medicUsePlan
=
row
.
medicUsePlan
;
item
.
dropNumber
=
row
.
dropNumber
;
item
.
medicUnit
=
row
.
medicUnit
;
item
.
remark
=
row
.
remark
;
item
.
symptom
=
row
.
symptom
;
item
.
emergency
=
row
.
emergency
;
item
.
inhosdays
=
row
.
inhosdays
;
item
.
project_code
=
row
.
project_code
;
item
.
stockID
=
row
.
stockID
;
item
.
medicQuantity
=
row
.
medicQuantity
;
item
.
inventoryNum
=
row
.
inventoryNum
;
item
.
price
=
row
.
price
;
item
.
chiefComplaint
=
row
.
chiefComplaint
;
item
.
inspectionPurpose
=
row
.
inspectionPurpose
;
item
.
pastHistory
=
row
.
pastHistory
;
item
.
auxiliaryItems
=
row
.
auxiliaryItems
;
item
.
inspectRemarks
=
row
.
inspectRemarks
;
item
.
description
=
row
.
description
;
// item.adviceType = row.adviceType;
// item.advice_name = row.advice_name;
}
if
(
item
.
children
&&
item
.
children
.
length
>
0
)
{
this
.
pushData
(
row
,
item
.
children
);
}
});
},
deleteRow
(
row
,
arr
)
{
arr
.
map
((
item
,
i
)
=>
{
if
(
item
.
id
==
row
.
id
)
{
arr
.
splice
(
i
,
1
);
this
.
toggleSelection
(
item
,
false
);
}
if
(
item
.
children
&&
item
.
children
.
length
>
0
)
{
this
.
deleteRow
(
row
,
item
.
children
);
}
});
},
//表格禁用
//表格禁用
const
selectEnable
=
(
row
,
rowIndex
)
=>
{
selectEnable
(
row
,
rowIndex
)
{
if
(
row
.
isForbidden
==
false
)
{
if
(
row
.
isForbidden
==
false
)
{
return
false
;
// 不禁用
return
false
;
// 不禁用
}
else
{
}
else
{
return
true
;
//禁用
return
true
;
//禁用
}
}
}
;
}
,
//表格当前行样式
//表格当前行样式
const
rowClass
=
({
row
,
rowIndex
})
=>
{
rowClass
({
row
,
rowIndex
})
{
if
(
row
.
isClass
)
{
if
(
row
.
isClass
)
{
return
"rowStyleclass"
;
return
"rowStyleclass"
;
}
else
{
}
else
{
return
""
;
return
""
;
}
}
}
;
}
,
//更多
//更多
const
goSeeScore
=
(
row
)
=>
{
goSeeScore
(
row
)
{
state
.
distype
=
row
.
type
;
this
.
distype
=
row
.
type
;
state
.
oldRowObj
=
{
...
row
};
this
.
oldRowObj
=
{
...
row
};
state
.
goSeeform
=
row
;
this
.
goSeeform
=
row
;
state
.
goSeeScoredialogFormVisible
=
true
;
this
.
goSeeScoredialogFormVisible
=
true
;
// state.tableData.forEach((item, index) => {
},
// let childIndex = item.children.findIndex((v) => v.id == row.id);
// console.log(childIndex);
// if (childIndex !== -1) {
// state.goSeeIndexPid = index;
// state.goSeeIndex = childIndex;
// }
// });
};
//更多-取消
//更多-取消
const
goSeecolse
=
()
=>
{
goSeecolse
()
{
state
.
goSeeform
=
{};
this
.
goSeeform
=
{};
// let childrenList = [...state.tableData[state.goSeeIndexPid].children];
this
.
goSeeScoredialogFormVisible
=
false
;
// childrenList.splice(state.goSeeIndex, 1, state.oldRowObj);
},
// state.tableData[state.goSeeIndexPid].children = childrenList;
state
.
goSeeScoredialogFormVisible
=
false
;
};
//更多--确定
//更多--确定
const
goSeeok
=
()
=>
{
goSeeok
()
{
// let childrenList = [...state.tableData[state.goSeeIndexPid].children];
if
(
this
.
radio
==
1
)
{
// childrenList.splice(state.goSeeIndex, 1, state.goSeeform);
this
.
multipleSelection
[
0
]
=
this
.
goSeeform
;
// state.tableData[state.goSeeIndexPid].children = childrenList;
// console.log(state.tableData, 999);
// state.tableData.forEach((item) => {
// let childIndex = item.children.findIndex((v) => v.id == state.goSeeform.id);
// console.log(childIndex);
// if (childIndex !== -1) {
// item.children[childIndex] = state.goSeeform;
// }
// });
console
.
log
(
state
.
tableData
);
if
(
state
.
radio
==
1
)
{
state
.
multipleSelection
[
0
]
=
state
.
goSeeform
;
}
else
{
}
else
{
state
.
multipleSelection1
[
0
]
=
state
.
goSeeform
;
this
.
multipleSelection1
[
0
]
=
this
.
goSeeform
;
}
}
console
.
log
(
state
.
tableData
);
this
.
goSeeScoredialogFormVisible
=
false
;
console
.
log
(
state
.
multipleSelection
);
},
console
.
log
(
state
.
multipleSelection1
);
// toggleSelection(state.multipleSelection[0], true);
state
.
goSeeScoredialogFormVisible
=
false
;
};
//获取途径,频率的下拉数据
//获取途径,频率的下拉数据
const
gemedicUseModeoptions
=
()
=>
{
gemedicUseModeoptions
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=1`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=1`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
medicUseModeoptions
=
data
;
this
.
medicUseModeoptions
=
data
;
state
.
medicUseModeoptionsLise
=
data
;
this
.
medicUseModeoptionsLise
=
data
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
},
remoteMethod
(
query
)
{
const
remoteMethod
=
(
query
)
=>
{
this
.
query
=
query
;
if
(
query
)
{
console
.
log
(
this
.
query
);
state
.
medicUseModeoptions
=
state
.
medicUseModeoptions
.
filter
((
item
)
=>
{
if
(
query
!==
""
)
{
this
.
medicUseModeoptions
=
this
.
medicUseModeoptions
.
filter
((
item
)
=>
{
return
item
.
describe
.
toLowerCase
().
indexOf
(
query
.
toLowerCase
())
>
-
1
||
item
.
pinyin
.
toLowerCase
().
indexOf
(
query
.
toLowerCase
())
>
-
1
;
return
item
.
describe
.
toLowerCase
().
indexOf
(
query
.
toLowerCase
())
>
-
1
||
item
.
pinyin
.
toLowerCase
().
indexOf
(
query
.
toLowerCase
())
>
-
1
;
});
});
// setTimeout(() => {}, 200);
}
else
{
}
else
{
state
.
medicUseModeoptions
=
state
.
medicUseModeoptionsLise
;
this
.
medicUseModeoptions
=
this
.
medicUseModeoptionsLise
;
}
}
},
console
.
log
(
state
.
medicUseModeoptions
);
};
//获取频率,频率的下拉数据
//获取频率,频率的下拉数据
const
gemedicUsePlanoptions
=
()
=>
{
gemedicUsePlanoptions
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=2`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=2`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
medicUsePlanoptions
=
data
;
this
.
medicUsePlanoptions
=
data
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//获取用要目的下拉数据
//获取用要目的下拉数据
const
getmedicalPurposeoptions
=
()
=>
{
getmedicalPurposeoptions
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=3`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStaCRParametersByType?type=3`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
medicalPurposeoptions
=
data
;
this
.
medicalPurposeoptions
=
data
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//获取患者信息
//获取患者信息
const
gettopdata
=
()
=>
{
gettopdata
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetPatientInfo?pid=
${
route
.
valu
e
.
query
.
pid
}
`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetPatientInfo?pid=
${
this
.
$rout
e
.
query
.
pid
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
topdata
=
data
;
this
.
topdata
=
data
;
state
.
crid
=
data
.
crid
;
this
.
crid
=
data
.
crid
;
getreasonoptions
();
this
.
getreasonoptions
();
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
const
setChildren
=
(
children
,
type
)
=>
{
setChildren
(
children
,
type
)
{
// 编辑多个子层级
// 编辑多个子层级
children
.
map
((
j
)
=>
{
children
.
map
((
j
)
=>
{
toggleSelection
(
j
,
type
);
j
.
tickTime
=
transformTimestampnow
();
if
(
j
.
children
)
{
this
.
toggleSelection
(
j
,
type
);
setChildren
(
j
.
children
,
type
);
if
(
j
.
children
&&
j
.
children
.
length
)
{
this
.
setChildren
(
j
.
children
,
type
);
}
}
});
});
}
;
}
,
// 选中父节点时,子节点一起选中取消
// 选中父节点时,子节点一起选中取消
const
select
=
(
selection
,
row
)
=>
{
select
(
selection
,
row
)
{
row
.
tickTime
=
transformTimestampnow
();
row
.
tickTime
=
transformTimestampnow
();
// 选中
// 选中
if
(
if
(
...
@@ -589,61 +764,77 @@ export default {
...
@@ -589,61 +764,77 @@ export default {
})
})
)
{
)
{
row
.
ischeck
=
1
;
row
.
ischeck
=
1
;
if
(
row
.
children
)
{
if
(
row
.
children
&&
row
.
children
.
length
)
{
row
.
children
row
.
children
.
filter
((
item
)
=>
item
.
isForbidden
)
.
filter
((
item
)
=>
item
.
isForbidden
)
.
map
((
j
)
=>
{
.
map
((
j
)
=>
{
if
(
j
.
children
&&
j
.
children
.
length
)
{
j
.
children
.
filter
((
r
)
=>
r
.
isForbidden
)
.
map
((
e
)
=>
{
e
.
tickTime
=
transformTimestampnow
();
// e.edit = false;
this
.
toggleSelection
(
e
,
true
);
});
}
j
.
tickTime
=
transformTimestampnow
();
j
.
tickTime
=
transformTimestampnow
();
j
.
edit
=
false
;
// j.edit = false;
console
.
log
(
j
.
type
);
this
.
toggleSelection
(
j
,
true
);
toggleSelection
(
j
,
true
);
});
});
console
.
log
(
1
);
}
else
{
}
else
{
selection
.
map
((
v
)
=>
{
selection
.
map
((
v
)
=>
{
toggleSelection
(
v
,
true
);
t
his
.
t
oggleSelection
(
v
,
true
);
});
});
console
.
log
(
2
);
}
}
//取消
//取消
}
else
{
}
else
{
console
.
log
(
row
);
this
.
toggleSelection
(
row
,
false
);
if
(
row
.
children
)
{
if
(
row
.
children
&&
row
.
children
.
length
)
{
console
.
log
(
3
,
row
);
row
.
children
.
map
((
p
)
=>
{
row
.
children
.
map
((
p
)
=>
{
if
(
p
.
children
&&
p
.
children
.
length
)
{
p
.
children
.
map
((
i
)
=>
{
i
.
ischeck
=
2
;
this
.
toggleSelection
(
i
,
false
);
});
}
p
.
ischeck
=
2
;
p
.
ischeck
=
2
;
p
.
isClass
=
false
;
this
.
toggleSelection
(
p
,
false
);
toggleSelection
(
p
,
false
);
});
});
}
else
{
}
else
{
//取消的行数据
console
.
log
(
4
);
row
.
ischeck
=
2
;
row
.
ischeck
=
2
;
this
.
toggleSelection
(
row
,
false
);
//取消的行数据
}
}
}
}
}
;
}
,
// 控制选框是否被选中
// 控制选框是否被选中
const
toggleSelection
=
(
row
,
select
)
=>
{
toggleSelection
(
row
,
select
)
{
if
(
row
)
{
if
(
row
)
{
console
.
log
(
row
);
this
.
$nextTick
(()
=>
{
nextTick
(()
=>
{
this
.
$refs
.
multipleTable
&&
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
row
,
select
);
multipleTable
.
value
&&
multipleTable
.
value
.
toggleRowSelection
(
row
,
select
);
});
});
if
(
select
==
true
)
{
if
(
select
==
true
)
{
row
.
ischeck
=
1
;
row
.
ischeck
=
1
;
}
else
{
}
else
{
row
.
ischeck
=
2
;
row
.
ischeck
=
2
;
row
.
isClass
=
false
;
}
}
}
}
}
;
}
,
// 选择全部
// 选择全部
const
selectAll
=
(
selection
)
=>
{
selectAll
(
selection
)
{
// tabledata第一层只要有在selection里面就是全选
// tabledata第一层只要有在selection里面就是全选
const
isSelect
=
selection
.
some
((
el
)
=>
{
const
isSelect
=
selection
.
some
((
el
)
=>
{
const
tableDataIds
=
state
.
tableData
.
map
((
j
)
=>
j
.
id
);
const
tableDataIds
=
this
.
tableData
.
map
((
j
)
=>
j
.
id
);
return
tableDataIds
.
includes
(
el
.
id
);
return
tableDataIds
.
includes
(
el
.
id
);
});
});
// tableDate第一层只要有不在selection里面就是全不选
// tableDate第一层只要有不在selection里面就是全不选
const
isCancel
=
!
state
.
tableData
.
every
((
el
)
=>
{
const
isCancel
=
!
this
.
tableData
.
every
((
el
)
=>
{
const
selectIds
=
selection
.
map
((
j
)
=>
j
.
id
);
const
selectIds
=
selection
.
map
((
j
)
=>
j
.
id
);
return
selectIds
.
includes
(
el
.
id
);
return
selectIds
.
includes
(
el
.
id
);
});
});
...
@@ -653,89 +844,107 @@ export default {
...
@@ -653,89 +844,107 @@ export default {
el
.
children
el
.
children
.
filter
((
item
)
=>
item
.
isForbidden
)
.
filter
((
item
)
=>
item
.
isForbidden
)
.
map
((
j
)
=>
{
.
map
((
j
)
=>
{
toggleSelection
(
j
,
true
);
if
(
j
.
children
)
{
j
.
children
.
filter
((
r
)
=>
r
.
isForbidden
)
.
map
((
e
)
=>
{
this
.
toggleSelection
(
e
,
true
);
});
}
this
.
toggleSelection
(
j
,
true
);
});
});
}
}
});
});
}
}
if
(
isCancel
)
{
if
(
isCancel
)
{
state
.
tableData
.
map
((
el
)
=>
{
this
.
setfalse
(
this
.
tableData
);
if
(
el
.
children
)
{
// this.tableData.map((el) => {
el
.
children
.
map
((
j
)
=>
{
// if (el.children) {
toggleSelection
(
j
,
false
);
// el.children.map((j) => {
});
// this.toggleSelection(j, false);
}
// });
});
// }
// });
}
}
}
;
}
,
// 编辑多个子层级
setfalse
(
arr
)
{
arr
.
map
((
item
)
=>
{
this
.
toggleSelection
(
item
,
false
);
if
(
item
.
children
&&
item
.
children
.
length
)
{
this
.
setfalse
(
item
.
children
);
}
});
},
//当选择项发生变化时会触发该事件
//当选择项发生变化时会触发该事件
const
SelectionChange
=
(
val
)
=>
{
SelectionChange
(
val
)
{
// state.multipleSelection = val;
if
(
this
.
radio
==
1
)
{
console
.
log
(
val
.
length
+
"选中的数据"
);
this
.
multipleSelection
=
val
.
sort
((
a
,
b
)
=>
a
.
sort
-
b
.
sort
);
console
.
log
(
val
.
pop
());
// this.multipleSelection = val.filter((item) => !item.children).sort((a, b) => a.sort - b.sort);
if
(
state
.
radio
==
1
)
{
state
.
multipleSelection
=
val
.
filter
((
item
)
=>
!
item
.
children
).
sort
((
a
,
b
)
=>
a
.
sort
-
b
.
sort
);
}
else
{
}
else
{
state
.
multipleSelection1
=
val
.
filter
((
item
)
=>
!
item
.
children
).
sort
((
a
,
b
)
=>
a
.
sort
-
b
.
sort
);
this
.
multipleSelection1
=
val
.
sort
((
a
,
b
)
=>
a
.
sort
-
b
.
sort
);
// this.multipleSelection1 = val.filter((item) => !item.children).sort((a, b) => a.sort - b.sort);
}
}
if
(
state
.
multipleSelection
.
length
)
{
if
(
this
.
multipleSelection
.
length
)
{
state
.
multipleSelection
this
.
multipleSelection
.
filter
((
item
)
=>
item
.
adviceType
)
.
filter
((
item
)
=>
item
.
type
!=
1
)
.
filter
((
item
)
=>
item
.
type
!=
1
)
.
map
((
item
,
index
)
=>
{
.
map
((
item
,
index
)
=>
{
index
==
0
?
(
item
.
isedit
=
true
)
:
(
item
.
isedit
=
false
);
index
==
0
?
(
item
.
isedit
=
true
)
:
(
item
.
isedit
=
false
);
});
});
}
}
if
(
state
.
multipleSelection1
.
length
)
{
if
(
this
.
multipleSelection1
.
length
)
{
state
.
multipleSelection1
this
.
multipleSelection1
.
filter
((
item
)
=>
item
.
adviceType
)
.
filter
((
item
)
=>
item
.
type
!=
1
)
.
filter
((
item
)
=>
item
.
type
!=
1
)
.
map
((
item
,
index
)
=>
{
.
map
((
item
,
index
)
=>
{
index
==
0
?
(
item
.
isedit
=
true
)
:
(
item
.
isedit
=
false
);
index
==
0
?
(
item
.
isedit
=
true
)
:
(
item
.
isedit
=
false
);
});
});
}
}
}
;
}
,
//获取左侧时间线数据
//获取左侧时间线数据
const
getlefttime
=
()
=>
{
getlefttime
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesLeft?pid=
${
route
.
valu
e
.
query
.
pid
}
`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesLeft?pid=
${
this
.
$rout
e
.
query
.
pid
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
activities
=
data
;
this
.
activities
=
data
;
state
.
options
=
data
;
this
.
options
=
data
;
if
(
state
.
activities
.
filter
((
item
)
=>
item
.
flag
).
length
==
state
.
activities
.
length
)
{
if
(
this
.
activities
.
filter
((
item
)
=>
item
.
flag
).
length
==
this
.
activities
.
length
)
{
state
.
timeindex
=
state
.
activities
[
state
.
activities
.
length
-
1
].
inhosdays
;
this
.
timeindex
=
this
.
activities
[
this
.
activities
.
length
-
1
].
inhosdays
;
t
imeclick
(
state
.
activities
[
state
.
activities
.
length
-
1
]);
t
his
.
timeclick
(
this
.
activities
[
this
.
activities
.
length
-
1
]);
}
}
if
(
state
.
activities
.
filter
((
item
)
=>
!
item
.
flag
).
length
==
state
.
activities
.
length
)
{
if
(
this
.
activities
.
filter
((
item
)
=>
!
item
.
flag
).
length
==
this
.
activities
.
length
)
{
state
.
timeindex
=
state
.
activities
[
0
].
inhosdays
;
this
.
timeindex
=
this
.
activities
[
0
].
inhosdays
;
t
imeclick
(
state
.
activities
[
0
]);
t
his
.
timeclick
(
this
.
activities
[
0
]);
}
else
{
}
else
{
state
.
timeindex
=
state
.
activities
.
filter
((
item
)
=>
!
item
.
flag
)[
0
].
inhosdays
;
this
.
timeindex
=
this
.
activities
.
filter
((
item
)
=>
!
item
.
flag
)[
0
].
inhosdays
;
t
imeclick
(
state
.
activities
.
filter
((
item
)
=>
!
item
.
flag
)[
0
]);
t
his
.
timeclick
(
this
.
activities
.
filter
((
item
)
=>
!
item
.
flag
)[
0
]);
}
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
});
});
}
;
}
,
//获取标识
//获取标识
const
getIsRoute
=
()
=>
{
getIsRoute
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/IsRoute?pid=
${
route
.
valu
e
.
query
.
pid
}
`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/IsRoute?pid=
${
this
.
$rout
e
.
query
.
pid
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
console
.
log
(
data
);
console
.
log
(
data
);
if
(
data
)
{
if
(
data
)
{
router
.
push
({
this
.
$
router
.
push
({
path
:
"Entrypath"
,
path
:
"Entrypath"
,
query
:
{
query
:
{
pid
:
route
.
valu
e
.
query
.
pid
,
pid
:
this
.
$rout
e
.
query
.
pid
,
},
},
});
});
}
}
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
const
getTableData
=
()
=>
{
getTableData
()
{
http
.
post
(
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
route
.
value
.
query
.
pid
}
&case_routeid=
${
state
.
case_routeid
}
&searchQuery=
${
state
.
inhosdays
}
`
,
`/ClinicalRoute/ClinicalRoute/GetGetRouteAdvicesRight?pid=
${
this
.
$route
.
query
.
pid
}
&case_routeid=
${
this
.
case_routeid
}
&searchQuery=
${
this
.
inhosdays
}
`
,
{}
{}
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
...
@@ -743,6 +952,7 @@ export default {
...
@@ -743,6 +952,7 @@ export default {
if
(
element
.
children
)
{
if
(
element
.
children
)
{
element
.
children
.
map
((
el
,
i
)
=>
{
element
.
children
.
map
((
el
,
i
)
=>
{
el
.
sort
=
i
++
;
el
.
sort
=
i
++
;
el
.
isedit
=
false
;
});
});
}
}
});
});
...
@@ -750,61 +960,39 @@ export default {
...
@@ -750,61 +960,39 @@ export default {
if
(
element
.
children
)
{
if
(
element
.
children
)
{
element
.
children
.
map
((
el
,
i
)
=>
{
element
.
children
.
map
((
el
,
i
)
=>
{
el
.
sort
=
i
++
;
el
.
sort
=
i
++
;
el
.
isedit
=
false
;
});
});
}
}
});
});
this
.
newtable1
=
data
.
route1
;
state
.
newtable1
=
data
.
route1
;
this
.
newtable2
=
data
.
route2
;
state
.
newtable2
=
data
.
route2
;
this
.
tableDataform
.
tableData
=
this
.
radio
==
1
?
data
.
route1
:
data
.
route2
;
if
(
state
.
radio
==
1
)
{
state
.
tableData
=
data
.
route1
;
// state.tableData.map((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);
// }
// }
// }
// });
// state.newtable1 = state.tableData;
}
else
if
(
state
.
radio
==
2
)
{
state
.
tableData
=
data
.
route2
;
// state.tableData.map((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);
// }
// }
// }
// });
// state.newtable2 = state.tableData;
}
})
})
.
catch
((
error
)
=>
{
.
catch
((
error
)
=>
{
console
.
log
(
error
);
console
.
log
(
error
);
});
});
}
;
}
,
//单选
//单选
const
radiochange
=
(
e
)
=>
{
radiochange
(
e
)
{
if
(
numberValidateForm
.
value
||
numberValidateForm1
.
value
)
{
console
.
log
(
this
.
$refs
.
medicalPurpose
);
numberValidateForm
.
value
.
validate
((
valid
)
=>
{
this
.
$refs
.
tableDataform
.
validate
((
valid
)
=>
{
console
.
log
(
valid
);
});
return
;
if
(
this
.
$refs
.
numberValidateForm
||
this
.
$refs
.
numberValidateForm1
)
{
this
.
$refs
.
numberValidateForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
numberValidateForm1
.
value
.
validate
((
valid
)
=>
{
this
.
$refs
.
numberValidateForm1
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
state
.
radio
=
e
;
this
.
radio
=
e
;
if
(
state
.
radio
==
1
)
{
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
state
.
tableData
=
state
.
newtable1
;
if
(
this
.
radio
==
1
)
{
state
.
multipleSelection
.
map
((
j
)
=>
{
this
.
multipleSelection
.
map
((
j
)
=>
{
toggleSelection
(
j
,
true
);
t
his
.
t
oggleSelection
(
j
,
true
);
});
});
}
else
{
}
else
{
state
.
tableData
=
state
.
newtable2
;
this
.
multipleSelection1
.
map
((
p
)
=>
{
state
.
multipleSelection1
.
map
((
p
)
=>
{
this
.
toggleSelection
(
p
,
true
);
toggleSelection
(
p
,
true
);
});
});
}
}
}
else
{
}
else
{
...
@@ -817,37 +1005,125 @@ export default {
...
@@ -817,37 +1005,125 @@ export default {
return
false
;
return
false
;
}
}
});
});
}
else
if
(
this
.
$refs
.
medicUseQuantity
||
this
.
$refs
.
medicUseMode
||
this
.
$refs
.
medicUsePlan
)
{
this
.
$refs
.
medicUseQuantity
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUseMode
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUsePlan
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
$refs
.
medicalPurpose
)
{
this
.
$refs
.
medicalPurpose
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
radio
=
e
;
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
if
(
this
.
radio
==
1
)
{
this
.
multipleSelection
.
map
((
j
)
=>
{
this
.
toggleSelection
(
j
,
true
);
});
}
else
{
this
.
multipleSelection1
.
map
((
p
)
=>
{
this
.
toggleSelection
(
p
,
true
);
});
}
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
this
.
radio
=
e
;
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
if
(
this
.
radio
==
1
)
{
this
.
multipleSelection
.
map
((
j
)
=>
{
this
.
toggleSelection
(
j
,
true
);
});
}
else
{
this
.
multipleSelection1
.
map
((
p
)
=>
{
this
.
toggleSelection
(
p
,
true
);
});
}
}
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
}
else
{
state
.
radio
=
e
;
this
.
radio
=
e
;
if
(
state
.
radio
==
1
)
{
this
.
tableData
=
this
.
radio
==
1
?
this
.
newtable1
:
this
.
newtable2
;
state
.
tableData
=
state
.
newtable1
;
if
(
this
.
radio
==
1
)
{
state
.
multipleSelection
.
map
((
j
)
=>
{
this
.
multipleSelection
.
map
((
j
)
=>
{
toggleSelection
(
j
,
true
);
t
his
.
t
oggleSelection
(
j
,
true
);
});
});
}
else
{
}
else
{
state
.
tableData
=
state
.
newtable2
;
this
.
multipleSelection1
.
map
((
p
)
=>
{
state
.
multipleSelection1
.
map
((
p
)
=>
{
this
.
toggleSelection
(
p
,
true
);
toggleSelection
(
p
,
true
);
});
});
}
}
}
}
};
},
//点击左侧时间线 获取右侧表格数据
//点击左侧时间线 获取右侧表格数据
const
timeclick
=
(
val
)
=>
{
timeclick
(
val
)
{
state
.
timeindex
=
val
.
inhosdays
;
this
.
timeindex
=
val
.
inhosdays
;
state
.
case_routeid
=
val
.
case_routeid
;
this
.
case_routeid
=
val
.
case_routeid
;
state
.
inhosdays
=
val
.
inhosdays
;
this
.
inhosdays
=
val
.
inhosdays
;
getTableData
();
this
.
getTableData
();
}
;
}
,
//保存医嘱
//保存医嘱
const
joinorder
=
()
=>
{
joinorder
()
{
if
(
state
.
multipleSelection
.
length
||
state
.
multipleSelection1
.
length
)
{
if
(
this
.
multipleSelection
.
length
||
this
.
multipleSelection1
.
length
)
{
if
(
numberValidateForm
.
value
||
numberValidateForm1
.
value
)
{
if
(
this
.
$refs
.
numberValidateForm
||
this
.
$refs
.
numberValidateForm1
)
{
numberValidateForm
.
value
.
validate
((
valid
)
=>
{
this
.
$refs
.
numberValidateForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
numberValidateForm1
.
value
.
validate
((
valid
)
=>
{
this
.
$refs
.
numberValidateForm1
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
saveSetPatientRoutes
();
this
.
saveSetPatientRoutes
();
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
if
(
this
.
$refs
.
medicUseQuantity
||
this
.
$refs
.
medicUseMode
||
this
.
$refs
.
medicUsePlan
)
{
this
.
$refs
.
medicUseQuantity
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUseMode
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$refs
.
medicUsePlan
.
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
$refs
.
medicalPurpose
)
{
this
.
$refs
.
medicalPurpose
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
saveSetPatientRoutes
();
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
this
.
saveSetPatientRoutes
();
}
}
else
{
console
.
log
(
"error submit!!"
);
return
false
;
}
});
}
else
{
}
else
{
console
.
log
(
"error submit!!"
);
console
.
log
(
"error submit!!"
);
return
false
;
return
false
;
...
@@ -859,59 +1135,54 @@ export default {
...
@@ -859,59 +1135,54 @@ export default {
}
}
});
});
}
else
{
}
else
{
saveSetPatientRoutes
();
this
.
saveSetPatientRoutes
();
}
}
}
}
};
},
const
msg
=
(
s
,
m
)
=>
{
msg
(
s
,
m
)
{
Message
({
setTimeout
(()
=>
{
message
:
m
,
Message
({
type
:
s
,
message
:
m
,
});
type
:
s
,
};
});
const
saveSetPatientRoutes
=
()
=>
{
},
300
);
state
.
objtable
.
route1
=
state
.
multipleSelection
;
},
state
.
objtable
.
route2
=
state
.
multipleSelection1
;
saveSetPatientRoutes
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=
${
route
.
value
.
query
.
pid
}
`
,
state
.
objtable
)
this
.
objtable
.
route1
=
this
.
multipleSelection
.
filter
((
item
)
=>
item
.
adviceType
);
this
.
objtable
.
route2
=
this
.
multipleSelection1
.
filter
((
item
)
=>
item
.
adviceType
);
http
.
post
(
`/ClinicalRoute/ClinicalRoute/SetPatientRoutes?pid=
${
this
.
$route
.
query
.
pid
}
`
,
this
.
objtable
)
.
then
(
async
(
data
)
=>
{
.
then
(
async
(
data
)
=>
{
data
.
map
((
item
)
=>
{
data
.
map
((
item
)
=>
{
if
(
item
.
code
==
"0"
)
{
if
(
item
.
code
==
"0"
)
{
setTimeout
(()
=>
{
this
.
msg
(
"success"
,
item
.
msg
);
msg
(
"success"
,
item
.
msg
);
},
300
);
}
else
{
}
else
{
setTimeout
(()
=>
{
this
.
msg
(
"error"
,
item
.
msg
);
msg
(
"error"
,
item
.
msg
);
},
300
);
}
}
});
});
getlefttime
();
this
.
getlefttime
();
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
},
//获取病情变异--变异原因下拉框
//获取病情变异--变异原因下拉框
const
getreasonoptions
=
()
=>
{
getreasonoptions
()
{
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStandardByType?crid=
${
state
.
crid
}
`
,
{})
http
.
post
(
`/ClinicalRoute/ClinicalRoute/GetStandardByType?crid=
${
this
.
crid
}
`
,
{})
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
state
.
reasonoptions
=
data
;
this
.
reasonoptions
=
data
;
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
};
},
//病情变异
//病情变异
const
variation
=
()
=>
{
variation
()
{
state
.
editdialogFormVisible
=
true
;
this
.
editdialogFormVisible
=
true
;
};
},
//确定
//确定
const
fromOKbtn
=
(
fromRef
)
=>
{
fromOKbtn
(
fromRef
)
{
let
prome
=
{
let
prome
=
{
pid
:
route
.
valu
e
.
query
.
pid
,
pid
:
this
.
$rout
e
.
query
.
pid
,
reason
:
state
.
form
.
reason
,
reason
:
this
.
form
.
reason
,
inhosdays
:
state
.
form
.
inhosdays
,
inhosdays
:
this
.
form
.
inhosdays
,
remarks
:
state
.
form
.
remarks
,
remarks
:
this
.
form
.
remarks
,
};
};
http
.
post
(
`/ClinicalRoute/ClinicalRoute/SetVariation`
,
prome
)
http
.
post
(
`/ClinicalRoute/ClinicalRoute/SetVariation`
,
prome
)
...
@@ -920,83 +1191,36 @@ export default {
...
@@ -920,83 +1191,36 @@ export default {
message
:
data
.
message
,
message
:
data
.
message
,
type
:
"success"
,
type
:
"success"
,
});
});
(
state
.
form
=
{
(
this
.
form
=
{
inhosdays
:
""
,
inhosdays
:
""
,
reason
:
""
,
reason
:
""
,
}),
}),
(
state
.
editdialogFormVisible
=
false
);
(
this
.
editdialogFormVisible
=
false
);
router
.
push
({
this
.
$
router
.
push
({
path
:
"Entrypath"
,
path
:
"Entrypath"
,
query
:
{
query
:
{
pid
:
route
.
valu
e
.
query
.
pid
,
pid
:
this
.
$rout
e
.
query
.
pid
,
},
},
});
});
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
}
;
}
,
//取消
//取消
c
onst
close
=
()
=>
{
c
lose
()
{
(
state
.
form
=
{
(
this
.
form
=
{
inhosdays
:
""
,
inhosdays
:
""
,
reason
:
""
,
reason
:
""
,
}),
}),
(
state
.
editdialogFormVisible
=
false
);
(
this
.
editdialogFormVisible
=
false
);
}
;
}
,
//下拉框鼠标移上显示提示文字
//下拉框鼠标移上显示提示文字
const
getTitle
=
(
val
)
=>
{
getTitle
(
val
)
{
if
(
val
!=
""
)
{
if
(
val
!=
""
)
{
let
a
=
state
.
reasonoptions
.
filter
((
item
)
=>
item
.
describe
==
val
);
let
a
=
this
.
reasonoptions
.
filter
((
item
)
=>
item
.
describe
==
val
);
return
a
[
0
].
describe
;
return
a
[
0
].
describe
;
}
}
};
},
onMounted
(()
=>
{
getIsRoute
();
gettopdata
();
getlefttime
();
gemedicUseModeoptions
();
gemedicUsePlanoptions
();
getmedicalPurposeoptions
();
});
return
{
...
toRefs
(
state
),
decimal
,
monthlyPlanTable
,
multipleTable
,
SelectionChange
,
gettopdata
,
getlefttime
,
timeclick
,
setChildren
,
select
,
toggleSelection
,
selectAll
,
variation
,
fromOKbtn
,
fromRef
,
numberValidateForm
,
numberValidateForm1
,
close
,
joinorder
,
getreasonoptions
,
getTitle
,
confirm
,
tableLayout
,
gemedicUseModeoptions
,
gemedicUsePlanoptions
,
radiochange
,
getmedicalPurposeoptions
,
transformTime
,
goSeeok
,
goSeeScore
,
goSeefromRef
,
goSeecolse
,
selectEnable
,
rowClass
,
remoteMethod
,
};
},
},
};
};
</
script
>
</
script
>
...
@@ -1006,7 +1230,8 @@ export default {
...
@@ -1006,7 +1230,8 @@ export default {
//
选中当前行样式
//
选中当前行样式
::v-deep
.rowStyleclass
{
::v-deep
.rowStyleclass
{
font-weight
:
700
;
font-weight
:
700
;
background-color
:
#f5f7fa
;
//
background-color
:
#f5f7fa
;
color
:
#0283bb
;
}
}
//
时间线样式
//
时间线样式
::v-deep
.el-timeline-item__tail
{
::v-deep
.el-timeline-item__tail
{
...
...
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