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
ef46a1cd
Commit
ef46a1cd
authored
Jan 20, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改动态审核,活动
parent
d9d5c82e
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
155 additions
and
89 deletions
+155
-89
index.vue
src/views/contentManagement/activity/index.vue
+24
-22
index.vue
src/views/operationsManagement/article/index.vue
+131
-67
No files found.
src/views/contentManagement/activity/index.vue
View file @
ef46a1cd
...
@@ -317,7 +317,7 @@ import { parseTime } from '@/utils'
...
@@ -317,7 +317,7 @@ import { parseTime } from '@/utils'
import
{
getDataCache
,
setDataCache
}
from
'@/assets/js/filterData'
import
{
getDataCache
,
setDataCache
}
from
'@/assets/js/filterData'
import
{
listCmsApplication
}
from
'@/api/contentManagement/application'
import
{
listCmsApplication
}
from
'@/api/contentManagement/application'
import
{
yesOrNo
}
from
'@/utils/allPageData'
import
{
yesOrNo
}
from
'@/utils/allPageData'
import
{
getOssUrl
}
from
"@/api/contentManagement/opmArticle"
;
import
{
getOssUrl
}
from
'@/api/contentManagement/opmArticle'
export
default
{
export
default
{
name
:
'Index'
,
name
:
'Index'
,
// components: {
// components: {
...
@@ -461,9 +461,6 @@ export default {
...
@@ -461,9 +461,6 @@ export default {
})
})
},
},
created
()
{
created
()
{
},
mounted
:
function
()
{
this
.
loadData
()
this
.
loadData
()
},
},
methods
:
{
methods
:
{
...
@@ -570,18 +567,17 @@ export default {
...
@@ -570,18 +567,17 @@ export default {
/** 查询活动管理列表 */
/** 查询活动管理列表 */
loadData
()
{
loadData
()
{
this
.
loading
=
true
this
.
loading
=
true
listCmsActivity
(
this
.
queryParams
).
then
(
listCmsActivity
(
this
.
queryParams
).
then
(
response
=>
{
response
=>
{
this
.
tableData
=
response
.
data
this
.
tableData
=
response
.
data
// 处理分页数据里的url
// 处理分页数据里的url
this
.
tableData
.
forEach
(
item
=>
{
this
.
tableData
.
forEach
(
item
=>
{
getOssUrl
(
item
.
pictureId
).
then
(
imgRes
=>
{
getOssUrl
(
item
.
pictureId
).
then
(
imgRes
=>
{
item
.
url
=
imgRes
.
data
item
.
url
=
imgRes
.
data
})
})
})
this
.
total
=
response
.
total
})
this
.
loading
=
false
this
.
total
=
response
.
total
}
this
.
loading
=
false
}
)
)
},
},
/** 查看报名人数 */
/** 查看报名人数 */
...
@@ -645,13 +641,19 @@ export default {
...
@@ -645,13 +641,19 @@ export default {
type
:
'warning'
type
:
'warning'
}).
then
(
function
()
{
}).
then
(
function
()
{
return
updatePushStatus
(
params
)
return
updatePushStatus
(
params
)
}).
then
(()
=>
{
}).
then
((
res
)
=>
{
this
.
$message
({
if
(
res
.
code
===
200
)
{
message
:
text
+
'成功'
,
this
.
$message
({
type
:
'success'
message
:
text
+
'成功'
,
})
type
:
'success'
}).
catch
(
function
()
{
})
row
.
publishStatus
=
row
.
publishStatus
===
'0'
?
'1'
:
'0'
}
else
{
this
.
$message
({
message
:
res
.
message
,
type
:
'error'
})
}
this
.
loadData
()
})
})
},
},
handleExamination
(
data
)
{
handleExamination
(
data
)
{
...
...
src/views/operationsManagement/article/index.vue
View file @
ef46a1cd
This diff is collapsed.
Click to expand it.
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