Browse Source

1010/缴费中 新增退团不退费

mo 4 years ago
parent
commit
58a62390e4

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-05fa62d4.694bce9c.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/chunk-14b33b24.e251284c.css


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


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-05fa62d4.9e2e1d30.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-14b33b24.c8f96637.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-4030b2b8.d0423885.js


+ 0 - 0
dist/static/js/chunk-4c147d83.1efd3e20.js → dist/static/js/chunk-4c147d83.7994c6c1.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-f06443b4.f24625d0.js


+ 0 - 1
src/views/businessManager/orderManager/financeManager.vue

@@ -808,7 +808,6 @@ export default {
         if (i != this.form.goodsList.length - 1 && this.form.goodsList[i].id === val) {
           this.form.goodsList[this.form.goodsList.length - 1].id = ''
         }
-
       }
     },
     lookOrderInfo (row) {

+ 35 - 0
src/views/teamBuild/signupList.vue

@@ -214,6 +214,9 @@
                            v-if='scope.row.paymentStatus==2'
                            @click='quitTeam(scope.row)'>退团</el-button>
                 <el-button type="text"
+                           v-if="permission('musicGroupQuit/directQuitMusicGroup3')&&scope.row.paymentStatus==2"
+                           @click="quieTeams(scope.row)">退团不退费</el-button>
+                <el-button type="text"
                            v-if="permission('visit/add')"
                            @click="addVisit(scope.row)">新增回访</el-button>
                 <el-button type="text"
@@ -1057,6 +1060,38 @@ export default {
       this.activeRow = row;
       this.quitVisible = true;
     },
+    quieTeams (row) {
+      this.$confirm("确定退团?", "提示", {
+        confirmButtonText: "确定",
+        cancelButtonText: "取消",
+        type: "warning"
+      })
+        .then(() => {
+          // 发请求 退团
+          StudentQuit({
+            musicGroupId: this.id,
+            userId: row.studentId,
+            reason: '',
+            isRefundCourseFee: false,
+            isRefundInstrumentFee: false,
+            isRefundTeachingAssistantsFee: false
+          }).then(res => {
+            this.quitForm = {
+              // 退团信息确认
+              isRefundCourseFee: null,
+              isRefundInstrumentFee: null,
+              isRefundTeachingAssistantsFee: null,
+              reason: ""
+            };
+            if (res.code == 200) {
+              this.$message.success("退团成功");
+              this.getList();
+              this.quitVisible = false;
+            }
+          });
+        })
+        .catch(() => { });
+    },
     chioseType () {
       this.$refs["quitForm"].validate(res => {
         if (res) {

+ 0 - 1
src/views/teamDetail/components/studentList.vue

@@ -1283,7 +1283,6 @@ export default {
       this.quitVisible = true;
     },
     quieTeam (row) {
-      console.log(row)
       this.$confirm("确定退团?", "提示", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",

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