Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_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
张伯涛
cust_web
Commits
b3a39632
Commit
b3a39632
authored
Feb 27, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了table列表没数据时的提示信息
parent
491cf97a
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
2 additions
and
32 deletions
+2
-32
index.vue
src/views/contentManagement/activity/index.vue
+1
-3
index.vue
src/views/contentManagement/banner/index.vue
+0
-18
index.vue
src/views/contentManagement/notice/index.vue
+1
-3
index.vue
src/views/contentManagement/topic/index.vue
+0
-2
index.vue
src/views/operationsManagement/article/index.vue
+0
-2
index.vue
src/views/operationsManagement/member/index.vue
+0
-2
index.vue
src/views/operationsManagement/memberHost/index.vue
+0
-2
No files found.
src/views/contentManagement/activity/index.vue
View file @
b3a39632
...
...
@@ -82,7 +82,6 @@
<div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
活动列表
</div>
<el-table
v-loading=
"fullscreenLoading"
:data=
"tableData"
border
sortable=
"true"
style=
"text-align: left;"
>
<span
slot=
"empty"
>
{{
tableDataTips
}}
</span>
<el-table-column
align=
"center"
prop=
"id"
label=
"序号"
min-width=
"55px"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
...
...
@@ -404,8 +403,7 @@ export default {
fullscreenLoading
:
false
,
curCatForm
:
{
},
tableDataTips
:
'加载中'
}
}
},
computed
:
{
...
...
src/views/contentManagement/banner/index.vue
View file @
b3a39632
...
...
@@ -397,24 +397,6 @@ export default {
// 先验证表单
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
// 获取表单中的权重值
const
weight
=
this
.
form
.
weight
const
pictureId
=
this
.
form
.
pictureId
// 如果权重为 0,提示用户选择有效权重
if
(
weight
===
0
)
{
this
.
$message
.
error
(
'请选择有效的权重值'
)
return
}
// 检查当前 weight 是否与已获取的列表中的 weight 重复
const
isWeightExists
=
this
.
cmsBannerList
.
some
(
banner
=>
banner
.
weight
===
weight
)
const
isPictureIdExists
=
this
.
cmsBannerList
.
some
(
banner
=>
banner
.
pictureId
===
pictureId
)
if
(
isPictureIdExists
&&
isWeightExists
)
{
// 如果重复,提醒用户并阻止继续提交
this
.
$message
.
error
(
'该权重值已经存在,请选择其他权重'
)
return
// 停止提交
}
// 权重不重复,继续新增或修改
if
(
this
.
form
.
businessId
!==
null
)
{
// 修改操作
...
...
src/views/contentManagement/notice/index.vue
View file @
b3a39632
...
...
@@ -80,7 +80,6 @@
</div><div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
公告列表
</div>
<el-table
v-loading=
"fullscreenLoading"
:data=
"tableData"
border
sortable=
"true"
style=
"text-align: left;"
>
<span
slot=
"empty"
>
{{
tableDataTips
}}
</span>
<el-table-column
align=
"center"
prop=
"id"
label=
"序号"
min-width=
"55px"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
...
...
@@ -262,8 +261,7 @@ export default {
},
total
:
0
,
filelist
:
[],
fullscreenLoading
:
false
,
tableDataTips
:
'加载中'
fullscreenLoading
:
false
}
},
computed
:
{
...
...
src/views/contentManagement/topic/index.vue
View file @
b3a39632
...
...
@@ -69,7 +69,6 @@
</div><div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
话题列表
</div>
<el-table
v-loading=
"fullscreenLoading"
:data=
"tableData"
border
sortable=
"true"
style=
"text-align: left;"
>
<span
slot=
"empty"
>
{{
tableDataTips
}}
</span>
<el-table-column
align=
"center"
prop=
"id"
label=
"序号"
min-width=
"55px"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
...
...
@@ -320,7 +319,6 @@ export default {
curCatForm
:
{
},
tableDataTips
:
'加载中'
,
rules
:
{
topicName
:
[
{
required
:
true
,
message
:
'请输入话题名称'
,
trigger
:
'blur'
}
...
...
src/views/operationsManagement/article/index.vue
View file @
b3a39632
...
...
@@ -87,7 +87,6 @@
</div><div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
动态列表
</div>
<el-table
v-loading=
"fullscreenLoading"
:data=
"tableData"
border
sortable=
"true"
style=
"text-align: left;"
>
<span
slot=
"empty"
>
{{
tableDataTips
}}
</span>
<el-table-column
align=
"center"
prop=
"id"
label=
"序号"
min-width=
"55px"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
...
...
@@ -345,7 +344,6 @@ export default {
// pagination
total
:
0
,
fullscreenLoading
:
false
,
tableDataTips
:
'加载中'
,
rules
:
{}
}
},
...
...
src/views/operationsManagement/member/index.vue
View file @
b3a39632
...
...
@@ -214,7 +214,6 @@
<div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
会员列表
</div>
<el-table
v-loading=
"fullscreenLoading"
:data=
"tableData"
border
sortable=
"true"
style=
"text-align: left;"
>
<span
slot=
"empty"
>
{{
tableDataTips
}}
</span>
<el-table-column
align=
"center"
prop=
"id"
label=
"序号"
min-width=
"55px"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
...
...
@@ -459,7 +458,6 @@ export default {
},
total
:
0
,
fullscreenLoading
:
false
,
tableDataTips
:
'加载中'
,
sexOptions
:
getOptions
(
'sex'
),
nationOptions
:
getOptions
(
'nation'
),
maxEducationOptions
:
getOptions
(
'education'
),
...
...
src/views/operationsManagement/memberHost/index.vue
View file @
b3a39632
...
...
@@ -56,7 +56,6 @@
<div
style=
"padding:5px 10px"
>
<div
class=
"tableTitle"
>
会员列表
</div>
<el-table
v-loading=
"fullscreenLoading"
:data=
"tableData"
border
sortable=
"true"
style=
"text-align: left;"
>
<span
slot=
"empty"
>
{{
tableDataTips
}}
</span>
<el-table-column
align=
"center"
prop=
"id"
label=
"序号"
min-width=
"55px"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
...
...
@@ -146,7 +145,6 @@ export default {
},
total
:
0
,
fullscreenLoading
:
false
,
tableDataTips
:
'加载中'
,
sexOptions
:
getOptions
(
'sex'
)
}
},
...
...
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