瀏覽代碼

提交一下

Xiao_Mo 4 年之前
父節點
當前提交
01fdaf2d61
共有 2 個文件被更改,包括 34 次插入10 次删除
  1. 2 2
      src/views/teamBuild/components/teamBaseInfo.vue
  2. 32 8
      src/views/teamDetail/teamList.vue

+ 2 - 2
src/views/teamBuild/components/teamBaseInfo.vue

@@ -321,7 +321,7 @@
         </el-form-item>
       </el-form>
       <div class="btnWrap">
-        <div
+        <!-- <div
           class="nextBtn"
           v-if="teamStatus == 'resetTeam'"
           v-permission="{
@@ -331,7 +331,7 @@
           @click="resetSubmit"
         >
           修改
-        </div>
+        </div> -->
         <!-- 审批或者草稿的下一步 -->
         <div class="nextBtn" @click="gotoNext(1)" v-if="!basdisabled">保存</div>
         <!-- <div

+ 32 - 8
src/views/teamDetail/teamList.vue

@@ -227,7 +227,7 @@
                   >查看</el-button
                 > -->
 
-                <el-button
+                <!-- <el-button
                   type="text"
                   v-if="
                     (scope.row.status == 'PREPARE' ||
@@ -237,7 +237,7 @@
                   "
                   @click="gotoSigin(scope.row)"
                   >乐团补招</el-button
-                >
+                > -->
                 <!-- 报名中缴费中筹备中查看乐团 -->
                 <el-button
                   type="text"
@@ -245,18 +245,19 @@
                     (scope.row.status == 'APPLY' ||
                       scope.row.status == 'PAY' ||
                       scope.row.status == 'PREPARE' ||
+                        scope.row.status == 'CLOSE' ||
                       scope.row.status == 'FEE_AUDIT') &&
                     permission('/teamLookBase')
                   "
                   @click="lookTeamDetail(scope.row)"
                   >详情</el-button
                 >
-                <el-button
+                <!-- <el-button
                   v-if="permission('recharge/findAll')"
                   type="text"
                   @click="lookSteam(scope.row)"
                   >乐团日志</el-button
-                >
+                > -->
                 <!-- 进行中 关闭 -->
                 <el-button
                   type="text"
@@ -410,7 +411,7 @@
                     scope.row.status == 'PROGRESS' &&
                     permission('/resetTeaming')
                   "
-                  @click="resetTeaming(scope.row)"
+                  @click="lookTeamDetail(scope.row)"
                   type="text"
                   >详情</el-button
                 >
@@ -884,10 +885,13 @@ export default {
               id: row.id,
               name: row.name,
               organId: row.organId,
-              type: "look",
+             type:'resetTeam',
               team_status:row.status
             },
-          });
+            
+          }, (router) => {
+              router.meta.title = "乐团进行中";
+            });
           break;
         }
         case "CANCELED": {
@@ -912,8 +916,28 @@ export default {
           this.$router.push({
             path: "/business/resetTeaming",
             query: { type: "resetTeam", id: row.id,team_status:row.status },
-          });
+          },
+          (router) => {
+              router.meta.title = "乐团暂停";
+            }
+          );
           break;
+        }case "CLOSE":{
+          this.$router.push(
+            {
+              path: `/business/resetTeaming`,
+              query: {
+                status: row.status,
+                id: row.id,
+                name: row.name,
+                team_status: "CLOSE",
+                type:'look'
+              },
+            },
+            (router) => {
+              router.meta.title = "乐团关闭";
+            }
+          );
         }
       }
     },