Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8454d1d3
authored
May 07, 2024
by
YunaiV
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitee.com/yudaocode/yudao-ui-admin-vue3
parents
9e25686c
a6082652
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
src/views/mall/statistics/product/components/ProductSummary.vue
+12
-12
src/views/system/menu/MenuForm.vue
+2
-2
No files found.
src/views/mall/statistics/product/components/ProductSummary.vue
View file @
8454d1d3
...
@@ -26,9 +26,9 @@
...
@@ -26,9 +26,9 @@
icon=
"ep:view"
icon=
"ep:view"
icon-color=
"bg-blue-100"
icon-color=
"bg-blue-100"
icon-bg-color=
"text-blue-500"
icon-bg-color=
"text-blue-500"
prefix=
"
¥
"
prefix=
""
:decimals=
"
2
"
:decimals=
"
0
"
:value=
"
fenToYuan(trendSummary?.value?.browseCount || 0)
"
:value=
"
trendSummary?.value?.browseCount || 0
"
:percent=
"
:percent=
"
calculateRelativeRate(
calculateRelativeRate(
trendSummary?.value?.browseCount,
trendSummary?.value?.browseCount,
...
@@ -44,9 +44,9 @@
...
@@ -44,9 +44,9 @@
icon=
"ep:user-filled"
icon=
"ep:user-filled"
icon-color=
"bg-purple-100"
icon-color=
"bg-purple-100"
icon-bg-color=
"text-purple-500"
icon-bg-color=
"text-purple-500"
prefix=
"
¥
"
prefix=
""
:decimals=
"
2
"
:decimals=
"
0
"
:value=
"
fenToYuan(trendSummary?.value?.browseUserCount || 0)
"
:value=
"
trendSummary?.value?.browseUserCount || 0
"
:percent=
"
:percent=
"
calculateRelativeRate(
calculateRelativeRate(
trendSummary?.value?.browseUserCount,
trendSummary?.value?.browseUserCount,
...
@@ -62,9 +62,9 @@
...
@@ -62,9 +62,9 @@
icon=
"fa-solid:money-check-alt"
icon=
"fa-solid:money-check-alt"
icon-color=
"bg-yellow-100"
icon-color=
"bg-yellow-100"
icon-bg-color=
"text-yellow-500"
icon-bg-color=
"text-yellow-500"
prefix=
"
¥
"
prefix=
""
:decimals=
"
2
"
:decimals=
"
0
"
:value=
"
fenToYuan(trendSummary?.value?.orderPayCount || 0)
"
:value=
"
trendSummary?.value?.orderPayCount || 0
"
:percent=
"
:percent=
"
calculateRelativeRate(
calculateRelativeRate(
trendSummary?.value?.orderPayCount,
trendSummary?.value?.orderPayCount,
...
@@ -98,9 +98,9 @@
...
@@ -98,9 +98,9 @@
icon=
"fa-solid:wallet"
icon=
"fa-solid:wallet"
icon-color=
"bg-cyan-100"
icon-color=
"bg-cyan-100"
icon-bg-color=
"text-cyan-500"
icon-bg-color=
"text-cyan-500"
prefix=
"
¥
"
prefix=
""
:decimals=
"
2
"
:decimals=
"
0
"
:value=
"
fenToYuan(trendSummary?.value?.afterSaleCount || 0)
"
:value=
"
trendSummary?.value?.afterSaleCount || 0
"
:percent=
"
:percent=
"
calculateRelativeRate(
calculateRelativeRate(
trendSummary?.value?.afterSaleCount,
trendSummary?.value?.afterSaleCount,
...
...
src/views/system/menu/MenuForm.vue
View file @
8454d1d3
...
@@ -130,7 +130,7 @@ const dialogTitle = ref('') // 弹窗的标题
...
@@ -130,7 +130,7 @@ const dialogTitle = ref('') // 弹窗的标题
const
formLoading
=
ref
(
false
)
// 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const
formLoading
=
ref
(
false
)
// 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用
const
formType
=
ref
(
''
)
// 表单的类型:create - 新增;update - 修改
const
formType
=
ref
(
''
)
// 表单的类型:create - 新增;update - 修改
const
formData
=
ref
({
const
formData
=
ref
({
id
:
0
,
id
:
undefined
,
name
:
''
,
name
:
''
,
permission
:
''
,
permission
:
''
,
type
:
SystemMenuTypeEnum
.
DIR
,
type
:
SystemMenuTypeEnum
.
DIR
,
...
@@ -231,7 +231,7 @@ const getTree = async () => {
...
@@ -231,7 +231,7 @@ const getTree = async () => {
/** 重置表单 */
/** 重置表单 */
const
resetForm
=
()
=>
{
const
resetForm
=
()
=>
{
formData
.
value
=
{
formData
.
value
=
{
id
:
0
,
id
:
undefined
,
name
:
''
,
name
:
''
,
permission
:
''
,
permission
:
''
,
type
:
SystemMenuTypeEnum
.
DIR
,
type
:
SystemMenuTypeEnum
.
DIR
,
...
...
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