Browse Source

修复测试bug

linehang 6 years ago
parent
commit
479a1bad0a

+ 1 - 0
html/yjfk/js/feedback-records.js

@ -44,6 +44,7 @@ function getPatientInfo(){
        if(res.status == 200){
            idcard = res.data.idcardAll;
            getAccountBackData(true);
            getFeedbackData(true);
        }else{
            queryFailed(res);
        }

+ 3 - 1
html/yszx/html/select-consult-doctor.html

@ -67,12 +67,14 @@
                    <div class="c-f12 c-323232 pt10 clearfix"> 
                        <div class="fl w-33"><span class="pr5">关注</span>{{it.concernNum}}</div>
                        <div class="fl w-33"><span class="pr5">咨询</span>{{it.consultNum}}</div>
                        <div class="fl w-33"><span class="pr5">文章</span>{{it.articleNum}}</div>
                    </div>
                </div>
            </li>
            {{/each}}
        </script>
        
         <!--<div class="fl w-33"><span class="pr5">文章</span>{{it.articleNum}}</div>-->
         
        <script src="../../../js/jquery/2.1.3/jquery.js"></script>
        <script src="../../../widget/artDialog/6.0.5/js/dialog-plus.min.js"></script>
        <script type="text/javascript" src="../../../js/weixin_common.js"></script>

+ 7 - 5
html/yszx/js/focused-doctor.js

@ -1,5 +1,5 @@
var d = dialog({contentType:'load', skin:'bk-popup'});
var page = 1,
var page = 0,
    pageSize = 10,
    userAgent = window.localStorage.getItem(agentName),
    pagetype = 2;
@ -23,11 +23,13 @@ function queryInit(){
function getDoctorList(isInit){
    d.show();
    if(isInit){
        page = 1;
        page = 0;
    }
    var url = "/patient/concern/getConcernDoctors",
        params = {
            patient: userAgent.uid
            patient: userAgent.uid,
            page: page,
            pageSize: pageSize
        };
    sendPost(url, params, 'JSON', 'GET', queryFailed, function(res){
        if(res.status == 200){
@ -88,7 +90,7 @@ function initScroller(){
            down:{
                callback: function(){
                    getDoctorList(true);
                    this.endPulldownToRefresh();
                    this.refresh(true);
                }
            },
            up: {
@ -96,7 +98,7 @@ function initScroller(){
                    var self = this;
                    setTimeout(function() {
                        getDoctorList(false);
//                      self.endPullupToRefresh();
                         //self.endPullupToRefresh();
                    }, 1000);
                }
            }