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
f2af2f05
Commit
f2af2f05
authored
Jun 19, 2023
by
v_liuhuaizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
挂号--功能完成
parent
89dee7cd
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
212 additions
and
193 deletions
+212
-193
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+178
-178
prescribing-modle.vue
...ement/registration-queue/components/prescribing-modle.vue
+18
-2
register-modle.vue
...nagement/registration-queue/components/register-modle.vue
+1
-0
registration-detail.vue
...ice-management/registration-queue/registration-detail.vue
+15
-13
No files found.
src/views/medical-record-management/medical-edit.vue
View file @
f2af2f05
This diff is collapsed.
Click to expand it.
src/views/service-management/registration-queue/components/prescribing-modle.vue
View file @
f2af2f05
...
...
@@ -290,7 +290,7 @@
<
script
>
import
{
listByType
}
from
'@/api/business/mdeicalRecord'
import
{
getTreatOptions
,
listByType
}
from
'@/api/business/mdeicalRecord'
import
{
mapGetters
}
from
'vuex'
import
{
submitPrescribing
}
from
'@/api/business/registration'
...
...
@@ -364,6 +364,9 @@ export default {
},
created
()
{
},
mounted
()
{
this
.
getTreatItemOptions
()
},
methods
:
{
// 设置当前行治疗名称
...
...
@@ -387,9 +390,22 @@ export default {
}
})
},
/** 获取治疗项目列表*/
getTreatItemOptions
(
checkType
)
{
getTreatOptions
({
itemType
:
'1'
,
status
:
'1'
}).
then
(
res
=>
{
this
.
treatItemOptions
=
res
.
rows
.
map
(
item
=>
{
return
{
label
:
item
.
name
,
value
:
item
.
id
,
type
:
item
.
type
}
})
console
.
log
(
'treatItemOptions!!!!!!!!!!!!!'
,
this
.
treatItemOptions
)
})
},
/** 根据检查类型获取检查项目列表*/
getCheckItemOptions
(
checkType
)
{
listByType
({
deptId
:
this
.
deptId
,
itemType
:
checkType
}).
then
(
res
=>
{
listByType
({
itemType
:
checkType
}).
then
(
res
=>
{
this
.
checkItemOptions
=
res
.
rows
.
map
(
item
=>
{
return
{
label
:
item
.
name
,
...
...
src/views/service-management/registration-queue/components/register-modle.vue
View file @
f2af2f05
...
...
@@ -203,6 +203,7 @@ export default {
userId
:
this
.
singleDoctor
.
userId
,
doctorName
:
this
.
singleDoctor
.
doctorName
,
hospitalId
:
this
.
singleDoctor
.
deptId
,
hospitalName
:
this
.
singleDoctor
.
hospitalName
,
hospitalDepartmentId
:
this
.
singleDoctor
.
departmentId
,
hospitalDepartmentName
:
this
.
singleDoctor
.
departmentName
,
doctorPhone
:
this
.
singleDoctor
.
doctorPhone
,
...
...
src/views/service-management/registration-queue/registration-detail.vue
View file @
f2af2f05
...
...
@@ -456,7 +456,7 @@ color: #333333;"
<prescribing-modle
:is-show=
"showPrescribing"
:visit-form=
"visitForm"
:register-form=
"
register
Form"
:register-form=
"
open
Form"
@
prescrib-close=
"prescribClose"
/>
</div>
...
...
@@ -489,7 +489,7 @@ export default {
data
()
{
return
{
// 挂号处方信息传值
register
Form
:
{},
open
Form
:
{},
regiterForm
:
{},
// 就诊信息模块
visitForm
:
{},
...
...
@@ -658,18 +658,19 @@ export default {
'mainSuit'
:
this
.
visitForm
.
mainSuit
,
'doctorAdvice'
:
this
.
visitForm
.
doctorAdvice
,
'diagnosisResult'
:
this
.
visitForm
.
diagnosisResult
,
'registTime'
:
this
.
regiterForm
.
diagnosisTime
,
'diagnosisTime'
:
this
.
regiterForm
.
diagnosisTime
'registTime'
:
this
.
regiterForm
.
registrationTime
,
'diagnosisTime'
:
this
.
regiterForm
.
diagnosisTime
,
'petBirthday'
:
this
.
regiterForm
.
petBirthday
,
}
console
.
log
(
'表单参数'
,
temp
)
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
,
...
...
@@ -683,7 +684,8 @@ export default {
queryPrescribing
(
this
.
regiterForm
).
then
(
response
=>
{
console
.
log
(
'这是弹窗需要的父组件传的信息:'
,
this
.
regiterForm
)
console
.
log
(
'重要!!!!!:'
,
response
)
this
.
registerForm
=
response
.
data
this
.
openForm
=
response
.
data
this
.
regiterForm
[
'medicalRecordNo'
]
=
response
.
data
.
medicalRecordNo
})
},
/**
...
...
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