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
fc4b10fc
Commit
fc4b10fc
authored
Feb 10, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改黑名单
parent
5acc603d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
opmBlackList.js
src/api/contentManagement/opmBlackList.js
+6
-6
index.vue
src/views/operationsManagement/opmBlackList/index.vue
+5
-5
No files found.
src/api/contentManagement/opmBlackList.js
View file @
fc4b10fc
...
@@ -14,7 +14,7 @@ import Qs from 'qs'
...
@@ -14,7 +14,7 @@ import Qs from 'qs'
// 1. 查询黑名单表列表
// 1. 查询黑名单表列表
export
function
listOpmBlackList
(
query
)
{
export
function
listOpmBlackList
(
query
)
{
return
request
({
return
request
({
url
:
'/opm
blackl
ist/list'
,
url
:
'/opm
BlackL
ist/list'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
params
:
query
})
})
...
@@ -23,7 +23,7 @@ export function listOpmBlackList(query) {
...
@@ -23,7 +23,7 @@ export function listOpmBlackList(query) {
// 2. 查询黑名单表详细信息
// 2. 查询黑名单表详细信息
export
function
getOpmBlackList
(
businessId
)
{
export
function
getOpmBlackList
(
businessId
)
{
return
request
({
return
request
({
url
:
'/opm
blackl
ist/detail/'
+
businessId
,
url
:
'/opm
BlackL
ist/detail/'
+
businessId
,
method
:
'get'
method
:
'get'
})
})
}
}
...
@@ -32,7 +32,7 @@ export function getOpmBlackList(businessId) {
...
@@ -32,7 +32,7 @@ export function getOpmBlackList(businessId) {
export
function
addOpmBlackList
(
data
)
{
export
function
addOpmBlackList
(
data
)
{
data
=
Qs
.
stringify
(
data
)
data
=
Qs
.
stringify
(
data
)
return
request
({
return
request
({
url
:
'/opm
blackl
ist/add'
,
url
:
'/opm
BlackL
ist/add'
,
method
:
'post'
,
method
:
'post'
,
data
:
data
data
:
data
})
})
...
@@ -43,7 +43,7 @@ export function updateOpmBlackList(data) {
...
@@ -43,7 +43,7 @@ export function updateOpmBlackList(data) {
const
businessId
=
data
.
businessId
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
data
=
Qs
.
stringify
(
data
)
return
request
({
return
request
({
url
:
'/opm
blackl
ist/update/'
+
businessId
,
url
:
'/opm
BlackL
ist/update/'
+
businessId
,
method
:
'put'
,
method
:
'put'
,
data
data
})
})
...
@@ -52,7 +52,7 @@ export function updateOpmBlackList(data) {
...
@@ -52,7 +52,7 @@ export function updateOpmBlackList(data) {
// 5. 逻辑删除黑名单表
// 5. 逻辑删除黑名单表
export
function
delOpmBlackList
(
businessId
)
{
export
function
delOpmBlackList
(
businessId
)
{
return
request
({
return
request
({
url
:
'/opm
blacklist/deleteLogical
/'
+
businessId
,
url
:
'/opm
BlackList/delete
/'
+
businessId
,
method
:
'delete'
method
:
'delete'
})
})
}
}
...
@@ -60,7 +60,7 @@ export function delOpmBlackList(businessId) {
...
@@ -60,7 +60,7 @@ export function delOpmBlackList(businessId) {
// 6. 导出黑名单表
// 6. 导出黑名单表
export
function
exportOpmBlackList
(
query
)
{
export
function
exportOpmBlackList
(
query
)
{
return
request
({
return
request
({
url
:
'/opm
blackl
ist/export'
,
url
:
'/opm
BlackL
ist/export'
,
method
:
'get'
,
method
:
'get'
,
params
:
query
,
params
:
query
,
responseType
:
'blob'
responseType
:
'blob'
...
...
src/views/operationsManagement/opmBlackList/index.vue
View file @
fc4b10fc
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form
ref=
"queryForm"
style=
"padding: 0 0 0 10px"
:model=
"queryParams"
:inline=
"true"
>
<el-form-item
label=
"用户"
prop=
"userId"
>
<el-form-item
label=
"用户"
prop=
"userId"
>
<el-input
<el-input
v-model=
"queryParams.
userId
"
v-model=
"queryParams.
memNickName
"
placeholder=
"请输入用户"
placeholder=
"请输入用户"
clearable
clearable
:maxlength=
"50"
:maxlength=
"50"
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"被拉黑人"
prop=
"targetId"
>
<el-form-item
label=
"被拉黑人"
prop=
"targetId"
>
<el-input
<el-input
v-model=
"queryParams.target
Id
"
v-model=
"queryParams.target
Name
"
placeholder=
"请输入被拉黑人"
placeholder=
"请输入被拉黑人"
clearable
clearable
:maxlength=
"50"
:maxlength=
"50"
...
@@ -43,12 +43,12 @@
...
@@ -43,12 +43,12 @@
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"用户"
prop=
"userId"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"用户"
prop=
"userId"
:show-overflow-tooltip=
"true"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
userId
||
'-'
}}
{{
scope
.
row
.
memNickName
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"被拉黑人"
prop=
"
targetId
"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"被拉黑人"
prop=
"
memNickName
"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
target
Id
||
'-'
}}
{{
scope
.
row
.
target
Name
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"拉黑时间"
prop=
"createDate"
:show-overflow-tooltip=
"true"
>
<el-table-column
label=
"拉黑时间"
prop=
"createDate"
:show-overflow-tooltip=
"true"
>
...
...
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