caipin hace 5 años
padre
commit
8095244b5f
Se han modificado 1 ficheros con 28 adiciones y 0 borrados
  1. 28 0
      global/js/cloud/curingFN.js

+ 28 - 0
global/js/cloud/curingFN.js

@@ -0,0 +1,28 @@
+/**
+ * 编办下拉筛选-统一请求
+ * @returns
+ */
+function curingByCompilation(compilation,latestCompilation){
+	$.ajax({
+        cache :false,
+        type: 'GET',
+        url: '/cloud/curing/ajax/getCuringByCompilationId/'+compilation+'/latestCompilation',
+        //data: { mobile: mobile },
+        dataType: 'json',
+
+        context: $('body'),
+        success: function(data){
+            console.log(data);
+            if(data.status==1||data.status==2){
+                fnStructureCuringUser(data.curingList);
+                fnPage(data.pageData);
+            }else if(data.status==3){
+                //$('div[upCuringBox]').hide();
+                //$('p[upCuringBox]').show();
+            }
+        },
+        error: function(xhr, type){
+            console.log('Ajax error!')
+        }
+    })
+}