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
888ed0d2
Commit
888ed0d2
authored
Dec 21, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除了没用的逻辑
parent
a22ad022
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
40 deletions
+3
-40
index.vue
src/views/contentManagement/activity/index.vue
+1
-4
index.vue
src/views/contentManagement/banner/index.vue
+0
-16
index.vue
src/views/contentManagement/notice/index.vue
+1
-3
index.vue
src/views/contentManagement/notice/info/index.vue
+0
-16
index.vue
src/views/contentManagement/topic/index.vue
+1
-1
No files found.
src/views/contentManagement/activity/index.vue
View file @
888ed0d2
...
...
@@ -473,9 +473,7 @@ export default {
})
},
created
()
{
// this.queryParams.page = JSON.parse(getDataCache(this.$route.path)).page
// console.log('11111', this.$store.getters.type)
// console.log('url:', window.location.href)
},
mounted
:
function
()
{
this
.
loadData
()
...
...
@@ -626,7 +624,6 @@ export default {
listCmsApplication
({
activityId
:
activityId
})
.
then
(
response
=>
{
const
data
=
response
.
rows
||
[]
console
.
log
(
'data'
,
data
)
// 清空原始数据(如果有需要的话)
this
.
gridData
=
[]
this
.
gridData1
=
[]
...
...
src/views/contentManagement/banner/index.vue
View file @
888ed0d2
...
...
@@ -438,23 +438,7 @@ export default {
this
.
reset
()
const
id
=
row
.
businessId
getCmsBanner
(
id
).
then
(
response
=>
{
// 处理data数据里的url
if
(
this
.
$store
.
getters
.
type
===
'1'
)
{
// 开启
if
(
response
.
data
.
path
!==
undefined
)
{
const
newUrl
=
updateResponseUrl
(
response
.
data
.
path
)
response
.
data
.
path
=
newUrl
}
if
(
response
.
data
.
url
!==
undefined
)
{
const
newUrl
=
updateResponseUrl
(
response
.
data
.
url
)
response
.
data
.
url
=
newUrl
}
if
(
response
.
data
.
avatarUrl
!==
undefined
)
{
const
newUrl
=
updateResponseUrl
(
response
.
data
.
avatarUrl
)
response
.
data
.
avatarUrl
=
newUrl
}
}
this
.
form
=
response
.
data
// console.log('this.form:', this.form)
this
.
imageUrl
=
response
.
data
.
url
this
.
open
=
true
this
.
title
=
'修改banner'
...
...
src/views/contentManagement/notice/index.vue
View file @
888ed0d2
...
...
@@ -306,9 +306,7 @@ export default {
})
},
created
()
{
// this.queryParams.page = JSON.parse(getDataCache(this.$route.path)).page
// console.log('11111', this.$store.getters.type)
// console.log('url:', window.location.href)
},
mounted
:
function
()
{
this
.
loadData
()
...
...
src/views/contentManagement/notice/info/index.vue
View file @
888ed0d2
...
...
@@ -322,22 +322,6 @@ export default {
if
(
this
.
$route
.
query
.
bussinessId
)
{
getCmsNotice
(
this
.
$route
.
query
.
bussinessId
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
// 处理data数据里的url
if
(
this
.
$store
.
getters
.
type
===
'1'
)
{
// 开启
if
(
response
.
data
.
path
!==
undefined
)
{
const
newUrl
=
updateResponseUrl
(
response
.
data
.
path
)
response
.
data
.
path
=
newUrl
}
if
(
response
.
data
.
url
!==
undefined
)
{
const
newUrl
=
updateResponseUrl
(
response
.
data
.
url
)
response
.
data
.
url
=
newUrl
}
if
(
response
.
data
.
avatarUrl
!==
undefined
)
{
const
newUrl
=
updateResponseUrl
(
response
.
data
.
avatarUrl
)
response
.
data
.
avatarUrl
=
newUrl
}
}
// console.log('res.data:', res.data)
this
.
form
=
response
.
data
this
.
imageUrl
=
response
.
data
.
path
}
...
...
src/views/contentManagement/topic/index.vue
View file @
888ed0d2
...
...
@@ -6,7 +6,7 @@
<
script
>
export
default
{
name
:
'
i
ndex'
name
:
'
I
ndex'
}
</
script
>
...
...
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