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
73a46dd7
Commit
73a46dd7
authored
Aug 17, 2023
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
p
parent
ff5f164e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
21 deletions
+31
-21
src/views/patientinfo.vue
+31
-21
No files found.
src/views/patientinfo.vue
View file @
73a46dd7
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
v-model
.
trim=
"a48"
v-model
.
trim=
"a48"
style=
"width: 1
8
0px"
style=
"width: 1
6
0px"
placeholder=
"请输入病案号"
placeholder=
"请输入病案号
/住院号
"
clearable
clearable
@
clear=
"search"
@
clear=
"search"
@
keyup
.
enter
.
native=
"search"
@
keyup
.
enter
.
native=
"search"
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
v-model
.
trim=
"a11"
v-model
.
trim=
"a11"
style=
"width: 1
9
0px"
style=
"width: 1
6
0px"
placeholder=
"请输入患者姓名"
placeholder=
"请输入患者姓名"
clearable
clearable
@
clear=
"search"
@
clear=
"search"
...
@@ -40,14 +40,14 @@
...
@@ -40,14 +40,14 @@
class=
"mar-right-10"
class=
"mar-right-10"
v-model
.
trim=
"b16C"
v-model
.
trim=
"b16C"
filterable
filterable
style=
"width: 1
8
0px"
style=
"width: 1
6
0px"
placeholder=
"当前科室"
placeholder=
"当前科室"
clearable
clearable
@
clear=
"search"
@
clear=
"search"
>
>
<el-option
v-for=
"item in deptList"
:key=
"item.deptCode"
:label=
"item.deptName"
:value=
"item.deptCode"
>
</el-option>
<el-option
v-for=
"item in deptList"
:key=
"item.deptCode"
:label=
"item.deptName"
:value=
"item.deptCode"
>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"isout"
placeholder=
"是否出院"
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width: 1
8
0px"
@
clear=
"search"
>
<el-select
v-model=
"isout"
placeholder=
"是否出院"
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width: 1
6
0px"
@
clear=
"search"
>
<el-option
label=
"已出院"
:value=
"1"
>
</el-option>
<el-option
label=
"已出院"
:value=
"1"
>
</el-option>
<el-option
label=
"未出院"
:value=
"0"
>
</el-option>
<el-option
label=
"未出院"
:value=
"0"
>
</el-option>
</el-select>
</el-select>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
clearable
clearable
style=
"width: 3
4
0px"
style=
"width: 3
2
0px"
@
clear=
"search"
@
clear=
"search"
>
>
<el-option
label=
"自费"
:value=
"2"
>
</el-option>
<el-option
label=
"自费"
:value=
"2"
>
</el-option>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
v-model
.
trim=
"doctorName"
v-model
.
trim=
"doctorName"
style=
"width: 1
8
0px"
style=
"width: 1
6
0px"
placeholder=
"请输入主治医生"
placeholder=
"请输入主治医生"
clearable
clearable
@
clear=
"search"
@
clear=
"search"
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
v-model
.
trim=
"codeName"
v-model
.
trim=
"codeName"
style=
"width: 1
9
0px"
style=
"width: 1
6
0px"
placeholder=
"请输入分组编码/分组名称"
placeholder=
"请输入分组编码/分组名称"
clearable
clearable
@
clear=
"search"
@
clear=
"search"
...
@@ -94,14 +94,14 @@
...
@@ -94,14 +94,14 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
clearable
clearable
style=
"width: 1
8
0px"
style=
"width: 1
6
0px"
@
clear=
"search"
@
clear=
"search"
>
>
<el-option
label=
"高倍率病例"
value=
"高倍率病例"
>
</el-option>
<el-option
label=
"高倍率病例"
value=
"高倍率病例"
>
</el-option>
<el-option
label=
"正常病例"
value=
"正常病例"
>
</el-option>
<el-option
label=
"正常病例"
value=
"正常病例"
>
</el-option>
<el-option
label=
"低倍率病例"
value=
"低倍率病例"
>
</el-option>
<el-option
label=
"低倍率病例"
value=
"低倍率病例"
>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"isjoin"
placeholder=
"分组状态"
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width: 1
8
0px"
@
clear=
"search"
>
<el-select
v-model=
"isjoin"
placeholder=
"分组状态"
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width: 1
6
0px"
@
clear=
"search"
>
<el-option
label=
"已分组"
:value=
"1"
>
</el-option>
<el-option
label=
"已分组"
:value=
"1"
>
</el-option>
<el-option
label=
"未分组"
:value=
"0"
>
</el-option>
<el-option
label=
"未分组"
:value=
"0"
>
</el-option>
</el-select>
</el-select>
...
@@ -111,14 +111,14 @@
...
@@ -111,14 +111,14 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
clearable
clearable
style=
"width: 1
2
0px"
style=
"width: 1
0
0px"
@
change=
"handleCurrentDateChange"
@
change=
"handleCurrentDateChange"
>
>
<el-option
label=
"当前年"
:value=
"1"
>
</el-option>
<el-option
label=
"当前年"
:value=
"1"
>
</el-option>
<el-option
label=
"当前月"
:value=
"2"
>
</el-option>
<el-option
label=
"当前月"
:value=
"2"
>
</el-option>
</el-select>
</el-select>
<el-date-picker
<el-date-picker
v-model=
"
valu
e"
v-model=
"
tim
e"
size=
"mini"
size=
"mini"
style=
"width: 210px"
style=
"width: 210px"
type=
"daterange"
type=
"daterange"
...
@@ -198,7 +198,7 @@
...
@@ -198,7 +198,7 @@
<span>
{{
decimal
(
scope
.
row
.
total_fee
)
}}
</span>
<span>
{{
decimal
(
scope
.
row
.
total_fee
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"self_payment"
label=
"
自费费用"
sortable
align=
"center"
min-width=
"12
0"
show-overflow-tooltip
>
<el-table-column
prop=
"self_payment"
label=
"
结算后自付费用"
sortable
align=
"center"
min-width=
"13
0"
show-overflow-tooltip
>
<
template
#
default=
"scope"
>
<
template
#
default=
"scope"
>
<span>
{{
decimal
(
scope
.
row
.
self_payment
)
}}
</span>
<span>
{{
decimal
(
scope
.
row
.
self_payment
)
}}
</span>
</
template
>
</
template
>
...
@@ -259,7 +259,7 @@ export default {
...
@@ -259,7 +259,7 @@ export default {
name
:
"patientinfo"
,
name
:
"patientinfo"
,
data
()
{
data
()
{
return
{
return
{
value
:
""
,
time
:
[]
,
pageNumber
:
1
,
pageNumber
:
1
,
pageSize
:
100
,
pageSize
:
100
,
a48
:
""
,
a48
:
""
,
...
@@ -284,7 +284,7 @@ export default {
...
@@ -284,7 +284,7 @@ export default {
},
},
beforeMount
()
{},
beforeMount
()
{},
mounted
()
{
mounted
()
{
this
.
valu
e
=
[
this
.
tim
e
=
[
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-01`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-01`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-
${
this
.
getDayNumByYearMonth
(
dayjs
().
format
(
"YYYY"
),
dayjs
().
format
(
"MM"
))}
`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-
${
this
.
getDayNumByYearMonth
(
dayjs
().
format
(
"YYYY"
),
dayjs
().
format
(
"MM"
))}
`
,
];
];
...
@@ -334,8 +334,8 @@ export default {
...
@@ -334,8 +334,8 @@ export default {
a48
:
this
.
a48
,
a48
:
this
.
a48
,
a11
:
this
.
a11
,
a11
:
this
.
a11
,
b16C
:
this
.
b16C
,
b16C
:
this
.
b16C
,
beginDate
:
this
.
value
?
this
.
valu
e
[
0
]
:
""
,
beginDate
:
this
.
time
?
this
.
tim
e
[
0
]
:
""
,
endDate
:
this
.
value
?
this
.
valu
e
[
1
]
:
""
,
endDate
:
this
.
time
?
this
.
tim
e
[
1
]
:
""
,
isjoin
:
this
.
isjoin
,
isjoin
:
this
.
isjoin
,
isout
:
this
.
isout
,
isout
:
this
.
isout
,
doctorName
:
this
.
doctorName
,
doctorName
:
this
.
doctorName
,
...
@@ -369,8 +369,8 @@ export default {
...
@@ -369,8 +369,8 @@ export default {
a48
:
this
.
a48
,
a48
:
this
.
a48
,
a11
:
this
.
a11
,
a11
:
this
.
a11
,
b16C
:
this
.
b16C
,
b16C
:
this
.
b16C
,
beginDate
:
this
.
value
?
this
.
valu
e
[
0
]
:
""
,
beginDate
:
this
.
time
?
this
.
tim
e
[
0
]
:
""
,
endDate
:
this
.
value
?
this
.
valu
e
[
1
]
:
""
,
endDate
:
this
.
time
?
this
.
tim
e
[
1
]
:
""
,
isjoin
:
this
.
isjoin
,
isjoin
:
this
.
isjoin
,
isout
:
this
.
isout
,
isout
:
this
.
isout
,
doctorName
:
this
.
doctorName
,
doctorName
:
this
.
doctorName
,
...
@@ -382,6 +382,9 @@ export default {
...
@@ -382,6 +382,9 @@ export default {
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
this
.
tableData
=
data
.
list
;
this
.
tableData
=
data
.
list
;
this
.
totalCount
=
data
.
totalCount
;
this
.
totalCount
=
data
.
totalCount
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
tableRef
.
doLayout
();
});
})
})
.
catch
((
error
)
=>
{});
.
catch
((
error
)
=>
{});
},
},
...
@@ -411,9 +414,9 @@ export default {
...
@@ -411,9 +414,9 @@ export default {
},
},
handleCurrentDateChange
()
{
handleCurrentDateChange
()
{
if
(
this
.
currentDate
===
1
)
{
if
(
this
.
currentDate
===
1
)
{
this
.
valu
e
=
[
`
${
dayjs
().
format
(
"YYYY"
)}
-01-01`
,
`
${
dayjs
().
format
(
"YYYY"
)}
-12-31`
];
this
.
tim
e
=
[
`
${
dayjs
().
format
(
"YYYY"
)}
-01-01`
,
`
${
dayjs
().
format
(
"YYYY"
)}
-12-31`
];
}
else
if
(
this
.
currentDate
===
2
)
{
}
else
if
(
this
.
currentDate
===
2
)
{
this
.
valu
e
=
[
this
.
tim
e
=
[
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-01`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-01`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-
${
this
.
getDayNumByYearMonth
(
dayjs
().
format
(
"YYYY"
),
dayjs
().
format
(
"MM"
))}
`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-
${
this
.
getDayNumByYearMonth
(
dayjs
().
format
(
"YYYY"
),
dayjs
().
format
(
"MM"
))}
`
,
];
];
...
@@ -437,6 +440,13 @@ export default {
...
@@ -437,6 +440,13 @@ export default {
padding
:
20px
;
padding
:
20px
;
display
:
flex
;
display
:
flex
;
flex-flow
:
column
;
flex-flow
:
column
;
.el-table__body
tr.current-row
>
td.el-table__cell
{
background-color
:
rgb
(
2
,
131
,
187
);
color
:
#fff
;
}
.el-table
{
color
:
#333
;
}
}
}
}
}
</
style
>
</
style
>
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