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
64f873e3
Commit
64f873e3
authored
Sep 01, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
7437aff6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+4
-9
No files found.
src/views/medical-record-management/medical-edit.vue
View file @
64f873e3
...
...
@@ -1165,7 +1165,7 @@ color: #333333;"
>
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"isEdit && !petInHospitalStatus && !petInHospitalUpdateShow
&& ( scope.row.status === '0' || scope.row.status === '1' )
"
v-if=
"isEdit && !petInHospitalStatus && !petInHospitalUpdateShow"
plain
size=
"mini"
style=
"width: 50px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(52,144,206);"
...
...
@@ -1184,7 +1184,7 @@ color: #333333;"
>
保存
</el-button>
<el-button
v-if=
"isEdit && !petInHospitalStatus && !petInHospitalUpdateShow
&& ( scope.row.status === '0' || scope.row.status === '1' )
"
v-if=
"isEdit && !petInHospitalStatus && !petInHospitalUpdateShow"
id=
"remove-hospitalized"
icon=
"el-icon-document"
plain
...
...
@@ -1986,20 +1986,15 @@ export default {
// 住院情况
if
(
response
.
data
.
inHospitalBo
.
status
===
'0'
||
response
.
data
.
inHospitalBo
.
status
===
'1'
||
response
.
data
.
inHospitalBo
.
status
===
'2'
)
{
this
.
petInHospitalList
.
push
(
response
.
data
.
inHospitalBo
)
this
.
petInHospitalStatus
=
false
}
else
{
this
.
petInHospitalList
=
response
.
data
.
hosDetailBos
this
.
petInHospitalStatus
=
true
}
console
.
log
(
'住院情况'
,
this
.
petInHospitalList
)
if
(
response
.
data
.
hosDetailBos
)
{
this
.
editCunt
.
inHospitalBos
=
response
.
data
.
hosDetailBos
.
length
}
if
(
this
.
petInHospitalList
!==
undefined
&&
this
.
petInHospitalList
!==
null
)
{
this
.
petInHospitalList
.
forEach
(
item
=>
{
if
(
item
.
status
!==
'1'
&&
item
.
status
!==
'2'
)
{
this
.
petInHospitalStatus
=
true
}
})
}
})
// this.getInHospitalList(this.$route.params.id)
},
...
...
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