提交 b71bab36 编写于 作者: chendeli's avatar chendeli

add

上级 8190b402
......@@ -41,12 +41,11 @@ export default {
methods: {
goToPage(itemData){
let paramList = this.setEventByModuleCode(itemData);
//console.log(paramList)
//alert(this.userToken);
let code = '';
alert(JSON.stringify(itemData))
if(itemData.appModuleInfo && itemData.appModuleInfo.code == 'M500'){
//let url = jumpWebPageUrl+'activity?categoryId=1';
code = 'M300';
let url = '';
if(itemData.appModuleInfo.paramList.length>0){
if(itemData.appModuleInfo.paramList[0].value.indexOf('activity') > -1){
......@@ -55,17 +54,17 @@ export default {
if(itemData.appModuleInfo.paramList[0].value.indexOf('teachers') > -1){
url = itemData.appModuleInfo.paramList[0].value+'?userToken='+this.userToken;
}
//alert(url);
///alert(url);
}
itemData.appModuleInfo.code = 'M300';
///itemData.appModuleInfo.code = 'M300';
let item = {
"title":"",
"imageUrl":"",
"appModuleInfo":{
"code":itemData.appModuleInfo.code,
"code":code == '' ? itemData.appModuleInfo.code : code,
"type":4,
"name":"wwww",
"paramFlag":1,
......
......@@ -172,6 +172,7 @@ export default {
_this.getAdjustData(_this.userToken);
_this.getNewsData(_this.userToken);
}
//alert(_this.isShowEvluat);
//第一次进来及时
if(_this.isShowEvluat && !_this.isRefreshFromBack){
......@@ -192,7 +193,7 @@ export default {
window.__getUserInfo = function(parm){
//alert(parm.userToken);
alert(parm.userToken);
_this.systemType = parm.systemType;
_this.appVersion = parm.appVersion;
_this.token = parm.userToken;
......@@ -348,17 +349,17 @@ export default {
this.GET('contents/gp/v1/homepage', para).then(res => {
if(res.code == '000000'){
res.data = {
avatarImageUrl: "https://test-file.yunqueyi.com/File/doctor_default.png",
certificateAcquireNumOfHospital: 10,
certificateAcquireNumOfSelf: 9,
courseOverNumOfHospital: 10,
courseOverNumOfSelf: 5,
examOverNumOfHospital: 10,
examOverNumOfSelf: 5,
gradePKToHospital: 0.67,
showFlag: true
}
// res.data = {
// avatarImageUrl: "https://test-file.yunqueyi.com/File/doctor_default.png",
// certificateAcquireNumOfHospital: 10,
// certificateAcquireNumOfSelf: 9,
// courseOverNumOfHospital: 10,
// courseOverNumOfSelf: 5,
// examOverNumOfHospital: 10,
// examOverNumOfSelf: 5,
// gradePKToHospital: 0.67,
// showFlag: true
// }
_this.evaluctObj = res.data || {};
if(res.data.certificateAcquireNumOfSelf == 0 && res.data.courseOverNumOfSelf == 0 && res.data.examOverNumOfSelf == 0){
_this.isShowEvluat = false;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册