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
6662f333
Commit
6662f333
authored
Jun 19, 2023
by
v_liuhuaizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
病例管理-->编辑-->检查完毕
parent
c4ec70d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+16
-5
No files found.
src/views/medical-record-management/medical-edit.vue
View file @
6662f333
...
...
@@ -628,8 +628,7 @@ color: #333333;"
>
编辑
</el-button>
<el-button
v-if=
"(scope.row.payType === '0'||scope.row.isAdd) && scope.row.inputShow"
v-hasPermi=
"['business:case:save']"
v-if=
"(scope.row.payType === '0'|| scope.row.isAdd ) && scope.row.inputShow"
icon=
"el-icon-edit"
plain
size=
"mini"
...
...
@@ -789,7 +788,7 @@ color: #333333;"
import
{
parseTime
,
selectDictLabel
}
from
'@/utils/ruoyi'
// 引入进度信息模组件
import
scheduleInfo
from
'@/views/service-management/registration-queue/components/schedule-info'
import
{
addCheck
,
checkList
,
deleteCheck
,
getRecord
,
listByType
}
from
'@/api/business/mdeicalRecord'
import
{
addCheck
,
checkList
,
deleteCheck
,
getRecord
,
listByType
,
updateCheck
}
from
'@/api/business/mdeicalRecord'
import
{
mapGetters
}
from
'vuex'
export
default
{
name
:
'MedicalEdit'
,
...
...
@@ -1196,7 +1195,7 @@ export default {
const
rowData
=
this
[
listName
][
index
]
// 行信息
// 检查信息保存-- 新增保存 编辑保存
if
(
listName
===
'checkManageBos'
)
{
if
(
this
[
listName
][
index
].
isAdd
)
{
//
if
(
this
[
listName
][
index
].
isAdd
)
{
//
新增保存
const
temp
=
{
petsId
:
this
.
petInfo
.
petsId
,
medicalRecordId
:
rowData
.
id
,
...
...
@@ -1207,7 +1206,19 @@ export default {
checkItemsId
:
rowData
.
checkItemsId
,
checkItemsName
:
rowData
.
checkItemsName
}
addCheck
(
temp
).
then
(()
=>
{
addCheck
([
temp
]).
then
(()
=>
{
this
.
$message
.
success
(
'保存成功'
)
// 刷新检查信息列表
this
.
getCheckList
()
})
}
else
{
const
temp
=
{
checkType
:
rowData
.
checkType
,
checkItemsId
:
rowData
.
checkItemsId
,
checkItemsName
:
rowData
.
checkItemsName
,
}
// 编辑保存
updateCheck
([
temp
]).
then
(()
=>
{
this
.
$message
.
success
(
'保存成功'
)
// 刷新检查信息列表
this
.
getCheckList
()
...
...
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