Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
Project
Project
Details
Activity
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
Yulun Yao
multiSystem
Commits
8b7035c5
Commit
8b7035c5
authored
Mar 15, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
15679672
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
labelRightSide.vue
src/views/label/labelRightSide.vue
+17
-8
No files found.
src/views/label/labelRightSide.vue
View file @
8b7035c5
...
@@ -382,16 +382,25 @@ export default {
...
@@ -382,16 +382,25 @@ export default {
params
:
this
.
jsonData
params
:
this
.
jsonData
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
console
.
log
(
res
.
data
.
content
)
if
(
res
.
data
==
null
)
{
this
.
$message
.
error
(
'该标签无搜索结果,标签添加失败!'
)
// 如果查询到content里有内容,则在下方以表格的形式展示出来。否则提示无匹配数据。
}
else
if
(
!!
res
.
data
.
content
)
{
if
(
res
.
data
.
content
.
length
>
0
)
{
this
.
resultList
=
res
.
data
.
content
this
.
resultList
=
res
.
data
.
content
if
(
this
.
resultList
.
length
>
0
)
{
this
.
confirmVisible
=
!
this
.
confirmVisible
this
.
confirmVisible
=
!
this
.
confirmVisible
// 提交标签内容, 如果有labelId则调用put接口,反之调用post接口
}
else
{
}
else
{
this
.
$message
.
error
(
'该标签无搜索结果,标签添加失败!'
)
this
.
$message
.
error
(
'该标签无搜索结果,标签添加失败!'
)
}
}
}
else
{
}
// 如果查询到content里有内容,则在下方以表格的形式展示出来。否则提示无匹配数据。
// if(res.data !== null || res.data.content.length !== 0) {
// this.resultList = res.data.content
// this.confirmVisible = !this.confirmVisible
// // 提交标签内容, 如果有labelId则调用put接口,反之调用post接口
// } else {
// this.$message.error('该标签无搜索结果,标签添加失败!')
// }
// this.$message.success('修改成功!')
// this.$message.success('修改成功!')
// this.resetFormFields()
// this.resetFormFields()
// this.finish = true
// this.finish = 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