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
提交
2836191f
提交
2836191f
编写于
11月 26, 2018
作者:
gjyang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'dev-app-home-1029' into Branch_tag-app
# Conflicts: # src/utils/index.js
上级
52db9a64
552eea13
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
32 行增加
和
4 行删除
+32
-4
yqy-adjust.vue
src/components/business-new/yqy-adjust.vue
+2
-0
index.js
src/store/index.js
+3
-1
adjustList.js
src/store/modules/adjustList.js
+18
-0
index.js
src/utils/index.js
+3
-2
home-new.vue
src/views/home/home-new.vue
+6
-1
未找到文件。
src/components/business-new/yqy-adjust.vue
浏览文件 @
2836191f
...
@@ -90,6 +90,8 @@ export default {
...
@@ -90,6 +90,8 @@ export default {
mounted
(){
mounted
(){
this
.
list
=
this
.
parmData
;
this
.
list
=
this
.
parmData
;
this
.
$store
.
dispatch
(
"setSource"
,
[]);
//this.pageNo = this.adjustPageNo;
//this.pageNo = this.adjustPageNo;
// if(window.__isAndroid){
// if(window.__isAndroid){
...
...
src/store/index.js
浏览文件 @
2836191f
...
@@ -3,6 +3,7 @@ import Vuex from 'vuex'
...
@@ -3,6 +3,7 @@ import Vuex from 'vuex'
import
common
from
'./modules/common'
import
common
from
'./modules/common'
import
diagnosis
from
'./modules/diagnosis'
import
diagnosis
from
'./modules/diagnosis'
import
gpRanking
from
'./modules/gpRanking'
import
gpRanking
from
'./modules/gpRanking'
import
adjustDataList
from
'./modules/adjustList'
import
getters
from
'./getters'
import
getters
from
'./getters'
Vue
.
use
(
Vuex
)
Vue
.
use
(
Vuex
)
...
@@ -11,7 +12,8 @@ const store = new Vuex.Store({
...
@@ -11,7 +12,8 @@ const store = new Vuex.Store({
modules
:
{
modules
:
{
common
,
common
,
diagnosis
,
diagnosis
,
gpRanking
gpRanking
,
adjustDataList
},
},
getters
getters
})
})
...
...
src/store/modules/adjustList.js
0 → 100644
浏览文件 @
2836191f
const
adjustList
=
{
state
:
{
adjustLists
:[]
},
mutations
:
{
SET_DATA
:
(
state
,
adjustLists
)
=>
{
console
.
log
(
state
);
state
.
adjustLists
=
adjustLists
},
},
actions
:
{
setSource
({
commit
},
adjustLists
)
{
commit
(
'SET_DATA'
,
adjustLists
)
},
}
}
export
default
adjustList
src/utils/index.js
浏览文件 @
2836191f
...
@@ -233,10 +233,11 @@ export function jumpEvaluatPage(){
...
@@ -233,10 +233,11 @@ export function jumpEvaluatPage(){
// dev地址
// dev地址
const
baseUrl
=
'https://dev-sc.yunqueyi.com/'
const
baseUrl
=
'https://dev-sc.yunqueyi.com/'
const
apiUrl
=
'https://dev-api.yunqueyi.com/'
const
apiUrl
=
'https://dev-api.yunqueyi.com/'
const
evaluatPageUrl
=
'https://dev-phome.yunqueyi.com/gpr/#/home'
const
evaluatPageUrl
=
'https://dev-phome.yunqueyi.com/gpr/#/home'
export
const
jumpWebPageUrl
=
'https://dev-phome.yunqueyi.com/appl/#/'
export
const
jumpWebPageUrl
=
'https://dev-phome.yunqueyi.com/appl/#/'
// test1地址
// test1地址
// const baseUrl = 'https://test1-sc.yunqueyi.com/'
// const baseUrl = 'https://test1-sc.yunqueyi.com/'
// const apiUrl = 'https://test1-api.yunqueyi.com/'
// const apiUrl = 'https://test1-api.yunqueyi.com/'
...
...
src/views/home/home-new.vue
浏览文件 @
2836191f
...
@@ -85,6 +85,7 @@
...
@@ -85,6 +85,7 @@
import
{
Swipe
,
SwipeItem
,
Header
}
from
'mint-ui'
;
import
{
Swipe
,
SwipeItem
,
Header
}
from
'mint-ui'
;
// import { setEventByModuleCode } from '@/utils/index'
// import { setEventByModuleCode } from '@/utils/index'
// import pullRefresh from '../../components/common/pullrefresh'
// import pullRefresh from '../../components/common/pullrefresh'
import
{
mapState
,
mapMutations
}
from
'vuex'
import
BackTop
from
'../../components/common/backTop'
;
import
BackTop
from
'../../components/common/backTop'
;
import
YqyTeacherList
from
'../../components/business-new/yqy-teacher-list'
;
import
YqyTeacherList
from
'../../components/business-new/yqy-teacher-list'
;
import
YqyTopEvaluat
from
'../../components/business-new/yqy-home-learn-evaluation'
;
import
YqyTopEvaluat
from
'../../components/business-new/yqy-home-learn-evaluation'
;
...
@@ -245,7 +246,7 @@ export default {
...
@@ -245,7 +246,7 @@ export default {
// _this.isShowKeep = true;
// _this.isShowKeep = true;
// _this.isHeightFromApp = true;
// _this.isHeightFromApp = true;
// _this.getKeepData(_this.token);
// _this.getKeepData(_this.token);
//
_this.initByToken('593F679F62964076AF1C7489DA3343ED');
_this
.
initByToken
(
'593F679F62964076AF1C7489DA3343ED'
);
// _this.getIconData(_this.token);
// _this.getIconData(_this.token);
// _this.isIntStyle = 'font-style pull-down';
// _this.isIntStyle = 'font-style pull-down';
// _this.fiveTimePull();
// _this.fiveTimePull();
...
@@ -281,6 +282,9 @@ export default {
...
@@ -281,6 +282,9 @@ export default {
},
},
methods
:{
methods
:{
...
mapMutations
([
'SET_DATA'
]),
goAppMsg
(){
goAppMsg
(){
...
@@ -597,6 +601,7 @@ export default {
...
@@ -597,6 +601,7 @@ export default {
if
(
res
.
code
===
'000000'
){
if
(
res
.
code
===
'000000'
){
_this
.
adjustList
=
res
.
data
||
[];
_this
.
adjustList
=
res
.
data
||
[];
_this
.
adjustPageNo
=
1
;
_this
.
adjustPageNo
=
1
;
_this
.
SET_DATA
(
_this
.
adjustList
)
if
(
_this
.
adjustList
.
length
>
0
){
if
(
_this
.
adjustList
.
length
>
0
){
_this
.
userToken
=
userToken
_this
.
userToken
=
userToken
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录