mo 4 년 전
부모
커밋
f7c9a25c16
2개의 변경된 파일42개의 추가작업 그리고 37개의 파일을 삭제
  1. 11 1
      src/views/businessManager/orderManager/orderAudit/index.vue
  2. 31 36
      src/views/teamDetail/components/studentList.vue

+ 11 - 1
src/views/businessManager/orderManager/orderAudit/index.vue

@@ -251,8 +251,18 @@ export default {
       this.orderVisible = true
       this.orderVisible = true
     },
     },
     submit (str) {
     submit (str) {
+      let message;
+      str == 'REJECT' ? message = '驳回' : message = '同意'
+      this.$confirm(`是否${message}审核`, "提示", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning"
+      })
+        .then(() => {
+          this.$refs.orderAuditDetail.auditOutOrder(str)
+        })
+        .catch(() => { });
 
 
-      this.$refs.orderAuditDetail.auditOutOrder(str)
     }
     }
   }
   }
 };
 };

+ 31 - 36
src/views/teamDetail/components/studentList.vue

@@ -87,7 +87,7 @@
         <el-select v-model.trim="searchForm.isPay"
         <el-select v-model.trim="searchForm.isPay"
                    clearable
                    clearable
                    filterable
                    filterable
-                   placeholder="报名缴费">
+                   placeholder="缴费状态">
           <!-- <el-option label="已开启"
           <!-- <el-option label="已开启"
                      value="1"></el-option> -->
                      value="1"></el-option> -->
           <el-option label="未缴费"
           <el-option label="未缴费"
@@ -195,7 +195,7 @@
                          label="缴费金额"
                          label="缴费金额"
                          prop="courseFee"></el-table-column> -->
                          prop="courseFee"></el-table-column> -->
         <el-table-column align="center"
         <el-table-column align="center"
-                         label="报名缴费">
+                         label="缴费状态">
           <template slot-scope="scope">
           <template slot-scope="scope">
             <div>{{ scope.row.paymentStatus | studentPays}}</div>
             <div>{{ scope.row.paymentStatus | studentPays}}</div>
           </template>
           </template>
@@ -248,11 +248,10 @@
                ref="maskForm"
                ref="maskForm"
                :rules="maskRules"
                :rules="maskRules"
                :inline="true">
                :inline="true">
-        <el-alert
-          title="基本信息"
-          :closable="false"
-          class="alert"
-          type="info">
+        <el-alert title="基本信息"
+                  :closable="false"
+                  class="alert"
+                  type="info">
         </el-alert>
         </el-alert>
         <el-form-item label="联系电话"
         <el-form-item label="联系电话"
                       prop="phone"
                       prop="phone"
@@ -701,23 +700,19 @@
                    @click="submitAddVisit">确 定</el-button>
                    @click="submitAddVisit">确 定</el-button>
       </span>
       </span>
     </el-dialog>
     </el-dialog>
-    <el-dialog
-      title="选择班级"
-      destroy-on-close
-      width="700px"
-      :visible.sync="createUserPayVisible"
-    >
-      <createUserPay
-        :signList="signList"
-        :mixList="mixList"
-        :highList="highList"
-        :snapList="snapList"
-        :musicGroupId="this.teamid"
-        :organizationCourseUnitPriceSettings="organizationCourseUnitPriceSettings"
-        :createdUserId="createdUserId"
-        @submited="getList"
-        @close="createUserPayVisible = false"
-      />
+    <el-dialog title="选择班级"
+               destroy-on-close
+               width="700px"
+               :visible.sync="createUserPayVisible">
+      <createUserPay :signList="signList"
+                     :mixList="mixList"
+                     :highList="highList"
+                     :snapList="snapList"
+                     :musicGroupId="this.teamid"
+                     :organizationCourseUnitPriceSettings="organizationCourseUnitPriceSettings"
+                     :createdUserId="createdUserId"
+                     @submited="getList"
+                     @close="createUserPayVisible = false" />
     </el-dialog>
     </el-dialog>
   </div>
   </div>
 </template>
 </template>
@@ -949,7 +944,7 @@ export default {
         rows: 9999
         rows: 9999
       })
       })
       this.organizationCourseUnitPriceSettings = res.data.rows
       this.organizationCourseUnitPriceSettings = res.data.rows
-    } catch (error) {}
+    } catch (error) { }
     this.init();
     this.init();
   },
   },
   methods: {
   methods: {
@@ -1123,16 +1118,16 @@ export default {
         }
         }
       });
       });
     },
     },
-    addCycle() {
+    addCycle () {
       this.cycles.push({})
       this.cycles.push({})
       this.collapse.push(this.collapse.length)
       this.collapse.push(this.collapse.length)
     },
     },
-    removeCycle(index) {
+    removeCycle (index) {
       this.cycles[index] = null
       this.cycles[index] = null
       this.cycles = this.cycles.filter(item => !!item)
       this.cycles = this.cycles.filter(item => !!item)
       this.collapse.pop()
       this.collapse.pop()
     },
     },
-    collapseChange(val) {
+    collapseChange (val) {
       this.collapse = val
       this.collapse = val
     },
     },
     gotoSignin () {
     gotoSignin () {
@@ -1613,28 +1608,28 @@ export default {
 .export {
 .export {
   background: #14928a;
   background: #14928a;
 }
 }
-.alert{
+.alert {
   margin-bottom: 10px;
   margin-bottom: 10px;
 }
 }
-.collapse-title{
+.collapse-title {
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;
   align-items: center;
   align-items: center;
   width: 100%;
   width: 100%;
-  .el-icon-circle-close{
+  .el-icon-circle-close {
     font-size: 16px;
     font-size: 16px;
     margin-right: 10px;
     margin-right: 10px;
   }
   }
 }
 }
-/deep/ .el-collapse-item__wrap{
+/deep/ .el-collapse-item__wrap {
   padding-top: 20px;
   padding-top: 20px;
 }
 }
-.cycleForm{
-  /deep/ .el-form-item{
+.cycleForm {
+  /deep/ .el-form-item {
     display: flex;
     display: flex;
     width: 100%;
     width: 100%;
-    /deep/ .el-form-item__content{
-      margin-left: 0!important;
+    /deep/ .el-form-item__content {
+      margin-left: 0 !important;
       flex: 1;
       flex: 1;
     }
     }
   }
   }