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
41d09da5
Commit
41d09da5
authored
Jun 09, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进度信息模块封装ui代码优化
parent
5aed2a10
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
328 additions
and
110 deletions
+328
-110
case.js
src/api/business/case.js
+44
-0
index.js
src/router/index.js
+27
-0
medical-detail.vue
src/views/medical-record-management/medical-detail.vue
+4
-4
medical-record-management.vue
...s/medical-record-management/medical-record-management.vue
+197
-91
reservation-equipment.vue
...views/medical-record-management/reservation-equipment.vue
+2
-1
check-detail.vue
...ice-management/medical-record-management/check-detail.vue
+4
-4
registration-add.vue
...ervice-management/registration-queue/registration-add.vue
+7
-5
registration-detail.vue
...ice-management/registration-queue/registration-detail.vue
+43
-5
No files found.
src/
views/medical-record-management
/case.js
→
src/
api/business
/case.js
View file @
41d09da5
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
...
@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询病例管理列表
// 查询病例管理列表
export
function
listCase
(
query
)
{
export
function
listCase
(
query
)
{
return
request
({
return
request
({
url
:
'/
system
/case/list'
,
url
:
'/
business
/case/list'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
@@ -12,7 +12,7 @@ export function listCase(query) {
...
@@ -12,7 +12,7 @@ export function listCase(query) {
// 查询病例管理详细
// 查询病例管理详细
export
function
getCase
(
id
)
{
export
function
getCase
(
id
)
{
return
request
({
return
request
({
url
:
'/
system
/case/'
+
id
,
url
:
'/
business
/case/'
+
id
,
method
:
'get'
method
:
'get'
})
})
}
}
...
@@ -20,7 +20,7 @@ export function getCase(id) {
...
@@ -20,7 +20,7 @@ export function getCase(id) {
// 新增病例管理
// 新增病例管理
export
function
addCase
(
data
)
{
export
function
addCase
(
data
)
{
return
request
({
return
request
({
url
:
'/
system
/case'
,
url
:
'/
business
/case'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
@@ -29,7 +29,7 @@ export function addCase(data) {
...
@@ -29,7 +29,7 @@ export function addCase(data) {
// 修改病例管理
// 修改病例管理
export
function
updateCase
(
data
)
{
export
function
updateCase
(
data
)
{
return
request
({
return
request
({
url
:
'/
system
/case'
,
url
:
'/
business
/case'
,
method
:
'put'
,
method
:
'put'
,
data
:
data
data
:
data
})
})
...
@@ -38,33 +38,7 @@ export function updateCase(data) {
...
@@ -38,33 +38,7 @@ export function updateCase(data) {
// 删除病例管理
// 删除病例管理
export
function
delCase
(
id
)
{
export
function
delCase
(
id
)
{
return
request
({
return
request
({
url
:
'/
system
/case/'
+
id
,
url
:
'/
business
/case/'
+
id
,
method
:
'delete'
method
:
'delete'
})
})
}
}
// 查询诊断假数据
export
function
treatmentForm
()
{
return
request
({
url
:
'/business/treatment/listAll'
,
method
:
'get'
})
}
// 预约设备查询
export
function
getListEquipment
(
query
)
{
return
request
({
url
:
'/business/device/reservation'
,
method
:
'get'
,
params
:
query
})
}
// 新增设备使用记录
export
function
addEquipmentUseIn
(
data
)
{
return
request
({
url
:
'/business/info'
,
method
:
'post'
,
data
:
data
})
}
src/router/index.js
View file @
41d09da5
...
@@ -179,6 +179,32 @@ export const constantRoutes = [
...
@@ -179,6 +179,32 @@ export const constantRoutes = [
}
}
]
]
},
},
// 病历管理
{
path
:
'/medical-record-management'
,
component
:
Layout
,
hidden
:
true
,
permissions
:
[
'*:*:*'
],
children
:
[
{
path
:
'index'
,
props
:
true
,
component
:
()
=>
import
(
'@/views/medical-record-management/medical-record-management'
),
name
:
'MedicalRecordManagement'
,
meta
:
{
title
:
'病历管理'
,
icon
:
'component'
}
},
// 病历详情
{
path
:
'medical-detail/:id'
,
component
:
()
=>
import
(
'@/views/medical-record-management/medical-detail'
),
name
:
'MedicalDetail'
,
props
:
true
,
meta
:
{
title
:
'病历详情'
,
icon
:
'component'
}
}
]
},
// 病历路由
// 病历路由
{
{
...
@@ -227,6 +253,7 @@ export const constantRoutes = [
...
@@ -227,6 +253,7 @@ export const constantRoutes = [
}
}
]
]
},
},
// 个人中心
{
{
path
:
'/user'
,
path
:
'/user'
,
component
:
Layout
,
component
:
Layout
,
...
...
src/views/medical-record-management/medical-detail.vue
View file @
41d09da5
...
@@ -243,9 +243,9 @@
...
@@ -243,9 +243,9 @@
</div>
</div>
<div
style=
" margin-top: 20px;margin-left: 5%;"
>
<div
style=
" margin-top: 20px;margin-left: 5%;"
>
<span>
暂无数据
</span>
<span>
暂无数据
</span>
<
div
style=
"float: right"
>
<
!--
<div
style=
"float: right"
>
--
>
<el-button
v-hasPermi=
"['business:reservation:list']"
type=
"primary"
size=
"mini"
@
click=
"reservation"
>
立即预约
</el-button
>
<!--
<el-button
v-hasPermi=
"['business:reservation:list']"
type=
"primary"
size=
"mini"
@
click=
"reservation"
>
立即预约
</el-button>
--
>
<
/div
>
<
!--
</div>
--
>
</div>
</div>
</div>
</div>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getCase
,
treatmentForm
,
updateCase
}
from
'@/
views/medical-record-management
/case'
import
{
getCase
,
treatmentForm
,
updateCase
}
from
'@/
api/business
/case'
import
{
getInfo
}
from
'@/api/login'
import
{
getInfo
}
from
'@/api/login'
export
default
{
export
default
{
...
...
src/views/medical-record-management/medical-record-management.vue
View file @
41d09da5
This diff is collapsed.
Click to expand it.
src/views/medical-record-management/reservation-equipment.vue
View file @
41d09da5
<
template
>
<
template
>
<!-- -->
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<div
style=
"background-color: #fff"
>
<div
style=
"background-color: #fff"
>
<div
class=
"headerTitle"
>
<div
class=
"headerTitle"
>
...
@@ -143,7 +144,7 @@
...
@@ -143,7 +144,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
addEquipmentUseIn
,
getListEquipment
}
from
'@/
views/medical-record-management
/case'
import
{
addEquipmentUseIn
,
getListEquipment
}
from
'@/
api/business
/case'
export
default
{
export
default
{
name
:
'ReservationEquipment'
,
name
:
'ReservationEquipment'
,
...
...
src/views/service-management/medical-record-management/check-detail.vue
View file @
41d09da5
...
@@ -102,10 +102,10 @@
...
@@ -102,10 +102,10 @@
<!-- 步骤条 -->
<!-- 步骤条 -->
<div>
<div>
<el-steps
:active=
"2"
align-center
>
<el-steps
:active=
"2"
align-center
>
<el-step
title=
"开具处方单"
description=
"这是一段很长很长很长的描述性文字"
></el-step
>
<el-step
title=
"开具处方单"
description=
"这是一段很长很长很长的描述性文字"
/
>
<el-step
title=
"缴费开票"
description=
"这是一段很长很长很长的描述性文字"
></el-step
>
<el-step
title=
"缴费开票"
description=
"这是一段很长很长很长的描述性文字"
/
>
<el-step
title=
"预约检查"
description=
"这段就没那么长了"
></el-step
>
<el-step
title=
"预约检查"
description=
"这段就没那么长了"
/
>
<el-step
title=
"步骤 4"
description=
"这段就没那么长了!!!"
></el-step
>
<el-step
title=
"步骤 4"
description=
"这段就没那么长了!!!"
/
>
</el-steps>
</el-steps>
</div>
</div>
<div
class=
"title-paragraph"
>
<div
class=
"title-paragraph"
>
...
...
src/views/service-management/registration-queue/registration-add.vue
View file @
41d09da5
...
@@ -163,11 +163,7 @@
...
@@ -163,11 +163,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<!-- 选择宠物-->
<div
slot=
"footer"
class=
"dialog-footer"
style=
"margin-left: 7%;padding-bottom: 10px;"
>
<el-button
class=
"queryBtn"
type=
"primary"
size=
"mini"
@
click=
"submitForm"
>
提 交
</el-button>
<el-button
class=
"resetBtn"
size=
"mini"
@
click=
"cancel"
>
返 回
</el-button>
</div>
</el-form>
</el-form>
<!--进度信息-->
<!--进度信息-->
<schedule-info
/>
<schedule-info
/>
...
@@ -179,6 +175,11 @@
...
@@ -179,6 +175,11 @@
<doctor-detail
:is-show=
"showDoctorModle"
/>
<doctor-detail
:is-show=
"showDoctorModle"
/>
<!-- 挂号/加号弹出框-->
<!-- 挂号/加号弹出框-->
<register-modle
:is-show=
"showRegistrationModle"
/>
<register-modle
:is-show=
"showRegistrationModle"
/>
<!-- 选择宠物-->
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"queryBtn"
icon=
"el-icon-check"
@
click=
"submitForm"
>
提 交
</el-button>
<el-button
class=
"resetBtn"
icon=
"el-icon-back"
@
click=
"cancel"
>
返 回
</el-button>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -352,4 +353,5 @@ export default {
...
@@ -352,4 +353,5 @@ export default {
}
}
}
}
}
}
</
style
>
</
style
>
src/views/service-management/registration-queue/registration-detail.vue
View file @
41d09da5
...
@@ -325,19 +325,25 @@ color: #333333;"
...
@@ -325,19 +325,25 @@ color: #333333;"
<
el
-
row
>
<
el
-
row
>
<
el
-
col
:
span
=
"24"
>
<
el
-
col
:
span
=
"24"
>
<
el
-
form
-
item
label
=
"主诉"
>
<
el
-
form
-
item
label
=
"主诉"
>
<
el
-
input
v
-
model
=
"visitForm.name"
placeholder
=
"请输入患者主诉"
type
=
"textarea"
maxlength
=
"400"
/>
<
el
-
input
v
-
model
=
"visitForm.name"
maxlength
=
"400"
placeholder
=
"请输入患者主诉"
type
=
"textarea"
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"24"
>
<
el
-
col
:
span
=
"24"
>
<
el
-
form
-
item
label
=
"医嘱"
>
<
el
-
form
-
item
label
=
"医嘱"
>
<
el
-
input
v
-
model
=
"visitForm.name"
placeholder
=
"请输入医嘱"
type
=
"textarea"
maxlength
=
"200
"
/>
<
el
-
input
v
-
model
=
"visitForm.name"
maxlength
=
"200"
placeholder
=
"请输入医嘱"
type
=
"textarea
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"24"
>
<
el
-
col
:
span
=
"24"
>
<
el
-
form
-
item
label
=
"诊断结果"
>
<
el
-
form
-
item
label
=
"诊断结果"
>
<
el
-
input
v
-
model
=
"visitForm.name"
placeholder
=
"请输入诊断结果"
maxlength
=
"30
"
/>
<
el
-
input
v
-
model
=
"visitForm.name"
maxlength
=
"30"
placeholder
=
"请输入诊断结果
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
/el-col><el-col :span="24"
>
<
/el-col
>
<
el
-
col
:
span
=
"24"
>
<
el
-
form
-
item
label
=
"处方单"
>
<
el
-
form
-
item
label
=
"处方单"
>
<
el
-
button
<
el
-
button
class
=
"fourWordsBtn"
class
=
"fourWordsBtn"
...
@@ -356,7 +362,7 @@ color: #333333;"
...
@@ -356,7 +362,7 @@ color: #333333;"
<
/el-form
>
<
/el-form
>
<
/div
>
<
/div
>
<!--
底部返回按钮
-->
<!--
底部返回按钮
-->
<
el
-
button
class
=
"
queryBtn
"
icon
=
"el-icon-back"
@
click
=
"goBack"
>
返
回
<
/el-button
>
<
el
-
button
class
=
"
backBth
"
icon
=
"el-icon-back"
@
click
=
"goBack"
>
返
回
<
/el-button
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -614,4 +620,36 @@ export default {
...
@@ -614,4 +620,36 @@ export default {
height
:
auto
;
height
:
auto
;
color
:
#
333333
;
color
:
#
333333
;
}
}
//返回按钮样式
.
backBth
{
padding
:
7
px
13
px
7
px
11
px
;
width
:
80
px
;
height
:
32
px
;
background
:
#
FFFFFF
;
border
-
radius
:
4
px
4
px
4
px
4
px
;
opacity
:
1
;
border
:
1
px
solid
#
E5E5E5
;
font
-
size
:
14
px
;
font
-
family
:
Microsoft
YaHei
-
Regular
,
Microsoft
YaHei
;
font
-
weight
:
400
;
color
:
#
333333
;
i
{
width
:
10
px
;
font
-
size
:
10
px
;
height
:
11
px
;
}
&
:
hover
{
background
:
rgba
(
95
,
181
,
75
,
0.08
);
opacity
:
1
;
border
:
1
px
solid
#
5
FB54B
;
color
:
#
333333
!
important
;
}
&
:
focus
{
background
:
rgba
(
85
,
163
,
67
,
0.08
);
opacity
:
1
;
border
:
1
px
solid
#
55
A343
;
color
:
#
333333
!
important
;
}
}
<
/style
>
<
/style
>
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