Browse Source

修复vip调整

1
mo 3 năm trước cách đây
mục cha
commit
088da936d9
2 tập tin đã thay đổi với 9 bổ sung3 xóa
  1. 7 1
      src/views/vipClass/vipReset.vue
  2. 2 2
      vue.config.js

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

@@ -54,6 +54,11 @@
         <el-table-column label="课程编号"
                          align="center"
                          prop="id">
+                         <template slot-scope="scope">
+                           <div>
+                             {{scope.id?scope.id:'--'}}
+                           </div>
+                         </template>
         </el-table-column>
         <el-table-column label="上课日期"
                          align="center"
@@ -819,7 +824,8 @@ export default {
       });
     },
     isDisabled (row, index) {
-      if (row.isSettlement) {
+
+      if (row.isSettlement || !row.id) {
         return false;
       } else {
         return true;

+ 2 - 2
vue.config.js

@@ -19,8 +19,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.251:8000' // 何国威
 // let target = 'http://192.168.3.250:8000' //邹璇
 // let target = 'http://192.168.3.119:8000' //勇哥
-let target = 'http://dev.dayaedu.com' // 开发环境
-// let target = 'https://test.dayaedu.com' //测试环境
+// let target = 'http://dev.dayaedu.com' // 开发环境
+let target = 'https://test.dayaedu.com' //测试环境
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
   /**