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
8a47b3af
Commit
8a47b3af
authored
Sep 05, 2023
by
陈明豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
6c3be37d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
hospital-data-statistics.vue
...ics/hospital-data-statistics/hospital-data-statistics.vue
+9
-9
pet-data-statistics.vue
...ta-statistics/pet-data-statistics/pet-data-statistics.vue
+10
-10
No files found.
src/views/data-statistics/hospital-data-statistics/hospital-data-statistics.vue
View file @
8a47b3af
...
@@ -262,13 +262,13 @@
...
@@ -262,13 +262,13 @@
<span>
{{
scope
.
$index
+
1
}}
</span>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"医院名称"
align=
"left"
prop=
"hospitalName"
show-overflow-tooltip
/>
<el-table-column
sortable
label=
"医院名称"
align=
"left"
prop=
"hospitalName"
min-width=
"80"
show-overflow-tooltip
/>
<el-table-column
sortable
label=
"医院ID"
align=
"left"
prop=
"ownId"
show-overflow-tooltip
>
<el-table-column
sortable
label=
"医院ID"
align=
"left"
prop=
"ownId"
min-width=
"80"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
ownId
||
'-'
}}
</span>
<span>
{{
scope
.
row
.
ownId
||
'-'
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"医院评级"
align=
"left"
prop=
"hospitalRate"
>
<el-table-column
sortable
label=
"医院评级"
align=
"left"
min-width=
"80"
prop=
"hospitalRate"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
<dict-tag
:options=
"dict.type.hospital_rate"
:options=
"dict.type.hospital_rate"
...
@@ -276,25 +276,25 @@
...
@@ -276,25 +276,25 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"联系人"
align=
"left"
prop=
"contactPerson"
show-overflow-tooltip
/>
<el-table-column
sortable
label=
"联系人"
align=
"left"
min-width=
"80"
prop=
"contactPerson"
show-overflow-tooltip
/>
<el-table-column
sortable
label=
"联系人手机号"
align=
"left"
prop=
"phonenumber"
/>
<el-table-column
sortable
label=
"联系人手机号"
align=
"left"
min-width=
"120"
prop=
"phonenumber"
/>
<el-table-column
sortable
label=
"医院地址"
align=
"left"
prop=
"hospitalAddress"
show-overflow-tooltip
>
<el-table-column
sortable
label=
"医院地址"
align=
"left"
min-width=
"80"
prop=
"hospitalAddress"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
hospitalAllAddress
}}
</span>
<span>
{{
scope
.
row
.
hospitalAllAddress
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"入驻日期"
align=
"left"
prop=
"createTime"
width=
"120
"
>
<el-table-column
sortable
label=
"入驻日期"
align=
"left"
min-width=
"80"
prop=
"createTime
"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'{y
}
/{m
}
/{d
}
'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'{y
}
/{m
}
/{d
}
'
)
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
sortable
label
=
"授权到期日期"
align
=
"left"
prop
=
"authorizationExpirationDate"
>
<
el
-
table
-
column
sortable
label
=
"授权到期日期"
align
=
"left"
min
-
width
=
"120"
prop
=
"authorizationExpirationDate"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
span
v
-
if
=
"getHospitalExpireDays(showDueDate(scope.row.authorizationExpirationDate)) >= 30"
>
{{
showDueDate
(
scope
.
row
.
authorizationExpirationDate
)
||
'-'
}}
<
/span
>
<
span
v
-
if
=
"getHospitalExpireDays(showDueDate(scope.row.authorizationExpirationDate)) >= 30"
>
{{
showDueDate
(
scope
.
row
.
authorizationExpirationDate
)
||
'-'
}}
<
/span
>
<
span
v
-
else
style
=
"color: #FF9D4E"
>
{{
showDueDate
(
scope
.
row
.
authorizationExpirationDate
)
||
'-'
}}
<
/span
>
<
span
v
-
else
style
=
"color: #FF9D4E"
>
{{
showDueDate
(
scope
.
row
.
authorizationExpirationDate
)
||
'-'
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
sortable
label
=
"预储值余额"
align
=
"left"
prop
=
"currentBalance"
>
<
el
-
table
-
column
sortable
label
=
"预储值余额"
min
-
width
=
"100"
align
=
"left"
prop
=
"currentBalance"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
currentBalance
?
moneyFormat
(
scope
.
row
.
currentBalance
)
+
'元'
:
'-'
}}
{{
scope
.
row
.
currentBalance
?
moneyFormat
(
scope
.
row
.
currentBalance
)
+
'元'
:
'-'
}}
<
/template
>
<
/template
>
...
...
src/views/data-statistics/pet-data-statistics/pet-data-statistics.vue
View file @
8a47b3af
...
@@ -247,40 +247,40 @@
...
@@ -247,40 +247,40 @@
<span>
{{
scope
.
$index
+
1
}}
</span>
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"宠主姓名"
show-overflow-tooltip
prop=
"name"
>
<el-table-column
sortable
label=
"宠主姓名"
min-width=
"80"
show-overflow-tooltip
prop=
"name"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
name
||
'-'
}}
{{
scope
.
row
.
name
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"宠主ID"
show-overflow-tooltip
prop=
"ruleId"
/>
<el-table-column
sortable
label=
"宠主ID"
min-width=
"80"
show-overflow-tooltip
prop=
"ruleId"
/>
<el-table-column
sortable
label=
"手机号"
show-overflow-tooltip
prop=
"phone"
/>
<el-table-column
sortable
label=
"手机号"
min-width=
"80"
show-overflow-tooltip
prop=
"phone"
/>
<el-table-column
sortable
label=
"注册日期"
show-overflow-tooltip
prop=
"registrationDate"
/>
<el-table-column
sortable
label=
"注册日期"
min-width=
"80"
show-overflow-tooltip
prop=
"registrationDate"
/>
<el-table-column
sortable
label=
"绑定医院数量"
show-overflow-tooltip
prop=
"hosNum"
>
<el-table-column
sortable
label=
"绑定医院数量"
min-width=
"120"
show-overflow-tooltip
prop=
"hosNum"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
hosNum
+
' 家'
}}
{{
scope
.
row
.
hosNum
+
' 家'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"会员卡数量"
show-overflow-tooltip
prop=
"cardNum"
>
<el-table-column
sortable
label=
"会员卡数量"
min-width=
"120"
show-overflow-tooltip
prop=
"cardNum"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
cardNum
+
' 张'
}}
{{
scope
.
row
.
cardNum
+
' 张'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"绑定宠物数量"
show-overflow-tooltip
prop=
"petNum"
>
<el-table-column
sortable
label=
"绑定宠物数量"
min-width=
"120"
show-overflow-tooltip
prop=
"petNum"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
petNum
+
' 只'
}}
{{
scope
.
row
.
petNum
+
' 只'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"挂号次数"
show-overflow-tooltip
prop=
"registerNum"
>
<el-table-column
sortable
label=
"挂号次数"
min-width=
"100"
show-overflow-tooltip
prop=
"registerNum"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
registerNum
+
' 次'
}}
{{
scope
.
row
.
registerNum
+
' 次'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"累计充值"
show-overflow-tooltip
prop=
"recharge"
>
<el-table-column
sortable
label=
"累计充值"
min-width=
"80"
show-overflow-tooltip
prop=
"recharge"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
recharge
)
+
' 元'
}}
{{
moneyFormat
(
scope
.
row
.
recharge
)
+
' 元'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
sortable
label=
"总消费额"
show-overflow-tooltip
prop=
"consumption"
>
<el-table-column
sortable
label=
"总消费额"
min-width=
"80"
show-overflow-tooltip
prop=
"consumption"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
moneyFormat
(
scope
.
row
.
consumption
)
+
' 元'
}}
{{
moneyFormat
(
scope
.
row
.
consumption
)
+
' 元'
}}
</
template
>
</
template
>
...
...
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