跳转增加参数
This commit is contained in:
parent
24e462543a
commit
0146c0ecf5
|
@ -49,6 +49,8 @@
|
||||||
width: 16rem;
|
width: 16rem;
|
||||||
height: 4rem;
|
height: 4rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
cursor: pointer;
|
||||||
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main_wrap .main_center .main_center_item .data1 span,
|
.main_wrap .main_center .main_center_item .data1 span,
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<form id="formId">
|
<form id="formId">
|
||||||
<div class="select-list">
|
<div class="select-list">
|
||||||
<ul>
|
<ul>
|
||||||
<input type="hidden" name="type" value="党风廉政建设"/>
|
<input id="type0831" type="hidden" name="type" value=""/>
|
||||||
<!-- <li>-->
|
<!-- <li>-->
|
||||||
<!-- <label>单位名称:</label>-->
|
<!-- <label>单位名称:</label>-->
|
||||||
<!-- <input type="text" name="unit"/>-->
|
<!-- <input type="text" name="unit"/>-->
|
||||||
|
@ -80,7 +80,9 @@
|
||||||
var editFlag = [[${@permission.hasPermi('base:affairs:edit')}]];
|
var editFlag = [[${@permission.hasPermi('base:affairs:edit')}]];
|
||||||
var removeFlag = [[${@permission.hasPermi('base:affairs:remove')}]];
|
var removeFlag = [[${@permission.hasPermi('base:affairs:remove')}]];
|
||||||
var prefix = ctx + "base/affairs";
|
var prefix = ctx + "base/affairs";
|
||||||
|
if(window.parent.parent){
|
||||||
|
$("#type0831").val(window.parent.parent._tab_name)
|
||||||
|
}
|
||||||
$(function() {
|
$(function() {
|
||||||
var options = {
|
var options = {
|
||||||
url: prefix + "/finishedstaticList",
|
url: prefix + "/finishedstaticList",
|
||||||
|
|
|
@ -44,22 +44,22 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="main_center">
|
<div class="main_center">
|
||||||
<div class="main_center_item">
|
<div class="main_center_item">
|
||||||
<div class="data1">
|
<div class="data1" onclick="openTab(5,'年度考核完成情况')">
|
||||||
<span style="font-weight:900;font-size: 18px" >年度考核完成情况</span>
|
<span style="font-weight:900;font-size: 18px" >年度考核完成情况</span>
|
||||||
<p class="all_num">日常考核总分:0分</p>
|
<p class="all_num">日常考核总分:0分</p>
|
||||||
<p class="curr_num">当前分数:0分</p>
|
<p class="curr_num">当前分数:0分</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="data2">
|
<div class="data2" onclick="openTab(5,'党风廉政建设')">
|
||||||
<span style="font-weight:900;font-size: 18px" >党风廉政建设</span>
|
<span style="font-weight:900;font-size: 18px" >党风廉政建设</span>
|
||||||
<p class="all_num">日常考核总分:0分</p>
|
<p class="all_num">日常考核总分:0分</p>
|
||||||
<p class="curr_num">当前分数:0分</p>
|
<p class="curr_num">当前分数:0分</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="data3">
|
<div class="data3" onclick="openTab(5,'党务及意识形态')">
|
||||||
<span style="font-weight:900;font-size: 18px" >党务及意识形态</span>
|
<span style="font-weight:900;font-size: 18px" >党务及意识形态</span>
|
||||||
<p class="all_num">日常考核总分:0分</p>
|
<p class="all_num">日常考核总分:0分</p>
|
||||||
<p class="curr_num">当前分数:0分</p>
|
<p class="curr_num">当前分数:0分</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="data4">
|
<div class="data4" onclick="openTab(5,'日常考核完成情况')">
|
||||||
<span style="font-weight:900;font-size: 18px" >日常考核完成情况</span>
|
<span style="font-weight:900;font-size: 18px" >日常考核完成情况</span>
|
||||||
<p class="all_num">日常考核总分:0分</p>
|
<p class="all_num">日常考核总分:0分</p>
|
||||||
<p class="curr_num">当前分数:0分</p>
|
<p class="curr_num">当前分数:0分</p>
|
||||||
|
@ -140,37 +140,33 @@
|
||||||
<script th:src="@{/js/echarts.min.js}"></script>
|
<script th:src="@{/js/echarts.min.js}"></script>
|
||||||
<!--<script th:src="@{/js/index.js}"></script>-->
|
<!--<script th:src="@{/js/index.js}"></script>-->
|
||||||
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: footer" />
|
||||||
<script th:inline="javascript">
|
<script type="text/javascript" th:inline="javascript">
|
||||||
var ctx = [[@{/}]];
|
|
||||||
var prefix = ctx + "base/affairs";
|
|
||||||
function openTab(type){
|
|
||||||
switch (type){
|
|
||||||
case 1:
|
|
||||||
$.modal.openTab("党务及意识形态", prefix + '');
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
$.modal.openTab("党风廉政建设", prefix + '/partystyle');
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
$.modal.openTab("日常考核指标", prefix + '/day');
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
$.modal.openTab("年度考核指标", prefix + '/year');
|
|
||||||
break;
|
|
||||||
case 5:
|
|
||||||
$.modal.openTab("指标完成情况汇总", prefix + '/finishedstaticList');
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$('.data1').click(function() {
|
|
||||||
$.modal.openTab("指标完成情况汇总", prefix + '/finishedstaticList');
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
let _peopleData = [];
|
let _peopleData = [];
|
||||||
let _deptData = [];
|
let _deptData = [];
|
||||||
|
|
||||||
|
var ctx = [[@{/}]];
|
||||||
|
var prefix = ctx + "base/affairs";
|
||||||
|
function openTab(type,name){
|
||||||
|
switch (type){
|
||||||
|
case 1:
|
||||||
|
$.modal.openTab("党务及意识形态", prefix + '',true);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
$.modal.openTab("党风廉政建设", prefix + '/partystyle',true);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
$.modal.openTab("日常考核指标", prefix + '/day',true);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
$.modal.openTab("年度考核指标", prefix + '/year',true);
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
window.parent._tab_name = name;
|
||||||
|
$.modal.openTab("指标完成情况汇总", prefix + '/finishedstatic',true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//echarts初始化
|
//echarts初始化
|
||||||
loadEchartsOne();
|
loadEchartsOne();
|
||||||
loadEchartsTwo();
|
loadEchartsTwo();
|
||||||
|
|
Loading…
Reference in New Issue