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
提交
60861a06
提交
60861a06
编写于
1月 03, 2019
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
uat 排序问题
上级
91f6334a
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
24 行增加
和
16 行删除
+24
-16
course-list.vue
src/components/business/course-list.vue
+4
-1
five-minutes.vue
src/components/business/five-minutes.vue
+3
-1
health-comics.vue
src/components/business/health-comics.vue
+3
-1
teacher-list.vue
src/components/business/teacher-list.vue
+3
-1
mixins.js
src/utils/mixins.js
+1
-0
result.vue
src/views/result.vue
+10
-12
未找到文件。
src/components/business/course-list.vue
浏览文件 @
60861a06
...
...
@@ -97,8 +97,10 @@ export default {
},
watch
:
{
orderNum
(
val
)
{
if
(
this
.
showOrder
)
{
this
.
orderAction
(
1
,
true
)
}
}
},
components
:
{
GroupTitle
...
...
@@ -189,6 +191,7 @@ export default {
})
}
this
.
searchForOrder
(
'1'
,
this
.
cSearchText
,
orderIndex
,
this
.
groupNum
,
this
.
parmData
).
then
(
param
=>
{
// this.$refs.courseListGT.resetShowOrderIndex()
this
.
list
=
param
})
}
...
...
src/components/business/five-minutes.vue
浏览文件 @
60861a06
...
...
@@ -99,8 +99,10 @@ export default {
}
},
orderNum
(
val
)
{
if
(
this
.
showOrder
)
{
this
.
orderAction
(
1
,
true
)
}
}
},
created
()
{
let
_this
=
this
;
...
...
src/components/business/health-comics.vue
浏览文件 @
60861a06
...
...
@@ -85,8 +85,10 @@ export default {
},
watch
:
{
orderNum
(
val
)
{
if
(
this
.
showOrder
)
{
this
.
orderAction
(
1
,
true
)
}
}
},
mounted
()
{
let
_this
=
this
...
...
src/components/business/teacher-list.vue
浏览文件 @
60861a06
...
...
@@ -93,8 +93,10 @@ export default {
},
watch
:
{
orderNum
(
val
)
{
if
(
this
.
showOrder
)
{
this
.
orderAction
(
1
,
true
)
}
}
},
methods
:
{
//跳转
...
...
src/utils/mixins.js
浏览文件 @
60861a06
...
...
@@ -97,6 +97,7 @@ module.exports = {
// 根据条件排序
async
searchForOrder
(
searchCategory
=
'1'
,
searchValue
=
''
,
sortItem
=
1
,
pageSize
=
10
,
sourceData
=
[])
{
if
(
pageSize
<=
0
)
return
;
let
str2
=
(
searchValue
||
''
).
replace
(
/
[\-\_\,\!\|\~\`\(\)\#\$\%\^\&\*\{\}\:\;\"\L\<\>\?]
/g
,
''
);
// 去掉特殊字符
let
_this
=
this
,
para
=
{
...
...
src/views/result.vue
浏览文件 @
60861a06
...
...
@@ -42,7 +42,7 @@
<div
class=
"list-container"
v-show=
"navIndex === '0' && showTab0"
>
<!-- 课程 -->
<div
v-show=
"showTab1"
>
<CourseList
ref=
"courseListRef"
:parmData=
"contentAppModels"
:groupNum=
"contentAppModelCount"
/>
<CourseList
:parmData=
"contentAppModels"
:groupNum=
"contentAppModelCount"
/>
<ShowAllItem
@
showAllItem=
"showAllItem"
itemIndex=
"1"
/>
<SplitLine
borderWidth=
"3px"
/>
</div>
...
...
@@ -66,7 +66,7 @@
<NoMoreItem/>
</div>
<div
class=
"list-container"
v-show=
"navIndex === '1' && showTab1"
>
<CourseList
:showTitle=
"showTitle"
:showOrder=
"showOrder"
:parmData=
"contentAppModelsAll"
:groupNum=
"contentAppModelCount"
/>
<CourseList
ref=
"courseListRef"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
:parmData=
"contentAppModelsAll"
:groupNum=
"contentAppModelCount"
/>
<NoMoreItem/>
</div>
<div
class=
"list-container"
v-show=
"navIndex === '2' && showTab2"
>
...
...
@@ -218,7 +218,7 @@ export default {
keywordColor
:
'rgba(244,122,72,1)'
,
sortItem
:
1
,
pageNo
:
1
,
pageSize
:
100
,
pageSize
:
4
,
token
:
_this
.
token
,
setEntry
:
'headers'
,
}
...
...
@@ -234,19 +234,16 @@ export default {
// _this.searchText = ''
_this
.
navIndex
=
'0'
if
(
res
.
code
==
'000000'
)
{
console
.
log
(
res
)
// 课程
_this
.
contentAppModels
=
this
.
spliceCertenNumData
(
res
.
data
.
contentAppModels
,
4
)
_this
.
contentAppModelsAll
=
res
.
data
.
contentAppModels
_this
.
contentAppModelCount
=
res
.
data
.
contentAppModelCount
+
''
if
(
res
.
data
.
contentAppModelCount
>
100
){
_this
.
searchForOrder
(
'1'
,
str2
,
1
,
res
.
data
.
contentAppModelCount
).
then
(
param
=>
{
_this
.
contentAppModelsAll
=
param
console
.
log
(
'2222'
,
param
)
})
}
// _this.$refs.courseListRef.resetGT()
_this
.
setOrderNum
((
_this
.
orderNum
+
1
))
// if(res.data.contentAppModelCount > 100){
// _this.searchForOrder('1', str2, 1, res.data.contentAppModelCount).then( param => {
// _this.contentAppModelsAll = param
// })
// }
// _this.$refs.courseListRef.orderAction(1, true)
if
(
res
.
data
.
contentAppModelCount
===
0
){
_this
.
showTab1
=
false
}
...
...
@@ -271,6 +268,7 @@ export default {
if
(
res
.
data
.
educationContentCount
===
0
){
_this
.
showTab4
=
false
}
_this
.
setOrderNum
((
_this
.
orderNum
+
1
))
}
})
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录