浏览代码

修改新建VIP参数

1
mo 4 年之前
父节点
当前提交
eb838d0d45
共有 3 个文件被更改,包括 7 次插入6 次删除
  1. 2 2
      src/views/buildVip/index.vue
  2. 1 0
      src/views/categroyManager/vipNewActive.vue
  3. 4 4
      vue.config.js

+ 2 - 2
src/views/buildVip/index.vue

@@ -204,6 +204,7 @@
           <el-form-item label="上课学员" prop="students">
             <el-select
               v-model.trim="leftForm.students"
+              collapse-tags
               multiple
               clearable
               placeholder="请输入上课学员"
@@ -814,8 +815,6 @@ export default {
         this.giveNum = giveNum || 0;
 
         return parseInt(offline) + parseInt(online) + "+" + giveNum || "";
-      } else if(this.hotType == 'DISCOUNT' && this.attribute3  && this.attribute3 > 0) {
-        return parseInt(this.attribute3)
       }
       return parseInt(offline) + parseInt(online) || "";
     },
@@ -984,6 +983,7 @@ export default {
     },
     // 选择活动方案
     chioseActive(val) {
+      console.log(val)
       this.rightForm.offlineCourse = "";
       this.rightForm.onlineCourse = "";
       // this.rightForm.onlinePrice = '';

+ 1 - 0
src/views/categroyManager/vipNewActive.vue

@@ -242,6 +242,7 @@
               :inline="true"
               ref="form"
               :rules="courseNumrules"
+               v-if="activeType == 'DISCOUNT'"
             >
               <el-form-item prop="minCourseNum">
                 <el-input

+ 4 - 4
vue.config.js

@@ -20,8 +20,8 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.139:8000' // 箭河
 // let target = 'http://192.168.3.38:8000' //邹璇
 // let target = 'http://192.168.3.57: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' //测试环境
 // let target = 'http://192.168.3.134' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
@@ -66,9 +66,9 @@ module.exports = {
       // let target = 'http://dev.dayaedu.com'
       // 'http://dev.dayaedu.com'
       '/api-auth': {
-        // target: 'http://dev.dayaedu.com',
+        target: 'http://dev.dayaedu.com',
         // target: 'http://47.114.176.40:8000',
-        target : 'https://test.dayaedu.com',
+        // target : 'https://test.dayaedu.com',
         changeOrigin: true,
         pathRewrite: {
           '^api-auth': ''