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
9837995b
Commit
9837995b
authored
Jun 20, 2023
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
e8558ae3
ad9db9d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
15 deletions
+61
-15
check-detail.vue
...ice-management/medical-record-management/check-detail.vue
+12
-6
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+49
-9
No files found.
src/views/service-management/medical-record-management/check-detail.vue
View file @
9837995b
...
@@ -129,10 +129,13 @@
...
@@ -129,10 +129,13 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<div
class=
"title-paragraph"
style=
"white-space: nowrap;"
>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;"
>
<span
class=
"title-text"
>
预约信息
</span>
<div
style=
"height: 16px;border-left: 3px solid #5bb647;"
/>
<div
style=
"padding-left: 10px;"
>
预约信息
</div>
<div
style=
"margin-left: auto;padding-right: 50px;"
>
<el-button
class=
"fourWordsBtn"
@
click=
"bookNow"
>
立即预约
</el-button>
</div>
</div>
</div>
<el-button
class=
"fourWordsBtn"
@
click=
"bookNow"
>
立即预约
</el-button>
<!-- 预约信息 -->
<!-- 预约信息 -->
<el-row
v-show=
"checkDetail.checkSchedule >= 2"
>
<el-row
v-show=
"checkDetail.checkSchedule >= 2"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -157,10 +160,13 @@
...
@@ -157,10 +160,13 @@
</el-col>
</el-col>
</el-row>
</el-row>
<div
v-show=
"checkDetail.checkSchedule >= 2"
>
<div
v-show=
"checkDetail.checkSchedule >= 2"
>
<div
class=
"title-paragraph"
>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;"
>
<span
class=
"title-text"
>
检查信息
</span>
<div
style=
"height: 16px;border-left: 3px solid #5bb647;"
/>
<div
style=
"padding-left: 10px;"
>
检查信息
</div>
<div
style=
"margin-left: auto;padding-right: 50px;"
>
<el-button
v-show=
"checkDetail.checkSchedule >=2 && checkDetail.reportTime === null"
class=
"fourWordsBtn"
>
上传报告
</el-button>
</div>
</div>
</div>
<el-button
v-show=
"checkDetail.checkSchedule >=2 && checkDetail.reportTime === null"
class=
"fourWordsBtn"
>
上传报告
</el-button>
<!-- 检查信息 -->
<!-- 检查信息 -->
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
...
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
9837995b
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"checkName"
>
<el-form-item>
<el-select
v-model=
"queryParams.check
Name
"
:disabled=
"queryParams.checkType === null || queryParams.checkType === ''"
clearable
placeholder=
"检查项目"
>
<el-select
v-model=
"queryParams.check
ItemsId
"
:disabled=
"queryParams.checkType === null || queryParams.checkType === ''"
clearable
placeholder=
"检查项目"
>
<el-option
<el-option
v-for=
"item in checkItemOptions"
v-for=
"item in checkItemOptions"
:key=
"item.id"
:key=
"item.id"
...
@@ -38,11 +38,13 @@
...
@@ -38,11 +38,13 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"payAmount"
>
<el-form-item>
<el-date-picker
<el-date-picker
v-model=
"queryParams.
payAmount
"
v-model=
"queryParams.
checkStartTime
"
type=
"date"
type=
"date"
placeholder=
"请选择检查时间"
placeholder=
"请选择检查时间"
format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -150,6 +152,7 @@
...
@@ -150,6 +152,7 @@
size
=
"mini"
size
=
"mini"
icon
=
"el-icon-check"
icon
=
"el-icon-check"
@
click
=
"handleSubscribe(scope.row)"
@
click
=
"handleSubscribe(scope.row)"
:
disabled
=
"scope.row.deviceId !== null"
>
立即预约
<
/el-button
>
>
立即预约
<
/el-button
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -235,6 +238,8 @@
...
@@ -235,6 +238,8 @@
import
{
getManage
,
delManage
,
addManage
,
updateManage
,
listCheckManage
}
from
'@/api/business/manage'
import
{
getManage
,
delManage
,
addManage
,
updateManage
,
listCheckManage
}
from
'@/api/business/manage'
import
{
deviceUseInSubscribeList
,
listReservationDevice
}
from
'@/api/business/device'
import
{
deviceUseInSubscribeList
,
listReservationDevice
}
from
'@/api/business/device'
import
{
listItemByType
}
from
'@/api/business/item'
import
{
listItemByType
}
from
'@/api/business/item'
import
{
parseTime
}
from
'@/utils/ruoyi'
import
{
updateCheck
}
from
'@/api/business/mdeicalRecord'
export
default
{
export
default
{
name
:
'MedicalRecordManagement'
,
name
:
'MedicalRecordManagement'
,
...
@@ -268,7 +273,9 @@ export default {
...
@@ -268,7 +273,9 @@ export default {
isAsc
:
null
,
isAsc
:
null
,
petNickname
:
null
,
petNickname
:
null
,
checkType
:
null
,
checkType
:
null
,
checkSchedule
:
null
checkSchedule
:
null
,
checkItemsId
:
null
,
checkStartTime
:
null
}
,
}
,
// 排序方式集合
// 排序方式集合
sortList
:
[
sortList
:
[
...
@@ -336,7 +343,9 @@ export default {
...
@@ -336,7 +343,9 @@ export default {
// 检查项目下拉框
// 检查项目下拉框
checkItemOptions
:
[],
checkItemOptions
:
[],
// 设备下拉框
// 设备下拉框
selectableDevice
:
[]
selectableDevice
:
[],
// 当前的检查ID
currentCheckId
:
null
}
}
}
,
}
,
created
()
{
created
()
{
...
@@ -442,6 +451,7 @@ export default {
...
@@ -442,6 +451,7 @@ export default {
this
.
deviceQueryParams
.
checkTypeList
.
push
(
row
.
checkItemsId
)
this
.
deviceQueryParams
.
checkTypeList
.
push
(
row
.
checkItemsId
)
this
.
deviceQueryParams
.
checkTypeList
=
[...
new
Set
(
this
.
deviceQueryParams
.
checkTypeList
)]
this
.
deviceQueryParams
.
checkTypeList
=
[...
new
Set
(
this
.
deviceQueryParams
.
checkTypeList
)]
this
.
deviceQueryParams
.
reservationTime
=
this
.
getCurrentTime
()
this
.
deviceQueryParams
.
reservationTime
=
this
.
getCurrentTime
()
this
.
currentCheckId
=
row
.
id
console
.
log
(
'点击立即预约后的状态'
,
this
.
deviceQueryParams
)
console
.
log
(
'点击立即预约后的状态'
,
this
.
deviceQueryParams
)
// 设置检查项目id
// 设置检查项目id
this
.
getDevice
()
this
.
getDevice
()
...
@@ -455,7 +465,34 @@ export default {
...
@@ -455,7 +465,34 @@ export default {
return
year
+
'-'
+
month
+
'-'
+
day
return
year
+
'-'
+
month
+
'-'
+
day
}
,
}
,
/** 对话框立即预约设备 */
/** 对话框立即预约设备 */
handleSubscribeDevice
()
{
handleSubscribeDevice
(
row
)
{
console
.
log
(
'点击里面的立即预约'
,
row
)
this
.
$confirm
(
'立即预约此设备,是否确定?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
}
).
then
(()
=>
{
console
.
log
(
'确定后...'
)
const
checkMessage
=
{
}
const
checkTimeList
=
row
.
checkTime
.
split
(
'-'
)
checkMessage
.
id
=
this
.
currentCheckId
checkMessage
.
deviceId
=
row
.
deviceId
checkMessage
.
deviceName
=
row
.
deviceName
checkMessage
.
appointTime
=
parseTime
(
new
Date
())
checkMessage
.
checkStartTime
=
row
.
checkDate
+
' '
+
checkTimeList
[
0
]
checkMessage
.
checkEndTime
=
row
.
checkDate
+
' '
+
checkTimeList
[
1
]
console
.
log
(
'需要修改的对象'
,
checkMessage
)
const
list
=
[]
list
.
push
(
checkMessage
)
updateCheck
(
list
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$modal
.
msgError
(
'预定设备成功'
)
}
}
)
}
)
}
,
}
,
/** 获取设备列表 */
/** 获取设备列表 */
getDevice
()
{
getDevice
()
{
...
@@ -470,8 +507,11 @@ export default {
...
@@ -470,8 +507,11 @@ export default {
this
.
resetForm
(
'queryForm'
)
this
.
resetForm
(
'queryForm'
)
this
.
sortColumn
=
''
this
.
sortColumn
=
''
this
.
queryParams
.
orderByColumn
=
''
this
.
queryParams
.
orderByColumn
=
''
this
.
queryParams
.
isAsc
=
''
this
.
queryParams
.
isAsc
=
null
this
.
queryParams
.
checkSchedule
=
''
this
.
queryParams
.
checkSchedule
=
null
this
.
queryParams
.
checkType
=
null
this
.
queryParams
.
checkItemsId
=
null
this
.
queryParams
.
checkStartTime
=
null
this
.
handleQuery
()
this
.
handleQuery
()
}
,
}
,
// 多选框选中数据
// 多选框选中数据
...
...
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