lvhao пре 1 дан
родитељ
комит
05a32ff8ec
1 измењених фајлова са 9 додато и 1 уклоњено
  1. 9 1
      core/CoreApp/controllers/Workshopshow.php

+ 9 - 1
core/CoreApp/controllers/Workshopshow.php

@@ -43,6 +43,8 @@ class Workshopshow extends Start_Controller
             $this->_dyc7twchshow();
         }elseif($arg == 'wfhshow'){
             $this->_wfhshow();
+        }elseif($arg == 'gcjscsshow'){
+            $this->_gcjscsshow();
         }else {
             $this->_index();
         }  
@@ -933,7 +935,13 @@ class Workshopshow extends Start_Controller
     }
     // 各车间生产条数
     private function _gcjscsshow(){
-
+        if($this->input->method() == 'post'){
+            $page = $this->input->post('page',true);
+        }else{
+            $id = $this->input->get('id',true);
+            $this->data['lx'] = $id;
+            $this->_Template('workshopshow_gcjscsshow', $this->data);
+        }
     }
 
 }