bug
qinbo
2022-01-11 4afa489e24a623fc534fe114b0cc0b1bd47c8d73
bug
1个文件已修改
22 ■■■■■ 已修改文件
widgetsTS/widget_search/view.js 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
widgetsTS/widget_search/view.js
@@ -63,8 +63,6 @@
//加载count
function loadCountByUserid() {
    var backend_url = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_all_count_by_id&userid=" + thisWidget.userid;
    var backend_url_taxi = thisWidget.nodejs_url_predix + "dataapi/Bdata?bid=get_count_all&datatime=" + thisWidget.datatime + "&datatype=" + thisWidget.datatype;
    console.log(backend_url_taxi)
    $.ajax({
        type: 'get',
        dataType: 'json',
@@ -83,26 +81,6 @@
                    $("#href" + j).attr("_code", cntObj.code);
                    $("#href" + j).attr("_name", cntObj.name);
                }
            }
        },
        error: function (request, textStatus) {
        }
    });
    $.ajax({
        type: 'get',
        dataType: 'json',
        data: {},
        async: true,//同步
        url: backend_url_taxi,
        success: function (data) {
            var cntGroup = data.data.result;
            console.log(cntGroup)
            if (cntGroup != null) {
                $("#count4").html("");
                $("#count4").append(cntGroup.count_all);
                // $("#countName4").text(cntGroup.name);
                // $("#href4").attr("_code", cntGroup.code);
                // $("#href4").attr("_name", cntGroup.name);
            }
        },
        error: function (request, textStatus) {