Browse Source

提交一下

1
mo 2 years ago
parent
commit
99d1e5a757
1 changed files with 10 additions and 22 deletions
  1. 10 22
      src/views/categroyManager/specialSetup/chargesList.vue

+ 10 - 22
src/views/categroyManager/specialSetup/chargesList.vue

@@ -76,10 +76,7 @@
                 现价(元)
                 <el-tooltip placement="top" popper-class="mTooltip">
                   <div slot="content">学生实际缴费金额</div>
-                  <i
-                    class="el-icon-question"
-                    style="font-size: 18px; color: #f56c6c"
-                  ></i>
+                  <i class="el-icon-question" style="font-size: 18px; color: #f56c6c"></i>
                 </el-tooltip>
               </p>
             </template>
@@ -92,8 +89,7 @@
               {{ numeral(scope.row.totalOriginalPrice).format("0,0") }}
             </template>
           </el-table-column>
-          <el-table-column prop="updateTime" label="修改时间">
-          </el-table-column>
+          <el-table-column prop="updateTime" label="修改时间"> </el-table-column>
           <el-table-column align="center" label="操作">
             <template slot-scope="scope">
               <el-button
@@ -111,7 +107,7 @@
             </template>
           </el-table-column>
         </el-table>
-        <!-- <pagination
+        <pagination
           :saveKey="'chargesList'"
           sync
           :total.sync="pageInfo.total"
@@ -119,7 +115,7 @@
           :limit.sync="pageInfo.limit"
           :page-sizes="pageInfo.page_size"
           @pagination="getList"
-        /> -->
+        />
       </div>
     </div>
     <emptyPage
@@ -194,15 +190,9 @@ export default {
         courseFee: null,
       },
       rules: {
-        courseFee: [
-          { required: true, message: "请输入课程费用", trigger: "blur" },
-        ],
-        chargeTypeId: [
-          { required: true, message: "请选择收费类型", trigger: "change" },
-        ],
-        organId: [
-          { required: true, message: "请选择所属分部", trigger: "change" },
-        ],
+        courseFee: [{ required: true, message: "请输入课程费用", trigger: "blur" }],
+        chargeTypeId: [{ required: true, message: "请选择收费类型", trigger: "change" }],
+        organId: [{ required: true, message: "请选择所属分部", trigger: "change" }],
       },
       pageInfo: {
         // 分页规则
@@ -320,11 +310,9 @@ export default {
         type: "warning",
       })
         .then(() => {
-          musicGroupOrganizationCourseSettingsDel({ id: row.id }).then(
-            (res) => {
-              this.messageTips("删除", res);
-            }
-          );
+          musicGroupOrganizationCourseSettingsDel({ id: row.id }).then((res) => {
+            this.messageTips("删除", res);
+          });
         })
         .catch(() => {});
     },