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
1bef3162
Commit
1bef3162
authored
Aug 31, 2023
by
唐玉峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5e45b747
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
12 deletions
+68
-12
src/views/patientinfo.vue
+68
-12
No files found.
src/views/patientinfo.vue
View file @
1bef3162
...
@@ -2,14 +2,14 @@
...
@@ -2,14 +2,14 @@
<div
class=
"patientinfo"
>
<div
class=
"patientinfo"
>
<div
style=
"height: 30px; background-color: #0283bb"
></div>
<div
style=
"height: 30px; background-color: #0283bb"
></div>
<div
class=
"main"
>
<div
class=
"main"
>
<div
class=
"
flex-between-center
"
>
<div
class=
""
>
<div
class=
"flex-start-center"
>
<div
class=
"flex-start-center"
>
<div
class=
"flex-start-center mar-right-10"
v-for=
"(value, key, index) in obj"
:key=
"index"
>
<div
class=
"flex-start-center mar-right-10"
v-for=
"(value, key, index) in obj"
:key=
"index"
>
<span
class=
"mar-right-10"
style=
"width: 12px; height: 12px"
:style=
"
{ background: value }">
</span>
<span
class=
"mar-right-10"
style=
"width: 12px; height: 12px"
:style=
"
{ background: value }">
</span>
<span
class=
"color-666 font-14"
>
{{
key
}}
</span>
<span
class=
"color-666 font-14"
>
{{
key
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"flex-between"
>
<div
class=
"flex-between
mar-top-15
"
>
<div>
<div>
<div
class=
"mar-bottom-10"
>
<div
class=
"mar-bottom-10"
>
<el-input
<el-input
...
@@ -57,13 +57,40 @@
...
@@ -57,13 +57,40 @@
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
clearable
clearable
style=
"width:
32
0px"
style=
"width:
16
0px"
@
clear=
"search"
@
clear=
"search"
>
>
<el-option
label=
"自费"
:value=
"2"
>
</el-option>
<el-option
label=
"自费"
:value=
"2"
>
</el-option>
<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>
<span
class=
"font-14 color-999"
>
入院时间:
</span>
<el-select
v-model=
"currentDate"
placeholder=
"当前年月"
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width: 100px"
@
change=
"handleCurrentDateChange"
>
<el-option
label=
"当前年"
:value=
"1"
>
</el-option>
<el-option
label=
"当前月"
:value=
"2"
>
</el-option>
</el-select>
<el-date-picker
v-model=
"time"
size=
"mini"
style=
"width: 210px"
type=
"daterange"
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
class=
"mar-right-10"
@
change=
"search"
range-separator=
"至"
start-placeholder=
"入院日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</div>
</div>
<div>
<div>
<el-input
<el-input
...
@@ -105,20 +132,25 @@
...
@@ -105,20 +132,25 @@
<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>
<el-select
v-model=
"shzt"
placeholder=
"审核状态"
size=
"mini"
class=
"mar-right-10"
clearable
style=
"width: 160px"
@
clear=
"search"
>
<el-option
label=
"已审核"
value=
"已审"
>
</el-option>
<el-option
label=
"未审核"
value=
"未审"
>
</el-option>
</el-select>
<span
class=
"font-14 color-999"
>
结算时间:
</span>
<el-select
<el-select
v-model=
"currentDate"
v-model=
"currentDate
1
"
placeholder=
"当前年月"
placeholder=
"当前年月"
size=
"mini"
size=
"mini"
class=
"mar-right-10"
class=
"mar-right-10"
clearable
clearable
style=
"width: 100px"
style=
"width: 100px"
@
change=
"handleCurrentDateChange"
@
change=
"handleCurrentDateChange
1
"
>
>
<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=
"time"
v-model=
"time
1
"
size=
"mini"
size=
"mini"
style=
"width: 210px"
style=
"width: 210px"
type=
"daterange"
type=
"daterange"
...
@@ -127,7 +159,7 @@
...
@@ -127,7 +159,7 @@
class=
"mar-right-10"
class=
"mar-right-10"
@
change=
"search"
@
change=
"search"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"
入院
日期"
start-placeholder=
"
结算
日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
>
>
</el-date-picker>
</el-date-picker>
...
@@ -155,7 +187,7 @@
...
@@ -155,7 +187,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"table flex-1 mar-top-
20
"
>
<div
class=
"table flex-1 mar-top-
15
"
>
<el-table
border
ref=
"tableRef"
height=
"93%"
:data=
"tableData"
size=
"mini"
:highlight-current-row=
"true"
>
<el-table
border
ref=
"tableRef"
height=
"93%"
: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
align=
"center"
type=
"index"
width=
"50"
fixed=
"left"
></el-table-column>
<el-table-column
label=
"同步更新"
align=
"center"
min-width=
"80"
show-overflow-tooltip
fixed=
"left"
>
<el-table-column
label=
"同步更新"
align=
"center"
min-width=
"80"
show-overflow-tooltip
fixed=
"left"
>
...
@@ -237,6 +269,12 @@
...
@@ -237,6 +269,12 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"medical_proportion"
label=
"医务性收入"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
>
<el-table-column
prop=
"medical_proportion"
label=
"医务性收入"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"jssj"
label=
"结算日期"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
>
<
template
#
default=
"scope"
>
<span>
{{
scope
.
row
.
jssj
?
formatYMD
(
scope
.
row
.
jssj
)
:
""
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"shzt"
label=
"审核状态"
sortable
align=
"center"
min-width=
"120"
show-overflow-tooltip
></el-table-column>
</el-table>
</el-table>
</div>
</div>
<div
class=
"flex-end mar-top-20"
>
<div
class=
"flex-end mar-top-20"
>
...
@@ -264,7 +302,8 @@ export default {
...
@@ -264,7 +302,8 @@ export default {
name
:
"patientinfo"
,
name
:
"patientinfo"
,
data
()
{
data
()
{
return
{
return
{
time
:
[],
time
:
""
,
time1
:
""
,
pageNumber
:
1
,
pageNumber
:
1
,
pageSize
:
100
,
pageSize
:
100
,
a48
:
""
,
a48
:
""
,
...
@@ -272,11 +311,13 @@ export default {
...
@@ -272,11 +311,13 @@ export default {
b16C
:
""
,
b16C
:
""
,
isjoin
:
null
,
isjoin
:
null
,
currentDate
:
null
,
currentDate
:
null
,
currentDate1
:
null
,
isout
:
null
,
isout
:
null
,
insuranceType
:
null
,
insuranceType
:
null
,
doctorName
:
""
,
doctorName
:
""
,
codeName
:
""
,
codeName
:
""
,
dis_type
:
""
,
dis_type
:
""
,
shzt
:
""
,
obj
:
{
obj
:
{
正常病例
:
"#22d016"
,
正常病例
:
"#22d016"
,
低倍率病例
:
"#e9c622"
,
低倍率病例
:
"#e9c622"
,
...
@@ -293,6 +334,7 @@ export default {
...
@@ -293,6 +334,7 @@ export default {
`
${
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"
))}
`
,
];
];
this
.
GetDeptList
();
this
.
GetDeptList
();
},
},
methods
:
{
methods
:
{
...
@@ -300,7 +342,6 @@ export default {
...
@@ -300,7 +342,6 @@ export default {
formatYMD
(
t
)
{
formatYMD
(
t
)
{
return
dayjs
(
t
).
format
(
"YYYY-MM-DD"
);
return
dayjs
(
t
).
format
(
"YYYY-MM-DD"
);
},
},
getDayNumByYearMonth
(
year
,
month
)
{
getDayNumByYearMonth
(
year
,
month
)
{
switch
(
month
)
{
switch
(
month
)
{
case
"01"
:
case
"01"
:
...
@@ -347,8 +388,9 @@ export default {
...
@@ -347,8 +388,9 @@ export default {
codeName
:
this
.
codeName
,
codeName
:
this
.
codeName
,
dis_type
:
this
.
dis_type
,
dis_type
:
this
.
dis_type
,
insuranceType
:
this
.
insuranceType
,
insuranceType
:
this
.
insuranceType
,
// searchQuery: "string",
jssjBeginDate
:
this
.
time1
?
this
.
time1
[
0
]
:
""
,
// sortBy: "string",
jssjEndDate
:
this
.
time1
?
this
.
time1
[
1
]
:
""
,
shzt
:
this
.
shzt
,
};
};
http
.
post
(
`/screen/hos/GetHistoryListExcelDownload`
,
parmar
,
{
responseType
:
"blob"
}).
then
((
data
)
=>
{
http
.
post
(
`/screen/hos/GetHistoryListExcelDownload`
,
parmar
,
{
responseType
:
"blob"
}).
then
((
data
)
=>
{
const
link
=
document
.
createElement
(
"a"
);
const
link
=
document
.
createElement
(
"a"
);
...
@@ -382,6 +424,9 @@ export default {
...
@@ -382,6 +424,9 @@ export default {
codeName
:
this
.
codeName
,
codeName
:
this
.
codeName
,
dis_type
:
this
.
dis_type
,
dis_type
:
this
.
dis_type
,
insuranceType
:
this
.
insuranceType
,
insuranceType
:
this
.
insuranceType
,
jssjBeginDate
:
this
.
time1
?
this
.
time1
[
0
]
:
""
,
jssjEndDate
:
this
.
time1
?
this
.
time1
[
1
]
:
""
,
shzt
:
this
.
shzt
,
};
};
http
.
post
(
`/screen/hos/GetHistoryList`
,
parmar
)
http
.
post
(
`/screen/hos/GetHistoryList`
,
parmar
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
...
@@ -440,6 +485,17 @@ export default {
...
@@ -440,6 +485,17 @@ export default {
}
}
this
.
search
();
this
.
search
();
},
},
handleCurrentDateChange1
()
{
if
(
this
.
currentDate1
===
1
)
{
this
.
time1
=
[
`
${
dayjs
().
format
(
"YYYY"
)}
-01-01`
,
`
${
dayjs
().
format
(
"YYYY"
)}
-12-31`
];
}
else
if
(
this
.
currentDate1
===
2
)
{
this
.
time1
=
[
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-01`
,
`
${
dayjs
().
format
(
"YYYY-MM"
)}
-
${
this
.
getDayNumByYearMonth
(
dayjs
().
format
(
"YYYY"
),
dayjs
().
format
(
"MM"
))}
`
,
];
}
this
.
search
();
},
},
},
};
};
</
script
>
</
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