فهرست منبع

1205 22:43

11
mo 5 سال پیش
والد
کامیت
94e42bc75e
3فایلهای تغییر یافته به همراه9 افزوده شده و 4 حذف شده
  1. 6 2
      src/views/studentManager/components/studentVip.vue
  2. 1 0
      src/views/vipClass/vipReset.vue
  3. 2 2
      vue.config.js

+ 6 - 2
src/views/studentManager/components/studentVip.vue

@@ -144,9 +144,13 @@ export default {
         page_size: [10, 20, 40, 50] // 选择限制显示条数
       },
       dialogTitle: '',
-      gridData: []
+      gridData: [],
+      userId: ''
     }
   },
+  created () {
+    this.userId = this.$route.query.userId || null;
+  },
   mounted () {
     this.getCourseList()
   },
@@ -167,7 +171,7 @@ export default {
       })
     },
     onCourse (row) {
-      findStudentVipGroups({ vipGroupId: row.vipGroupId }).then(res => {
+      findStudentVipGroups({ vipGroupId: row.vipGroupId, studentId: this.userId }).then(res => {
         this.dialogTitle = row.vipGroupName
         if (res.code == 200) {
           this.gridData = res.data.rows

+ 1 - 0
src/views/vipClass/vipReset.vue

@@ -60,6 +60,7 @@
           <template slot-scope="scope">
             <div>
               <el-button type="text"
+                         v-if="!scope.row.isSettlement"
                          @click="resetClass(scope.row)">调整</el-button>
               <el-button type="text"
                          v-if="scope.row.status != 'OVER'"

+ 2 - 2
vue.config.js

@@ -17,11 +17,11 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // http://47.99.212.176:8000 
 // 
 // let target = 'http://testadm.dayaedu.com/' //勇哥迁库
-let target = 'http://192.168.3.27:8000' // 箭河
+// let target = 'http://192.168.3.27:8000' // 箭河
 // let target = 'http://192.168.3.28:8000' //邹璇
 // let target = 'http://192.168.3.8:18000' //勇哥
 // let target = 'http://47.99.212.176:8000' // 测试服
-// let target = 'http://192.168.3.48:8080' // 乔
+let target = 'http://192.168.3.48:8080' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
   /**