作者 王晓刚
1 个管道 的构建 通过 耗费 2 秒

合并分支 'wangxiaogang' 到 'master'

Wangxiaogang



查看合并请求 !67
... ... @@ -159,7 +159,7 @@ class BirdController extends HomeBaseController
$jsonResult = $this->getOrderTracesByJson($indent['order_number'],$indent['logistic_code']);
$result = json_decode($jsonResult,true);
if($result['Success'] == true){
return dump(['code'=>20000,'msg'=>'SUCCESS','data'=>['state'=>$result['State'],'traces'=>$result['Traces']]]);//订单轨迹
return ['code'=>20000,'msg'=>'SUCCESS','data'=>['state'=>$result['State'],'traces'=>$result['Traces']]];//订单轨迹
}else{
return ['code'=>40000,'msg'=>$result['Reason']];
}
... ...
... ... @@ -50,11 +50,14 @@ class LoadController extends HomeBaseController
foreach($result['Data'] as $key => $vo){
$indent = $indentModel->findData(['logistic_code'=>$vo['LogisticCode']]);
if(!empty($indent)){
if($vo['State'] >=1 && $vo['State'] != 4){
if($vo['State'] ==1 || $vo['State'] == 2){
if($indent['state'] == 2){
$indentModel->updateData(['id'=>$indent['id']],['state'=>5]);
}
}
if($vo['State'] == 3){
$indentModel->updateData(['id'=>$indent['id']],['state'=>3]);
}
}
}
$bird = config('bird');
... ...
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/6/9
* Time: 15:34
*/
namespace app\portal\controller;
use app\portal\model\IndentGoodsModel;
use app\portal\model\IndentModel;
use cmf\controller\WeChatBaseController;
use think\Db;
class OrderSalesmanController extends WeChatBaseController
{
protected $user_id;
public function _initialize(){
$user_id = cmf_get_current_user_id();
$this->user_id = $user_id;
$my_user = Db::name('my_user')->where(['uid'=>$user_id])->find();
if(empty($my_user)){
$this->error('查无此人','','','');
}
if($my_user['status'] != 2){
$this->error('您还不是业务员那','','','');
}
}
public function get_all(){
$param = $this->request->param();
if(!empty($param['is_courier'])){
$where['is_courier'] = ['eq',$param['is_courier']];
}
$user_id = $this->user_id;
$where['salesman_uid'] = ['eq',$user_id];
$where['indent_type'] = ['eq',2];
$where['state'] = ['neq',4];
$indentModel = new IndentModel();
$data = $indentModel->selectData($where);
$indentGoodsModel = new IndentGoodsModel();
foreach($data as $key => $vo){
$indent_goods = $indentGoodsModel->selectData(['indent_id'=>$vo['id']]);
$data[$key]['indent_goods'] = $indent_goods;
}
$school = Db::name('school')->where('uid',$user_id)->order('create_time desc')->select();
$this->assign('school',$school);
$this->assign('data',$data);
return $this->fetch();
}
public function getGradeClass(){
$school_id = $this->request->param('school_id',0,'intval');
if(empty($school_id)){
$this->error('缺少必要参数');
}
$grade = Db::name('grade_class')->where(['school_id'=>$school_id])->select()->toArray();
foreach($grade as $key => $g){
$class = explode('-',$g['class']);
$grade[$key]['start'] = $class[0];
$grade[$key]['end'] = $class[1];
}
$this->success('SUCCESS','',$grade);
}
public function getOrderSalesman(){
$param = $this->request->param();
if(!empty($param['school'])){
$where['school'] = ['eq',$param['school']];
}
if(!empty($param['grade'])){
$where['grade'] = ['eq',$param['grade']];
}
$user_id = $this->user_id;
$where['salesman_uid'] = ['eq',$user_id];
$where['indent_type'] = ['eq',2];
$where['state'] = ['neq',4];
$indentModel = new IndentModel();
$data = $indentModel->selectData($where);
$indentGoodsModel = new IndentGoodsModel();
foreach($data as $key => $vo){
$indent_goods = $indentGoodsModel->selectData(['indent_id'=>$vo['id']]);
$data[$key]['indent_goods'] = $indent_goods;
$dara[$key]['create_time'] = date('Y-m-d H:i:s',$vo['create_time']);
}
$this->success('SUCCESS','',$data);
}
}
\ No newline at end of file
... ...
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>学考无忧-订单管理</title>
<link rel="stylesheet" href="__TMPL__/public/assets/css/mui.min.css"/>
<link rel="stylesheet" href="__TMPL__/public/assets/css/mui.picker.min.css"/>
<link rel="stylesheet" href="__TMPL__/public/assets/css/reset.css"/>
<link rel="stylesheet" href="__TMPL__/public/assets/css/log.css"/>
</head>
<body>
<div class="tx_mask_school">
<div class="tx_maskCon_school">
<div class="three_model_school">
<div class="three_model_school_title">
选择学校-班级
</div>
<div class="three_model_school_tab">
<div class="three_model_school_left three_model_school_hover word">
学校
</div>
<div class="three_model_school_left">
班级
</div>
</div>
<div>
<div class="three_model_school_data there_university" style="display: block;">
<foreach name="$school" item="s">
<div class="three_model_school_name <if condition='$key eq 0'>there_unActive</if> school"
data-id="{$s.id}">{$s.school}
</div>
</foreach>
</div>
<div class="three_model_school_data there_class grade">
</div>
</div>
</div>
</div>
</div>
<!-- 弹窗 -->
<div class="tx_mask">
<div class="tx_maskCon">
<div class="tx_maskConImg">
<img src="__TMPL__/public/assets/images/90.png" alt=""/>
</div>
<div class="tx_maskCon2">
<div class="log_three_model">
<div class="log_three_model_one">
<div class="log_three_model_left">配送时间</div>
<div class="log_psong">
<input type="" name="" id="" value="" placeholder="请输入开始配送时间"/>
</div>
</div>
<div class="log_three_model_one">
<div class="log_three_model_left">配送时间</div>
<div class="log_psong">
<input type="" name="" id="" value="" placeholder="请输入结束配送时间"/>
</div>
</div>
<div class="log_three_model_one" style="padding-bottom: 0;">
<div class="log_three_model_left" style="margin-top: -0.3rem;">单号</div>
<div class="log_three_model_right">
<input type="text" placeholder="请输入快递单号"/>
</div>
</div>
</div>
<!-- 确定 -->
<div class="tx_maskOk">确定</div>
</div>
</div>
</div>
<div class="tx_maskone">
<div class="tx_maskCon">
<div class="tx_maskConImg">
<img src="__TMPL__/public/assets/images/91.png" alt=""/>
</div>
<div class="tx_maskCon2">
<div class="log_three_model">
<div class="log_three_model_one">
<div class="log_three_model_left">配送时间</div>
<div class="log_psong">
<input type="" name="" id="" value="" placeholder="请输入开始配送时间"/>
</div>
</div>
<div class="log_three_model_one">
<div class="log_three_model_left">配送时间</div>
<div class="log_psong">
<input type="" name="" id="" value="" placeholder="请输入结束配送时间"/>
</div>
</div>
</div>
<!-- 确定 -->
<div class="tx_maskOk">确定</div>
</div>
</div>
</div>
<div class="log_top_co">
<!-- 顶部 -->
<div class=" order_top log_top_co">
<a href="">
<img src="__TMPL__/public/assets/images/left.png" alt=""/>
</a>
<p>订单管理</p>
</div>
</div>
<!-- tab切换 -->
<div class="log_three_tab log_three_tab_top">
<div class="log_three_tab_one log_three_tab_two word_color aaa">未发货</div>
<div class="log_three_tab_one">已发货</div>
<div class="log_three_tab_one">已完成</div>
</div>
<!-- 下拉框 -->
<div class="log_three_select">
<div class="log_three_select_one log_three_select_school">
<div class="log_three_select_title log_three_select_school2">
请选择学校/班级
</div>
<div class="log_three_select_img">
<img src="__TMPL__/public/assets/images/75.png" alt=""/>
</div>
</div>
<div class="log_three_select_one log_three_select_peisong">
<div class="log_three_select_title">
统一配送
</div>
<div class="log_three_select_img">
<img src="__TMPL__/public/assets/images/75.png" alt=""/>
</div>
</div>
<div class="log_three_select_one log_three_select_btn search">
搜索
</div>
<input type="hidden" id="school" value=""/>
<input type="hidden" id="grade" value=""/>
</div>
<!-- 列表内容 -->
<div>
<!--未发货-->
<div class="log_three_list_contant" style="display: block;">
<foreach name="$data" item="vo">
<if condition="$vo.state eq 2">
<div class="log_three_list">
<div class="log_three_list_top">
<div class="log_three_list_top_left">
<div class="log_three_list_top_lo">
<img src="__TMPL__/public/assets/images/fangkuang.png" alt=""/>
</div>
<div class="log_three_list_top_lt">
<div class="log_three_zhongbiao">
<img src="__TMPL__/public/assets/images/52.png" alt=""/>
</div>
<div class="log_three_shijian">
{:date('Y-m-d H:i:s',$vo['create_time'])}
</div>
</div>
</div>
<div class="log_three_list_top_right">
<if condition="$vo.state eq 2">
待发货
<elseif condition="$vo.state eq 5"/>
已发货
<elseif condition="$vo.state eq 3"/>
已完成
</if>
</div>
</div>
<foreach name="$vo.indent_goods" item="i_g">
<div class="log_three_list_center">
<div class="log_three_list_center_left">
<img src="{:cmf_get_image_url($i_g.thumbnail)}" alt=""/>
</div>
<div class="log_three_list_center_right">
<div class="log_three_center_one">
{$i_g.book_name}
</div>
<div class="log_three_center_two">×{$i_g.number}</div>
<div class="log_three_center_three"><span></span>{$i_g.price*$i_g.number}</div>
</div>
</div>
</foreach>
<!-- 立即发货 -->
<div class="log_three_bottom_btn">
<if condition="$vo.state eq 2">
<div class="log_three_bottom" data-indent-id="{$vo.id}" data-is_courier="{$vo.is_courier}">
立即发货
</div>
<elseif condition="$vo.state eq 5"/>
<if condition="$vo.is_courier eq 2">
<a href="#">
<div class="log_three_bottom" data-indent-id="{$vo.id}">
查看物流
</div>
</a>
</if>
<elseif condition="$vo.state eq 3"/>
<div class="log_three_bottom" data-indent-id="{$vo.id}">
已完成啦
</div>
</if>
</div>
</div>
</if>
</foreach>
</div>
<!--已发货-->
<div class="log_three_list_contant">
<foreach name="$data" item="vo">
<if condition="$vo.state eq 5">
<div class="log_three_list">
<div class="log_three_list_top">
<div class="log_three_list_top_left">
<div class="log_three_list_top_lo">
<img src="__TMPL__/public/assets/images/fangkuang.png" alt=""/>
</div>
<div class="log_three_list_top_lt">
<div class="log_three_zhongbiao">
<img src="__TMPL__/public/assets/images/52.png" alt=""/>
</div>
<div class="log_three_shijian">
{:date('Y-m-d H:i:s',$vo['create_time'])}
</div>
</div>
</div>
<div class="log_three_list_top_right">
<if condition="$vo.state eq 2">
代发货
<elseif condition="$vo.state eq 5"/>
已发货
<elseif condition="$vo.state eq 3"/>
已完成
</if>
</div>
</div>
<foreach name="$vo.indent_goods" item="i_g">
<div class="log_three_list_center">
<div class="log_three_list_center_left">
<img src="{:cmf_get_image_url($i_g.thumbnail)}" alt=""/>
</div>
<div class="log_three_list_center_right">
<div class="log_three_center_one">
{$i_g.book_name}
</div>
<div class="log_three_center_two">×{$i_g.number}</div>
<div class="log_three_center_three"><span></span>{$i_g.price*$i_g.number}</div>
</div>
</div>
</foreach>
<!-- 立即发货 -->
<div class="log_three_bottom_btn">
<if condition="$vo.state eq 2">
<div class="log_three_bottom" data-indent-id="{$vo.id}" data-is_courier="{$vo.is_courier}">
立即发货
</div>
<elseif condition="$vo.state eq 5"/>
<if condition="$vo.is_courier eq 2">
<div class="log_three_bottom" data-indent-id="{$vo.id}">
查看物流
</div>
</if>
<elseif condition="$vo.state eq 3"/>
<div class="log_three_bottom" data-indent-id="{$vo.id}">
已完成啦
</div>
</if>
</div>
</div>
</if>
</foreach>
</div>
<!--已完成-->
<div class="log_three_list_contant">
<foreach name="$data" item="vo">
<if condition="$vo.state eq 3">
<div class="log_three_list">
<div class="log_three_list_top">
<div class="log_three_list_top_left">
<div class="log_three_list_top_lo">
<img src="__TMPL__/public/assets/images/fangkuang.png" alt=""/>
</div>
<div class="log_three_list_top_lt">
<div class="log_three_zhongbiao">
<img src="__TMPL__/public/assets/images/52.png" alt=""/>
</div>
<div class="log_three_shijian">
{:date('Y-m-d H:i:s',$vo['create_time'])}
</div>
</div>
</div>
<div class="log_three_list_top_right">
<if condition="$vo.state eq 2">
代发货
<elseif condition="$vo.state eq 5"/>
已发货
<elseif condition="$vo.state eq 3"/>
已完成
</if>
</div>
</div>
<foreach name="$vo.indent_goods" item="i_g">
<div class="log_three_list_center">
<div class="log_three_list_center_left">
<img src="{:cmf_get_image_url($i_g.thumbnail)}" alt=""/>
</div>
<div class="log_three_list_center_right">
<div class="log_three_center_one">
{$i_g.book_name}
</div>
<div class="log_three_center_two">×{$i_g.number}</div>
<div class="log_three_center_three"><span></span>{$i_g.price*$i_g.number}</div>
</div>
</div>
</foreach>
<!-- 立即发货 -->
<div class="log_three_bottom_btn">
<if condition="$vo.state eq 2">
<div class="log_three_bottom" data-indent-id="{$vo.id}" data-is_courier="{$vo.is_courier}">
立即发货
</div>
<elseif condition="$vo.state eq 5"/>
<if condition="$vo.is_courier eq 2">
<div class="log_three_bottom" data-indent-id="{$vo.id}">
查看物流
</div>
</if>
<elseif condition="$vo.state eq 3"/>
<div class="log_three_bottom" data-indent-id="{$vo.id}">
已完成啦
</div>
</if>
</div>
</div>
</if>
</foreach>
</div>
</div>
<!-- 底部按钮 -->
<div class="log_three_list_fixed">
<div class="log_three_fixed_left">
<div class="log_three_fixed_left_one">
<img src="__TMPL__/public/assets/images/fangkuang.png" alt=""/>
</div>
<div class="log_three_fixed_left_two">
全选
</div>
</div>
<div class="log_three_fixed_right">
统一发货
</div>
</div>
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/base.js"></script>
<script src="__TMPL__/public/assets/js/mui.min.js"></script>
<script src="__TMPL__/public/assets/js/mui.picker.min.js"></script>
<script src="__TMPL__/public/assets/js/city.data-3.js"></script>
<script>
// 选择学校
$(".three_model_school_left").click(function () {
var indexs = $(this).index();
console.log(indexs);
$(".three_model_school_data").eq(indexs).css("display", "block").siblings().css("display", "none");
});
$(".log_three_tab_one").click(function () {
var tabIndex = $(this).index();
$(this).addClass("log_three_tab_two").addClass("word_color").addClass('aaa').siblings().removeClass("log_three_tab_two").removeClass("word_color").removeClass("aaa");
$('.log_three_list_contant').eq(tabIndex).css('display', 'block').siblings().css('display', 'none');
});
$(".three_model_school_tab>div").click(function () {
$(this).addClass("three_model_school_hover").addClass("word_color").addClass('aaa').siblings().removeClass("three_model_school_hover").removeClass("word_color").removeClass("aaa");
});
$(".log_three_list_top_lo").click(function () {
if ($(this).find("img").attr("src") == "__TMPL__/public/assets/images/fangkuang.png") {
$(this).find("img").attr("src", "__TMPL__/public/assets/images/xuanzhong (1).png");
} else {
$(this).find("img").attr("src", "__TMPL__/public/assets/images/fangkuang.png");
}
});
$(".log_three_fixed_left_one").click(function () {
if (
$(this)
.find("img")
.attr("src") == "__TMPL__/public/assets/images/fangkuang.png"
) {
$(this)
.find("img")
.attr("src", "__TMPL__/public/assets/images/xuanzhong (1).png");
$(".log_three_list_top_lo")
.find("img")
.attr("src", "__TMPL__/public/assets/images/xuanzhong (1).png");
} else {
$(this)
.find("img")
.attr("src", "__TMPL__/public/assets/images/fangkuang.png");
$(".log_three_list_top_lo")
.find("img")
.attr("src", "__TMPL__/public/assets/images/fangkuang.png");
}
});
$(".log_three_select_peisong").click(function () {
$(".tx_mask").css({
display: "block"
});
});
var index = $(".log_three_bottom").index();
$(".log_three_bottom").click(function () {
console.log(index);
$(".tx_maskone").css({
display: "block"
});
});
$(".tx_maskOk").click(function () {
$(".tx_maskone").css({
display: "none"
});
$(".tx_mask").css({
display: "none"
});
});
//学校/弹窗
$(".log_three_select_school").click(function () {
$(".tx_mask_school").css({
display: "block"
});
});
// tab 大学
var $xuexiao
$(".there_university div").click(function () {
var index = $(this).index();
$(this).addClass("there_unActive").siblings().removeClass("there_unActive");
if ($(this).hasClass("there_unActive")) {
$xuexiao = $(this).text();
console.log($xuexiao);
$(".there_university").hide();
$(".there_class").show();
$('.three_model_school_left').eq(0).removeClass('word_color').removeClass('three_model_school_hover');
$('.three_model_school_left').eq(1).addClass('word_color').addClass('three_model_school_hover');
}
});
$('body').on('click', ".there_class div", function () {
console.log($xuexiao)
var index2 = $(this).index();
$(this).addClass("there_unActive").siblings().removeClass("there_unActive");
if ($xuexiao == undefined) {
alert('请选择学校')
} else if ($(this).hasClass("there_unActive")) {
var banji = $(this).text();
$('.log_three_select_school2').text($xuexiao + ' ' + "—" + ' ' + banji);
$(".log_three_select_school2").css("color", "#333")
$(".tx_mask_school").hide();
$('#school').val($xuexiao);
$('#grade').val(banji);
}
})
// 关闭弹窗
$(document).mouseup(function (e) {
var _con = $('.tx_maskCon_school');
if (!_con.is(e.target) && _con.has(e.target).length === 0) {
$('.tx_mask_school').hide()
}
})
$(function () {
$('.school').click(function () {
var school_id = $(this).attr('data-id');
$.ajax({
url: "{:url('order_salesman/getGradeClass')}",
type: 'GET',
data: {'school_id': school_id},
success: (function (data) {
if (data.code == 1) {
var result = data.data;
var html = '';
for (var i = 0; i < result.length; i++) {
var i2 = Number(result[i].start);
var j = Number(result[i].end);
for (i2; i2 <= j; i2++) {
// if(i == 0){
// html += "<div class=\"three_model_school_name there_unActive\" data-id=\""+result[i].id+"\">"+result[i].grade+"—"+i2+"</div>";
// }
html += "<div class=\"three_model_school_name\" data-id=\"" + result[i].id + "\">" + result[i].grade + "—" + i2 + "班</div>";
}
}
$('.grade').html(html);
} else {
alert(data.msg);
}
})
})
})
$('.search').click(function () {
var school = $('#school').val();
var grade = $('#grade').val();
if (school == '') {
alert('请选择学校')
} else if (grade == '') {
alert('请选择班级')
} else {
console.log(school);
console.log(grade);
$.ajax({
'url': "{:url('order_salesman/getOrderSalesman')}",
'type': "GET",
'data': {'school': school, 'grade': grade},
'success': (function (data) {
if (data.code == 1) {
var result = data.data;
console.log(result)
var html = '';
for (var i = 0; i < result.length; i++) {
if (result[i]['state'] == 2) {
var state = '待发货';
if (result[i]['is_courier'] == 1) {
var html_bottom = "<div class=\"log_three_bottom_btn\"><div class=\"log_three_bottom\" data-indent-id=\"" + result[i].id + "\" data-is_courier=\"" + result[i].is_courier + "\">\n" +
"\t\t\t\t\t\t\t\t\t\t立即发货\n" +
"\t\t\t\t\t\t\t\t\t</div></div>";
} else {
var html_bottom = "<div class=\"log_three_bottom_btn\"><div class=\"log_three_bottom\" data-indent-id=\"" + result[i].id + "\" data-is_courier=\"" + result[i].is_courier + "\">\n" +
"\t\t\t\t\t\t\t\t\t\t立即发货\n" +
"\t\t\t\t\t\t\t\t\t</div></div>";
}
} else if (result[i]['state'] == 5) {
var state = '已发货';
var html_bottom = "<a href=\"#\">\n" +
"\t\t\t\t\t\t\t\t\t\t\t<div class=\"log_three_bottom_btn\"><div class=\"log_three_bottom\" data-indent-id=\"" + result[i].id + "\">\n" +
"\t\t\t\t\t\t\t\t\t\t\t\t查看物流\n" +
"\t\t\t\t\t\t\t\t\t\t\t</div></div>\n" +
"\t\t\t\t\t\t\t\t\t\t</a>";
} else {
var state = '已完成';
var html_bottom = "<div class=\"log_three_bottom\" data-indent-id=\"\"+result[i].id+\"\">\n" +
"\t\t\t\t\t\t\t\t\t\t已完成啦\n" +
"\t\t\t\t\t\t\t\t\t</div>";
}
var indent_goods_data = result[i].indent_goods;
var indent_goods_html = '';
for(var i3=0;i3<indent_goods_data.length;i3++){
indent_goods_html += "<div class=\"log_three_list_center\">\n" +
" <div class=\"log_three_list_center_left\">\n" +
" <img src=\"{:cmf_get_image_url('')}"+indent_goods_data[i3].thumbnail+"\" alt=\"\"/>\n" +
" </div>\n" +
" <div class=\"log_three_list_center_right\">\n" +
" <div class=\"log_three_center_one\">\n" +
" "+indent_goods_data[i3].book_name+"\n" +
" </div>\n" +
" <div class=\"log_three_center_two\">×"+indent_goods_data[i3].number+"</div>\n" +
" <div class=\"log_three_center_three\"><span>¥</span>"+indent_goods_data[i3].price*indent_goods_data[i3].number+"</div>\n" +
" </div>\n" +
" </div>";
}
console.log(indent_goods_html);
html += "<div class=\"log_three_list\">\n" +
"\t\t\t\t\t\t\t<div class=\"log_three_list_top\">\n" +
"\t\t\t\t\t\t\t\t<div class=\"log_three_list_top_left\">\n" +
"\t\t\t\t\t\t\t\t\t<div class=\"log_three_list_top_lo\">\n" +
"\t\t\t\t\t\t\t\t\t\t<img src=\"__TMPL__/public/assets/images/fangkuang.png\" alt=\"\" />\n" +
"\t\t\t\t\t\t\t\t\t</div>\n" +
"\t\t\t\t\t\t\t\t\t<div class=\"log_three_list_top_lt\">\n" +
"\t\t\t\t\t\t\t\t\t\t<div class=\"log_three_zhongbiao\">\n" +
"\t\t\t\t\t\t\t\t\t\t\t<img src=\"__TMPL__/public/assets/images/52.png\" alt=\"\" />\n" +
"\t\t\t\t\t\t\t\t\t\t</div>\n" +
"\t\t\t\t\t\t\t\t\t\t<div class=\"log_three_shijian\">\n" +
"\t\t\t\t\t\t\t\t\t\t\t" + result[i].create_time + "\n" +
"\t\t\t\t\t\t\t\t\t\t</div>\n" +
"\t\t\t\t\t\t\t\t\t</div>\n" +
"\t\t\t\t\t\t\t\t</div>\n" +
"\t\t\t\t\t\t\t\t<div class=\"log_three_list_top_right\">\n" +
"\t\t\t\t\t\t\t\t\t\t" + state + "\n" +
"\t\t\t\t\t\t\t\t</div>\n" +
"\t\t\t\t\t\t\t</div>\n" +indent_goods_html+
"\t\t\t\t\t\t</div>"+html_bottom;
}
console.log(html);
var index = $('.log_three_tab_top div').index($('.aaa'));
$('.log_three_list_contant').eq(index).html(html);
} else {
alert('未知错误');
}
}),
'error': (function () {
alert('与服务器断开连接');
})
})
}
})
})
</script>
</body>
</html>
\ No newline at end of file
... ...