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
f37ba89b
Commit
f37ba89b
authored
Oct 18, 2023
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
68565 挂号管理-开具处方点击提交后,再点击开具处方时,检查项目显示成数字了
parent
981f5aae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
19 deletions
+17
-19
prescribing-modle.vue
...ement/registration-queue/components/prescribing-modle.vue
+17
-19
No files found.
src/views/service-management/registration-queue/components/prescribing-modle.vue
View file @
f37ba89b
...
...
@@ -514,8 +514,9 @@ export default {
...
mapGetters
([
'deptId'
,
'name'
]),
cItemOptions
()
{
return
(
checkType
)
=>
{
console
.
log
(
'checkType'
,
checkType
,
JSON
.
stringify
(
this
.
checkItemOptions
),
this
.
checkItemOptions
[
checkType
.
toString
()
])
console
.
log
(
'checkType'
,
this
.
prescribingForm
.
inspect
,
this
.
checkItemOptions
,
this
.
checkItemOptions
[
checkType
])
if
(
this
.
checkItemOptions
[
checkType
])
{
console
.
log
()
return
this
.
checkItemOptions
[
checkType
].
map
(
item
=>
{
return
{
...
item
,
...
...
@@ -595,25 +596,22 @@ export default {
* @Author: 刘
* @Date: 2023-07-06 09:34:50
*/
async
setCheckItemOptions
()
{
const
options
=
{}
for
(
const
checkTypeKey
in
this
.
dict
.
type
.
check_type
)
{
const
item
=
this
.
dict
.
type
.
check_type
[
checkTypeKey
]
console
.
log
(
'KKKKKKKKKKKKKKKKKKK'
,
checkTypeKey
,
item
)
const
res
=
await
listByType
({
itemType
:
item
.
value
})
options
[
item
.
value
]
=
res
.
rows
.
map
(
item
=>
{
return
{
label
:
item
.
name
,
value
:
item
.
id
,
payAmount
:
item
.
price
,
devicePrice
:
item
.
hospitalPlatformPrice
}
setCheckItemOptions
()
{
this
.
dict
.
type
.
check_type
.
forEach
(
item
=>
{
listByType
({
itemType
:
item
.
value
}).
then
(
res
=>
{
const
temp
=
{}
temp
[
item
.
value
]
=
res
.
rows
.
map
(
item
=>
{
return
{
label
:
item
.
name
,
value
:
item
.
id
,
payAmount
:
item
.
price
,
devicePrice
:
item
.
hospitalPlatformPrice
}
})
this
.
checkItemOptions
=
{
...
Object
.
assign
(
this
.
checkItemOptions
,
temp
)
}
this
.
checkKeys
=
Object
.
keys
(
this
.
checkItemOptions
).
length
})
console
.
log
(
'MMMMMMMMMMMMMMMMMMMM'
,
options
)
this
.
checkKeys
=
Object
.
keys
(
this
.
checkItemOptions
).
length
}
this
.
checkItemOptions
=
{
...
options
}
console
.
log
(
'dddddddddddddddddddddddd'
,
this
.
checkItemOptions
)
})
},
getDrugList
()
{
drugList
({
status
:
'1'
}).
then
(
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