This commit is contained in:
chenyi 2017-01-02 08:25:11 +00:00
parent 6b5b3f5059
commit cfbdf809f9
1 changed files with 2 additions and 2 deletions

View File

@ -409,7 +409,7 @@
200: function(rpstr) {// 请求成功 200: function(rpstr) {// 请求成功
var color = ["","#d2d6de","#dd4b39","#00a65a","#00c0ef"]; var color = ["","#d2d6de","#dd4b39","#00a65a","#00c0ef"];
if(rpstr.code=="0"){ if(rpstr.code=="0"){
var data=rsptr.data; var data=rpstr.data;
for(var i = 0; i < data.length; ++i){ for(var i = 0; i < data.length; ++i){
var template = $("#mission_template"); var template = $("#mission_template");
var tp=template.clone("true"); var tp=template.clone("true");
@ -449,7 +449,7 @@
statusCode: { statusCode: {
200: function(rpstr) {// 请求成功 200: function(rpstr) {// 请求成功
if(rpstr.code=="0"){ if(rpstr.code=="0"){
var data=rsptr.data; var data=rpstr.data;
$("#cy_task_name").html(data.name); $("#cy_task_name").html(data.name);
$("#cy_task_content").html(data.content); $("#cy_task_content").html(data.content);
$("#cy_task_deadline").html(data.deadline); $("#cy_task_deadline").html(data.deadline);