Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
a22711d1
提交
a22711d1
编写于
12月 19, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
test1
上级
69af73d2
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
56 行增加
和
21 行删除
+56
-21
history-labels.vue
src/components/business/history-labels.vue
+39
-3
index.js
src/utils/index.js
+11
-11
result.vue
src/views/result.vue
+6
-0
search-index.vue
src/views/search-index.vue
+0
-7
未找到文件。
src/components/business/history-labels.vue
浏览文件 @
a22711d1
...
...
@@ -24,6 +24,13 @@
</
template
>
<
script
>
import
{
m_search_history_search_hs
,
m_search_history_search_db
,
m_search_history_search_d
,
m_search_history_search_da
,
m_search_history_search_dc
,
}
from
'@/utils/buryingPoint'
import
ConfirmTip
from
'@/components/common/confirm-tip'
export
default
{
name
:
'HistoryLabels'
,
...
...
@@ -61,6 +68,11 @@ export default {
},
methods
:
{
searchAction
(
searchText
)
{
this
.
pageBurialPoin
({
...
m_search_history_search_hs
,
labelValue
:
searchText
,
createdTime
:
new
Date
().
getTime
(),
})
if
(
this
.
showDelete
)
return
this
.
$router
.
push
({
path
:
'/result'
,
...
...
@@ -87,6 +99,19 @@ export default {
// 删除关键词
deleteLabels
(
isAll
,
index
=
0
,
length
=
1
)
{
if
(
isAll
)
{
this
.
pageBurialPoin
({
...
m_search_history_search_da
,
labelValue
:
'全部删除'
,
createdTime
:
new
Date
().
getTime
(),
})
}
else
{
this
.
pageBurialPoin
({
...
m_search_history_search_d
,
labelValue
:
'单个删除'
,
createdTime
:
new
Date
().
getTime
(),
})
}
let
_this
=
this
,
para
=
{
token
:
_this
.
token
,
...
...
@@ -114,6 +139,12 @@ export default {
this
.
deleteLabels
(
true
)
},
toggleDelete
()
{
this
.
pageBurialPoin
({
...
m_search_history_search_db
,
labelValue
:
this
.
showDelete
-
0
,
createdTime
:
new
Date
().
getTime
(),
})
this
.
showDelete
=
!
this
.
showDelete
},
getUserInfo
:
function
()
{
...
...
@@ -121,9 +152,9 @@ export default {
},
confirmDelete
()
{
this
.
showConfirm
=
true
this
.
pageBurialPoin
({
...
m_search_
result_lecturer_order
,
labelValue
:
orderIndex
,
this
.
pageBurialPoin
({
...
m_search_
history_search_da
,
labelValue
:
this
.
showConfirm
-
1
,
createdTime
:
new
Date
().
getTime
(),
})
}
...
...
@@ -175,6 +206,11 @@ export default {
background-color
:
#F8F8F8
;
color
:
#999
;
font-size
:
px2rem
(
13px
);
span
{
background-color
:
#F8F8F8
;
color
:
#999
;
font-size
:
px2rem
(
13px
);
}
img
{
position
:
absolute
;
top
:
px2rem
(
-10px
);
...
...
src/utils/index.js
浏览文件 @
a22711d1
...
...
@@ -241,18 +241,18 @@ export function jumpEvaluatPage(){
// dev地址
// const baseUrl = 'http://192.168.140.14:10201/'
const
baseUrl
=
'http://10.177.10.149:8080/'
// const baseUrl = 'http://192.168.140.14:10201/'
// const baseUrl = 'https://dev-sc.yunqueyi.com/'
const
apiUrl
=
'https://dev-api.yunqueyi.com/'
const
evaluatPageUrl
=
'https://dev-phome.yunqueyi.com/gpr/#/home'
export
const
jumpWebPageUrl
=
'https://dev-phome.yunqueyi.com/appl/#/'
//
const baseUrl = 'http://10.177.10.149:8080/'
//
//
const baseUrl = 'http://192.168.140.14:10201/'
//
//
const baseUrl = 'https://dev-sc.yunqueyi.com/'
//
const apiUrl = 'https://dev-api.yunqueyi.com/'
//
const evaluatPageUrl = 'https://dev-phome.yunqueyi.com/gpr/#/home'
//
export const jumpWebPageUrl = 'https://dev-phome.yunqueyi.com/appl/#/'
//
//
test1地址
//
const baseUrl = 'https://test1-sc.yunqueyi.com/'
//
const apiUrl = 'https://test1-api.yunqueyi.com/'
//
const evaluatPageUrl = 'http://10.177.10.225:9001/#/home' || 'https://test1-phome.yunqueyi.com/gpr/#/home'
//
export const jumpWebPageUrl = 'https://test1-phome.yunqueyi.com/appl/#/'
// test1地址
const
baseUrl
=
'https://test1-sc.yunqueyi.com/'
const
apiUrl
=
'https://test1-api.yunqueyi.com/'
const
evaluatPageUrl
=
'http://10.177.10.225:9001/#/home'
||
'https://test1-phome.yunqueyi.com/gpr/#/home'
export
const
jumpWebPageUrl
=
'https://test1-phome.yunqueyi.com/appl/#/'
// const baseUrl = 'https://uat-sc.yunqueyi.com/'
// const apiUrl = 'https://uat-api.yunqueyi.com/'
...
...
src/views/result.vue
浏览文件 @
a22711d1
...
...
@@ -71,6 +71,7 @@
<
script
>
import
{
m_search_search
,
m_search_result_tab_switch
}
from
'@/utils/buryingPoint'
import
SplitLine
from
'../components/business/split-line'
;
...
...
@@ -173,6 +174,11 @@ export default {
},
// 搜索结果
search
()
{
this
.
pageBurialPoin
({
...
m_search_search
,
labelValue
:
this
.
searchText
,
createdTime
:
new
Date
().
getTime
(),
})
this
.
showLoading
=
true
let
_this
=
this
,
para
=
{
...
...
src/views/search-index.vue
浏览文件 @
a22711d1
...
...
@@ -16,13 +16,6 @@
<
script
>
import
{
mapState
,
mapMutations
}
from
'vuex'
import
{
sortParmData
}
from
'@/utils/index'
import
{
m_search_result_five_minutes_detail
,
m_search_result_five_minutes_order
,
m_search_result_five_minutes_top
,
}
from
'@/utils/buryingPoint'
import
SearchHeader
from
'../components/business/search-header'
;
import
SplitLine
from
'../components/business/split-line'
;
import
HistoryLabels
from
'../components/business/history-labels'
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录