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
ebe34828
Commit
ebe34828
authored
Jun 20, 2023
by
v_liuhuaizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
病例--功能完成 暂存1
parent
30cfb8f9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
280 additions
and
227 deletions
+280
-227
mdeicalRecord.js
src/api/business/mdeicalRecord.js
+8
-0
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+257
-217
medical-record-management.vue
...s/medical-record-management/medical-record-management.vue
+2
-2
prescribing-modle.vue
...ement/registration-queue/components/prescribing-modle.vue
+3
-1
registration-detail.vue
...ice-management/registration-queue/registration-detail.vue
+10
-7
No files found.
src/api/business/mdeicalRecord.js
View file @
ebe34828
...
...
@@ -75,3 +75,11 @@ export function deleteTreat(id) {
method
:
'delete'
})
}
// 编辑病例
export
function
editRecord
(
data
)
{
return
request
({
url
:
'/business/record'
,
method
:
'put'
,
data
})
}
src/views/medical-record-management/medical-edit.vue
View file @
ebe34828
This diff is collapsed.
Click to expand it.
src/views/medical-record-management/medical-record-management.vue
View file @
ebe34828
...
...
@@ -127,7 +127,7 @@
<
el
-
table
-
column
align
=
"center"
show
-
overflow
-
tooltip
class
-
name
=
"small-padding fixed-width"
label
=
"操作"
min
-
width
=
"180"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
v
-
hasPermi
=
"['business:
case
:edit']"
v
-
hasPermi
=
"['business:
record
:edit']"
icon
=
"el-icon-document"
plain
size
=
"mini"
...
...
@@ -137,7 +137,7 @@
>
详情
<
/el-button
>
<
el
-
button
v
-
hasPermi
=
"['business:
case
:edit']"
v
-
hasPermi
=
"['business:
record
:edit']"
icon
=
"el-icon-edit"
plain
size
=
"mini"
...
...
src/views/service-management/registration-queue/components/prescribing-modle.vue
View file @
ebe34828
...
...
@@ -434,6 +434,7 @@ export default {
})
},
submit
()
{
console
.
log
(
'this.registerForm'
,
this
.
registerForm
)
this
.
$refs
[
'prescribingForm'
].
validate
(
valid
=>
{
if
(
valid
)
{
const
prescrib
=
{
...
this
.
prescribingForm
}
...
...
@@ -444,8 +445,9 @@ export default {
return
item
.
treatItemsId
!==
''
})
const
temp
=
{
'id'
:
this
.
registerForm
.
id
,
'medicalRecordNo'
:
this
.
registerForm
.
medicalRecordNo
,
'registId'
:
this
.
registerForm
.
i
d
,
'registId'
:
this
.
registerForm
.
registI
d
,
'doctorName'
:
this
.
registerForm
.
doctorName
}
if
(
prescrib
.
inspect
.
length
>
0
)
{
...
...
src/views/service-management/registration-queue/registration-detail.vue
View file @
ebe34828
...
...
@@ -664,13 +664,13 @@ export default {
}
console
.
log
(
'表单参数2333'
,
temp
)
//
insertDiagnosis(temp).then(res => {
//
console.log(res)
//
if (res.code === 200) {
//
this.$message.success('提交成功')
//
this.goBack()
//
}
//
})
insertDiagnosis
(
temp
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'提交成功'
)
this
.
goBack
()
}
})
},
parseTime
,
selectDictLabel
,
...
...
@@ -681,11 +681,14 @@ export default {
prescribing
()
{
this
.
showPrescribing
=
true
console
.
log
(
'这是弹窗需要的父组件传的信息:'
,
this
.
regiterForm
)
this
.
regiterForm
[
'registId'
]
=
this
.
regiterForm
.
id
queryPrescribing
(
this
.
regiterForm
).
then
(
response
=>
{
console
.
log
(
'这是弹窗需要的父组件传的信息:'
,
this
.
regiterForm
)
console
.
log
(
'重要!!!!!:'
,
response
)
this
.
openForm
=
response
.
data
this
.
openForm
[
'registId'
]
=
this
.
regiterForm
.
id
this
.
regiterForm
[
'medicalRecordNo'
]
=
response
.
data
.
medicalRecordNo
this
.
regiterForm
[
'medicalRecordId'
]
=
response
.
data
.
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