|
@@ -5,9 +5,11 @@
|
|
</h2>
|
|
</h2>
|
|
<div class="m-core">
|
|
<div class="m-core">
|
|
<div class="btnList">
|
|
<div class="btnList">
|
|
- <div class='newBand' v-permission="'/teamBuild'"
|
|
|
|
|
|
+ <div class='newBand'
|
|
|
|
+ v-permission="'/teamBuild'"
|
|
@click="createNewTeam">新建乐团</div>
|
|
@click="createNewTeam">新建乐团</div>
|
|
- <div class='newBand' v-permission="'/teamBuild/trimming'"
|
|
|
|
|
|
+ <div class='newBand'
|
|
|
|
+ v-permission="'/teamBuild/trimming'"
|
|
@click="resetTeam">乐团调整</div>
|
|
@click="resetTeam">乐团调整</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -137,60 +139,71 @@
|
|
label="操作">
|
|
label="操作">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
- <el-button type="text" v-permission="'/setImprovement'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'/setImprovement'"
|
|
v-if="scope.row.status == 'PREPARE'"
|
|
v-if="scope.row.status == 'PREPARE'"
|
|
@click="gotoImprovement(scope.row)">基础技能班</el-button>
|
|
@click="gotoImprovement(scope.row)">基础技能班</el-button>
|
|
<el-button type="text"
|
|
<el-button type="text"
|
|
- v-if="scope.row.status == 'PREPARE'" v-permission="'/teamDetailedList'"
|
|
|
|
|
|
+ v-if="scope.row.status == 'PREPARE'"
|
|
|
|
+ v-permission="'/teamDetailedList'"
|
|
@click="gotodetailList(scope.row)">发放清单</el-button>
|
|
@click="gotodetailList(scope.row)">发放清单</el-button>
|
|
|
|
|
|
<!-- 报名中&缴费中 查看 -->
|
|
<!-- 报名中&缴费中 查看 -->
|
|
- <el-button type="text" v-permission="'/signupList'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'/signupList'"
|
|
v-if="scope.row.status == 'APPLY'|| scope.row.status == 'PAY'"
|
|
v-if="scope.row.status == 'APPLY'|| scope.row.status == 'PAY'"
|
|
@click="lookTeamDetail(scope.row)">查看</el-button>
|
|
@click="lookTeamDetail(scope.row)">查看</el-button>
|
|
|
|
|
|
<!-- 进行中 查看 -->
|
|
<!-- 进行中 查看 -->
|
|
- <el-button type="text" v-permission="'/teamDetails'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'/teamDetails'"
|
|
v-if="scope.row.status == 'PROGRESS'"
|
|
v-if="scope.row.status == 'PROGRESS'"
|
|
@click="lookTeamDetail(scope.row)">查看</el-button>
|
|
@click="lookTeamDetail(scope.row)">查看</el-button>
|
|
|
|
|
|
<!-- 暂停中 查看 -->
|
|
<!-- 暂停中 查看 -->
|
|
- <el-button type="text" v-permission="'musicGroup/pauseMusicGroup/look'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'musicGroup/pauseMusicGroup/look'"
|
|
v-if="scope.row.status == 'PAUSE'"
|
|
v-if="scope.row.status == 'PAUSE'"
|
|
@click="lookTeamDetail(scope.row)">查看</el-button>
|
|
@click="lookTeamDetail(scope.row)">查看</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 type="text" v-permission="'teamDetail/teamSeting/update'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'teamDetail/teamSeting/update'"
|
|
v-if="scope.row.status == 'PREPARE'"
|
|
v-if="scope.row.status == 'PREPARE'"
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
<!-- 审核中 编辑 -->
|
|
<!-- 审核中 编辑 -->
|
|
- <el-button type="text" v-permission="'teamDetail/audit/update'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'teamDetail/audit/update'"
|
|
v-if="scope.row.status == 'AUDIT'"
|
|
v-if="scope.row.status == 'AUDIT'"
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
<!-- 编辑中 编辑 -->
|
|
<!-- 编辑中 编辑 -->
|
|
- <el-button type="text" v-permission="'teamDetail/draft/update'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'teamDetail/draft/update'"
|
|
v-if="scope.row.status == 'DRAFT'"
|
|
v-if="scope.row.status == 'DRAFT'"
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
<!-- 审核失败 编辑 -->
|
|
<!-- 审核失败 编辑 -->
|
|
- <el-button type="text" v-permission="'teamDetail/aduitFailed/update'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'teamDetail/aduitFailed/update'"
|
|
v-if="scope.row.status == 'AUDIT_FAILED'"
|
|
v-if="scope.row.status == 'AUDIT_FAILED'"
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
@click="lookTeamDetail(scope.row)">编辑</el-button>
|
|
|
|
|
|
-
|
|
|
|
- <el-button v-if="scope.row.status == 'PREPARE'" v-permission="'musicGroup/action'"
|
|
|
|
|
|
+ <el-button v-if="scope.row.status == 'PREPARE'"
|
|
|
|
+ v-permission="'musicGroup/action'"
|
|
@click="startTeam(scope.row)"
|
|
@click="startTeam(scope.row)"
|
|
type="text">确认成团</el-button>
|
|
type="text">确认成团</el-button>
|
|
- <el-button type="text" v-permission="'musicGroup/cancelMusicGroup'"
|
|
|
|
|
|
+ <el-button type="text"
|
|
|
|
+ v-permission="'musicGroup/cancelMusicGroup'"
|
|
v-if="scope.row.status == 'AUDIT'"
|
|
v-if="scope.row.status == 'AUDIT'"
|
|
@click="stopTeam(scope.row)">取消申请</el-button>
|
|
@click="stopTeam(scope.row)">取消申请</el-button>
|
|
- <el-button v-if="scope.row.status == 'PAUSE'" v-permission="'musicGroup/resumeMusicGroup'"
|
|
|
|
|
|
+ <el-button v-if="scope.row.status == 'PAUSE'"
|
|
|
|
+ v-permission="'musicGroup/resumeMusicGroup'"
|
|
@click="onTeamOpeation('start', scope.row)"
|
|
@click="onTeamOpeation('start', scope.row)"
|
|
type="text">启动</el-button>
|
|
type="text">启动</el-button>
|
|
- <el-button v-if="scope.row.status == 'PROGRESS'" v-permission="'musicGroup/pauseMusicGroup'"
|
|
|
|
|
|
+ <el-button v-if="scope.row.status == 'PROGRESS'"
|
|
|
|
+ v-permission="'musicGroup/pauseMusicGroup'"
|
|
@click="onTeamOpeation('pause', scope.row)"
|
|
@click="onTeamOpeation('pause', scope.row)"
|
|
type="text">暂停</el-button>
|
|
type="text">暂停</el-button>
|
|
<el-button v-if="scope.row.status == 'PROGRESS'"
|
|
<el-button v-if="scope.row.status == 'PROGRESS'"
|
|
@@ -286,7 +299,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
createNewTeam () {
|
|
createNewTeam () {
|
|
- this.$router.push({ path: '/business/teamBuild', query: { type: 'newTeam' } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/teamBuild', query: { type: 'newTeam', search: this.topForm, rules: this.rules } })
|
|
},
|
|
},
|
|
resetTeam () {
|
|
resetTeam () {
|
|
// 这里还有勾选的乐团信息
|
|
// 这里还有勾选的乐团信息
|
|
@@ -294,11 +307,11 @@ export default {
|
|
this.$message.error('请至少选择一个乐团进行调整')
|
|
this.$message.error('请至少选择一个乐团进行调整')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- this.$router.push({ path: '/business/teamBuild', query: { type: 'teamList', teamList: this.passed } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/teamBuild', query: { type: 'teamList', teamList: this.passed, search: this.topForm, rules: this.rules } })
|
|
},
|
|
},
|
|
resetTeaming (row) {
|
|
resetTeaming (row) {
|
|
// 修改进行中的乐团
|
|
// 修改进行中的乐团
|
|
- this.$router.push({ path: '/business/resetTeaming', query: { type: 'resetTeam', id: row.id } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/resetTeaming', query: { type: 'resetTeam', id: row.id, search: this.topForm, rules: this.rules } })
|
|
},
|
|
},
|
|
setSearchList (obj) {
|
|
setSearchList (obj) {
|
|
//
|
|
//
|
|
@@ -388,38 +401,38 @@ export default {
|
|
switch (row.status) {
|
|
switch (row.status) {
|
|
case 'DRAFT': {
|
|
case 'DRAFT': {
|
|
// 编辑中
|
|
// 编辑中
|
|
- this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id, search: this.topForm, rules: this.rules } })
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 'AUDIT': {
|
|
case 'AUDIT': {
|
|
// 审核中
|
|
// 审核中
|
|
- this.$router.push({ path: '/business/teamBuild', query: { type: 'teamAudit', id: row.id } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/teamBuild', query: { type: 'teamAudit', id: row.id, search: this.topForm, rules: this.rules } })
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 'AUDIT_FAILED': {
|
|
case 'AUDIT_FAILED': {
|
|
// 审核失败
|
|
// 审核失败
|
|
- this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/teamBuild', query: { type: 'teamDraft', id: row.id, search: this.topForm, rules: this.rules } })
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 'APPLY': {
|
|
case 'APPLY': {
|
|
// 报名中
|
|
// 报名中
|
|
- this.$router.push({ path: `/business/signupList`, query: { status: row.status, id: row.id, name: row.name } })
|
|
|
|
|
|
+ this.$router.push({ path: `/business/signupList`, query: { status: row.status, id: row.id, name: row.name, search: this.topForm, rules: this.rules } })
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 'PAY': {
|
|
case 'PAY': {
|
|
// 缴费中
|
|
// 缴费中
|
|
- this.$router.push({ path: `/business/signupList`, query: { status: row.status, id: row.id, name: row.name } })
|
|
|
|
|
|
+ this.$router.push({ path: `/business/signupList`, query: { status: row.status, id: row.id, name: row.name, search: this.topForm, rules: this.rules } })
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 'PREPARE': {
|
|
case 'PREPARE': {
|
|
// 筹备中 跳转到乐团设置界面
|
|
// 筹备中 跳转到乐团设置界面
|
|
- this.$router.push({ path: `/business/teamSeting`, query: { status: row.status, id: row.id, name: row.name } })
|
|
|
|
|
|
+ this.$router.push({ path: `/business/teamSeting`, query: { status: row.status, id: row.id, name: row.name, search: this.topForm, rules: this.rules } })
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
case 'PROGRESS': {
|
|
case 'PROGRESS': {
|
|
// 进行中
|
|
// 进行中
|
|
// 调到乐团详情 teamDetails
|
|
// 调到乐团详情 teamDetails
|
|
- 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, search: this.topForm, rules: this.rules } })
|
|
break
|
|
break
|
|
}
|
|
}
|
|
case 'CANCELED': {
|
|
case 'CANCELED': {
|
|
@@ -428,7 +441,7 @@ export default {
|
|
}
|
|
}
|
|
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, search: this.topForm, rules: this.rules } })
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -447,11 +460,11 @@ export default {
|
|
},
|
|
},
|
|
gotodetailList (row) {
|
|
gotodetailList (row) {
|
|
// row.id
|
|
// row.id
|
|
- this.$router.push({ path: '/business/teamDetailedList', query: { id: row.id } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/teamDetailedList', query: { id: row.id, search: this.topForm, rules: this.rules } })
|
|
},
|
|
},
|
|
// setImprovement 设置基础技能班
|
|
// setImprovement 设置基础技能班
|
|
gotoImprovement (row) {
|
|
gotoImprovement (row) {
|
|
- this.$router.push({ path: '/business/setImprovement', query: { id: row.id } })
|
|
|
|
|
|
+ this.$router.push({ path: '/business/setImprovement', query: { id: row.id, search: this.topForm, rules: this.rules } })
|
|
},
|
|
},
|
|
// 停止乐团
|
|
// 停止乐团
|
|
stopTeam (row) {
|
|
stopTeam (row) {
|