瀏覽代碼

03/23 17:56

课表列表加 续费导出
Xiao_Mo 5 年之前
父節點
當前提交
dfa5242329

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.03c8438f.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.d5300cdb.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-de5c2e9a.ad572707.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-de5c2e9a.b8feb0b6.js


+ 10 - 0
src/utils/vueFilter.js

@@ -400,4 +400,14 @@ Vue.filter('courseGroup', value => {
     CANCEL:'取消',
   }
   return template[value]
+})
+
+// 首充续费
+
+Vue.filter('firstOrRenewFilter', value => {
+  let template = {
+    '0': "续费",
+    '1': "首次",
+  }
+  return template[value]
 })

+ 21 - 5
src/views/accompanyManager/accompanyList.vue

@@ -40,7 +40,7 @@
             placeholder="是否有教务老师"
           >
             <el-option label="是" value="true"></el-option>
-            <el-option  label="否" value="false"></el-option>
+            <el-option label="否" value="false"></el-option>
           </el-select>
         </el-form-item>
 
@@ -55,6 +55,12 @@
           </el-select>
         </el-form-item>
         <el-form-item>
+          <el-select v-model.trim="searchForm.firstOrRenew" clearable filterable placeholder="是否续费">
+            <el-option label="首充" value="1"></el-option>
+            <el-option label="续费" value="0"></el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item>
           <el-button @click="search" type="danger">搜索</el-button>
           <el-button @click="onReSet" type="primary">重置</el-button>
         </el-form-item>
@@ -109,6 +115,13 @@
               </div>
             </template>
           </el-table-column>
+          <el-table-column align="center" label="是否续费">
+            <template slot-scope="scope">
+              <div>
+                <p>{{scope.row.beRenewGroupId>0?'续费':'首充'}}</p>
+              </div>
+            </template>
+          </el-table-column>
 
           <el-table-column align="center" width="150px" fixed="right" label="操作">
             <template slot-scope="scope">
@@ -173,7 +186,8 @@ export default {
         search: null,
         status: null,
         teacherId: null,
-        organIdList: null
+        organIdList: null,
+        firstOrRenew: null
       },
       closeForm: {
         isBack: false,
@@ -235,7 +249,8 @@ export default {
         search: null,
         status: null,
         teacherId: null,
-        organIdList: null
+        organIdList: null,
+        firstOrRenew:null,
       };
       this.search();
     },
@@ -246,12 +261,13 @@ export default {
         organId: this.searchForm.organIdList || null,
         page: this.rules.page,
         rows: this.rules.limit,
-        hasEducationalTeacherId:this.searchForm.hasEducationalTeacherId || null
+        hasEducationalTeacherId: this.searchForm.hasEducationalTeacherId || null,
+        firstOrRenew:this.searchForm.firstOrRenew || null
       };
       practiceGroupManage(obj).then(res => {
         if (res.code == 200) {
           this.tableData = res.data.rows;
-          this.rules.total = res.data.total; 
+          this.rules.total = res.data.total;
         }
       });
     },

部分文件因文件數量過多而無法顯示