|
@@ -216,7 +216,7 @@
|
|
@click="lookTeamCourse(scope.row)">查看课表</el-button> -->
|
|
@click="lookTeamCourse(scope.row)">查看课表</el-button> -->
|
|
|
|
|
|
<!-- 报名中&缴费中 查看 -->
|
|
<!-- 报名中&缴费中 查看 -->
|
|
- <el-button
|
|
|
|
|
|
+ <!-- <el-button
|
|
type="text"
|
|
type="text"
|
|
v-if="
|
|
v-if="
|
|
(scope.row.status == 'APPLY' ||
|
|
(scope.row.status == 'APPLY' ||
|
|
@@ -225,21 +225,19 @@
|
|
"
|
|
"
|
|
@click="lookTeamDetail(scope.row)"
|
|
@click="lookTeamDetail(scope.row)"
|
|
>查看</el-button
|
|
>查看</el-button
|
|
- >
|
|
|
|
- <!-- 报名中缴费中筹备中查看乐团 -->
|
|
|
|
|
|
+ > -->
|
|
|
|
+ <!-- 报名中缴费中筹备中查看乐团 scope.row.status == 'PRE_APPLY' || scope.row.status == 'PRE_BUILD_FEE' ||-->
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
v-if="
|
|
v-if="
|
|
(scope.row.status == 'APPLY' ||
|
|
(scope.row.status == 'APPLY' ||
|
|
scope.row.status == 'PAY' ||
|
|
scope.row.status == 'PAY' ||
|
|
scope.row.status == 'PREPARE' ||
|
|
scope.row.status == 'PREPARE' ||
|
|
- scope.row.status == 'PRE_APPLY' ||
|
|
|
|
- scope.row.status == 'PRE_BUILD_FEE' ||
|
|
|
|
scope.row.status == 'FEE_AUDIT') &&
|
|
scope.row.status == 'FEE_AUDIT') &&
|
|
permission('/teamLookBase')
|
|
permission('/teamLookBase')
|
|
"
|
|
"
|
|
@click="lookTeamInfo(scope.row)"
|
|
@click="lookTeamInfo(scope.row)"
|
|
- >乐团信息</el-button
|
|
|
|
|
|
+ >详情</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
v-if="permission('recharge/findAll')"
|
|
v-if="permission('recharge/findAll')"
|
|
@@ -255,17 +253,17 @@
|
|
permission('musicGroup/closeMusicGroup')
|
|
permission('musicGroup/closeMusicGroup')
|
|
"
|
|
"
|
|
@click="closeTeamDetail(scope.row)"
|
|
@click="closeTeamDetail(scope.row)"
|
|
- >关闭乐团</el-button
|
|
|
|
|
|
+ >关闭</el-button
|
|
>
|
|
>
|
|
<!-- 进行中 查看 -->
|
|
<!-- 进行中 查看 -->
|
|
- <el-button
|
|
|
|
|
|
+ <!-- <el-button
|
|
type="text"
|
|
type="text"
|
|
v-if="
|
|
v-if="
|
|
scope.row.status == 'PROGRESS' && permission('/teamDetails')
|
|
scope.row.status == 'PROGRESS' && permission('/teamDetails')
|
|
"
|
|
"
|
|
@click="lookTeamDetail(scope.row)"
|
|
@click="lookTeamDetail(scope.row)"
|
|
>查看</el-button
|
|
>查看</el-button
|
|
- >
|
|
|
|
|
|
+ > -->
|
|
|
|
|
|
<!-- 预报名中 查看 -->
|
|
<!-- 预报名中 查看 -->
|
|
<el-button
|
|
<el-button
|
|
@@ -286,7 +284,7 @@
|
|
permission('musicGroup/pauseMusicGroup/look')
|
|
permission('musicGroup/pauseMusicGroup/look')
|
|
"
|
|
"
|
|
@click="lookTeamDetail(scope.row)"
|
|
@click="lookTeamDetail(scope.row)"
|
|
- >查看</el-button
|
|
|
|
|
|
+ >详情</el-button
|
|
>
|
|
>
|
|
|
|
|
|
<!-- 创建缴费中 查看 -->
|
|
<!-- 创建缴费中 查看 -->
|
|
@@ -297,14 +295,14 @@
|
|
permission('/createPayment')
|
|
permission('/createPayment')
|
|
"
|
|
"
|
|
@click="lookTeamDetail(scope.row)"
|
|
@click="lookTeamDetail(scope.row)"
|
|
- >创建缴费</el-button
|
|
|
|
|
|
+ >详情</el-button
|
|
>
|
|
>
|
|
|
|
|
|
<!-- <el-button type="text"
|
|
<!-- <el-button type="text"
|
|
v-if="scope.row.status != 'PROGRESS' && scope.row.status != 'CANCELED' && scope.row.status != 'PAUSE' && scope.row.status != 'APPLY'&& scope.row.status != 'PAY'"
|
|
v-if="scope.row.status != 'PROGRESS' && scope.row.status != 'CANCELED' && scope.row.status != 'PAUSE' && scope.row.status != 'APPLY'&& scope.row.status != 'PAY'"
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button> -->
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button> -->
|
|
<!-- 筹备中 编辑 -->
|
|
<!-- 筹备中 编辑 -->
|
|
- <el-button
|
|
|
|
|
|
+ <!-- <el-button
|
|
type="text"
|
|
type="text"
|
|
v-if="
|
|
v-if="
|
|
scope.row.status == 'PREPARE' &&
|
|
scope.row.status == 'PREPARE' &&
|
|
@@ -312,7 +310,7 @@
|
|
"
|
|
"
|
|
@click="lookTeamDetail(scope.row)"
|
|
@click="lookTeamDetail(scope.row)"
|
|
>班级列表</el-button
|
|
>班级列表</el-button
|
|
- >
|
|
|
|
|
|
+ > -->
|
|
<!-- 审核中 编辑 -->
|
|
<!-- 审核中 编辑 -->
|
|
<el-button
|
|
<el-button
|
|
type="text"
|
|
type="text"
|
|
@@ -323,6 +321,16 @@
|
|
@click="lookTeamDetail(scope.row)"
|
|
@click="lookTeamDetail(scope.row)"
|
|
>审核</el-button
|
|
>审核</el-button
|
|
>
|
|
>
|
|
|
|
+ <el-button
|
|
|
|
+ type="text"
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row.status == 'CANCELED' &&
|
|
|
|
+ permission('teamDetail/audit/update')
|
|
|
|
+ "
|
|
|
|
+ @click="lookTeamDetail(scope.row)"
|
|
|
|
+ >详情</el-button
|
|
|
|
+ >
|
|
|
|
+ <!-- teamCanceled -->
|
|
<!-- 费用审核中 -->
|
|
<!-- 费用审核中 -->
|
|
<!-- <el-button type="text"
|
|
<!-- <el-button type="text"
|
|
v-if="( scope.row.status == 'FEE_AUDIT')&& permission('teamDetail/audit/update')"
|
|
v-if="( scope.row.status == 'FEE_AUDIT')&& permission('teamDetail/audit/update')"
|
|
@@ -398,7 +406,7 @@
|
|
"
|
|
"
|
|
@click="resetTeaming(scope.row)"
|
|
@click="resetTeaming(scope.row)"
|
|
type="text"
|
|
type="text"
|
|
- >修改</el-button
|
|
|
|
|
|
+ >详情</el-button
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
v-if="
|
|
v-if="
|
|
@@ -498,6 +506,9 @@ export default {
|
|
if (query.organId) {
|
|
if (query.organId) {
|
|
this.topForm.orgin = query.organId;
|
|
this.topForm.orgin = query.organId;
|
|
}
|
|
}
|
|
|
|
+ if(query.search){
|
|
|
|
+ this.topForm.teamName = query.search
|
|
|
|
+ }
|
|
this.init();
|
|
this.init();
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
@@ -567,8 +578,6 @@ export default {
|
|
this.$message.error("请至少选择一个乐团进行调整");
|
|
this.$message.error("请至少选择一个乐团进行调整");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- let search = JSON.stringify(this.topForm);
|
|
|
|
- let rules = JSON.stringify(this.rules);
|
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: "/business/teamBuild",
|
|
path: "/business/teamBuild",
|
|
query: { type: "teamList", teamList: this.passed },
|
|
query: { type: "teamList", teamList: this.passed },
|
|
@@ -576,8 +585,6 @@ export default {
|
|
},
|
|
},
|
|
resetTeaming(row) {
|
|
resetTeaming(row) {
|
|
// 修改进行中的乐团
|
|
// 修改进行中的乐团
|
|
- let search = JSON.stringify(this.topForm);
|
|
|
|
- let rules = JSON.stringify(this.rules);
|
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: "/business/resetTeaming",
|
|
path: "/business/resetTeaming",
|
|
query: { type: "resetTeam", id: row.id },
|
|
query: { type: "resetTeam", id: row.id },
|
|
@@ -697,8 +704,6 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
lookTeamDetail(row) {
|
|
lookTeamDetail(row) {
|
|
- let search = JSON.stringify(this.topForm);
|
|
|
|
- let rules = JSON.stringify(this.rules);
|
|
|
|
switch (row.status) {
|
|
switch (row.status) {
|
|
case "DRAFT": {
|
|
case "DRAFT": {
|
|
// 编辑中
|
|
// 编辑中
|
|
@@ -728,9 +733,13 @@ export default {
|
|
}
|
|
}
|
|
case "PRE_BUILD_FEE": {
|
|
case "PRE_BUILD_FEE": {
|
|
// 创建缴费中
|
|
// 创建缴费中
|
|
- this.$router.push({
|
|
|
|
- path: "/business/createPayment",
|
|
|
|
- query: { type: "PRE_BUILD_FEE", id: row.id, name: row.name },
|
|
|
|
|
|
+ // this.$router.push({
|
|
|
|
+ // path: "/business/createPayment",
|
|
|
|
+ // query: { type: "PRE_BUILD_FEE", id: row.id, name: row.name },
|
|
|
|
+ // });
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: "/business/teamLookBase",
|
|
|
|
+ query: { type: "look", id: row.id, name: row.name,team_status:'PRE_BUILD_FEE' },
|
|
});
|
|
});
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
@@ -762,10 +771,15 @@ export default {
|
|
}
|
|
}
|
|
case "PRE_APPLY": {
|
|
case "PRE_APPLY": {
|
|
// 预报名
|
|
// 预报名
|
|
|
|
+
|
|
this.$router.push({
|
|
this.$router.push({
|
|
- path: "/business/forecastName",
|
|
|
|
- query: { id: row.id, name: row.name },
|
|
|
|
|
|
+ path: "/business/teamLookBase",
|
|
|
|
+ query: { type: "look", id: row.id, name: row.name,team_status:'PRE_APPLY' },
|
|
});
|
|
});
|
|
|
|
+ // this.$router.push({
|
|
|
|
+ // path: "/business/forecastName",
|
|
|
|
+ // query: { id: row.id, name: row.name },
|
|
|
|
+ // });
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case "APPLY": {
|
|
case "APPLY": {
|
|
@@ -773,7 +787,7 @@ export default {
|
|
this.$router.push(
|
|
this.$router.push(
|
|
{
|
|
{
|
|
path: `/business/signupList`,
|
|
path: `/business/signupList`,
|
|
- query: { status: row.status, id: row.id, name: row.name },
|
|
|
|
|
|
+ query: { status: row.status, id: row.id, name: row.name,team_status:'APPLY' },
|
|
},
|
|
},
|
|
(router) => {
|
|
(router) => {
|
|
router.meta.title = "报名详情";
|
|
router.meta.title = "报名详情";
|
|
@@ -786,7 +800,7 @@ export default {
|
|
this.$router.push(
|
|
this.$router.push(
|
|
{
|
|
{
|
|
path: `/business/signupList`,
|
|
path: `/business/signupList`,
|
|
- query: { status: row.status, id: row.id, name: row.name },
|
|
|
|
|
|
+ query: { status: row.status, id: row.id, name: row.name,team_status:'PAY' },
|
|
},
|
|
},
|
|
(router) => {
|
|
(router) => {
|
|
router.meta.title = "缴费详情";
|
|
router.meta.title = "缴费详情";
|
|
@@ -819,14 +833,28 @@ export default {
|
|
}
|
|
}
|
|
case "CANCELED": {
|
|
case "CANCELED": {
|
|
// 取消
|
|
// 取消
|
|
|
|
+ this.$router.push(
|
|
|
|
+ {
|
|
|
|
+ path: "/business/teamBuild",
|
|
|
|
+ query: { type: "teamCanceled", id: row.id },
|
|
|
|
+ },
|
|
|
|
+ (router) => {
|
|
|
|
+ router.meta.title = "取消乐团";
|
|
|
|
+ }
|
|
|
|
+ );
|
|
|
|
+ break;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case "PAUSE": {
|
|
case "PAUSE": {
|
|
// 暂停
|
|
// 暂停
|
|
- this.$router.push({
|
|
|
|
- path: `/business/teamDetails`,
|
|
|
|
- query: { status: row.status, id: row.id, name: row.name },
|
|
|
|
- });
|
|
|
|
|
|
+ // this.$router.push({
|
|
|
|
+ // path: `/business/teamDetails`,
|
|
|
|
+ // query: { status: row.status, id: row.id, name: row.name },
|
|
|
|
+ // });
|
|
|
|
+ this.$router.push({
|
|
|
|
+ path: "/business/resetTeaming",
|
|
|
|
+ query: { type: "resetTeam", id: row.id },
|
|
|
|
+ });
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -853,11 +881,10 @@ export default {
|
|
},
|
|
},
|
|
//
|
|
//
|
|
lookTeamInfo(row) {
|
|
lookTeamInfo(row) {
|
|
- let search = JSON.stringify(this.topForm);
|
|
|
|
- let rules = JSON.stringify(this.rules);
|
|
|
|
|
|
+ console.log(row)
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: "/business/teamLookBase",
|
|
path: "/business/teamLookBase",
|
|
- query: { type: "look", id: row.id, name: row.name },
|
|
|
|
|
|
+ query: { type: "look", id: row.id, name: row.name,team_status:row.status },
|
|
});
|
|
});
|
|
},
|
|
},
|
|
// setImprovement 设置基础技能班
|
|
// setImprovement 设置基础技能班
|