• jquery通过ajax获取数据(优化、封装)


    下载页面查看: makeGrid.js   ,column.js  ,XiangMuGuanLi.aspx

         <div class="tb_container" id="tb_container1"  style="padding-top:0;">
                <div class="tb_sub_container" id="tbContent">
                                    
                    <div class="ui-jqgrid-bdiv" style="overflow-y:auto;">       
                        <div id="tablethead" style="position:fixed; display:block; left:0; top:32px; z-index:5; margin-left:1%;">
                            <table class="table_1  notop  noright noleft" width="100%">
                                <thead id="thead2" style="background:#fff; " >
                                </thead>
                            </table>
                        </div>
                        <table class="table_1 notop  noright noleft" id="tb_2" style="100%;"  url="../Service/KJ_XiangMuAjax.aspx?key=ZaiTanXiangMu" sort="desc" order="designerManagerTime"
                            post-data="{'bumen': 0,'yewuyuan':0, 'search':'', 'datetime':'','costumType':'','area':'' }">
                             <thead id="thead1">
                                     <tr class="toptr2">
                                        <th colspan="8" class="bdBottom1" data-colspan="8">项目信息</th>
                                        <th colspan="1" class="bdBottom1" data-colspan="1">已收</th>
                                        <th colspan="1" class="bdBottom1" data-colspan="1">应付</th>
                                        <th colspan="1" class="bdBottom1" data-colspan="1">已付</th>                                    
                                        <th colspan="2" class="bdBottom1" data-colspan="2">余额</th>
                                    </tr>
                                     <tr  class="thetr">
                                        <th  width="4%" data-col="0" field="RowNumber">序号</th>
                                        <th width="9%" data-col="0"  field="orderNumber">谈单编号</th>                                    
                                        <th width="10%" data-col="0" field="designerManagerTime">交易时间</th>    
                                        <th width="7%" data-col="0"  field="costumType">类型</th>     
                                        <th width="7%" data-col="0"  field="area">面积</th>
                                        <th width="7%" data-col="0"  field="u_xingming">业务员</th>
                                        <th width="7%" data-col="0"  field="zhouqi">进程(天)</th>
                                        <th width="7%" data-col="0"  field="JinDu">当前阶段</th>
                                        <th width="7%" data-col="1"  field="ChuShouJia" format="isFormat" adformat="yh_JiaoYiJinE.aspx"><a class="linkText down"  data-str='ChuShouJia'>交易金额(元)</a></th>
                                        <th width="9%" data-col="2"  field="YingFaXinXiFei" format="isFormat" adformat="yingfu_XinXiFei.aspx"><a class="linkText up" data-str='YingFaXinXiFei'>信息费(元)</a></th>
                                        <th width="9%" data-col="3"  field="ShiFaXinXiFei" format="isFormat" adformat="yifu_XinXiFei.aspx"><a class="linkText down" data-str="ShiFaXinXiFei">信息费(元)</a></th>
                                        <th width="8%" data-col="4"  field="WeiFaXinXiFei"><a class="linkText down" data-str="WeiFaXinXiFei">差额(元)</a></th>
                                        <th class="last" data-col="4"  field="yue"><a class="linkText down" data-str="yue">金额(元)</a></th>    
                                      </tr>
                                </thead>
                                <tbody id="tbodycontent">
                                </tbody>
                            </table> 
                    </div>
                    <div class="j_height">
                                <table  class="tb_all" >
                                    <tr class="target_tr" id="tbootHeJi">
                                        <td  width="4%">统计</td>
                                        <td  width="9%"></td>
                                        <td  width="10%"></td>
                                        <td  width="7%"></td>
                                        <td  width="7%"></td>
                                        <td  width="7%"></td>                                    
                                        <td  width="7%"></td>
                                        <td  width="7%"></td>
                                        <td  width="7%" field="ChuShouJia" HeJi="" DanWei=""></td>
                                        <td  width="9%" field="YingFaXinXiFei"  HeJi="" DanWei=""></td>
                                        <td  width="9%" field="ShiFaXinXiFei"  HeJi="" DanWei=""></td>
                                        <td  width="8%" field="WeiFaXinXiFei"  HeJi="" DanWei=""></td>
                                        <td field="yue"  HeJi="" DanWei=""></td>
                                    </tr>
                                </table>
                    </div>
                   
                    <div class="tx_right">
                        <div id="pages" class="basePaging">
                        </div>
                    </div> 
                
                </div>
            </div>
  • 相关阅读:
    physicslectureGriavity
    electromagnetic
    dp
    physicsmechanic wave
    C# 2.0 Specification(迭代器)(二)
    C#类、接口、虚方法和抽象方法接口与抽象类的区别实例
    web.config connectionStrings 数据库连接字符串的解释(转载)
    onpropertychange事件
    C#中ParameterizedThreadStart和ThreadStart区别
    C# 文件操作全收录
  • 原文地址:https://www.cnblogs.com/wanliyuan/p/4235603.html
Copyright © 2020-2023  润新知