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
07b2c634
Commit
07b2c634
authored
Aug 25, 2023
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
64824 病历管理,编辑、详情平台权限不显示一些字段
parent
22635c00
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
6 deletions
+36
-6
xiaoshoutishi.png
src/assets/images/xiaoshoutishi.png
+0
-0
prescribing-modle.vue
...ement/registration-queue/components/prescribing-modle.vue
+36
-4
registration-queue.vue
...vice-management/registration-queue/registration-queue.vue
+0
-2
No files found.
src/assets/images/xiaoshoutishi.png
0 → 100644
View file @
07b2c634
550 Bytes
src/views/service-management/registration-queue/components/prescribing-modle.vue
View file @
07b2c634
...
...
@@ -165,7 +165,7 @@
</el-select>
</el-form-item>
</div>
<div
class=
"single-file"
>
<div
class=
"single-file
single-file-sp
"
>
<el-form-item
:rules=
"
{validator: validatePharmDrugOther(singleItem, 'recipelNum', '请输入剂量'), trigger: 'blur'}"
label="剂量"
...
...
@@ -181,6 +181,9 @@
<span
class=
"unit-text"
>
{{
singleItem
.
normsUnit
||
''
}}
</span>
</div>
</el-form-item>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"getSallNum(singleItem)"
placement=
"top"
>
<img
:src=
"questIcon"
/>
</el-tooltip>
</div>
<div>
<el-form-item
...
...
@@ -358,7 +361,7 @@
import
{
drugList
,
getTreatOptions
,
listByType
}
from
'@/api/business/mdeicalRecord'
import
{
mapGetters
}
from
'vuex'
import
{
submitPrescribing
}
from
'@/api/business/registration'
import
xiaoshoutishi
from
'@/assets/images/xiaoshoutishi.png'
import
moment
from
'moment'
export
default
{
name
:
'PrescribingModle'
,
...
...
@@ -394,6 +397,7 @@ export default {
callback
()
}
return
{
questIcon
:
xiaoshoutishi
,
checkKeys
:
0
,
baseURL
:
process
.
env
.
VUE_APP_TEST_API
,
isBatheOption
:
[
...
...
@@ -467,6 +471,23 @@ export default {
},
computed
:
{
getSallNum
()
{
return
(
data
)
=>
{
console
.
log
(
'111111111111111111111111'
,
data
,
this
.
drugOptions
)
if
(
data
.
drugId
&&
data
.
recipelNum
)
{
const
drugInfo
=
this
.
drugOptions
.
find
(
item
=>
data
.
drugId
===
item
.
drugId
)
console
.
log
(
'drugInfo'
,
drugInfo
)
let
result
=
'-'
if
(
drugInfo
.
sallUnit
!==
drugInfo
.
normsUnit
)
{
result
=
data
.
recipelNum
*
drugInfo
.
ratioValue
}
result
=
result
>
drugInfo
.
sallNum
?
result
:
drugInfo
.
sallNum
return
Math
.
ceil
(
result
)
?
Math
.
ceil
(
result
)
+
drugInfo
.
sallUnit
:
'-'
}
else
{
return
'-'
}
}
},
drugOptionsShow
()
{
console
.
log
(
'drugListShow'
,
this
.
prescribingForm
.
medication
,
this
.
drugOptions
)
return
this
.
drugOptions
.
map
(
item
=>
{
...
...
@@ -594,7 +615,8 @@ export default {
sallNum
:
item
.
smallSallNormsNum
,
standardAmount
:
item
.
sellingPrice
,
paymentStatus
:
'0'
,
normsUnit
:
item
.
normsUnit
normsUnit
:
item
.
normsUnit
,
ratioValue
:
item
.
ratioValue
}
})
console
.
log
(
'drugOptions!!!!!!!!!!!!!'
,
this
.
drugOptions
)
...
...
@@ -685,6 +707,7 @@ export default {
rowData
[
'standardAmount'
]
=
item
.
standardAmount
rowData
[
'paymentStatus'
]
=
item
.
paymentStatus
rowData
[
'normsUnit'
]
=
item
.
normsUnit
rowData
[
'ratioValue'
]
=
item
.
ratioValue
}
})
console
.
log
(
'finishSetDrugOthers'
,
rowData
)
...
...
@@ -924,6 +947,15 @@ export default {
margin-right
:
0
!
important
;
}
}
.single-file-sp
{
display
:
flex
;
align-content
:
center
;
align-items
:
center
;
img
{
margin-bottom
:
1
.125rem
;
margin-left
:
5px
;
}
}
}
}
...
...
@@ -944,7 +976,7 @@ export default {
width
:
188px
!
important
;
}
.unit-text
{
margin-left
:
unset
;
width
:
25px
;
}
.el-input-number--small
{
width
:
188px
!
important
;
...
...
src/views/service-management/registration-queue/registration-queue.vue
View file @
07b2c634
...
...
@@ -205,8 +205,6 @@
<!--
v
-
hasPermi
=
"['business:registration:edit']"
:
disabled
=
"scope.row.isAdd === '1'"
-->
<
el
-
button
v
-
hasPermi
=
"['business:registration:edit']"
:
disabled
=
"scope.row.isAdd === '1'"
icon
=
"el-icon-paperclip"
plain
size
=
"mini"
...
...
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