Browse Source

【修改】移动端首页,学生登录后不展示列表项

中职版本
dyy 4 years ago
parent
commit
fc34574e5b
2 changed files with 13 additions and 14 deletions
  1. +8
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js
  2. +5
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html

+ 8
- 8
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/config/config.js View File

@@ -1,15 +1,15 @@
//var config = {
// webapi: 'http://localhost:8088/',
// web: "http://localhost:8087/"//web地址,用于配置logo
//};
var config = {
webapi: 'http://localhost:8088/',
web: "http://localhost:8087/"//web地址,用于配置logo
};
//var config = {
// webapi: 'http://112.230.201.53:31173/',
// web:"http://112.230.201.53/:8081/"//web地址,用于配置logo
//};
var config = {
webapi: 'http://localhost:31173/',
web: "http://localhost:20472/"//web地址,用于配置logo
};
//var config = {
// webapi: 'http://localhost:31173/',
// web: "http://localhost:20472/"//web地址,用于配置logo
//};


//var config = {


+ 5
- 6
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/workspace/workspace.html View File

@@ -46,7 +46,6 @@
$desktop.append(_html);

learun.httpget(config.webapi + "learun/adms/desktop/data", { type: 'list', id: _item.F_Id }, function (data) {
console.log(data);
if (data) {
var $list = $('[data-desktop="' + data.Id + '"]');
//待办
@@ -202,11 +201,11 @@
var $desktop = $('#lr_desktop_msg_content');
$desktop.html('');
var logininfo = learun.storage.get('userinfo');
//if (logininfo.baseinfo.Description != "学生") {
// target(data.target || [], $desktop);
// chart(data.chart || [], $desktop);
//}
list(data.list || [], $desktop);
if (logininfo.baseinfo.Description != "学生") {
//target(data.target || [], $desktop);
//chart(data.chart || [], $desktop);
list(data.list || [], $desktop);
}

if (self) {
self.refresh(true);


Loading…
Cancel
Save