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
cd64ccf1
Commit
cd64ccf1
authored
Jun 18, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
cfc688af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
sysContentNewsInformation.js
src/api/contentManagement/sysContentNewsInformation.js
+3
-3
index.vue
src/views/contentManagement/newsInformation/index.vue
+6
-1
No files found.
src/api/contentManagement/sysContentNewsInformation.js
View file @
cd64ccf1
...
@@ -50,9 +50,9 @@ export function updateSysContentNewsInformation(data) {
...
@@ -50,9 +50,9 @@ export function updateSysContentNewsInformation(data) {
}
}
// 5. 逻辑删除新闻资讯
// 5. 逻辑删除新闻资讯
export
function
delSysContentNewsInformation
(
businessId
)
{
export
function
delSysContentNewsInformation
(
businessId
,
unitId
)
{
return
request
({
return
request
({
url
:
'/cmsnews/delete
/'
+
business
Id
,
url
:
'/cmsnews/delete
Logical/'
+
businessId
+
'/'
+
unit
Id
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
@@ -94,7 +94,7 @@ export function crawler() {
...
@@ -94,7 +94,7 @@ export function crawler() {
}
}
export
function
queryCrawlerStatus
(
params
)
{
export
function
queryCrawlerStatus
(
params
)
{
return
request
({
return
request
({
url
:
'/cmstask/detail/'
+
params
.
id
,
url
:
'/cmstask/detail/'
+
params
.
id
,
method
:
'get'
method
:
'get'
})
})
}
}
...
...
src/views/contentManagement/newsInformation/index.vue
View file @
cd64ccf1
...
@@ -720,12 +720,17 @@ export default {
...
@@ -720,12 +720,17 @@ export default {
/** 删除按钮操作 */
/** 删除按钮操作 */
removeCourse
(
row
)
{
removeCourse
(
row
)
{
const
id
=
row
.
businessId
const
id
=
row
.
businessId
let
unitId
=
this
.
queryParams
.
unitId
const
clearable
=
this
.
clearable
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
this
.
$confirm
(
'是否确认操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(
function
()
{
}).
then
(
function
()
{
return
delSysContentNewsInformation
(
id
)
if
(
clearable
)
{
unitId
=
null
}
return
delSysContentNewsInformation
(
id
,
unitId
)
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
loadData
()
this
.
loadData
()
this
.
$message
({
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