|
|
@@ -440,13 +440,25 @@ function creatTask(){
|
|
|
}else{
|
|
|
url+='?classid='+classid+'&unregularid='+unregular_id+'&userid='+userid;
|
|
|
}
|
|
|
- console.log("地址3"+url);
|
|
|
- get_common_service_nohead
|
|
|
- (url,'',function(data){
|
|
|
- tip("已生成",null)
|
|
|
- },function(error){
|
|
|
- tip(error,null)
|
|
|
+ $.ajax({
|
|
|
+ type: 'GET',
|
|
|
+ url: url,
|
|
|
+ contentType: "application/json",
|
|
|
+ dataType: "json",
|
|
|
+ async: true,
|
|
|
+ success: function(response){
|
|
|
+ var data = response;
|
|
|
+ if (data.result_code == 0) {
|
|
|
+ tip("生成成功",null)
|
|
|
+ } else {
|
|
|
+ tip(data.result_desc,null)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ error: function(error) {
|
|
|
+ tip("网络错误",null)
|
|
|
+ }
|
|
|
})
|
|
|
+
|
|
|
|
|
|
|
|
|
}else{
|