xinyb
2022-05-18 c2dc593c9b8948718381f3a2996b6f94a59ad80a
模板添加文字颜色说明
42个文件已修改
421 ■■■■■ 已修改文件
WebRoot/js/hotkey.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/js/panel.js 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/1/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/10/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/15/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/16/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/17/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/18/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/19/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/2/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/20/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/22/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/238/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/3/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/30/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/301/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/302/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/304/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/38/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/4/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/496/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/497/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/498/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/499/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/5/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/7/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/77/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/8/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/public/template/0/9/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/style/commons.css 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/BaseImpl.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/T_22_Impl.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/T_3_Impl.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/T_496_Impl.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/T_498_Impl.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/T_77_Impl.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/v2/BaseImpl.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/v2/T_22_Impl.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/v2/T_3_Impl.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/v2/T_496_Impl.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/v2/T_498_Impl.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/com/yc/service/build/type/v2/T_77_Impl.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/js/hotkey.js
@@ -1368,7 +1368,7 @@
            var panelWidth = document.documentElement.clientWidth;
            var treeWidth = $('#wrappers').outerWidth(true);// 树形的宽度
            var treeHeight = $('#tplt-panels').outerHeight(true);// 树形的高度
            $('#' + gridId[0]).css('height', (treeHeight - 30) + 'px');// 减去30是因为margin和padding的值
            $('#' + gridId[0]).css('height', (treeHeight - 30 - 20) + 'px');// 减去30是因为margin和padding的值
            $('#' + gridId[0]).css('width', (panelWidth - treeWidth - 30) + 'px');
            return;
        }
@@ -1377,6 +1377,7 @@
            if (topPanelHeight == null) {// 没有标题的高度
                topPanelHeight = $('#tplt-top').outerHeight(true)+10;
            }
            panelHeight = panelHeight - 20;//文字颜色说明占了20高
            if (panelType == 1) {
                $('#' + gridId[0]).css('height', (panelHeight - topPanelHeight - 50) + 'px');// 减去50是因为margin和padding的值
                return;
WebRoot/js/panel.js
@@ -3011,33 +3011,6 @@
    });
}
//加载文字颜色说明 xin 2022-5-16 14:50:56
// function getColorDescription(){
//     let colorEvnt = $('.colorDescription');
//     if (colorEvnt == null) {
//         return;
//     }
//     let formId = panelFormId;
//     $.ajax({
//         url: '/panel/colorDescription.do',
//         type: "get",
//         data: {'formId': formId},
//         success: function (res) {
//             if (res != null && res.code === 0) {
//                 let data = res.data;
//                 if (data != null && data.length > 0) {
//                     let text = '文字颜色说明';
//                     for (let i = 0; i < data.length; i++) {
//                         text += '<div><span title="' + data[i].itemMemo + '" class="spanColor" style="background-color: ' + data[i].hexColor + '"></span>' +
//                             '<span style="color: ' + data[i].hexColor + '">' + data[i].colorName + '</span></div>';
//                     }
//                     colorEvnt.html(text);
//                 }
//             }
//         }
//     });
// }
$(function(){
    if(panMain[panIndex]!=null) {
        var panelValue = panMain[panIndex].panelAuditValue;
@@ -3197,6 +3170,4 @@
            $(that).append('<li><img src="' + path + '" alt="" style="width: 100%;height: 150px"/></li>');
        }
    })
    //加载文字颜色说明
    // getColorDescription();
})
WebRoot/public/template/0/1/index.jsp
@@ -27,6 +27,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/10/index.jsp
@@ -24,6 +24,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/15/index.jsp
@@ -24,6 +24,10 @@
            <div id="tplt-panel">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/16/index.jsp
@@ -24,6 +24,10 @@
            <div id="tplt-panel" style="margin-left: 10px;margin-top:5px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
        <%
            if ("1".equals(isShowOnlineMsg)) {
WebRoot/public/template/0/17/index.jsp
@@ -24,6 +24,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/18/index.jsp
@@ -25,6 +25,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/19/index.jsp
@@ -25,6 +25,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/2/index.jsp
@@ -28,6 +28,10 @@
    <div id="tplt-panel">
        <%@ include file="panel.jsp" %>
    </div>
    <div class="colorDescription">
        <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
        [?ColorDescription]
    </div>
</div>
<div region="south" split="false"
     style="height:33px;background:#efefef;border-right:0px;border-bottom:0px;border-left:0px;">
WebRoot/public/template/0/20/index.jsp
@@ -33,6 +33,10 @@
    <div id="tplt-panel" style="margin-top: 5px;">
        <%@ include file="panelR.jsp" %>
    </div>
    <div class="colorDescription">
        <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
        [?ColorDescription]
    </div>
</div>
<div region="south" split="false"
     style="height:30px;background:#efefef;border-right:0px;border-bottom:0px;border-left:0px;">
WebRoot/public/template/0/22/index.jsp
@@ -24,6 +24,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/238/index.jsp
@@ -43,6 +43,10 @@
                    <div region="center" border="false">
                        <%@ include file="panel238.jsp" %>
                    </div>
                    <div class="colorDescription">
                        <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                        [?ColorDescription]
                    </div>
                </div>
            </div>
            <div region="south" split="false"
WebRoot/public/template/0/3/index.jsp
@@ -30,6 +30,10 @@
                <div id="tplt-panel">
                    <%@ include file="@gridJsp@" %>
                </div>
                <div class="colorDescription">
                    <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                    [?ColorDescription]
                </div>
            </div>
            <div region="south" split="false"
                 style="height:30px;background:#efefef;border-right:0px;border-bottom:0px;border-left:0px;">
WebRoot/public/template/0/30/index.jsp
@@ -41,6 +41,10 @@
</div>
<div region="center" border="true" id="tplt-panels" style="border-right:0px;border-bottom:0px;">
    <%@ include file="@gridJsp@" %>
    <div class="colorDescription">
        <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
        [?ColorDescription]
    </div>
</div>
<div region="south" split="false"
     style="height:30px;background:#efefef;border-right:0px;border-bottom:0px;border-left:0px;">
WebRoot/public/template/0/301/index.jsp
@@ -47,6 +47,10 @@
            <div region="center" style="border:none;">
                <%@ include file="@gridJsp@" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
    <div region="south" split="false"
WebRoot/public/template/0/302/index.jsp
@@ -61,6 +61,10 @@
            </div>
            <div region="center">
                <%@ include file="@gridJsp@" %>
                <div class="colorDescription">
                    <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                    [?ColorDescription]
                </div>
                <script type="text/javascript">
                    create("");
                </script>
WebRoot/public/template/0/304/index.jsp
@@ -49,6 +49,10 @@
            <div region="center" border="false">
                <%@ include file="tree.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
            <div region="south" border="false" style="height:200px;border-top: 1px solid #99BBE8;">
                <%@ include file="@gridJsp@" %>
                <script type="text/javascript">
WebRoot/public/template/0/38/index.jsp
@@ -24,6 +24,10 @@
            <div id="tplt-panel" style="margin-left: 10px;margin-top:7px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/4/index.jsp
@@ -39,6 +39,10 @@
                <div id="tplt-right">
                    <%@ include file="panel.jsp" %>
                </div>
                <div class="colorDescription">
                    <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                    [?ColorDescription]
                </div>
            </div>
            <div region="south" split="false"
                 style="height:30px;background:#efefef;border-right:0px;border-bottom:0px;border-left:0px;">
WebRoot/public/template/0/496/index.jsp
@@ -123,6 +123,10 @@
            <div id="tplt-panel">
                @panFou@
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
        <%if ("1".equals(isShowOnlineMsg)) {//isShowOnlineMsg定义在jsCssHead %>
        <%
WebRoot/public/template/0/497/index.jsp
@@ -24,6 +24,10 @@
            <div id="tplt-panel">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/498/index.jsp
@@ -31,6 +31,10 @@
                <div id="tplt-panel" style="float: left;margin-top: 5px;width: 920px;">
                    @panFou@
                </div>
                <div class="colorDescription">
                    <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                    [?ColorDescription]
                </div>
            </div>
            <%if ("1".equals(isShowOnlineMsg)) {//isShowOnlineMsg定义在jsCssHead %>
            <iframe style="width: 850px;height: 220px;" frameborder="0" scrolling="no"
WebRoot/public/template/0/499/index.jsp
@@ -25,6 +25,10 @@
            <div id="tplt-panel" style="margin-left: 10px;margin-top: 5px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/5/index.jsp
@@ -127,6 +127,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
        <%
            if ("1".equals(isShowOnlineMsg)) {//isShowOnlineMsg定义在jsCssHead
WebRoot/public/template/0/7/index.jsp
@@ -25,6 +25,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/77/index.jsp
@@ -25,6 +25,10 @@
            <div id="tplt-panel">
                @panFou@
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/public/template/0/8/index.jsp
@@ -25,6 +25,10 @@
            <div id="tplt-panel">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
            <%if ("1".equals(isShowOnlineMsg)) {//isShowOnlineMsg定义在jsCssHead %>
            <%
                request.setAttribute("formId", formId + "");
WebRoot/public/template/0/9/index.jsp
@@ -25,6 +25,10 @@
            <div id="tplt-panel" style="margin-left: 10px;">
                <%@ include file="panel.jsp" %>
            </div>
            <div class="colorDescription">
                <%//文字颜色说明显示位置 xin 2022-5-16 14:45:39%>
                [?ColorDescription]
            </div>
        </div>
    </div>
</div>
WebRoot/style/commons.css
@@ -909,4 +909,24 @@
}
input[type="color" i]{
    padding: 1px 2px;
}
/*------------文字颜色说明----------------*/
.colorDescription{
    padding: 0px 40px;
    font-size: 13px;
    display: flex;
}
.colorDescription div{
    width: 150px;
    height: 20px;
    display: flex;
    margin-left: 3px;
}
.colorDescription .spanColor{
    margin: 0px 3px 0px 10px;
    width: 80px;
    height: 100%;
    display: inline-block;
    border-radius: 5px;
}
src/com/yc/service/build/type/BaseImpl.java
@@ -6,7 +6,11 @@
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.jdbc.support.rowset.SqlRowSet;
@@ -35,6 +39,8 @@
    protected TreeGridIfc treeGrid;
    @Autowired
    protected GformIfc gformIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    FileAndFolderOper FAFO = new FileAndFolderOper();
    protected String formID = "";
@@ -267,6 +273,25 @@
//    else {
        data = data.replace("@_add_js_css_@", js_css);
//    }
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        if (!file.exists() || !file.isDirectory()) file.mkdirs();
        file = new File(file.getPath() + File.separator + targetFileName);
        FileUtils.writeStringToFile(file, data, "utf-8");
src/com/yc/service/build/type/T_22_Impl.java
@@ -8,6 +8,8 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -24,6 +26,8 @@
@Service("T_22_Impl")
@Scope("prototype")
public  class T_22_Impl extends BaseImpl implements T_22_Ifc {
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    private final String GET_PROC_NAME=" set nocount on ; declare @hdtable varchar(200) ;\n"
            + " SELECT @hdtable = hdtable FROM gform WHERE formid=?  \n"
@@ -180,7 +184,24 @@
        }
        // --------从gform表获取是否显示大标题字段值(isTitle)判断是否显示大标题,并替换标识符-2012-02-20-syz-----[end]-------------------------//
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        //----------------
        
        data = data.replace("[?title]", gformInfo.get("formname")+"");
src/com/yc/service/build/type/T_3_Impl.java
@@ -7,6 +7,8 @@
//import java.util.*;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.exception.ApplicationException;
import com.yc.service.BaseService;
@@ -36,6 +38,8 @@
    private BuildTopIfc buildTopIfc;
    @Autowired
    private TreeIfc treeIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    @Override
    public synchronized int build() throws Exception {
@@ -342,6 +346,22 @@
    }
    // --------从gform表获取是否显示大标题字段值(isTitle)判断是否显示大标题,并替换标识符-2012-02-20-syz-----[end]-------------------------//
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
    // ----------------
    data = data.replace("[?title]", gformInfo.get("formname") + "");
    data = data.replace("[?treewidth]", gformInfo.get("treewidth") + "");
src/com/yc/service/build/type/T_496_Impl.java
@@ -5,6 +5,8 @@
import com.yc.action.grid.GridUtils;
import com.yc.action.grid.TMuiDTO;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.exception.ApplicationException;
import com.yc.service.build.top.BuildTopIfc;
import com.yc.service.commons.GformIfc;
@@ -60,6 +62,8 @@
    private SystemSettingsDao systemSettingsDao;
    @Autowired
    SqlDBHelperIfc sqlDBHelperIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    String doc = "";// 关联字段
    private String id_info="";
    /*
@@ -506,6 +510,22 @@
        } catch (Exception e) {
            throw new ApplicationException(e.getMessage());
        }
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        data = data.replace("[?title]", gformInfo.get("formname") + "");
        data = data.replace("@panFou@", html);
        data = data.replace("[?notab]", ""+isTabs);
src/com/yc/service/build/type/T_498_Impl.java
@@ -8,6 +8,9 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -47,6 +50,8 @@
    private SystemSettingsDao systemSettingsDao;
    @Autowired
    SqlDBHelperIfc sqlDBHelperIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    String doc = "";// 关联字段
    /*
@@ -335,6 +340,23 @@
    } catch (Exception e) {
        e.printStackTrace();
    }
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
    data = data.replace("[?title]", gformInfo.get("formname") + "");
    data = data.replace("@panFou@", indexInc2);
    String tabPage = tabPageCode(formID);
src/com/yc/service/build/type/T_77_Impl.java
@@ -9,6 +9,9 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -36,6 +39,8 @@
    private PanelServiceIfc pIfc;
    @Autowired
    SqlDBHelperIfc sqlDBHelperIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    String doc="";//关联字段
    /*
     * 生成文件
@@ -235,6 +240,23 @@
            }catch(Exception e){
                e.printStackTrace();
            }
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        data = data.replace("[?title]", gformInfo.get("formname")+"");
        data = data.replace("@panFou@",indexInc);
        buildPageCode(data, fileName);
src/com/yc/service/build/type/v2/BaseImpl.java
@@ -2,6 +2,8 @@
import com.yc.action.grid.GridUtils;
import com.yc.action.grid.TreeGridIfc;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.service.BaseService;
import com.yc.service.build.BuildFuncIfc;
import com.yc.service.build.top.v2.BuildTopIfc;
@@ -36,6 +38,8 @@
    protected GformIfc gformIfc;
    @Autowired
    private BuildTopIfc buildTopIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    @Autowired
    protected PanelServiceIfc pIfc;
@@ -199,6 +203,22 @@
        //--------从gform表获取是否显示大标题字段值(isTitle)判断是否显示大标题,并替换标识符-2012-02-20-syz-----[end]-------------------------//
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(baseBean.formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(baseBean.formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        // ----------------
        data = data.replace("[?title]", gformInfo.get("formname") + "");
        data = data.replaceAll("@gridJsp@", baseBean.formID + "_grid.jsp");
src/com/yc/service/build/type/v2/T_22_Impl.java
@@ -1,9 +1,12 @@
package com.yc.service.build.type.v2;
import com.yc.action.grid.GridUtils;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.service.build.top.v2.BuildTopIfc;
import com.yc.service.panel.v2.PanelServiceIfc;
import com.yc.utils.SessionKey;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.support.rowset.SqlRowSet;
@@ -17,6 +20,8 @@
@Service("V22")
public  class T_22_Impl extends BaseImpl implements T_22_Ifc {
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    private final String GET_PROC_NAME=" set nocount on ; declare @hdtable varchar(200) ;\n"
            + " SELECT @hdtable = hdtable FROM gform WHERE formid=?  \n"
@@ -152,7 +157,23 @@
        }
        // --------从gform表获取是否显示大标题字段值(isTitle)判断是否显示大标题,并替换标识符-2012-02-20-syz-----[end]-------------------------//
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(baseBean.formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(baseBean.formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        //----------------
        
        data = data.replace("[?title]", gformInfo.get("formname")+"");
src/com/yc/service/build/type/v2/T_3_Impl.java
@@ -6,6 +6,8 @@
package com.yc.service.build.type.v2;
import com.yc.action.grid.GridUtils;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.exception.ApplicationException;
import com.yc.factory.FactoryBean;
import com.yc.service.BaseService;
@@ -27,6 +29,8 @@
    @Autowired
    private TreeIfc treeIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    @Override
    public int build(BaseBean baseBean) throws Exception {
@@ -290,6 +294,22 @@
        }
        // --------从gform表获取是否显示大标题字段值(isTitle)判断是否显示大标题,并替换标识符-2012-02-20-syz-----[end]-------------------------//
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(baseBean.formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(baseBean.formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        // ----------------
        data = data.replace("[?title]", gformInfo.get("formname") + "");
        data = data.replace("[?treewidth]", gformInfo.get("treewidth") + "");
src/com/yc/service/build/type/v2/T_496_Impl.java
@@ -5,6 +5,8 @@
import com.yc.action.grid.GridUtils;
import com.yc.action.grid.TMuiDTO;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.exception.ApplicationException;
import com.yc.service.build.top.v2.BuildTopIfc;
import com.yc.service.commons.GformIfc;
@@ -13,6 +15,7 @@
import com.yc.service.panel.v2.PanelServiceIfc;
import org.apache.commons.collections.map.HashedMap;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -72,9 +75,10 @@
    private BuildTopIfc buildTopIfc;
    @Autowired
    private PanelServiceIfc pIfc;
    @Autowired
    SqlDBHelperIfc sqlDBHelperIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    /*
     * 生成文件
@@ -422,6 +426,22 @@
        } catch (Exception e) {
            throw new ApplicationException(e.getMessage());
        }
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        data = data.replace("[?title]", gformInfo.get("formname") + "");
        data = data.replace("@panFou@", html);
        data = data.replace("[?notab]", "" + isTabs);
src/com/yc/service/build/type/v2/T_498_Impl.java
@@ -5,10 +5,13 @@
import com.yc.action.grid.GridUtils;
import com.yc.action.grid.TMuiDTO;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.service.impl.DBHelper;
import com.yc.service.panel.v2.PanelServiceIfc;
import com.yc.service.panel.SqlDBHelperIfc;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.support.rowset.SqlRowSet;
import org.springframework.stereotype.Service;
@@ -40,6 +43,8 @@
    //private SystemSettingsDao systemSettingsDao;
    @Autowired
    SqlDBHelperIfc sqlDBHelperIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    /*
@@ -220,6 +225,23 @@
    } catch (Exception e) {
        e.printStackTrace();
    }
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(baseBean.formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(baseBean.formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
    data = data.replace("[?title]", gformInfo.get("formname") + "");
    data = data.replace("@panFou@", indexInc2);
    String tabPage = tabPageCode(formID);
src/com/yc/service/build/type/v2/T_77_Impl.java
@@ -7,10 +7,13 @@
import com.yc.action.grid.GridUtils;
import com.yc.action.grid.TMuiDTO;
import com.yc.api.bean.T9685Entity;
import com.yc.api.service.ApiServiceIfc;
import com.yc.service.impl.DBHelper;
import com.yc.service.panel.SqlDBHelperIfc;
import com.yc.service.panel.v2.PanelServiceIfc;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -27,6 +30,8 @@
    private PanelServiceIfc pIfc;
    @Autowired
    SqlDBHelperIfc sqlDBHelperIfc;
    @Autowired
    private ApiServiceIfc apiServiceIfc;
    /*
     * 生成文件
@@ -161,6 +166,23 @@
        } catch (Exception e) {
            e.printStackTrace();
        }
        //-------------文字颜色说明---------xin 2022-5-18 16:09:54-----------//
        StringBuilder colorText =new StringBuilder();//文字颜色说明
        if(StringUtils.isNotBlank(baseBean.formID)) {
            List<T9685Entity> colorList = apiServiceIfc.get9685List(Integer.parseInt(baseBean.formID));
            if (colorList != null && colorList.size() > 0) {
                colorText.append("文字颜色说明");
                for (T9685Entity t : colorList) {
                    colorText.append("<div><span title=\"" + t.getItemMemo() + "\" class=\"spanColor\" " +
                            "style=\"background-color: " + t.getHexColor() + "\"></span>" +
                            "<span style=\"color: " + t.getHexColor() + "\">" +
                            t.getColorName() + "</span></div>");
                }
            }
        }
        //文字颜色说明 xin 2022-5-18 15:53:13
        data = data.replace("[?ColorDescription]",colorText);
        data = data.replace("[?title]", gformInfo.get("formname") + "");
        data = data.replace("@panFou@", indexInc);
        buildPageCode(data, fileName, baseBean);