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
e05996ce
Commit
e05996ce
authored
Jun 19, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查管理-设备下拉框
parent
f3b44ec2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
device.js
src/api/business/device.js
+10
-0
medical-record-management.vue
...t/medical-record-management/medical-record-management.vue
+6
-4
No files found.
src/api/business/device.js
View file @
e05996ce
...
...
@@ -72,6 +72,16 @@ export function listDeviceAll(query) {
params
:
query
})
}
// 查询设备列表用于检查管理-立即预约(没有分页)
export
function
deviceUseInSubscribeList
(
query
)
{
return
request
({
url
:
'/business/device/deviceUseInSubscribe'
,
method
:
'get'
,
params
:
query
})
}
// 查询设备详细
export
function
getDevice
(
id
)
{
return
request
({
...
...
src/views/service-management/medical-record-management/medical-record-management.vue
View file @
e05996ce
...
...
@@ -171,7 +171,7 @@
<
el
-
form
-
item
label
=
"设备"
prop
=
"registId"
>
<
el
-
select
v
-
model
=
"form.shebei"
clearable
placeholder
=
"请选择设备"
@
change
=
"changeDeviceName"
>
<
el
-
option
v
-
for
=
"item in
dict.type.exam_typ
e"
v
-
for
=
"item in
selectableDevic
e"
:
key
=
"item.value"
:
label
=
"item.label"
:
value
=
"item.value"
...
...
@@ -230,7 +230,7 @@
<
script
>
import
{
getManage
,
delManage
,
addManage
,
updateManage
,
listCheckManage
}
from
'@/api/business/manage'
import
{
listDeviceAll
,
listReservationDevice
}
from
'@/api/business/device'
import
{
deviceUseInSubscribeList
,
listReservationDevice
}
from
'@/api/business/device'
export
default
{
name
:
'MedicalRecordManagement'
,
...
...
@@ -323,7 +323,9 @@ export default {
value
:
'2'
,
label
:
'预约外部服务'
}
]
],
// 设备下拉框
selectableDevice
:
[]
}
}
,
created
()
{
...
...
@@ -343,7 +345,7 @@ export default {
}
,
/** 获取所有设备用于设备下拉 */
getAllDevice
()
{
listDeviceAll
(
).
then
(
res
=>
{
deviceUseInSubscribeList
({
isPrivate
:
'1'
}
).
then
(
res
=>
{
console
.
log
(
'设备下拉框'
,
res
)
}
)
}
,
...
...
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