コード例 #1
0
 public function edit_expectTpl()
 {
     $data = $this->PostSubscribeModel->getLastExpect();
     $data['city']['region_name'] = expectCityNameLI($data['expect_city']);
     if ($data['period_start'] == $this->date_type && $data['period_finish'] == $this->date_type) {
         $data['dateType'] = 1;
     } elseif ($data['period_start'] != $this->date_type && $data['period_finish'] == $this->date_type) {
         $data['dateType'] = 2;
     } else {
         $data['dateType'] = 3;
     }
     $this->assign('base', $data);
     $this->assign('workday', getWorkDayText(NULL));
     $this->assign('daysalary', getDaySalaryText(NULL));
     $this->assign('postcate', getPostCategory());
     return $this->fetch('resume_expect_edit');
 }
コード例 #2
0
 public function expectListTpl($student_id = '')
 {
     $data = $this->PostSubscribeModel->getLastExpect($student_id);
     $data['week_available'] = getWorkDayText($data['week_available']);
     $data['salary_range'] = getDaySalaryText($data['salary_range']);
     $data['city']['region_name'] = expectCityName($data['expect_city']);
     $data['category_text'] = D('PostCategory')->getCategoryText($data['expect_category']);
     if ($data['period_start'] == $this->date_type && $data['period_finish'] == $this->date_type) {
         $data['dateType'] = 1;
     } elseif ($data['period_start'] != $this->date_type && $data['period_finish'] == $this->date_type) {
         $data['dateType'] = 2;
     } else {
         $data['dateType'] = 3;
     }
     return $data;
 }
コード例 #3
0
 public function infoList()
 {
     //专业
     $list = array('scaleList' => parent::getScaleList(), 'categoryList' => parent::getCategoryList(), 'majorList' => self::majorTypeList(), 'eduList' => getDegreeText(null), 'rangeList' => getDaySalaryText(null), 'weekList' => getWorkDayText(null));
     return $list;
 }
コード例 #4
0
 public function infoList()
 {
     $list = array('industryList' => parent::getIndustryList(), 'scaleList' => parent::getScaleList(), 'categoryList' => parent::getCategoryList(), 'welfareList' => parent::getWelfareList(), 'provinceList' => self::getProvinceList(), 'eduList' => getDegreeText(null), 'rangeList' => getDaySalaryText(null));
     return $list;
 }