lex-xin 10 月之前
父節點
當前提交
4e776269f3

+ 2 - 1
src/constant/index.js

@@ -396,7 +396,8 @@ export const orderType = {
   ACTIVITY: "活动购买",
   LIVE_BUY: "直播购物",
   LIVE_GROUP_BUY: "直播课购买",
-  SCHOOL_GOODS_PURCHASE: "商品采购"
+  SCHOOL_GOODS_PURCHASE: "商品采购",
+  DIRECTOR_TRAINING_CAMP: '乐队指导培训'
 };
 
 export const backType = {

+ 4 - 0
src/utils/searchArray.js

@@ -436,6 +436,10 @@ export const orderStatus = [
   {
     value: "SCHOOL_GOODS_PURCHASE",
     label: "商品采购"
+  },
+  {
+    value: 'DIRECTOR_TRAINING_CAMP',
+    label: '乐队指导培训'
   }
 ];
 

+ 2 - 2
src/views/band-guidance-training/detail.vue

@@ -182,7 +182,7 @@
           >
           <el-table-column
             align="center"
-            prop="organName"
+            prop="paymentDate"
             label="缴费时间"
           ></el-table-column>
         </el-table>
@@ -271,7 +271,7 @@ export default {
           ...this.searchForm
         });
         this.tableList = res.data.rows;
-        this.rules.total = row.data.total || 0
+        this.rules.total = res.data.total || 0
       } catch (e) {
         console.log(e);
       }

+ 1 - 1
src/views/band-guidance-training/index.vue

@@ -135,7 +135,7 @@
                 <el-button type="text" @click="onDetail(scope.row)" v-auth="'/bandGuidanceTrainingDetail'"
                   >详情</el-button
                 >
-                <el-button type="text" @click="onOperation('update', scope.row)"
+                <el-button v-if="scope.row.status !== 'END'" type="text" @click="onOperation('update', scope.row)"
                   v-auth="'/tempDirectorTrainingCamp/modify'">修改</el-button
                 >
                 <el-button type="text" @click="getCode(scope.row)"

+ 1 - 0
src/views/band-guidance-training/modal/training-operation.vue

@@ -154,6 +154,7 @@ import {
   api_tempDirectorTrainingCampModify
 } from "../api";
 import { getTimeFormat } from "@/utils";
+import dayjs from 'dayjs'
 export default {
   data() {
     return {