Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_manage
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
张伯涛
intel_promotion_manage
Commits
4bfa3d70
Commit
4bfa3d70
authored
Jun 18, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
a5f2c726
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
1 deletion
+8
-1
index.vue
src/views/contentManagement/newsInformation/index.vue
+2
-0
index.vue
src/views/contentManagement/newsInformation/info/index.vue
+2
-0
index.vue
src/views/contentManagement/videoInformation/index.vue
+2
-1
index.vue
src/views/contentManagement/videoInformation/info/index.vue
+2
-0
No files found.
src/views/contentManagement/newsInformation/index.vue
View file @
4bfa3d70
...
...
@@ -695,9 +695,11 @@ export default {
},
/** 新增按钮操作 */
handleAdd
()
{
console
.
log
(
'this.queryParams.unitId'
,
this
.
queryParams
.
unitId
)
this
.
$router
.
push
({
path
:
'/contentManagement/newsInformation/info/index'
,
query
:
{
unitId
:
this
.
queryParams
.
unitId
,
isOperation
:
'1'
,
title
:
'新增新闻'
}
...
...
src/views/contentManagement/newsInformation/info/index.vue
View file @
4bfa3d70
...
...
@@ -407,6 +407,7 @@ export default {
// 编辑
form
.
flag
=
'1'
form
.
newsType
=
'1'
form
.
unitId
=
this
.
$route
.
query
.
unitId
updateSysContentNewsInformation
(
form
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
...
...
@@ -425,6 +426,7 @@ export default {
form
.
flag
=
'1'
form
.
newsType
=
'1'
form
.
tenant
=
this
.
userId
form
.
unitId
=
this
.
$route
.
query
.
unitId
addSysContentNewsInformation
(
form
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
...
...
src/views/contentManagement/videoInformation/index.vue
View file @
4bfa3d70
...
...
@@ -544,7 +544,8 @@ export default {
path
:
'/contentManagement/videoInformation/info/index'
,
query
:
{
isOperation
:
'1'
,
title
:
'新增视频'
title
:
'新增视频'
,
unitId
:
this
.
queryParams
.
unitId
}
})
},
...
...
src/views/contentManagement/videoInformation/info/index.vue
View file @
4bfa3d70
...
...
@@ -451,6 +451,7 @@ export default {
// 编辑
form
.
flag
=
'1'
form
.
videoType
=
'1'
form
.
unitId
=
this
.
$route
.
query
.
unitId
updateSysContentNewsInformation
(
form
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
...
...
@@ -469,6 +470,7 @@ export default {
form
.
flag
=
'1'
form
.
videoType
=
'1'
form
.
tenant
=
this
.
userId
form
.
unitId
=
this
.
$route
.
query
.
unitId
addSysContentNewsInformation
(
form
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
...
...
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