|
@@ -2,13 +2,18 @@
|
|
|
<div class="m-container">
|
|
|
<h2>
|
|
|
<div class="squrt"></div>
|
|
|
- 乐团管理 <filter-search @reload="reloadSearch" :moreKeys="['organId']" :keys="['searchType']" />
|
|
|
+ 乐团管理
|
|
|
+ <filter-search
|
|
|
+ @reload="reloadSearch"
|
|
|
+ :moreKeys="['organId']"
|
|
|
+ :keys="['searchType']"
|
|
|
+ />
|
|
|
</h2>
|
|
|
<div class="m-core">
|
|
|
<div class="btnList" style="margin-bottom: 20px">
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-if=" permission('musicGroup/createGroup')"
|
|
|
+ v-if="permission('musicGroup/createGroup')"
|
|
|
@click="createNewTeam"
|
|
|
>新建乐团</el-button
|
|
|
>
|
|
@@ -81,6 +86,17 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item prop="courseViewType">
|
|
|
+ <el-select
|
|
|
+ v-model.trim="topForm.courseViewType"
|
|
|
+ filterable
|
|
|
+ placeholder="请选择收费模式"
|
|
|
+ clearable
|
|
|
+ >
|
|
|
+ <el-option label="课程收费" value="0"></el-option>
|
|
|
+ <el-option label="会员收费" value="1"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="danger" native-type="submit">搜索</el-button>
|
|
|
</el-form-item>
|
|
@@ -99,8 +115,11 @@
|
|
|
:selectable="checkSelectable"
|
|
|
width="50">
|
|
|
</el-table-column> -->
|
|
|
- <el-table-column prop="organName" align="center"
|
|
|
- label="所属分部"></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="organName"
|
|
|
+ align="center"
|
|
|
+ label="所属分部"
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column
|
|
|
prop="id"
|
|
|
width="100"
|
|
@@ -136,6 +155,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column prop="status" align="center" label="收费模式">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.courseViewType | courseViewType }}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
prop="chargeTypeName"
|
|
@@ -203,17 +229,23 @@
|
|
|
<!-- 审核中 编辑 -->
|
|
|
<el-button
|
|
|
type="text"
|
|
|
- v-if="scope.row.status == 'AUDIT' && permission('musicGroup/auditSuccess')"
|
|
|
+ v-if="
|
|
|
+ scope.row.status == 'AUDIT' &&
|
|
|
+ permission('musicGroup/auditSuccess')
|
|
|
+ "
|
|
|
@click="lookTeamDetail(scope.row)"
|
|
|
>审核</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
type="text"
|
|
|
- v-if="scope.row.status == 'DRAFT' && permission('musicGroup/update')"
|
|
|
+ v-if="
|
|
|
+ scope.row.status == 'DRAFT' &&
|
|
|
+ permission('musicGroup/update')
|
|
|
+ "
|
|
|
@click="lookTeamDetail(scope.row)"
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
- <!-- 审核失败 编辑 -->
|
|
|
+ <!-- 审核失败 编辑 -->
|
|
|
<el-button
|
|
|
type="text"
|
|
|
v-if="
|
|
@@ -227,15 +259,15 @@
|
|
|
<el-button
|
|
|
type="text"
|
|
|
v-if="
|
|
|
- ( scope.row.status == 'PRE_APPLY'||
|
|
|
- scope.row.status == 'PAUSE'||
|
|
|
- scope.row.status == 'PRE_BUILD_FEE'||
|
|
|
- scope.row.status == 'PROGRESS'||
|
|
|
- scope.row.status == 'CANCELED'||
|
|
|
+ (scope.row.status == 'PRE_APPLY' ||
|
|
|
+ scope.row.status == 'PAUSE' ||
|
|
|
+ scope.row.status == 'PRE_BUILD_FEE' ||
|
|
|
+ scope.row.status == 'PROGRESS' ||
|
|
|
+ scope.row.status == 'CANCELED' ||
|
|
|
scope.row.status == 'APPLY' ||
|
|
|
scope.row.status == 'PAY' ||
|
|
|
scope.row.status == 'PREPARE' ||
|
|
|
- scope.row.status == 'CLOSE' ||
|
|
|
+ scope.row.status == 'CLOSE' ||
|
|
|
scope.row.status == 'FEE_AUDIT') &&
|
|
|
permission('/resetTeaming')
|
|
|
"
|
|
@@ -268,7 +300,6 @@
|
|
|
>查看</el-button
|
|
|
> -->
|
|
|
|
|
|
-
|
|
|
<el-button
|
|
|
type="text"
|
|
|
v-if="
|
|
@@ -276,14 +307,15 @@
|
|
|
scope.row.status == 'AUDIT' ||
|
|
|
scope.row.status == 'FEE_AUDIT' ||
|
|
|
scope.row.status == 'APPLY' ||
|
|
|
- scope.row.status == 'PAY'|| scope.row.status == 'PRE_APPLY'||scope.row.status =='PRE_BUILD_FEE') &&
|
|
|
+ scope.row.status == 'PAY' ||
|
|
|
+ scope.row.status == 'PRE_APPLY' ||
|
|
|
+ scope.row.status == 'PRE_BUILD_FEE') &&
|
|
|
permission('musicGroup/cancelMusicGroup')
|
|
|
"
|
|
|
@click="stopTeam(scope.row)"
|
|
|
>取消乐团</el-button
|
|
|
>
|
|
|
|
|
|
-
|
|
|
<el-button
|
|
|
v-if="
|
|
|
scope.row.status == 'PREPARE' &&
|
|
@@ -385,6 +417,7 @@ export default {
|
|
|
payType: "",
|
|
|
word: "",
|
|
|
orgin: "",
|
|
|
+ courseViewType:""
|
|
|
},
|
|
|
organList: [],
|
|
|
typeList: [], // 收费类型
|
|
@@ -465,6 +498,7 @@ export default {
|
|
|
chargeTypeId: this.topForm.payType || null,
|
|
|
musicGroupName: this.topForm.teamName || null,
|
|
|
musicGroupStatus: this.topForm.status || null,
|
|
|
+ courseViewType:this.topForm.courseViewType||null,
|
|
|
searchType: this.$route.query.searchType,
|
|
|
}).then((res) => {
|
|
|
if (res.code == 200) {
|
|
@@ -476,14 +510,16 @@ export default {
|
|
|
createNewTeam() {
|
|
|
// this.$store.dispatch("buildIndex", 0);
|
|
|
// this.$store.dispatch("delVisitedViews", { path: "/business/teamBuild" });
|
|
|
- localStorage.removeItem(`newTeambase`);
|
|
|
- this.$router.push({
|
|
|
- path: "/business/resetTeaming",
|
|
|
- query: { type: "newTeam",team_status:'newTeam'}},
|
|
|
- (router) => {
|
|
|
- router.meta.title = "新建乐团";
|
|
|
- }
|
|
|
- );
|
|
|
+ localStorage.removeItem(`newTeambase`);
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: "/business/resetTeaming",
|
|
|
+ query: { type: "newTeam", team_status: "newTeam" },
|
|
|
+ },
|
|
|
+ (router) => {
|
|
|
+ router.meta.title = "新建乐团";
|
|
|
+ }
|
|
|
+ );
|
|
|
},
|
|
|
|
|
|
resetTeam() {
|
|
@@ -622,7 +658,7 @@ export default {
|
|
|
lookTeamDetail(row) {
|
|
|
localStorage.removeItem(`${row.id}base`);
|
|
|
localStorage.removeItem(`${row.id}sound`);
|
|
|
- localStorage.removeItem('newTeambase')
|
|
|
+ localStorage.removeItem("newTeambase");
|
|
|
switch (row.status) {
|
|
|
case "DRAFT": {
|
|
|
// 编辑中
|
|
@@ -637,9 +673,11 @@ export default {
|
|
|
// router.meta.title = "编辑乐团";
|
|
|
// }
|
|
|
// );
|
|
|
- this.$router.push({
|
|
|
- path: "/business/resetTeaming",
|
|
|
- query: { type: "teamDraft", id: row.id,team_status:row.status }},
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: "/business/resetTeaming",
|
|
|
+ query: { type: "teamDraft", id: row.id, team_status: row.status },
|
|
|
+ },
|
|
|
(router) => {
|
|
|
router.meta.title = "乐团编辑中";
|
|
|
}
|
|
@@ -653,7 +691,12 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "teamAudit", id: row.id, clear: "true",team_status:row.status },
|
|
|
+ query: {
|
|
|
+ type: "teamAudit",
|
|
|
+ id: row.id,
|
|
|
+ clear: "true",
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
(router) => {
|
|
|
router.meta.title = "乐团审核中";
|
|
@@ -667,19 +710,21 @@ export default {
|
|
|
// path: "/business/createPayment",
|
|
|
// query: { type: "PRE_BUILD_FEE", id: row.id, name: row.name },
|
|
|
// });
|
|
|
- this.$router.push({
|
|
|
- path: "/business/resetTeaming",
|
|
|
- query: {
|
|
|
- type: "look",
|
|
|
- id: row.id,
|
|
|
- name: row.name,
|
|
|
- team_status: "PRE_BUILD_FEE",
|
|
|
- tabrouter:3
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: "/business/resetTeaming",
|
|
|
+ query: {
|
|
|
+ type: "look",
|
|
|
+ id: row.id,
|
|
|
+ name: row.name,
|
|
|
+ team_status: "PRE_BUILD_FEE",
|
|
|
+ tabrouter: 3,
|
|
|
+ },
|
|
|
},
|
|
|
-
|
|
|
- }, (router) => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "创建缴费中";
|
|
|
- });
|
|
|
+ }
|
|
|
+ );
|
|
|
break;
|
|
|
}
|
|
|
case "FEE_AUDIT": {
|
|
@@ -688,7 +733,12 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "feeAudit", id: row.id, clear: "true",team_status:row.status },
|
|
|
+ query: {
|
|
|
+ type: "feeAudit",
|
|
|
+ id: row.id,
|
|
|
+ clear: "true",
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
(router) => {
|
|
|
router.meta.title = "乐团费用审核中";
|
|
@@ -702,7 +752,12 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "teamDraft", id: row.id, clear: "true",team_status:row.status },
|
|
|
+ query: {
|
|
|
+ type: "teamDraft",
|
|
|
+ id: row.id,
|
|
|
+ clear: "true",
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
(router) => {
|
|
|
router.meta.title = "乐团审核失败";
|
|
@@ -713,18 +768,21 @@ export default {
|
|
|
case "PRE_APPLY": {
|
|
|
// 预报名
|
|
|
|
|
|
- this.$router.push({
|
|
|
- path: "/business/resetTeaming",
|
|
|
- query: {
|
|
|
- type: "look",
|
|
|
- id: row.id,
|
|
|
- name: row.name,
|
|
|
- team_status: "PRE_APPLY",
|
|
|
- tabrouter:9
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: "/business/resetTeaming",
|
|
|
+ query: {
|
|
|
+ type: "look",
|
|
|
+ id: row.id,
|
|
|
+ name: row.name,
|
|
|
+ team_status: "PRE_APPLY",
|
|
|
+ tabrouter: 9,
|
|
|
+ },
|
|
|
},
|
|
|
- }, (router) => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团预报名";
|
|
|
- });
|
|
|
+ }
|
|
|
+ );
|
|
|
// this.$router.push({
|
|
|
// path: "/business/forecastName",
|
|
|
// query: { id: row.id, name: row.name },
|
|
@@ -741,8 +799,8 @@ export default {
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
team_status: "APPLY",
|
|
|
- type:'look',
|
|
|
- tabrouter:11
|
|
|
+ type: "look",
|
|
|
+ tabrouter: 11,
|
|
|
},
|
|
|
},
|
|
|
(router) => {
|
|
@@ -761,8 +819,8 @@ export default {
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
team_status: "PAY",
|
|
|
- type:'look',
|
|
|
- tabrouter:11
|
|
|
+ type: "look",
|
|
|
+ tabrouter: 11,
|
|
|
},
|
|
|
},
|
|
|
(router) => {
|
|
@@ -773,32 +831,43 @@ export default {
|
|
|
}
|
|
|
case "PREPARE": {
|
|
|
// 筹备中 跳转到乐团设置界面
|
|
|
- this.$router.push({
|
|
|
- path: `/business/resetTeaming`,
|
|
|
- query: { type:'look',status: row.status, id: row.id, name: row.name,team_status:row.status,tabrouter:10 },
|
|
|
- },
|
|
|
- (router) => {
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: `/business/resetTeaming`,
|
|
|
+ query: {
|
|
|
+ type: "look",
|
|
|
+ status: row.status,
|
|
|
+ id: row.id,
|
|
|
+ name: row.name,
|
|
|
+ team_status: row.status,
|
|
|
+ tabrouter: 10,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团筹备中";
|
|
|
- });
|
|
|
+ }
|
|
|
+ );
|
|
|
break;
|
|
|
}
|
|
|
case "PROGRESS": {
|
|
|
// 进行中
|
|
|
// 调到乐团详情 teamDetails
|
|
|
- this.$router.push({
|
|
|
- path: `/business/resetTeaming`,
|
|
|
- query: {
|
|
|
- status: row.status,
|
|
|
- id: row.id,
|
|
|
- name: row.name,
|
|
|
- organId: row.organId,
|
|
|
- type:'resetTeam',
|
|
|
- team_status:row.status
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: `/business/resetTeaming`,
|
|
|
+ query: {
|
|
|
+ status: row.status,
|
|
|
+ id: row.id,
|
|
|
+ name: row.name,
|
|
|
+ organId: row.organId,
|
|
|
+ type: "resetTeam",
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
-
|
|
|
- }, (router) => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团进行中";
|
|
|
- });
|
|
|
+ }
|
|
|
+ );
|
|
|
break;
|
|
|
}
|
|
|
case "CANCELED": {
|
|
@@ -806,7 +875,11 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "teamCanceled", id: row.id ,team_status:row.status},
|
|
|
+ query: {
|
|
|
+ type: "teamCanceled",
|
|
|
+ id: row.id,
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
(router) => {
|
|
|
router.meta.title = "取消乐团";
|
|
@@ -820,16 +893,18 @@ export default {
|
|
|
// path: `/teamLists`,
|
|
|
// query: { status: row.status, id: row.id, name: row.name },
|
|
|
// });
|
|
|
- this.$router.push({
|
|
|
- path: "/business/resetTeaming",
|
|
|
- query: { type: "resetTeam", id: row.id,team_status:row.status },
|
|
|
- },
|
|
|
- (router) => {
|
|
|
+ this.$router.push(
|
|
|
+ {
|
|
|
+ path: "/business/resetTeaming",
|
|
|
+ query: { type: "resetTeam", id: row.id, team_status: row.status },
|
|
|
+ },
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团暂停";
|
|
|
}
|
|
|
);
|
|
|
break;
|
|
|
- }case "CLOSE":{
|
|
|
+ }
|
|
|
+ case "CLOSE": {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: `/business/resetTeaming`,
|
|
@@ -838,7 +913,7 @@ export default {
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
team_status: "CLOSE",
|
|
|
- type:'look'
|
|
|
+ type: "look",
|
|
|
},
|
|
|
},
|
|
|
(router) => {
|