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
12a3f157
Commit
12a3f157
authored
Jun 16, 2023
by
高滢
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
0790d7ce
4dbba44e
Changes
13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
797 additions
and
967 deletions
+797
-967
register.js
src/api/business/register.js
+0
-1
about-us.vue
src/views/document-management/about-us/about-us.vue
+24
-15
entry-contract.vue
...ews/document-management/entry-contract/entry-contract.vue
+2
-1
privacy-policy.vue
...ews/document-management/privacy-policy/privacy-policy.vue
+24
-15
user-protocol.vue
...views/document-management/user-protocol/user-protocol.vue
+24
-15
equipment-add.vue
...uipment-management/equipment-management/equipment-add.vue
+149
-104
equipment-detail.vue
...ment-management/equipment-management/equipment-detail.vue
+184
-457
equipment-management.vue
...-management/equipment-management/equipment-management.vue
+62
-185
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+2
-2
doctor-card.vue
...-management/registration-queue/components/doctor-card.vue
+117
-113
register-modle.vue
...nagement/registration-queue/components/register-modle.vue
+69
-16
registration-detail.vue
...ice-management/registration-queue/registration-detail.vue
+139
-42
registration-queue.vue
...vice-management/registration-queue/registration-queue.vue
+1
-1
No files found.
src/api/business/register.js
View file @
12a3f157
import
request
from
'@/utils/request'
import
{
param
}
from
'@/utils'
// 查询挂号列表
export
function
listRegister
(
query
)
{
...
...
src/views/document-management/about-us/about-us.vue
View file @
12a3f157
...
...
@@ -60,21 +60,30 @@ export default {
this
.
$modal
.
msgError
(
'内容不能为空'
)
return
}
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
this
.
$confirm
(
'系统将立即发布编辑内容,是否确定?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
})
},
getPrivacyPolicy
()
{
listManagement
({
type
:
'2'
}).
then
(
res
=>
{
...
...
src/views/document-management/entry-contract/entry-contract.vue
View file @
12a3f157
...
...
@@ -39,7 +39,7 @@
<
span
class
=
"title-text"
>
授权合同
<
/span
>
<
/div
>
<!--
授权合同表
-->
<
el
-
table
v
-
loading
=
"loading"
:
data
=
"authorizationHistory"
style
=
"width: 90%;margin: 0 0 0 60px;"
>
<
el
-
table
v
-
loading
=
"loading"
:
data
=
"authorizationHistory"
style
=
"width: 90%;margin: 0 0 0 60px;
overflow: auto;
"
>
<
el
-
table
-
column
prop
=
"createTime"
label
=
"授权日期"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
createTime
,
'{y
}
/{m
}
/{d
}
'
)
}}
<
/span
>
...
...
@@ -161,6 +161,7 @@ export default {
}
,
downloadPdf
(
row
)
{
this
.
$download
.
resource
(
row
.
contract
)
this
.
$modal
.
msgSuccess
(
'正在下载中,请稍等…'
)
}
,
/** 通过授权历史获取到期日期 */
addDays
(
date
,
str
)
{
...
...
src/views/document-management/privacy-policy/privacy-policy.vue
View file @
12a3f157
...
...
@@ -60,21 +60,30 @@ export default {
this
.
$modal
.
msgError
(
'内容不能为空'
)
return
}
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
this
.
$confirm
(
'系统将立即发布编辑内容,是否确定?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
})
},
getPrivacyPolicy
()
{
listManagement
({
type
:
'0'
}).
then
(
res
=>
{
...
...
src/views/document-management/user-protocol/user-protocol.vue
View file @
12a3f157
...
...
@@ -60,21 +60,30 @@ export default {
this
.
$modal
.
msgError
(
'内容不能为空'
)
return
}
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
this
.
$confirm
(
'系统将立即发布编辑内容,是否确定?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
})
},
getPrivacyPolicy
()
{
listManagement
({
type
:
'1'
}).
then
(
res
=>
{
...
...
src/views/equipment-management/equipment-management/equipment-add.vue
View file @
12a3f157
This diff is collapsed.
Click to expand it.
src/views/equipment-management/equipment-management/equipment-detail.vue
View file @
12a3f157
This diff is collapsed.
Click to expand it.
src/views/equipment-management/equipment-management/equipment-management.vue
View file @
12a3f157
This diff is collapsed.
Click to expand it.
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
12a3f157
...
...
@@ -307,9 +307,9 @@ export default {
console
.
log
(
'点击立即预约'
,
row
)
this
.
getDevice
()
}
,
/** */
/**
获取设备列表
*/
getDevice
()
{
listReservationDevice
().
then
(
res
=>
{
listReservationDevice
(
{
reservationTime
:
'2023-06-15'
}
).
then
(
res
=>
{
console
.
log
(
'设备'
,
res
)
}
)
}
,
...
...
src/views/service-management/registration-queue/components/doctor-card.vue
View file @
12a3f157
<
template
>
<!-- 医生卡片信息封装组件-->
<div
class=
"doctor-card"
>
<!--标签-->
<div
class=
"progress-tip"
>
<div
class=
"tip-green"
/>
<div
class=
"tip-content"
>
挂号信息
<div>
<!-- 医生卡片信息封装组件-->
<!--做单个卡片校验-->
<div
v-if=
"docList.length>0"
class=
"doctor-card"
>
<!--标签-->
<div
class=
"progress-tip"
>
<div
class=
"tip-green"
/>
<div
class=
"tip-content"
>
挂号信息
</div>
</div>
</div>
<!--进度内容-->
<div
class=
"card-style"
>
<!--获取的当日医生数量作为循环-->
<el-card
v-for=
"(item,index) in docList"
:key=
"index"
class=
"boxside-card"
>
<div
class=
"boxside-content"
>
<!--卡片上半部分-->
<div
class=
"top"
>
<!--上--左半部分-->
<div
class=
"top-left"
>
<el-image
:src=
"baseURL+item.doctorUrl"
class=
"img"
fit=
"cover"
/>
</div>
<!--上--右半部分-->
<div
class=
"top-right"
>
<div
class=
"name"
>
{{
item
.
doctorName
}}
<!--进度内容-->
<div
class=
"card-style"
>
<!--获取的当日医生数量作为循环-->
<el-card
v-for=
"(item,index) in docList"
:key=
"index"
class=
"boxside-card"
>
<div
class=
"boxside-content"
>
<!--卡片上半部分-->
<div
class=
"top"
>
<!--上--左半部分-->
<div
class=
"top-left"
>
<el-image
:src=
"baseURL+item.doctorUrl"
class=
"img"
fit=
"cover"
/>
</div>
<div
class=
"content"
>
<!--上--右半部分-->
<div
class=
"top-right"
>
<div
class=
"
career
"
>
{{
item
.
doctor
TitleValu
e
}}
class=
"
name
"
>
{{
item
.
doctor
Nam
e
}}
</div>
<div
class=
"divider-inner"
>
|
</div>
<div
class=
"department"
>
{{
item
.
departmentName
}}
<div
class=
"content"
>
<div
class=
"career"
>
{{
item
.
doctorTitleValue
}}
</div>
<div
class=
"divider-inner"
>
|
</div>
<div
class=
"department"
>
{{
item
.
departmentName
}}
</div>
</div>
</div>
</div>
</div>
<!--分割线-->
<div
class=
"divider"
/>
<!--卡片中间部分-->
<div
class=
"mid-bottom-framework"
>
<div
v-for=
"(item,index) in docList"
:key=
"index"
class=
"mid-bottom"
>
<el-image
:src=
"baseURL+item.pictureUrl"
class=
"mid-bottom-inner"
fit=
"cover"
/>
</div>
</div>
<!--卡片下半部分-->
<div
class=
"bottom"
>
<div
class=
"inner"
>
<div
class=
"register-tip"
>
当日已接挂号
</div>
<!--分割线-->
<div
class=
"divider"
/>
<!--卡片中间部分-->
<div
class=
"mid-bottom-framework"
>
<div
class=
"register-content"
>
{{
item
.
recordAllNum
}}
v-for=
"(item,index) in docList"
:key=
"index"
class=
"mid-bottom"
>
<el-image
:src=
"baseURL+item.pictureUrl"
class=
"mid-bottom-inner"
fit=
"cover"
/>
</div>
</div>
<div
class=
"inner"
>
<div
class=
"time-tip"
>
当日时段已接
</div>
<div
class=
"time-content"
>
{{
item
.
recordTimeNum
}}
<!--卡片下半部分-->
<div
class=
"bottom"
>
<div
class=
"inner"
>
<div
class=
"register-tip"
>
当日已接挂号
</div>
<div
class=
"register-content"
>
{{
item
.
recordAllNum
}}
</div>
</div>
<div
class=
"inner"
>
<div
class=
"time-tip"
>
当日时段已接
</div>
<div
class=
"time-content"
>
{{
item
.
recordTimeNum
}}
</div>
</div>
<div
class=
"inner"
>
<div
class=
"remain-tip"
>
时段剩余号量
</div>
<div
class=
"remain-content"
>
{{
item
.
residueNum
}}
<div
class=
"inner"
>
<div
class=
"remain-tip"
>
时段剩余号量
</div>
<div
class=
"remain-content"
>
{{
item
.
residueNum
}}
</div>
</div>
</div>
</div>
</div>
<!--底部菜单-->
<div
class=
"box-content-bottom"
>
<div
class=
"content-bottom"
>
<div
class=
"detail"
@
click=
"doctorDetail(item.id)"
>
<div
class=
"detail-img"
>
<el-image
:src=
"require('@/assets/register/xinzengguahao_xiangqing@2x.png')"
/>
<!--底部菜单-->
<div
class=
"box-content-bottom"
>
<div
class=
"content-bottom"
>
<div
class=
"detail"
@
click=
"doctorDetail(item.id)"
>
<div
class=
"detail-img"
>
<el-image
:src=
"require('@/assets/register/xinzengguahao_xiangqing@2x.png')"
/>
</div>
<el-button
type=
"text"
>
详情
</el-button>
</div>
<el-button
type=
"text"
>
详情
</el-button>
</div>
<!--给它传一个userId,一个类型和一个默认页数-->
<div
class=
"register"
@
click=
"registration(item.userId,'0',item)"
>
<div
class=
"register-img"
>
<el-image
:src=
"require('@/assets/register/xinzengguahao_guahaohui@2x.png')"
/>
<!--给它传一个userId,一个类型和一个默认页数-->
<div
class=
"register"
@
click=
"registration(item.userId,'0',item)"
>
<div
class=
"register-img"
>
<el-image
:src=
"require('@/assets/register/xinzengguahao_guahaohui@2x.png')"
/>
</div>
<el-button
type=
"text"
>
挂号
</el-button>
</div>
<
el-button
type=
"text"
>
挂号
</el-button
>
</div
>
<!--给它传一个userId,一个类型和一个默认页数--
>
<div
class=
"add"
@
click=
"registration(item.userId, '1',item)"
>
<div
class=
"add-img"
>
<el-
image
:src=
"require('@/assets/register/xinzengguahao_jiahao@2x.png')"
/
>
<
!--给它传一个userId,一个类型和一个默认页数--
>
<div
class=
"add"
@
click=
"registration(item.userId, '1',item)"
>
<div
class=
"add-img"
>
<el-image
:src=
"require('@/assets/register/xinzengguahao_jiahao@2x.png')"
/
>
</div
>
<el-
button
type=
"text"
>
加号
</el-button
>
</div>
<el-button
type=
"text"
>
加号
</el-button>
</div>
</div>
</
div
>
</
el-card
>
</
el-card
>
</
div
>
</div>
<div
v-else
>
-
</div>
</div>
</
template
>
...
...
src/views/service-management/registration-queue/components/register-modle.vue
View file @
12a3f157
...
...
@@ -9,11 +9,11 @@
>
<el-form
ref=
"queryForm"
:inline=
"true"
:model=
"queryParams"
label-width=
"100px"
size=
"small"
>
<el-form-item
label=
"主治兽医:"
prop=
"petNickname"
>
<el-input
/>
<el-input
v-model=
"queryParams.mainDoctor"
/>
</el-form-item>
<el-form-item
label=
"是否首诊:"
prop=
"petSex"
>
<el-select
v-model=
"queryParams.
sterilizationStatus
"
v-model=
"queryParams.
fristVisit
"
clearable
placeholder=
"请选择首诊情况"
style=
"width: 100%"
...
...
@@ -55,7 +55,7 @@
icon=
"el-icon-document"
plain
size=
"mini"
style=
"width:
5
0px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(95,181,75);"
style=
"width:
8
0px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(95,181,75);"
type=
"success"
@
click=
"addReservation(scope.row)"
>
立即预约
...
...
@@ -77,7 +77,7 @@
</template>
<
script
>
import
{
addRegister
,
timeRegister
}
from
'@/api/business/register'
import
{
timeRegister
}
from
'@/api/business/register'
export
default
{
name
:
'RegisterModle'
,
...
...
@@ -112,7 +112,11 @@ export default {
// 宠物表格数据
petsList
:
[],
loading
:
true
,
queryParams
:
{},
queryParams
:
{
mainDoctor
:
''
,
firstVisit
:
'0'
},
fristVisitOptions
:
[
{
label
:
'是'
,
...
...
@@ -146,19 +150,68 @@ export default {
},
// 新增预约接口
addReservation
(
data
)
{
console
.
log
(
'gggggg'
,
data
,
this
.
doctorForm
,
this
.
singleDoctor
)
// data指这一行的信息,this.doctorForm指的是挂号页宠主宠物信息,this.singleDoctor指的是当日挂号医生列表信息
console
.
log
(
'这是弹窗本身的行信息:'
,
data
)
console
.
log
(
'这是宠物宠主本身的信息:'
,
this
.
doctorForm
)
console
.
log
(
'这是当日挂号列表信息 :'
,
this
.
singleDoctor
)
data
.
visitWay
=
'0'
data
.
visitFirstTime
=
''
data
.
payStatus
=
'0'
data
.
petPicture
=
''
// 进度
data
.
checkSchedule
=
'0'
data
.
payAmount
=
''
data
.
payType
=
'0'
const
temp
=
{
petOwnersName
:
data
.
petOwnersName
type
:
this
.
registrationType
,
// 宠物宠主本身的信息
petsId
:
this
.
doctorForm
.
petsId
,
petOwnersId
:
this
.
doctorForm
.
ownersId
,
petOwnersName
:
this
.
doctorForm
.
nickName
,
petOwnersPhone
:
this
.
doctorForm
.
phoneNumber
,
petNickname
:
this
.
doctorForm
.
petNickname
,
petBreed
:
this
.
doctorForm
.
petBreed
,
petSex
:
this
.
doctorForm
.
petSex
,
petAge
:
this
.
doctorForm
.
petBrithday
,
petWeight
:
this
.
doctorForm
.
petWeight
,
petColor
:
this
.
doctorForm
.
petColor
,
sterilizationStatus
:
this
.
doctorForm
.
sterilizationStatus
,
vaccineSituation
:
this
.
doctorForm
.
vaccineSituation
,
insure
:
this
.
doctorForm
.
insure
,
// 进度
checkSchedule
:
data
.
checkSchedule
,
payAmount
:
data
.
payAmount
,
payType
:
data
.
payType
,
visitDateTime
:
this
.
doctorForm
.
visitDateTime
,
// 这是当日挂号列表信息
doctorId
:
this
.
singleDoctor
.
doctorCode
,
userId
:
this
.
singleDoctor
.
userId
,
doctorName
:
this
.
singleDoctor
.
doctorName
,
hospitalId
:
this
.
singleDoctor
.
deptId
,
hospitalName
:
this
.
singleDoctor
.
deptName
,
hospitalDepartmentId
:
this
.
singleDoctor
.
departmentId
,
hospitalDepartmentName
:
this
.
singleDoctor
.
departmentName
,
doctorPhone
:
this
.
singleDoctor
.
doctorPhone
,
// 给传0
visitWay
:
data
.
visitWay
,
// 下拉传值
firstVisit
:
this
.
queryParams
.
firstVisit
,
visitDate
:
data
.
workDate
,
visitTime
:
data
.
hours
,
scheduleId
:
data
.
scheduleId
,
// 拼接 (日期+时间段的第一个时间)
visitFirstTime
:
data
.
visitFirstTime
,
// 默认是0代缴费
payStatus
:
data
.
payStatus
,
// 给传个null
petPicture
:
data
.
petPicture
,
doctorSignatureUrl
:
this
.
singleDoctor
.
doctorSignatureUrl
,
visitLocation
:
this
.
singleDoctor
.
visitLocation
,
doctorTitleLabel
:
this
.
singleDoctor
.
doctorTitleValue
}
console
.
log
(
'KKKKKKKKKKKKKKK'
,
temp
)
// 将整个界面对象传新增挂号接口
// addRegister(temp).then(response => {
// this.$message({
// type: 'success',
// message: '预约成功!'
// })
// this.$emit('registerModleClose', false)
// })
console
.
log
(
'终极大表'
,
temp
)
},
submit
()
{
},
...
...
src/views/service-management/registration-queue/registration-detail.vue
View file @
12a3f157
This diff is collapsed.
Click to expand it.
src/views/service-management/registration-queue/registration-queue.vue
View file @
12a3f157
...
...
@@ -157,7 +157,7 @@
style
=
"width: 70px; border-radius: 6px 6px 6px 6px;border: 1px solid rgb(255,157,78);"
type
=
"warning"
@
click
=
"handleDetail(scope.row, 'enter')"
>
录入诊断
>
<
/el-button
>
<
/template
>
<
/el-table-column
>
...
...
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