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
7b7ce6d6
Commit
7b7ce6d6
authored
Sep 18, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改67916
parent
64c9121f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
hospital-data-statistics.vue
...ics/hospital-data-statistics/hospital-data-statistics.vue
+9
-12
No files found.
src/views/data-statistics/hospital-data-statistics/hospital-data-statistics.vue
View file @
7b7ce6d6
...
...
@@ -341,7 +341,6 @@ import ColumnarChart from '@/views/data-statistics/echars-components/columnarCha
import
RadarChartForHospital
from
'@/views/data-statistics/echars-components/radar-chart-for-hospital.vue'
import
{
getHospitalStatistics
,
listHospital
}
from
'@/api/business/statistics'
import
{
parseTime
}
from
'@/utils/ruoyi'
import
{
testMsg
}
from
'@/api/business/test'
import
EmptyTool
from
'@/views/data-statistics/other-components/emptyTool.vue'
import
{
moneyFormat
}
from
'@/utils'
...
...
@@ -408,12 +407,13 @@ export default {
}
,
methods
:
{
moneyFormat
,
justTest
()
{
testMsg
().
then
(
res
=>
{
if
(
res
)
{
console
.
log
(
'测试结果'
,
res
)
}
}
)
getMonthEmptyArray
()
{
const
month
=
new
Date
().
getMonth
()
const
monthArray
=
[]
for
(
let
i
=
1
;
i
<=
month
;
i
++
)
{
monthArray
.
push
(
0
)
}
return
monthArray
}
,
parseTime
,
getStatistics
()
{
...
...
@@ -422,8 +422,8 @@ export default {
console
.
log
(
'dataRes'
,
res
)
this
.
hospitalInfoStatistics
=
res
.
data
.
hospitalInfoStatistics
this
.
hospitalPercentInfo
=
res
.
data
.
hospitalPercentInfo
this
.
yData1
.
data
=
res
.
data
.
prestoredUndulateDTO
.
newPrestored
this
.
yData2
.
data
=
res
.
data
.
prestoredUndulateDTO
.
balanceArray
this
.
yData1
.
data
=
res
.
data
.
prestoredUndulateDTO
.
newPrestored
.
length
>
0
?
res
.
data
.
prestoredUndulateDTO
.
newPrestored
:
this
.
getMonthEmptyArray
()
this
.
yData2
.
data
=
res
.
data
.
prestoredUndulateDTO
.
balanceArray
.
length
>
0
?
res
.
data
.
prestoredUndulateDTO
.
balanceArray
:
this
.
getMonthEmptyArray
()
this
.
mapData
=
res
.
data
.
chinaMapDistributionList
this
.
hospitalPrestoredRank
=
res
.
data
.
prestoredRankList
this
.
hospitalTimeRank
=
res
.
data
.
enterTimeRankList
...
...
@@ -507,9 +507,6 @@ export default {
}
,
/** 医院详情按钮操作 */
handleDetail
(
row
)
{
// console.log('详情', row)
// const authorizationExpirationDate = this.addDays(row.createTime, row.dueDate)
// row.authorizationExpirationDate = authorizationExpirationDate
const
local
=
process
.
env
.
VUE_APP_WEB
window
.
location
.
href
=
`${local
}
/hospital-management/hospital-details?detail=${row
}
&from='plat'`
localStorage
.
setItem
(
'hospitalDetail'
,
JSON
.
stringify
(
row
))
...
...
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