瀏覽代碼

Merge branch '02/24resetMain' into test

mo 4 年之前
父節點
當前提交
049f37759f
共有 2 個文件被更改,包括 17 次插入10 次删除
  1. 15 10
      src/views/childrensDay/detail.vue
  2. 2 0
      src/views/childrensDay/index.vue

+ 15 - 10
src/views/childrensDay/detail.vue

@@ -142,6 +142,11 @@
           ></el-table-column>
           <el-table-column
             align="center"
+            prop="phone"
+            label="手机号"
+          ></el-table-column>
+          <el-table-column
+            align="center"
             prop="subjectName"
             label="学员声部"
           ></el-table-column>
@@ -155,14 +160,14 @@
           <el-table-column align="center" prop="studentId" label="报考器乐等级">
             <template slot-scope="scope">
               <div>
-                {{ scope.row.gradeLeave + "级" }}
+                {{ scope.row.gradeLeave ? scope.row.gradeLeave + "级" : "-" }}
               </div>
             </template>
           </el-table-column>
           <el-table-column align="center" prop="studentId" label="乐理报考等级">
             <template slot-scope="scope">
               <div>
-                {{ scope.row.theoryLevel + "级" }}
+                {{ scope.row.theoryLevel ? scope.row.theoryLeve + "级" : "-" }}
               </div>
             </template>
           </el-table-column>
@@ -184,14 +189,10 @@
               </div>
             </template>
           </el-table-column>
-          <el-table-column
-            align="center"
-            prop="studentId"
-            label="支付金额"
-          >
+          <el-table-column align="center" prop="studentId" label="支付金额">
             <template slot-scope="scope">
               <div>
-                {{ scope.row.totalAmount |moneyFormat }}
+                {{ scope.row.totalAmount | moneyFormat }}
               </div>
             </template>
           </el-table-column>
@@ -271,17 +272,21 @@ export default {
           rows: this.rules.limit,
           ...this.searchForm,
           musicGroupId: this.$route.query.musicGroupId,
+          cooperationOrganId:this.$route.query.cooperationOrganId || null,
+          organId: this.$route.query.organId || null,
         });
         this.tableList = res.data.rows;
         this.rules.total = res.data.total;
-      } catch {}
+      } catch(e) {
+        console.log(e)
+      }
     },
     search() {
       this.rules.page = 1;
       this.getList();
     },
     onReSet() {
-            this.rules = {
+      this.rules = {
         ...this.rules,
         page: 1,
       };

+ 2 - 0
src/views/childrensDay/index.vue

@@ -366,6 +366,8 @@ export default {
         query: {
           musicGroupId: row.musicGroupId,
           musicGroupName: row.musicGroupName,
+          cooperationOrganId:row.cooperationOrganId,
+          organId:row.organId
         },
       });
     },