瀏覽代碼

创建VIP课名字去掉,金额优化

lex-xin 4 年之前
父節點
當前提交
af475b32de

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-0cbc46b4.004bee3d.css


+ 1 - 1
dist/static/css/chunk-5afaef13.14272e97.css → dist/static/css/chunk-502096dc.4bd74aad.css

@@ -1 +1 @@
-.m-core[data-v-317f57b6]{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.m-core .el-input[data-v-317f57b6]{width:180px}.m-core h4[data-v-317f57b6]{font-size:16px;background-color:#ccc;color:#fff;text-align:center;width:100%;height:40px;line-height:40px;margin-bottom:20px}.m-core .center[data-v-317f57b6],.m-core .right[data-v-317f57b6],.m-core .vipLeft[data-v-317f57b6]{width:400px}.planList[data-v-317f57b6]{padding:0 25px}.planList .planTop[data-v-317f57b6]{height:40px;line-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ccc;margin-top:20px}.planList .planTop>p[data-v-317f57b6]{font-size:14px}.planList .planCore .row[data-v-317f57b6]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;line-height:40px;font-size:14px;text-align:center}.planList .planCore .row div[data-v-317f57b6]{width:87px}.okBtn[data-v-317f57b6]{width:120px;height:40px;line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;background-color:#f97215;float:right}
+.m-core[data-v-26ea7cb0]{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.m-core .el-input[data-v-26ea7cb0]{width:180px}.m-core h4[data-v-26ea7cb0]{font-size:16px;background-color:#ccc;color:#fff;text-align:center;width:100%;height:40px;line-height:40px;margin-bottom:20px}.m-core .center[data-v-26ea7cb0],.m-core .right[data-v-26ea7cb0],.m-core .vipLeft[data-v-26ea7cb0]{width:400px}.planList[data-v-26ea7cb0]{padding:0 25px}.planList .planTop[data-v-26ea7cb0]{height:40px;line-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ccc;margin-top:20px}.planList .planTop>p[data-v-26ea7cb0]{font-size:14px}.planList .planCore .row[data-v-26ea7cb0]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;line-height:40px;font-size:14px;text-align:center}.planList .planCore .row div[data-v-26ea7cb0]{width:87px}.okBtn[data-v-26ea7cb0]{width:120px;height:40px;line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;background-color:#f97215;float:right}

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.d1fb4dc7.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-0cbc46b4.77b20044.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-23726b3b.42384403.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-502096dc.e67d66c0.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-5afaef13.095f40ef.js


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

@@ -8,9 +8,9 @@
       <div class="vipLeft">
         <h4>课程信息</h4>
         <el-form ref="leftForm" :rules="leftFormRules" :label-position="labelPosition" label-width="110px" :model="leftForm">
-          <el-form-item label="课程名称" prop="name">
+          <!-- <el-form-item label="课程名称" prop="name">
             <el-input v-model.trim="leftForm.name" />
-          </el-form-item>
+          </el-form-item> -->
           <el-form-item label="科目名称" prop="subject">
             <el-select v-model.trim="leftForm.subject" filterable clearable @change="changeSubject">
               <el-option v-for="(item,index) in subjectList" :key="index" :value="item.id" :label="item.name" />
@@ -254,7 +254,7 @@
         dialogFormVisible: false,
         labelPosition: "right",
         leftForm: {
-          name: "",
+          // name: "",
           teacher: "",
           subject: "",
           courseType: "",
@@ -1029,7 +1029,7 @@
           studentIdList,
           coursesExpireDate: this.leftForm.courseEnd,
           teacherSchoolId: this.leftForm.section,
-          name: this.leftForm.name,
+          // name: this.leftForm.name,
           offlineClassesNum: offline || 0,
           onlineClassesNum: online || 0,
           offlineClassesUnitPrice: this.rightForm.offlinePrice || 0,
@@ -1186,7 +1186,7 @@
         });
       },
       setVipInfo(data) {
-        this.leftForm.name = data.name;
+        // this.leftForm.name = data.name;
         this.leftForm.subject = parseInt(data.subjectIdList);
         // 激活声部下的所有老师
         this.changeSubject(parseInt(data.subjectIdList));

+ 8 - 11
src/views/chargeManager/two.vue

@@ -97,14 +97,11 @@
           </el-select>
         </el-form-item>
         <el-form-item label="金额(元)" prop="minReceipt" :label-width="formLabelWidth2">
-          <el-input-number
+          <el-input
             style="width: 100%;"
-            v-model="formSporadic.minReceipt"
-            :precision="0"
-            controls-position="right"
-            :min="1"
-            :max="999999999"
-          ></el-input-number>
+            @mousewheel.native.prevent
+            v-model.number="formSporadic.minReceipt"
+          ></el-input>
         </el-form-item>
       </el-form>
       <span slot="footer" class="dialog-footer">
@@ -170,15 +167,15 @@ export default {
       sporadicId: null, // 零星收费编号
       formSporadic: {
         organId: null,
-        minReceipt: 0
+        minReceipt: null
       },
       rulesSporadic: {
         organId: [
           { required: true, message: "请选择所属分部", trigger: "change" }
         ],
         minReceipt: [
-          { required: true, message: "请输入金额", trigger: "blur" }
-        ]
+        { required: true, validator: validAmount, trigger: 'blur' },
+        { type: 'number', message: '金额必须为数字值' }],
       }
     };
   },
@@ -269,7 +266,7 @@ export default {
             if (item.paramName === "sporadic_channel") {
               this.formSporadic = item.paranValue
                 ? JSON.parse(item.paranValue)
-                : { organId: null, minReceipt: 0 };
+                : { organId: null, minReceipt: null };
               this.sporadicId = item.id;
             }
           });

+ 1 - 1
vue.config.js

@@ -22,7 +22,7 @@ const name = defaultSettings.title || '管乐迷后台管理系统' // page titl
 // let target = 'http://192.168.3.28:8000' //邹璇
 // let target = 'http://192.168.3.8:8000' //勇哥
 // let target = 'http://dev.dayaedu.com' // 测试服
-let target = 'http://192.168.3.196:8080' // 乔
+let target = 'http://192.168.3.196:80' // 乔
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
 module.exports = {
   /**

Some files were not shown because too many files changed in this diff