mo 5 gadi atpakaļ
vecāks
revīzija
bfbd3ab34a
41 mainītis faili ar 106 papildinājumiem un 51 dzēšanām
  1. 0 0
      dist/index.html
  2. 1 1
      dist/static/css/chunk-08dbbc59.45a46165.css
  3. 0 0
      dist/static/css/chunk-1f21ade4.6275dee7.css
  4. 0 0
      dist/static/css/chunk-6d1f4570.d9436f21.css
  5. 0 0
      dist/static/js/app.448bf947.js
  6. 0 0
      dist/static/js/app.77bb341d.js
  7. 0 0
      dist/static/js/chunk-08dbbc59.2d068308.js
  8. 0 0
      dist/static/js/chunk-15c0f272.05d82a09.js
  9. 0 0
      dist/static/js/chunk-179cb776.c1060705.js
  10. 0 0
      dist/static/js/chunk-197c26e5.253c0b00.js
  11. 0 0
      dist/static/js/chunk-1f21ade4.efc0e3b1.js
  12. 0 0
      dist/static/js/chunk-258c6fac.951ca79c.js
  13. 0 0
      dist/static/js/chunk-2d0b66fc.5c5f94cd.js
  14. 0 0
      dist/static/js/chunk-45c67fda.74c39376.js
  15. 0 0
      dist/static/js/chunk-47fe7b3e.5d4a10fb.js
  16. 0 0
      dist/static/js/chunk-47fe7b3e.c9ef48a1.js
  17. 0 0
      dist/static/js/chunk-50f2e23d.ac019462.js
  18. 0 0
      dist/static/js/chunk-670d72f8.49c5aacc.js
  19. 0 0
      dist/static/js/chunk-6a610be0.4317a520.js
  20. 0 0
      dist/static/js/chunk-6c5f724a.fdcc9be5.js
  21. 0 0
      dist/static/js/chunk-6d1f4570.0a13821c.js
  22. 0 0
      dist/static/js/chunk-711bc3b2.d2cb7359.js
  23. 0 0
      dist/static/js/chunk-73ebb2e3.3bec2740.js
  24. 0 0
      dist/static/js/chunk-af8af8fe.34ef3523.js
  25. 0 0
      dist/static/js/chunk-b50645a8.33a73976.js
  26. 0 0
      dist/static/js/chunk-bd9d6558.46f3459c.js
  27. 0 0
      dist/static/js/chunk-d1dd2788.4a807d87.js
  28. 0 0
      dist/static/js/chunk-ecff1cfa.341383aa.js
  29. 3 3
      src/api/buildTeam.js
  30. 5 0
      src/permission.js
  31. 1 0
      src/store/modules/user.js
  32. 2 1
      src/utils/vueFilter.js
  33. 6 1
      src/views/businessManager/orderManager/income.vue
  34. 5 1
      src/views/categroyManager/vipActiveList.vue
  35. 4 1
      src/views/categroyManager/vipChargeSeting.vue
  36. 45 29
      src/views/studentManager/components/studentOrder.vue
  37. 1 1
      src/views/teamBuild/teamSeting/components/improvementClass.vue
  38. 12 0
      src/views/teamBuild/teamSeting/components/setClass.vue
  39. 1 1
      src/views/teamDetail/components/classList.vue
  40. 6 5
      src/views/teamDetail/components/courseList.vue
  41. 14 7
      src/views/teamDetail/components/studentList.vue

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-670d72f8.64d2428a.css → dist/static/css/chunk-08dbbc59.45a46165.css

@@ -1 +1 @@
-.setBtn[data-v-ed788c88]{width:120px;height:40px;line-height:40px;text-align:center;border-radius:4px;color:#fff;background-color:#444;cursor:pointer;margin:20px 0}.imc[data-v-9994dfb6]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:30px 42px;background-color:#fff;min-height:80vh}.imc .addBtn[data-v-9994dfb6]{line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;width:120px;height:40px;background-color:#4eada7}
+.setBtn[data-v-ed788c88]{width:120px;height:40px;line-height:40px;text-align:center;border-radius:4px;color:#fff;background-color:#444;cursor:pointer;margin:20px 0}.imc[data-v-60dbf060]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:30px 42px;background-color:#fff;min-height:80vh}.imc .addBtn[data-v-60dbf060]{line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;width:120px;height:40px;background-color:#4eada7}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/css/chunk-1f21ade4.6275dee7.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/css/chunk-6d1f4570.d9436f21.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/app.448bf947.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/app.77bb341d.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-08dbbc59.2d068308.js


+ 0 - 0
dist/static/js/chunk-15c0f272.b206f1eb.js → dist/static/js/chunk-15c0f272.05d82a09.js


+ 0 - 0
dist/static/js/chunk-179cb776.ce601b18.js → dist/static/js/chunk-179cb776.c1060705.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-197c26e5.253c0b00.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-1f21ade4.efc0e3b1.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-258c6fac.951ca79c.js


+ 0 - 0
dist/static/js/chunk-2d0b66fc.50ffd661.js → dist/static/js/chunk-2d0b66fc.5c5f94cd.js


+ 0 - 0
dist/static/js/chunk-45c67fda.ee5d2f76.js → dist/static/js/chunk-45c67fda.74c39376.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-47fe7b3e.5d4a10fb.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-47fe7b3e.c9ef48a1.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-50f2e23d.ac019462.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-670d72f8.49c5aacc.js


+ 0 - 0
dist/static/js/chunk-6a610be0.7f013a4f.js → dist/static/js/chunk-6a610be0.4317a520.js


+ 0 - 0
dist/static/js/chunk-6c5f724a.fdbe5e06.js → dist/static/js/chunk-6c5f724a.fdcc9be5.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-6d1f4570.0a13821c.js


+ 0 - 0
dist/static/js/chunk-711bc3b2.3b9ac74f.js → dist/static/js/chunk-711bc3b2.d2cb7359.js


+ 0 - 0
dist/static/js/chunk-73ebb2e3.f8915d98.js → dist/static/js/chunk-73ebb2e3.3bec2740.js


+ 0 - 0
dist/static/js/chunk-af8af8fe.c1bd2f32.js → dist/static/js/chunk-af8af8fe.34ef3523.js


+ 0 - 0
dist/static/js/chunk-b50645a8.01090d5a.js → dist/static/js/chunk-b50645a8.33a73976.js


+ 0 - 0
dist/static/js/chunk-bd9d6558.01f41e15.js → dist/static/js/chunk-bd9d6558.46f3459c.js


+ 0 - 0
dist/static/js/chunk-d1dd2788.5eed49c5.js → dist/static/js/chunk-d1dd2788.4a807d87.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-ecff1cfa.341383aa.js


+ 3 - 3
src/api/buildTeam.js

@@ -320,7 +320,7 @@ export function getTeamDetail (data) {
   })
 }
 
-// 新增提高
+// 新增基础技能
 export function addHighClass (data) {
   return request({
     url: api + `/classGroup/addHighClass`,
@@ -500,7 +500,7 @@ export function getTeamDetailList (data) {
   })
 }
 
-// 提高班详情   data: qs.stringify(data),
+// 基础技能班详情   data: qs.stringify(data),
 export function highClassGroups (data) {
   return request({
     url: api + `/classGroup/highClassGroups`,
@@ -509,7 +509,7 @@ export function highClassGroups (data) {
   })
 }
 
-// 提高班调整
+// 基础技能班调整
 export function resetHighClass (data) {
   return request({
     url: api + `/classGroupStudent/adjustClassGroup`,

+ 5 - 0
src/permission.js

@@ -28,6 +28,10 @@ router.beforeEach(async (to, from, next) => {
       const hasGetUserInfo = store.getters.name
       // 有名字 说明有用户信息 跳走
       if (hasGetUserInfo) {
+        // const accessRoutes = await store.dispatch('permission/generateRoutes')
+
+        // 动态添加可访问的路由
+        // router.addRoutes(accessRoutes)
         next()
       } else {
         try {
@@ -35,6 +39,7 @@ router.beforeEach(async (to, from, next) => {
           await store.dispatch('user/getInfo')
           // 请求接口 生成可访问路由
           const accessRoutes = await store.dispatch('permission/generateRoutes')
+
           // 动态添加可访问的路由
           router.addRoutes(accessRoutes)
           // 确保addroutes完整的hack方法

+ 1 - 0
src/store/modules/user.js

@@ -82,6 +82,7 @@ const actions = {
         commit('SET_TOKEN', '')
         removeToken()
         resetRouter()
+        commit('SET_NAME', '')
         resolve()
       }).catch(error => {
         reject(error)

+ 2 - 1
src/utils/vueFilter.js

@@ -73,9 +73,10 @@ Vue.filter('instrumentType', (value) => {
 // 课程类型
 Vue.filter('coursesType', (value) => {
   let template = {
+    NORMAL: '单技课',
     SINGLE: '单技课',
     MIX: "合奏课",
-    HIGH: "基础技能",
+    HIGH: "基础技能",
     VIP: "VIP课",
     DEMO: "试听课",
     COMPREHENSIVE: '综合课',

+ 6 - 1
src/views/businessManager/orderManager/income.vue

@@ -47,7 +47,7 @@
           </el-select>
         </el-form-item>
         <el-form-item>
-          <el-button @click="getList"
+          <el-button @click="search"
                      type="danger">搜索</el-button>
           <el-button @click="onReSet"
                      type="primary">重置</el-button>
@@ -154,6 +154,10 @@ export default {
     this.getList()
   },
   methods: {
+    search () {
+      this.pageInfo.page = 1;
+      this.getList();
+    },
     getList () {
       let params = this.searchForm
       params.rows = this.pageInfo.limit
@@ -163,6 +167,7 @@ export default {
         if (res.code == 200) {
           this.tableList = result.rows
           this.pageInfo.total = result.total
+
         }
       })
     },

+ 5 - 1
src/views/categroyManager/vipActiveList.vue

@@ -22,7 +22,7 @@
           </el-select>
         </el-form-item>
         <el-form-item>
-          <el-button @click="getList"
+          <el-button @click="search"
                      type="danger">搜索</el-button>
         </el-form-item>
       </el-form>
@@ -423,6 +423,10 @@ export default {
     }
   },
   methods: {
+    search () {
+      this.rules.page = 1;
+      this.getList();
+    },
     getList () {
       vipGroupActivity({
         organId: 1,

+ 4 - 1
src/views/categroyManager/vipChargeSeting.vue

@@ -19,7 +19,7 @@
           </el-select>
         </el-form-item>
         <el-form-item>
-          <el-button @click="getList"
+          <el-button @click="search"
                      type="danger">搜索</el-button>
         </el-form-item>
       </el-form>
@@ -87,6 +87,9 @@ export default {
 
   },
   methods: {
+    search () {
+      this.getList();
+    },
     getList () {
       vipGroupCategory({ organId: this.searchForm.organId }).then(res => {
         if (res.code == 200) {

+ 45 - 29
src/views/studentManager/components/studentOrder.vue

@@ -22,32 +22,41 @@
              v-model="searchForm">
       <el-form-item>
         <el-date-picker style="width: 400px;"
-          v-model="orderDate"
-          type="daterange"
-          value-format="yyyy-MM-dd"
-          @change="searchCourseDate"
-          range-separator="至"
-          start-placeholder="订单开始日期"
-          end-placeholder="订单结束日期">
+                        v-model="orderDate"
+                        type="daterange"
+                        value-format="yyyy-MM-dd"
+                        @change="searchCourseDate"
+                        range-separator="至"
+                        start-placeholder="订单开始日期"
+                        end-placeholder="订单结束日期">
         </el-date-picker>
       </el-form-item>
       <el-form-item>
-        <el-select v-model="searchForm.paymentType" placeholder="交易类型">
-          <el-option v-for="(item, index) in orderStatus" :key="index" 
-            :label="item.label" :value="item.value"></el-option>
+        <el-select v-model="searchForm.paymentType"
+                   placeholder="交易类型">
+          <el-option v-for="(item, index) in orderStatus"
+                     :key="index"
+                     :label="item.label"
+                     :value="item.value"></el-option>
         </el-select>
       </el-form-item>
       <el-form-item>
-        <el-input type="text" v-model="searchForm.remark" placeholder="订单说明"></el-input>
+        <el-input type="text"
+                  v-model="searchForm.remark"
+                  placeholder="订单说明"></el-input>
       </el-form-item>
       <el-form-item>
-        <el-button @click="getList" type="danger">搜索</el-button>
-        <el-button @click="onReSet" type="primary">重置</el-button>
+        <el-button @click="search"
+                   type="danger">搜索</el-button>
+        <el-button @click="onReSet"
+                   type="primary">重置</el-button>
       </el-form-item>
     </el-form>
     <div class="tableWrap">
-      <el-table :data="tableList" :header-cell-style="{background:'#EDEEF0',color:'#444'}">
-        <el-table-column label="订单日期" prop="createTime"
+      <el-table :data="tableList"
+                :header-cell-style="{background:'#EDEEF0',color:'#444'}">
+        <el-table-column label="订单日期"
+                         prop="createTime"
                          width="180px">
         </el-table-column>
         <el-table-column label="交易类型"
@@ -56,16 +65,19 @@
             {{ scope.row.type | orderType }}
           </template>
         </el-table-column>
-        <el-table-column  width="180px" label="实际金额" prop="actualAmount">
+        <el-table-column width="180px"
+                         label="实际金额"
+                         prop="actualAmount">
         </el-table-column>
-        <el-table-column label="订单说明" prop="memo" >
+        <el-table-column label="订单说明"
+                         prop="memo">
         </el-table-column>
       </el-table>
       <pagination :total="pageInfo.total"
-                :page.sync="pageInfo.page"
-                :limit.sync="pageInfo.limit"
-                :page-sizes="pageInfo.page_size"
-                @pagination="getList" />
+                  :page.sync="pageInfo.page"
+                  :limit.sync="pageInfo.limit"
+                  :page-sizes="pageInfo.page_size"
+                  @pagination="getList" />
     </div>
   </div>
 </template>
@@ -99,14 +111,14 @@ export default {
       dataInfo: {}
     }
   },
-  mounted() {
+  mounted () {
     this.getList()
     this.__init()
   },
   methods: {
-    __init() {
+    __init () {
       getUserCashAccountBaseInfo({ userId: this.$route.query.userId }).then(res => {
-        if(res.code == 200) {
+        if (res.code == 200) {
           this.dataInfo = {
             balance: res.data.balance,
             wxBalance: 0,
@@ -116,22 +128,26 @@ export default {
         }
       })
     },
+    search () {
+      this.pageInfo.page = 1;
+      this.getList();
+    },
     getList () {
       let params = this.searchForm
       params.rows = this.pageInfo.limit
       params.page = this.pageInfo.page
-      if(params.remark == '' || !params.remark) {
+      if (params.remark == '' || !params.remark) {
         params.remark = null
       }
       studentPaymentOrderList(params).then(res => {
-        if(res.code == 200) {
+        if (res.code == 200) {
           this.tableList = res.data.rows
           this.pageInfo.total = res.data.total
         }
       })
     },
-    searchCourseDate(value) {
-      if(value) {
+    searchCourseDate (value) {
+      if (value) {
         this.searchForm.orderStartDate = value[0]
         this.searchForm.orderEndDate = value[1]
       } else {
@@ -139,7 +155,7 @@ export default {
         this.searchForm.orderEndDate = null
       }
     },
-    onReSet() { // 重置搜索
+    onReSet () { // 重置搜索
       this.orderDate = null
       this.searchForm = {
         studentId: this.$route.query.userId,

+ 1 - 1
src/views/teamBuild/teamSeting/components/improvementClass.vue

@@ -8,7 +8,7 @@
         <div class="addBtn"
              @click="addClass">添加班级</div>
       </el-form-item>
-      <el-form-item label="提高班参考数量">
+      <el-form-item label="基础技能班参考数量">
         <el-input disabled
                   v-model="topForm.improventClassesNum"></el-input>
       </el-form-item>

+ 12 - 0
src/views/teamBuild/teamSeting/components/setClass.vue

@@ -406,6 +406,12 @@ export default {
               this.activeStudents = [];
               this.$refs['className'].resetFields();
               this.getSingleClass();
+              getTeamRecruit({ musicGroupId: this.teamid }).then(res => {
+                // 获取乐团声部集合
+                if (res.code == 200) {
+                  this.leftList = res.data;
+                }
+              })
 
             }
           })
@@ -421,6 +427,12 @@ export default {
         if (res.code == 200) {
           this.$message.success('删除成功');
           this.getSingleClass();
+          getTeamRecruit({ musicGroupId: this.teamid }).then(res => {
+            // 获取乐团声部集合
+            if (res.code == 200) {
+              this.leftList = res.data;
+            }
+          })
         }
       })
     },

+ 1 - 1
src/views/teamDetail/components/classList.vue

@@ -26,7 +26,7 @@
                          label="课程类型">
           <template slot-scope="scope">
             <div>
-              {{ scope.row.classGroupType | classType}}
+              {{ scope.row.classGroupType | coursesType}}
             </div>
           </template>
         </el-table-column>

+ 6 - 5
src/views/teamDetail/components/courseList.vue

@@ -170,9 +170,9 @@
           <el-time-select placeholder="起始时间"
                           v-model="maskForm.startTime"
                           :picker-options="{
-                            start: '08:30',
+                            start: '06:30',
                             step: '00:15',
-                            end: '18:30'
+                            end: '23:30'
                             }">
           </el-time-select>
         </el-form-item>
@@ -181,9 +181,9 @@
           <el-time-select placeholder="结束时间"
                           v-model="maskForm.endTime"
                           :picker-options="{
-                            start: '08:30',
+                            start: '06:30',
                             step: '00:15',
-                            end: '18:30',
+                            end: '23:30',
                             minTime: maskForm.startTime
                           }">
           </el-time-select>
@@ -290,7 +290,8 @@ export default {
         id: ''
        * 
        */
-      this.maskForm.teacher = row.masterTeacherId;
+      console.log(row);
+      this.maskForm.teacher = parseInt(row.masterTeacherId);
       this.maskForm.assistant = row.teachingTeachers.map(item => {
         return item.userId
       }) || []

+ 14 - 7
src/views/teamDetail/components/studentList.vue

@@ -52,12 +52,12 @@
         <el-select v-model="searchForm.isPay"
                    clearable
                    placeholder="是否缴费">
-          <el-option label="完成缴费"
-                     value="PAID_COMPLETED"></el-option>
-          <el-option label="缴费"
-                     value="NON_PAYMENT"></el-option>
-          <el-option label="缴费"
-                     value="PROCESSING"></el-option>
+          <el-option label="未开启缴费"
+                     value="0"></el-option>
+          <el-option label="开启缴费"
+                     value="1"></el-option>
+          <el-option label="缴费"
+                     value="2"></el-option>
         </el-select>
       </el-form-item>
       <!-- <el-form-item>
@@ -138,7 +138,7 @@
                          label="是否缴费">
           <template slot-scope="scope">
             <div>
-              {{ scope.row.paymentStatus | studentPay}}
+              {{ scope.row.paymentStatus | studentPays}}
             </div>
           </template>
         </el-table-column>
@@ -385,6 +385,13 @@ export default {
   },
   created () {
   },
+  filters: {
+    studentPays (val) {
+      val = parseInt(val);
+      let arr = ['未开启缴费', '开启缴费', '已缴费']
+      return arr[val]
+    }
+  },
   mounted () {
 
     // 获取汇总数据

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels