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
ff5f164e
Commit
ff5f164e
authored
Aug 15, 2023
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
68a4441f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
18 deletions
+66
-18
src/views/outHistorygrouping.vue
+0
-12
src/views/patientinfo.vue
+66
-6
No files found.
src/views/outHistorygrouping.vue
View file @
ff5f164e
...
...
@@ -316,18 +316,6 @@
<div
:id=
"`indexChart11file` + index"
class=
"outaddrecordEnrollment_centent_totalnum_right_echar5"
></div>
</div>
-->
</div>
<!-- 如果没有数据时的样式 -->
<!--
<div
v-show=
"addnodataShow"
class=
"outaddrecordEnrollment_centent_nodata"
>
<div
class=
"outaddrecordEnrollment_centent_nodata_img"
>
<img
src=
"../assets/img/nodata.png"
alt=
""
/>
</div>
<div
class=
"outaddrecordEnrollment_centent_nodata_text"
>
请输入要搜索的内容
</div>
</div>
-->
<div
v-show=
"addnolistShow"
class=
"outaddrecordEnrollment_centent_nodata"
>
<div
class=
"outaddrecordEnrollment_centent_nodata_img"
>
<img
src=
"../assets/img/nodata.png"
alt=
""
/>
...
...
src/views/patientinfo.vue
View file @
ff5f164e
...
...
@@ -57,7 +57,7 @@
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width:
21
0px"
style=
"width:
34
0px"
@
clear=
"search"
>
<el-option
label=
"自费"
:value=
"2"
>
</el-option>
...
...
@@ -105,6 +105,18 @@
<el-option
label=
"已分组"
:value=
"1"
>
</el-option>
<el-option
label=
"未分组"
:value=
"0"
>
</el-option>
</el-select>
<el-select
v-model=
"currentDate"
placeholder=
"当前年月"
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width: 120px"
@
change=
"handleCurrentDateChange"
>
<el-option
label=
"当前年"
:value=
"1"
>
</el-option>
<el-option
label=
"当前月"
:value=
"2"
>
</el-option>
</el-select>
<el-date-picker
v-model=
"value"
size=
"mini"
...
...
@@ -131,11 +143,20 @@
@
click=
"search"
>
查询
</el-button
>
<el-button
type=
"primary"
style=
"background: rgb(2, 131, 187); border-color: rgb(2, 131, 187)"
size=
"mini"
slot=
"append"
icon=
"el-icon-download"
@
click=
"downLoad"
>
下载
</el-button
>
</div>
</div>
</div>
<div
class=
"table flex-1 mar-top-20"
>
<el-table
border
ref=
"tableRef"
height=
"9
3
%"
:data=
"tableData"
size=
"mini"
:highlight-current-row=
"true"
>
<el-table
border
ref=
"tableRef"
height=
"9
9
%"
:data=
"tableData"
size=
"mini"
:highlight-current-row=
"true"
>
<el-table-column
align=
"center"
type=
"index"
width=
"50"
fixed=
"left"
></el-table-column>
<el-table-column
prop=
"fee_consume"
...
...
@@ -155,6 +176,7 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"a48C"
label=
"住院号"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
fixed=
"left"
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"姓名"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
fixed=
"left"
></el-table-column>
<el-table-column
prop=
"inhostime"
label=
"入院日期"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
>
<
template
#
default=
"scope"
>
...
...
@@ -210,8 +232,8 @@
</el-table-column>
<el-table-column
prop=
"medical_proportion"
label=
"医务性收入"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"other_proportion"
label=
"其他"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
>
</el-table-column>
</el-table>
</div>
<div
class=
"flex-end mar-top-20"
>
<el-pagination
background
...
...
@@ -226,7 +248,6 @@
</div>
</div>
</div>
</div>
</template>
<
script
>
import
http
from
"../utils/http"
;
...
...
@@ -245,6 +266,7 @@ export default {
a11
:
""
,
b16C
:
""
,
isjoin
:
null
,
currentDate
:
null
,
isout
:
null
,
insuranceType
:
null
,
doctorName
:
""
,
...
...
@@ -305,8 +327,35 @@ export default {
return
false
;
}
},
//查询
downLoad
()
{
let
parmar
=
{
pageNumber
:
this
.
pageNumber
,
pageSize
:
this
.
pageSize
,
a48
:
this
.
a48
,
a11
:
this
.
a11
,
b16C
:
this
.
b16C
,
beginDate
:
this
.
value
?
this
.
value
[
0
]
:
""
,
endDate
:
this
.
value
?
this
.
value
[
1
]
:
""
,
isjoin
:
this
.
isjoin
,
isout
:
this
.
isout
,
doctorName
:
this
.
doctorName
,
codeName
:
this
.
codeName
,
dis_type
:
this
.
dis_type
,
insuranceType
:
this
.
insuranceType
,
// searchQuery: "string",
// sortBy: "string",
};
http
.
post
(
`/screen/hos/GetHistoryListExcelDownload`
,
parmar
,
{
responseType
:
"blob"
}).
then
((
data
)
=>
{
const
link
=
document
.
createElement
(
"a"
);
const
blob
=
new
Blob
([
data
],
{
type
:
"application/vnd.ms-excel"
});
link
.
style
.
display
=
"none"
;
link
.
href
=
URL
.
createObjectURL
(
blob
);
link
.
setAttribute
(
"download"
,
`病案数据详情.xlsx`
);
document
.
body
.
appendChild
(
link
);
link
.
click
();
document
.
body
.
removeChild
(
link
);
});
},
//查询
search
()
{
this
.
pageSize
=
100
;
this
.
pageNumber
=
1
;
...
...
@@ -360,6 +409,17 @@ export default {
this
.
pageSize
=
val
;
this
.
getList
();
},
handleCurrentDateChange
()
{
if
(
this
.
currentDate
===
1
)
{
this
.
value
=
[
`
${
dayjs
().
format
(
"YYYY"
)}
-01-01`
,
`
${
dayjs
().
format
(
"YYYY"
)}
-12-31`
];
}
else
if
(
this
.
currentDate
===
2
)
{
this
.
value
=
[
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-01`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-
${
this
.
getDayNumByYearMonth
(
dayjs
().
format
(
"YYYY"
),
dayjs
().
format
(
"MM"
))}
`
,
];
}
this
.
search
();
},
},
};
</
script
>
...
...
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