Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-business-web
Commits
669570b0
Commit
669570b0
authored
Aug 16, 2023
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zhuyuan
parent
44e3a905
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
8 deletions
+23
-8
element-ui.scss
src/assets/styles/element-ui.scss
+3
-1
hospitalization-management.vue
...hospitalization-management/hospitalization-management.vue
+20
-7
No files found.
src/assets/styles/element-ui.scss
View file @
669570b0
...
@@ -114,7 +114,9 @@
...
@@ -114,7 +114,9 @@
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#5FB54B
;
color
:
#5FB54B
;
}
}
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
.el-table__cell
{
background-color
:
#F6FCF5
;
}
.el-form-item--small.el-form-item
{
.el-form-item--small.el-form-item
{
margin-right
:
20px
!
important
;
margin-right
:
20px
!
important
;
}
}
...
...
src/views/service-management/hospitalization-management/hospitalization-management.vue
View file @
669570b0
...
@@ -108,6 +108,7 @@
...
@@ -108,6 +108,7 @@
v-loading=
"loading"
v-loading=
"loading"
:data=
"hospitalList"
:data=
"hospitalList"
:row-key=
"getRowKeys"
:row-key=
"getRowKeys"
:row-class-name=
"highlightRow"
:header-cell-style=
"
{ background:'#E8E9E8' }"
:header-cell-style=
"
{ background:'#E8E9E8' }"
@selection-change="handleSelectionChange"
@selection-change="handleSelectionChange"
>
>
...
@@ -178,7 +179,7 @@
...
@@ -178,7 +179,7 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"押金余额"
align
=
"left"
prop
=
"deposit"
:
show
-
overflow
-
tooltip
=
"true"
>
<
el
-
table
-
column
label
=
"押金余额"
align
=
"left"
prop
=
"deposit"
:
show
-
overflow
-
tooltip
=
"true"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
scope
.
row
.
deposit
||
'0.00'
}}
元
<
/span
>
<
span
>
{{
moneyFormat
(
scope
.
row
.
deposit
)
||
'0.00'
}}
元
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"状态"
align
=
"left"
prop
=
"status"
:
show
-
overflow
-
tooltip
=
"true"
>
<
el
-
table
-
column
label
=
"状态"
align
=
"left"
prop
=
"status"
:
show
-
overflow
-
tooltip
=
"true"
>
...
@@ -192,14 +193,14 @@
...
@@ -192,14 +193,14 @@
<
span
>
{{
parseTime
(
scope
.
row
.
dischargeDate
,
'{y
}
/{m
}
/{d
}
'
)
||
'-'
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
dischargeDate
,
'{y
}
/{m
}
/{d
}
'
)
||
'-'
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
min
-
width
=
"180px"
>
<
el
-
table
-
column
label
=
"操作"
class
-
name
=
"small-padding fixed-width"
align
=
"center"
min
-
width
=
"180px"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
<
el
-
button
v
-
hasPermi
=
"['business:hospital:query']"
v
-
hasPermi
=
"['business:hospital:query']"
icon
=
"el-icon-document"
icon
=
"el-icon-document"
plain
plain
size
=
"mini"
size
=
"mini"
style
=
"width: 55px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(95,181,75);
"
class
=
"el-button--success--solid
"
type
=
"success"
type
=
"success"
@
click
=
"handleDetails(scope.row)"
@
click
=
"handleDetails(scope.row)"
>
详情
<
/el-button
>
>
详情
<
/el-button
>
...
@@ -209,7 +210,7 @@
...
@@ -209,7 +210,7 @@
icon
=
"el-icon-paperclip"
icon
=
"el-icon-paperclip"
plain
plain
size
=
"mini"
size
=
"mini"
style
=
"width: 80px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255,157,78);
"
class
=
"el-button--warning--solid--four
"
type
=
"warning"
type
=
"warning"
@
click
=
"handleadmission(scope.row)"
@
click
=
"handleadmission(scope.row)"
>
办理入院
<
/el-button
>
>
办理入院
<
/el-button
>
...
@@ -218,7 +219,7 @@
...
@@ -218,7 +219,7 @@
icon
=
"el-icon-paperclip"
icon
=
"el-icon-paperclip"
plain
plain
size
=
"mini"
size
=
"mini"
style
=
"width: 80px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255,157,78);
"
class
=
"el-button--warning--solid--four
"
type
=
"warning"
type
=
"warning"
:
disabled
=
"true"
:
disabled
=
"true"
>
办理入院
<
/el-button
>
>
办理入院
<
/el-button
>
...
@@ -228,7 +229,7 @@
...
@@ -228,7 +229,7 @@
icon
=
"el-icon-paperclip"
icon
=
"el-icon-paperclip"
plain
plain
size
=
"mini"
size
=
"mini"
style
=
"width: 80px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255,157,78);
"
class
=
"el-button--warning--solid--four
"
type
=
"warning"
type
=
"warning"
@
click
=
"handleDischargeMe(scope.row)"
@
click
=
"handleDischargeMe(scope.row)"
>
办理出院
<
/el-button
>
>
办理出院
<
/el-button
>
...
@@ -237,7 +238,7 @@
...
@@ -237,7 +238,7 @@
icon
=
"el-icon-paperclip"
icon
=
"el-icon-paperclip"
plain
plain
size
=
"mini"
size
=
"mini"
style
=
"width: 80px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255,157,78);
"
class
=
"el-button--warning--solid--four
"
type
=
"warning"
type
=
"warning"
>
导出明细
<
/el-button
>
>
导出明细
<
/el-button
>
<
/template
>
<
/template
>
...
@@ -264,6 +265,7 @@ import { getHospital, listHospital, listInHospitalNoPage, listWardSelect } from
...
@@ -264,6 +265,7 @@ import { getHospital, listHospital, listInHospitalNoPage, listWardSelect } from
import
HandlingAdmissions
import
HandlingAdmissions
from
'@/views/service-management/hospitalization-management/components/handling-admissions.vue'
from
'@/views/service-management/hospitalization-management/components/handling-admissions.vue'
import
HandleDischarge
from
'@/views/service-management/hospitalization-management/components/handle-discharge.vue'
import
HandleDischarge
from
'@/views/service-management/hospitalization-management/components/handle-discharge.vue'
import
{
moneyFormat
}
from
'../../../utils'
export
default
{
export
default
{
name
:
'HospitalizationManagement'
,
name
:
'HospitalizationManagement'
,
...
@@ -340,6 +342,12 @@ export default {
...
@@ -340,6 +342,12 @@ export default {
this
.
getWardSelect
()
this
.
getWardSelect
()
}
,
}
,
methods
:
{
methods
:
{
moneyFormat
,
highlightRow
(
scope
)
{
if
(
scope
.
row
.
diseaseLevel
===
'1'
)
{
return
'height-line'
}
}
,
// 病房下拉框
// 病房下拉框
getWardSelect
()
{
getWardSelect
()
{
listWardSelect
().
then
(
res
=>
{
listWardSelect
().
then
(
res
=>
{
...
@@ -484,6 +492,11 @@ export default {
...
@@ -484,6 +492,11 @@ export default {
}
}
}
}
<
/script
>
<
/script
>
<
style
>
.
height
-
line
{
background
-
color
:
rgba
(
85
,
163
,
67
,
0.2
)
!
important
;
}
<
/style
>
<
style
scoped
lang
=
"scss"
>
<
style
scoped
lang
=
"scss"
>
.
app
-
container
{
.
app
-
container
{
background
-
color
:
#
FFFFFF
;
background
-
color
:
#
FFFFFF
;
...
...
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