commit by Kalman.CHENG ☆
This commit is contained in:
@@ -105,38 +105,44 @@ layui.define(['message', 'table', 'jquery', 'element', 'yaml', 'form', 'tab', 'm
|
||||
body.on("click", ".refresh", function () {
|
||||
refresh();
|
||||
})
|
||||
|
||||
if (isMuiltTab(param) === "true" || isMuiltTab(param) === true) {
|
||||
|
||||
var indexTabData = {};
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "/QingLong/gtzz/getWhiceRole",
|
||||
async: false,
|
||||
success: function (res) {
|
||||
var indexHref = 'html/pages/welcome.html';
|
||||
var _id = "indexPage";
|
||||
// $.ajax({
|
||||
// type: "GET",
|
||||
// url: "/QingLong/gtzz/getWhiceRole",
|
||||
// async: false,
|
||||
// success: function (res) {
|
||||
// var indexHref = 'html/pages/welcome.html';
|
||||
// var _id = "indexPage";
|
||||
//
|
||||
// if (param.other.report) {
|
||||
// indexHref = 'view/tb/school/task_list_p.html?is_finish=0';
|
||||
// _id = "10";
|
||||
// } else {
|
||||
// if (res.role_id == 232) {
|
||||
// indexHref = 'html/pages/projectManagement/zbzx/index.html';
|
||||
// } else if (res.role_id == 234 || res.role_id === 243) {
|
||||
// indexHref = 'html/pages/projectManagement/xx/index.html';
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// indexTabData = {
|
||||
// id: _id,
|
||||
// url: indexHref,
|
||||
// title: param.tab.index.title,
|
||||
// close: false
|
||||
// }
|
||||
//
|
||||
// }
|
||||
// });
|
||||
|
||||
if (param.other.report) {
|
||||
indexHref = 'view/tb/school/task_list_p.html?is_finish=0';
|
||||
_id = "10";
|
||||
} else {
|
||||
if (res.role_id == 232) {
|
||||
indexHref = 'html/pages/projectManagement/zbzx/index.html';
|
||||
} else if (res.role_id == 234 || res.role_id === 243) {
|
||||
indexHref = 'html/pages/projectManagement/xx/index.html';
|
||||
}
|
||||
}
|
||||
|
||||
indexTabData = {
|
||||
id: _id,
|
||||
url: indexHref,
|
||||
title: param.tab.index.title,
|
||||
close: false
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
indexTabData = {
|
||||
id: "indexPage",
|
||||
url: "html/pages/welcome.html",
|
||||
title: param.tab.index.title,
|
||||
close: false
|
||||
}
|
||||
|
||||
bodyTab = pearTab.render({
|
||||
elem: 'content',
|
||||
|
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<div class="right-content clearfix">
|
||||
<div class="content-name">
|
||||
<p style="font-size: 20px;font-weight: bolder;margin-left: 70px;color: #6998F4;" id="system_name">长春市装备信息管理系统</p>
|
||||
<p style="font-size: 20px;font-weight: bolder;margin-left: 70px;color: #6998F4;" id="system_name">理想智慧大脑基础数据管理系统</p>
|
||||
<!-- <p style="font-size: 20px;font-weight: bolder;margin-left: -5px;"><img src="./img/title_tk.png"></p> -->
|
||||
|
||||
</div>
|
||||
|
@@ -106,7 +106,8 @@ layui.define(['message', 'table', 'jquery', 'element', 'yaml', 'form', 'tab', 'm
|
||||
refresh();
|
||||
})
|
||||
|
||||
if (isMuiltTab(param) === "true" || isMuiltTab(param) === true) {
|
||||
// if (isMuiltTab(param) === "true" || isMuiltTab(param) === true) {
|
||||
if (isMuiltTab(param) === "false" || isMuiltTab(param) === false) {
|
||||
|
||||
var indexTabData = {};
|
||||
$.ajax({
|
||||
|
Reference in New Issue
Block a user