|
|
@@ -16,6 +16,8 @@ let rptCustCfgFacade = require("../facade/rpt_cust_cfg_facade");
|
|
|
import JV from "../rpt_component/jpc_value_define";
|
|
|
import rttFacade from "../facade/rpt_tpl_tree_node_facade";
|
|
|
import CompilationModel from "../../users/models/compilation_model";
|
|
|
+let config = require("../../../config/config.js");
|
|
|
+let title = config[process.env.NODE_ENV].title?config[process.env.NODE_ENV].title:"纵横公路养护云造价"
|
|
|
|
|
|
//统一回调函数
|
|
|
let callback = function(req, res, err, message, data){
|
|
|
@@ -144,10 +146,10 @@ let mExport = {
|
|
|
let rstData = {isFreeUser: isFreeUser, data: tplTreeRst};
|
|
|
if (isFreeUser) {
|
|
|
let waterMarks = [];
|
|
|
- waterMarks.push({label:"纵横公路养护云造价", font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[10, 100]});
|
|
|
- waterMarks.push({label:"纵横公路养护云造价", font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[100, 300]});
|
|
|
- waterMarks.push({label:"纵横公路养护云造价", font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[200, 500]});
|
|
|
- waterMarks.push({label:"纵横公路养护云造价", font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[600, 700]});
|
|
|
+ waterMarks.push({label:title, font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[10, 100]});
|
|
|
+ waterMarks.push({label:title, font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[100, 300]});
|
|
|
+ waterMarks.push({label:title, font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[200, 500]});
|
|
|
+ waterMarks.push({label:title, font:{name:'楷体', height: 32, color:'GREEN', angle:45}, left_top:[600, 700]});
|
|
|
rstData.waterMarks = waterMarks;
|
|
|
} else {
|
|
|
rstData.waterMarks = [];
|