فهرست منبع

任职文件、从业经验、班级管理的搜索功能

Your Name 4 ماه پیش
والد
کامیت
48438471c7
3فایلهای تغییر یافته به همراه29 افزوده شده و 2 حذف شده
  1. 8 0
      src/views/apply/Detail.vue
  2. 10 0
      src/views/classes/Add.vue
  3. 11 2
      src/views/classes/Index.vue

+ 8 - 0
src/views/apply/Detail.vue

@@ -185,6 +185,14 @@
                     <li class="title">学历照 <i @click="rotate(form.education_img,'education_img')" class="el-icon-refresh-right"></i></li>
                     <img width="100%" :src="form.education_img" alt="">
                 </ul>
+                <ul>
+                    <li class="title">从业经验 <i @click="rotate(form.job_exp,'job_exp')" class="el-icon-refresh-right"></i></li>
+                    <img width="100%" :src="form.job_exp" alt="">
+                </ul>
+                <ul>
+                    <li class="title">任职文件 <i @click="rotate(form.title_file,'title_file')" class="el-icon-refresh-right"></i></li>
+                    <img width="100%" :src="form.title_file" alt="">
+                </ul>
                 <ul v-if='form.has_healthimg'>
                     <li class="title">体检表照片 <i @click="rotate(form.health_img,'health_img')" class="el-icon-refresh-right"></i></li>
                     <img width="100%" :src="form.health_img" alt="">

+ 10 - 0
src/views/classes/Add.vue

@@ -23,12 +23,22 @@
                     <!-- <MulSubject :value2="form.subject_id" @valchange="change"/> -->
                     <el-cascader-multi :data="data" @change="change" :value="value2" v-model="value2"> </el-cascader-multi>
                 </el-form-item>
+                <el-form-item label="培训计划编号">
+                        <el-input placeholder="培训计划编号" v-model="form.class_no"></el-input>
+                </el-form-item>
                 <el-form-item label="班级名称">
                         <el-input placeholder="班级名称" v-model="form.name"></el-input>
                 </el-form-item>
                 <el-form-item label="计划人数">
                         <el-input placeholder="计划人数" v-model="form.signup_limit"></el-input>
                 </el-form-item>
+                <el-form-item label="班级状态">
+                        <el-select v-model="form.class_status">
+                            <el-option label="未开班" :value="1"></el-option>
+                            <el-option label="培训中" :value="2"></el-option>
+                            <el-option label="已结束" :value="3"></el-option>
+                        </el-select>
+                </el-form-item>
                 <el-form-item label="备注">
                         <el-input placeholder="备注" v-model="form.remark"></el-input>
                 </el-form-item>

+ 11 - 2
src/views/classes/Index.vue

@@ -49,6 +49,9 @@
             <el-form-item label="班级名称">
               <el-input clearable placeholder="班级名称" v-model="form.name"></el-input>
             </el-form-item>
+            <el-form-item label="班级编号">
+              <el-input clearable placeholder="班级编号" v-model="form.class_no"></el-input>
+            </el-form-item>
             <!-- <el-form-item label="类别">
               <Subject @subChange="subChange" />
             </el-form-item> -->
@@ -63,13 +66,20 @@
                 type="selection" fixed="left"
                 width="55">
                 </el-table-column>
-                <el-table-column prop="name" width="200" label="培训计划编号"></el-table-column>
+                <el-table-column prop="class_no" width="100" label="培训计划编号"></el-table-column>
           <el-table-column prop="name" width="200" label="班级名称">
           </el-table-column>
           <!-- <el-table-column
                 prop="subject_item" width="300"
                 label="培训项目">
                 </el-table-column> -->
+          <el-table-column prop="name" width="200" label="班级状态">
+              <template slot-scope="scope">
+                  <span v-if="scope.row.class_status==1">未开班</span>
+                  <span v-if="scope.row.class_status==2">培训中</span>
+                  <span v-if="scope.row.class_status==3">已结束</span>
+              </template>
+          </el-table-column>
           <el-table-column prop="signup_limit" width="80" label="计划人数">
           </el-table-column>
           <el-table-column prop="signuped_count" width="100" label="已报名人数">
@@ -214,7 +224,6 @@
         });
       },
       showSignupUser(row) {
-        console.log(row, 222222222222);
         this.$refs.ClassUser.showSignupUser(row);
         this.dialogVisible = true;
       },