zoukankan      html  css  js  c++  java
  • 工作过程中的一段代码

    <td class="text-center">{{demand.LOW_PRICE}}-{{demand.HIGH_PRICE}}Ԫ</td>
    <td class="text-center">{{demand.LOW_SQUARE}}-{{demand.HIGH_SQUARE}}</td>
    <td class="text-center">{{demand.ROOM1}}-{{demand.ROOM2}}</td>
    <td class="text-center">{{demand.TYPE|T_}}/{{demand.SUBTYPE|ST_}}</td>
    <td class="text-center">{{demand.CBD}}</td>
    <td class="text-center">{{demand.CLOSED|CLOSED_}}</td>
    <td class="text-center">{{demand.LOOKHDT | LOOKHDT_}}</td>
    <td class="text-center">{{demand.DEMAND}}</td>
    <td class="text-center">{{demand.INPUTDT|date:'yyyy-MM-dd'}}</td>
    <td>{{demand.LASTDT|date:'yyyy-MM-dd'}}</td>
    <td class="text-center">{{demand.SOURCE|SOURCE_}}</td>
    <td class="text-center">{{demand.LOOKEDNUM}}/{{demand.LOOKED|date:'yyyy-MM-dd'}}</td>


    reserve(demand.CRID, demand.CID,demand.TYPE,demand.SUBTYPE,demand.LOW_PRICE,
    demand.HIGH_PRICE,demand.LOW_SQUARE,demand.HIGH_SQUARE,demand.ROOM1,
    demand.ROOM2,demand.CBD,demand.DEMAND)

    $scope.reserve = function(crid, cid, type, stype,low_price,high_price,low_square,high_square,room1,room2,cbd,demand){

    $location.search("CRID", crid);
    $location.search("CID",cid);
    $location.search('TYPE', type);
    $location.search('STYPE', stype);
    $location.search('LOW_PRICE', low_price);
    $location.search('HIGH_PRICE', high_price);
    $location.search('LOW_SQUARE', low_square);
    $location.search('HIGH_SQUARE',high_square);
    $location.search('ROOM1', room1);
    $location.search('ROOM2', room2);
    $location.search('CBD', cbd)
    $location.search('DEMAND', demand)
    };

    DataCenter.find("houses", {page:1,size:20,COMPANY:1,TYPE:$scope.type,STYPE:$scope.stype});
    DataCenter.addEventListener("housesList",function(e){
    $scope.housesList = e.data;
    console.log("------------aaaaaa",$scope.housesList);
    $scope.$apply();
    });

  • 相关阅读:
    PHP之html~01
    常用的html标签大全
    PHP从PHP5.0到PHP7.1的性能全评测
    PHP的性能演进(从PHP5.0到PHP7.1的性能全评测)
    Unix及类Unix系统文本编辑器的介绍
    keychain 的学习
    开发中遇到的一些问题
    IOS 照片浏览器总结(思想步骤)
    IOS 应用管理(九宫格) 总结笔记
    IOS 集成友盟分享
  • 原文地址:https://www.cnblogs.com/shunzdd/p/angularjs.html
Copyright © 2011-2022 走看看