Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
0d9df812
提交
0d9df812
编写于
12月 26, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
测试 confirm
上级
17245d96
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
6 行删除
+10
-6
.DS_Store
src/components/.DS_Store
+0
-0
history-labels.vue
src/components/business/history-labels.vue
+4
-0
hot-labels.vue
src/components/business/hot-labels.vue
+6
-6
未找到文件。
src/components/.DS_Store
浏览文件 @
0d9df812
无法预览此类型文件
src/components/business/history-labels.vue
浏览文件 @
0d9df812
...
@@ -101,19 +101,23 @@ export default {
...
@@ -101,19 +101,23 @@ export default {
// 删除关键词
// 删除关键词
deleteLabels
(
isAll
,
index
=
0
,
length
=
1
)
{
deleteLabels
(
isAll
,
index
=
0
,
length
=
1
)
{
alert
(
1
)
if
(
isAll
)
{
if
(
isAll
)
{
alert
(
2
)
this
.
pageBurialPoin
({
this
.
pageBurialPoin
({
...
m_search_history_search_dc
,
...
m_search_history_search_dc
,
labelValue
:
''
,
labelValue
:
''
,
createdTime
:
new
Date
().
getTime
(),
createdTime
:
new
Date
().
getTime
(),
})
})
}
else
{
}
else
{
alert
(
3
)
this
.
pageBurialPoin
({
this
.
pageBurialPoin
({
...
m_search_history_search_d
,
...
m_search_history_search_d
,
labelValue
:
''
,
labelValue
:
''
,
createdTime
:
new
Date
().
getTime
(),
createdTime
:
new
Date
().
getTime
(),
})
})
}
}
alert
(
4
)
let
_this
=
this
,
let
_this
=
this
,
para
=
{
para
=
{
token
:
_this
.
token
,
token
:
_this
.
token
,
...
...
src/components/business/hot-labels.vue
浏览文件 @
0d9df812
...
@@ -41,6 +41,12 @@ export default {
...
@@ -41,6 +41,12 @@ export default {
gotoPage
(
itemData
){
gotoPage
(
itemData
){
console
.
log
(
'itemData'
,
itemData
)
console
.
log
(
'itemData'
,
itemData
)
// 如果没有跳转信息,则直接到搜索结果页面
// 如果没有跳转信息,则直接到搜索结果页面
this
.
pageBurialPoin
({
...
m_search_history_hot_search
,
labelId
:
itemData
.
id
,
labelValue
:
itemData
.
keyword
,
createdTime
:
new
Date
().
getTime
()
})
if
(
!
itemData
.
appModuleInfo
if
(
!
itemData
.
appModuleInfo
||
!
(
itemData
.
appModuleInfo
.
code
===
'M001'
||
!
(
itemData
.
appModuleInfo
.
code
===
'M001'
||
itemData
.
appModuleInfo
.
code
===
'M002'
||
itemData
.
appModuleInfo
.
code
===
'M002'
...
@@ -66,12 +72,6 @@ export default {
...
@@ -66,12 +72,6 @@ export default {
jsonString
:
paramList
jsonString
:
paramList
})
})
}
}
this
.
pageBurialPoin
({
...
m_search_history_hot_search
,
labelId
:
itemData
.
id
,
labelValue
:
itemData
.
keyword
,
createdTime
:
new
Date
().
getTime
()
})
},
},
searchAction
(
searchText
)
{
searchAction
(
searchText
)
{
if
(
this
.
showDelete
)
return
if
(
this
.
showDelete
)
return
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录