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
9b70d73e
Commit
9b70d73e
authored
Jun 19, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
a0dc23c2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
cmsBanner.js
src/api/contentManagement/cmsBanner.js
+2
-2
sysContentVideoInformation.js
src/api/contentManagement/sysContentVideoInformation.js
+2
-2
index.vue
src/views/contentManagement/banner/index.vue
+6
-1
index.vue
src/views/contentManagement/videoInformation/index.vue
+6
-1
No files found.
src/api/contentManagement/cmsBanner.js
View file @
9b70d73e
...
...
@@ -49,9 +49,9 @@ export function updateCmsBanner(data) {
}
// 5. 逻辑删除banner管理
export
function
delCmsBanner
(
businessId
)
{
export
function
delCmsBanner
(
businessId
,
unitId
)
{
return
request
({
url
:
'/cmsbanner/deleteLogical/'
+
businessId
,
url
:
'/cmsbanner/deleteLogical/'
+
businessId
+
'/'
+
unitId
,
method
:
'delete'
})
}
...
...
src/api/contentManagement/sysContentVideoInformation.js
View file @
9b70d73e
...
...
@@ -50,9 +50,9 @@ export function updateSysContentNewsInformation(data) {
}
// 5. 逻辑删除新闻资讯
export
function
delSysContentNewsInformation
(
businessId
)
{
export
function
delSysContentNewsInformation
(
businessId
,
unitId
)
{
return
request
({
url
:
'/cmsvideo/delete/'
+
businessId
,
url
:
'/cmsvideo/delete/'
+
businessId
+
'/'
+
unitId
,
method
:
'delete'
})
}
...
...
src/views/contentManagement/banner/index.vue
View file @
9b70d73e
...
...
@@ -558,12 +558,17 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
id
=
row
.
businessId
let
unitId
=
this
.
queryParams
.
unitId
const
clearable
=
this
.
clearable
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
function
()
{
return
delCmsBanner
(
id
)
if
(
clearable
)
{
unitId
=
null
}
return
delCmsBanner
(
id
,
unitId
)
}).
then
(()
=>
{
this
.
getList
()
this
.
$message
({
...
...
src/views/contentManagement/videoInformation/index.vue
View file @
9b70d73e
...
...
@@ -568,12 +568,17 @@ export default {
/** 删除按钮操作 */
removeCourse
(
row
)
{
const
id
=
row
.
businessId
let
unitId
=
this
.
queryParams
.
unitId
const
clearable
=
this
.
clearable
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
function
()
{
return
delSysContentNewsInformation
(
id
)
if
(
clearable
)
{
unitId
=
null
}
return
delSysContentNewsInformation
(
id
,
unitId
)
}).
then
(()
=>
{
this
.
loadData
()
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