commit by Kalman.CHENG ☆

This commit is contained in:
chengminglong
2025-09-09 08:13:16 +08:00
parent 9c175151d8
commit edc578d6b5
19 changed files with 91 additions and 6327 deletions

View File

@@ -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',

View File

@@ -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>

View File

@@ -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({