Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
02884366
提交
02884366
编写于
12月 21, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug 修改
上级
1c415cf7
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
11 行增加
和
4 行删除
+11
-4
index.js
src/utils/index.js
+6
-0
result.vue
src/views/result.vue
+4
-4
search-index.vue
src/views/search-index.vue
+1
-0
未找到文件。
src/utils/index.js
浏览文件 @
02884366
...
@@ -238,6 +238,12 @@ export function pageJumpUrl(){
...
@@ -238,6 +238,12 @@ export function pageJumpUrl(){
return
url
;
return
url
;
}
}
export
function
sortParmData
(
originData
,
orderCol
,
index
)
{
return
originData
.
sort
((
a
,
b
)
=>
{
return
(
a
[
orderCol
]
-
b
[
orderCol
]
)
*
-
1
})
}
//跳转个人评价页面
//跳转个人评价页面
export
function
jumpEvaluatPage
(){
export
function
jumpEvaluatPage
(){
return
evaluatPageUrl
return
evaluatPageUrl
...
...
src/views/result.vue
浏览文件 @
02884366
...
@@ -148,11 +148,10 @@ export default {
...
@@ -148,11 +148,10 @@ export default {
window
.
__getUserInfo
=
function
(
params
){
window
.
__getUserInfo
=
function
(
params
){
_this
.
token
=
params
.
userToken
_this
.
token
=
params
.
userToken
// _this.SET_USER_INFO(params)
// _this.SET_USER_INFO(params)
//
_this.search()
_this
.
search
()
_this
.
getAdjustData
()
_this
.
getAdjustData
()
}
}
if
(
window
.
__isWeb
)
{
if
(
window
.
__isWeb
)
{
_this
.
getAdjustData
()
_this
.
search
()
_this
.
search
()
}
}
window
.
__refresh
=
function
(){
window
.
__refresh
=
function
(){
...
@@ -161,7 +160,6 @@ export default {
...
@@ -161,7 +160,6 @@ export default {
},
},
mounted
(){
mounted
(){
this
.
getUserInfo
()
this
.
getUserInfo
()
this
.
search
()
// this.searchAll(this.searchText, '1', 'contentAppModels', 'contentAppModelsAll')
// this.searchAll(this.searchText, '1', 'contentAppModels', 'contentAppModelsAll')
},
},
methods
:
{
methods
:
{
...
@@ -183,10 +181,11 @@ export default {
...
@@ -183,10 +181,11 @@ export default {
createdTime
:
new
Date
().
getTime
(),
createdTime
:
new
Date
().
getTime
(),
})
})
this
.
showLoading
=
true
this
.
showLoading
=
true
let
str2
=
(
this
.
searchText
||
''
).
replace
(
/
[\-\_\,\!\|\~\`\(\)\#\$\%\^\&\*\{\}\:\;\"\L
\<
\>\?]
/g
,
''
);
// 去掉特殊字符
let
_this
=
this
,
let
_this
=
this
,
para
=
{
para
=
{
searchCategory
:
'1,2,3,4'
,
searchCategory
:
'1,2,3,4'
,
searchValue
:
_this
.
searchText
,
searchValue
:
str2
,
keywordColor
:
'rgba(244,122,72,1)'
,
keywordColor
:
'rgba(244,122,72,1)'
,
sortItem
:
1
,
sortItem
:
1
,
pageNo
:
1
,
pageNo
:
1
,
...
@@ -323,6 +322,7 @@ export default {
...
@@ -323,6 +322,7 @@ export default {
width
:
100%
;
width
:
100%
;
/* margin: 0 20px; */
/* margin: 0 20px; */
border-bottom
:
1px
solid
#E7E7E7
!important
;
border-bottom
:
1px
solid
#E7E7E7
!important
;
/* background-color: #fff; */
}
}
.mint-searchbar
{
.mint-searchbar
{
position
:
relative
;
position
:
relative
;
...
...
src/views/search-index.vue
浏览文件 @
02884366
...
@@ -126,6 +126,7 @@ export default {
...
@@ -126,6 +126,7 @@ export default {
width
:
100%
;
width
:
100%
;
/* margin: 0 20px; */
/* margin: 0 20px; */
border-bottom
:
1px
solid
#E7E7E7
!important
;
border-bottom
:
1px
solid
#E7E7E7
!important
;
background-color
:
#fff
;
}
}
.mint-searchbar
{
.mint-searchbar
{
position
:
relative
;
position
:
relative
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录