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
2c44b00c
Commit
2c44b00c
authored
Jun 21, 2023
by
王飞龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b6a6c3d2
ddfbec1d
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
107 additions
and
53 deletions
+107
-53
register.js
src/api/business/register.js
+7
-0
medical-edit.vue
src/views/medical-record-management/medical-edit.vue
+2
-2
choose-pet.vue
...e-management/registration-queue/components/choose-pet.vue
+1
-1
register-modle.vue
...nagement/registration-queue/components/register-modle.vue
+21
-12
schedule-info.vue
...anagement/registration-queue/components/schedule-info.vue
+1
-1
registration-add.vue
...ervice-management/registration-queue/registration-add.vue
+2
-1
registration-detail.vue
...ice-management/registration-queue/registration-detail.vue
+73
-36
No files found.
src/api/business/register.js
View file @
2c44b00c
...
@@ -16,6 +16,13 @@ export function getRegister(id) {
...
@@ -16,6 +16,13 @@ export function getRegister(id) {
method
:
'get'
method
:
'get'
})
})
}
}
// 查询挂号详细--录入诊断
export
function
inputDiagnosis
(
id
)
{
return
request
({
url
:
'/business/register/inputDiagnosis/'
+
id
,
method
:
'get'
})
}
// 新增挂号
// 新增挂号
export
function
addRegister
(
data
)
{
export
function
addRegister
(
data
)
{
...
...
src/views/medical-record-management/medical-edit.vue
View file @
2c44b00c
...
@@ -879,14 +879,14 @@ export default {
...
@@ -879,14 +879,14 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
// 进度
scheduleKey
:
{
checkSchedule
:
''
,
diagnosisTime
:
''
,
registrationTime
:
''
,
reportTime
:
''
,
recipelTime
:
''
},
// 宠物出生日期校验
// 宠物出生日期校验
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
return
time
.
getTime
()
>
Date
.
now
()
}
}
},
},
// 进度
scheduleKey
:
{},
checkItemOptions
:
[],
// 项目选项列表 根据检查类型变化
checkItemOptions
:
[],
// 项目选项列表 根据检查类型变化
treatItemOptions
:
[],
// 治疗项目选项列表
treatItemOptions
:
[],
// 治疗项目选项列表
checkManageBos
:
[],
// 检查列表数据
checkManageBos
:
[],
// 检查列表数据
...
...
src/views/service-management/registration-queue/components/choose-pet.vue
View file @
2c44b00c
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
// 宠物表格数据
// 宠物表格数据
petsList
:
[],
petsList
:
[],
// 遮罩层
// 遮罩层
loading
:
tru
e
,
loading
:
fals
e
,
// 查询参数
// 查询参数
queryParams
:
{
queryParams
:
{
// 导出列表
// 导出列表
...
...
src/views/service-management/registration-queue/components/register-modle.vue
View file @
2c44b00c
<
template
>
<
template
>
<el-dialog
<el-dialog
:before-close=
"closeModle"
:before-close=
"closeModle"
:title=
"registrationType === '
usual
' ? '挂号' : '加号'"
:title=
"registrationType === '
0
' ? '挂号' : '加号'"
:visible
.
sync=
"isShow"
:visible
.
sync=
"isShow"
append-to-body
append-to-body
class=
"register-modle"
class=
"register-modle"
...
@@ -43,9 +43,9 @@
...
@@ -43,9 +43,9 @@
<span>
{{
parseTime
(
scope
.
row
.
workDate
,
'{y
}
/{m
}
/{d
}
'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
workDate
,
'{y
}
/{m
}
/{d
}
'
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"center"
label
=
"时段"
min
-
width
=
"80"
prop
=
"hours"
show
-
overflow
-
tooltip
/>
<
el
-
table
-
column
align
=
"center"
label
=
"时段"
min
-
width
=
"80"
prop
=
"hours"
show
-
overflow
-
tooltip
/>
<
el
-
table
-
column
align
=
"center"
label
=
"总放号数"
min
-
width
=
"80"
prop
=
"allCount"
show
-
overflow
-
tooltip
/>
<
el
-
table
-
column
align
=
"center"
label
=
"总放号数"
min
-
width
=
"80"
prop
=
"allCount"
show
-
overflow
-
tooltip
/>
<
el
-
table
-
column
align
=
"center"
label
=
"剩余号数"
min
-
width
=
"80"
prop
=
"residueCount"
show
-
overflow
-
tooltip
/>
<
el
-
table
-
column
align
=
"center"
label
=
"剩余号数"
min
-
width
=
"80"
prop
=
"residueCount"
show
-
overflow
-
tooltip
/>
<
el
-
table
-
column
<
el
-
table
-
column
align
=
"center"
align
=
"center"
label
=
"门诊诊查费"
label
=
"门诊诊查费"
...
@@ -104,9 +104,9 @@ export default {
...
@@ -104,9 +104,9 @@ export default {
type
:
Number
type
:
Number
}
,
}
,
// 当前页
// 当前页
currentPage
:
{
//
currentPage:
{
type
:
Number
//
type: Number
}
,
//
}
,
// 新增挂号宠物的所有信息
// 新增挂号宠物的所有信息
doctorForm
:
{
doctorForm
:
{
type
:
Object
type
:
Object
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
}
,
}
,
data
()
{
data
()
{
return
{
return
{
//
currentPage: 0,
currentPage
:
0
,
// 选中数组
// 选中数组
ids
:
[],
ids
:
[],
// 总条数
// 总条数
...
@@ -141,7 +141,7 @@ export default {
...
@@ -141,7 +141,7 @@ export default {
mainDoctor
:
''
,
mainDoctor
:
''
,
firstVisit
:
'0'
,
firstVisit
:
'0'
,
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
2
pageSize
:
10
}
,
}
,
fristVisitOptions
:
[
fristVisitOptions
:
[
...
@@ -165,6 +165,7 @@ export default {
...
@@ -165,6 +165,7 @@ export default {
created
()
{
created
()
{
// 获取当前时间
// 获取当前时间
this
.
currentTime
()
this
.
currentTime
()
this
.
getRegisterMsg
()
}
,
}
,
methods
:
{
methods
:
{
/**
/**
...
@@ -192,9 +193,14 @@ export default {
...
@@ -192,9 +193,14 @@ export default {
return
current
.
isBetween
(
startTime
,
endTime
,
'minute'
)
return
current
.
isBetween
(
startTime
,
endTime
,
'minute'
)
}
,
}
,
parseTime
,
parseTime
,
// 获取相应id的医生详情
/**
* 获取医生当日排班列表
* currentPage默认值为0,是加号弹出框时的逻辑(registrationType = 1为加号)
* 在初次进入加号时currentPage字段保证后台返回当时页面
* 再次点击分页按钮后按照正常页面传值 currentPage被赋值大于0
* */
getRegisterMsg
()
{
getRegisterMsg
()
{
console
.
log
(
'
HHHHHHHHHHHHHHHUUUUUUUUUUUUUUUUUU
'
,
this
.
doctorId
,
this
.
currentPage
,
this
.
registrationType
)
console
.
log
(
'
getRegisterMsg
'
,
this
.
doctorId
,
this
.
currentPage
,
this
.
registrationType
)
timeRegister
({
timeRegister
({
userId
:
this
.
doctorId
,
userId
:
this
.
doctorId
,
type
:
this
.
registrationType
,
type
:
this
.
registrationType
,
...
@@ -206,7 +212,10 @@ export default {
...
@@ -206,7 +212,10 @@ export default {
this
.
petsList
=
response
.
rows
.
rows
this
.
petsList
=
response
.
rows
.
rows
console
.
log
(
'这是预约数据:'
,
this
.
petsList
)
console
.
log
(
'这是预约数据:'
,
this
.
petsList
)
this
.
total
=
response
.
total
this
.
total
=
response
.
total
if
(
this
.
registrationType
===
'1'
&&
this
.
currentPage
===
0
)
{
this
.
queryParams
.
pageNum
=
response
.
rows
.
currentPage
this
.
queryParams
.
pageNum
=
response
.
rows
.
currentPage
this
.
currentPage
=
response
.
rows
.
currentPage
}
}
)
}
)
}
,
}
,
// 新增预约接口
// 新增预约接口
...
...
src/views/service-management/registration-queue/components/schedule-info.vue
View file @
2c44b00c
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
src/views/service-management/registration-queue/registration-add.vue
View file @
2c44b00c
...
@@ -222,6 +222,7 @@
...
@@ -222,6 +222,7 @@
<doctor-detail
:doctor-id=
"doctorId"
:is-show=
"showDoctorModle"
@
doctorModleClose=
"closeDoctorModle"
/>
<doctor-detail
:doctor-id=
"doctorId"
:is-show=
"showDoctorModle"
@
doctorModleClose=
"closeDoctorModle"
/>
<!-- 挂号/加号弹出框-->
<!-- 挂号/加号弹出框-->
<register-modle
<register-modle
v-if=
"showRegistrationModle"
:current-page=
"currentPage"
:current-page=
"currentPage"
:doctor-form=
"test"
:doctor-form=
"test"
:doctor-id=
"doctorIdNd"
:doctor-id=
"doctorIdNd"
...
@@ -273,7 +274,7 @@ export default {
...
@@ -273,7 +274,7 @@ export default {
doctorId
:
''
,
// 医生id用来获取详情等信息(详情)
doctorId
:
''
,
// 医生id用来获取详情等信息(详情)
// 医生id用来获取详情等信息(挂号+加号)
// 医生id用来获取详情等信息(挂号+加号)
doctorIdNd
:
0
,
doctorIdNd
:
0
,
petForm
:
''
,
petForm
:
{}
,
registrationType
:
'0'
,
// 挂号/加号
registrationType
:
'0'
,
// 挂号/加号
currentPage
:
0
,
currentPage
:
0
,
isEdit
:
false
,
// 表单是否可编辑 默认不可编辑
isEdit
:
false
,
// 表单是否可编辑 默认不可编辑
...
...
src/views/service-management/registration-queue/registration-detail.vue
View file @
2c44b00c
This diff is collapsed.
Click to expand it.
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