|
@@ -20,7 +20,7 @@
|
|
|
</div>
|
|
|
<div class="d-inline-block">
|
|
|
<ul class="nav nav-pills m-0">
|
|
|
- <li class="nav-item mr-1"><a href="#man-c" data-toggle="modal" data-target="#man-c" class=" btn btn-outline-primary btn-sm"><i class="fa fa-cog"></i> 通用报表</a></li>
|
|
|
+ <li class="nav-item mr-1"><a href="#man-c" data-toggle="modal" data-target="#man-c" class=" btn btn-outline-primary btn-sm"><i class="fa fa-cog"></i> 推荐报表</a></li>
|
|
|
<li class="nav-item"><a href="#man-i" data-toggle="modal" data-target="#man-i" class=" btn btn-outline-primary btn-sm"><i class="fa fa-plus"></i> 定制报表</a></li>
|
|
|
<!--
|
|
|
-->
|
|
@@ -331,6 +331,11 @@
|
|
|
buildStageSelection();
|
|
|
setupSignature();
|
|
|
|
|
|
+ for (let item of TOP_TREE_NODES) {
|
|
|
+ if (item.name === '通用报表') {
|
|
|
+ item.name = '推荐报表';
|
|
|
+ }
|
|
|
+ }
|
|
|
const ORG_TOP_TREE_NODES = JSON.parse(JSON.stringify(TOP_TREE_NODES));
|
|
|
for (let item of TOP_TREE_NODES) {
|
|
|
item.items = JSON.parse(item.items);
|
|
@@ -404,7 +409,7 @@
|
|
|
|
|
|
function buildTplTree() {
|
|
|
if (TOP_TREE_NODES.length > 0) {
|
|
|
- //1. 整理模板树 (原始状态的TOP_TREE_NODES包含了通用报表与定制表,需要分割)
|
|
|
+ //1. 整理模板树 (原始状态的TOP_TREE_NODES包含了推荐报表与定制表,需要分割)
|
|
|
const individualNode = {id: 99999, name: '定制报表', pid: -1, rpt_type: 0, items: [], isParent: true};
|
|
|
for (let tnIdx = TOP_TREE_NODES.length - 1; tnIdx >= 0; tnIdx--) {
|
|
|
if (TOP_TREE_NODES[tnIdx].pid !== -1) {
|