gpt4 book ai didi

dbTable

转载 作者:知者 更新时间:2024-03-13 06:58:30 25 4
gpt4 key购买 nike

标签:

<my-Double-Table double-Table="doubleTable"head-List="headList"select-Match-List-Tmp="selectMatchListTmp"select-Match-List="selectMatchList"
is-Query="isQuery"filter-Input-Rigth="filterInputRigth"match-List="matchList"select-Data="selectData"on-Rigth-Input-Change-Back="onRigthInputChangeBack()"
rigth-Sort-Obj="rigthSortObj"rigth-Sum="rigthSum" ></my-Double-Table>

属性:

**headList**
$scope.headList =[
    {name:"运单号",code:"trackingNum",width:"100"},
  {name:"件数",code:"count",width:"50",sumCalc:"count",sumInt:"true"},
  {name:"体积",code:"volume",width:"100",decimal:"true",sumCalc:"volume"},
*];*
传入头部的标签,格式为数组对象 [{},{}],
  ***name***:表头的名称
  ***code***:列表返回的数据对应的字段的key值
  ***width***:可以设置列的宽度
  ***sumCalc***:有该字段本列会进行汇总统计(value值对应code的value值)
  ***sumInt***:该字段为true时会对统计值取整

**selectMatchListTmp**
右边实际选择的数据
**selectMatchList**
查询结果列表
**isQuery**
(待定)
**matchList**
查询结果列表
**selectData**
统计查询结果检索条件
**onRigthInputChangeBack**
onRigthInputChange方法回调

**filterInputRigth**
右边的过滤器
**rigthSortObj**
保存右边的排序
**rigthSum**
右边的统计数据
**doubleTable**
用于暴露内部方法,提供给外部调用
  ***queryList(queryNew,url)***:  查询数据,queryNew为查询条件,url为请求地址
  ***leftBtselect(data)***:  左边信息移动到左边,data为选择的信息
  ***rigthBtselect(data)***:  右边信息移动到左边,data为选择的信息
  ***rigthSumFn(allList)***:  右边数据汇总,allList为右边的数据
  ***leftSumFn(allList)***:  左边数据汇总,allList为左边的数据
  ***onRigthSortClick(row)***:  右边数据排序方法,row为当前列的code值
  ***onRigthInputChange(row)***:  右边过滤方法,row为当前列的code值
外部调用示例:$scope.doubleTable.leftBtselect(data);

附:

依附于其他js的几个方法:
window.top.showLoad();显示加载图标
window.top.hideLoad();隐藏加载图标
setContentHegthDelay();重设高度
getQueryString("batchNum");(作用待探究)
*** ***

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com