|
@@ -32,7 +32,7 @@
|
|
|
v-model.trim="topForm.search"
|
|
|
clearable
|
|
|
@keyup.enter.native="
|
|
|
- e => {
|
|
|
+ (e) => {
|
|
|
e.target.blur();
|
|
|
$refs.topForm.save();
|
|
|
search();
|
|
@@ -93,7 +93,12 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
+ <el-form-item prop="educationalTeacherId">
|
|
|
+ <remote-search
|
|
|
+ :commit="'setEducations'"
|
|
|
+ v-model="topForm.educationalTeacherId"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
<el-form-item prop="isStartedCourse">
|
|
|
<el-select
|
|
|
v-model.trim="topForm.isStartedCourse"
|
|
@@ -130,7 +135,7 @@
|
|
|
start-placeholder="申请开始日期"
|
|
|
end-placeholder="申请结束日期"
|
|
|
:picker-options="{
|
|
|
- firstDayOfWeek: 1
|
|
|
+ firstDayOfWeek: 1,
|
|
|
}"
|
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
@@ -144,7 +149,7 @@
|
|
|
start-placeholder="成团开始日期"
|
|
|
end-placeholder="成团结束日期"
|
|
|
:picker-options="{
|
|
|
- firstDayOfWeek: 1
|
|
|
+ firstDayOfWeek: 1,
|
|
|
}"
|
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
@@ -155,10 +160,7 @@
|
|
|
<el-button type="primary" native-type="reset">重置</el-button>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- v-permission="'export/musicGroup'"
|
|
|
- @click="onExport"
|
|
|
+ <el-button type="primary" v-permission="'export/musicGroup'" @click="onExport"
|
|
|
>导出</el-button
|
|
|
>
|
|
|
</el-form-item>
|
|
@@ -179,24 +181,14 @@
|
|
|
align="center"
|
|
|
label="所属分部"
|
|
|
></el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="id"
|
|
|
- width="100"
|
|
|
- align="center"
|
|
|
- label="乐团编号"
|
|
|
- >
|
|
|
+ <el-table-column prop="id" width="100" align="center" label="乐团编号">
|
|
|
<template slot-scope="scope">
|
|
|
<copy-text>
|
|
|
{{ scope.row.id }}
|
|
|
</copy-text>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="name"
|
|
|
- width="200px"
|
|
|
- align="center"
|
|
|
- label="乐团名称"
|
|
|
- >
|
|
|
+ <el-table-column prop="name" width="200px" align="center" label="乐团名称">
|
|
|
<template slot-scope="scope">
|
|
|
<p>
|
|
|
{{ scope.row.name }}
|
|
@@ -225,18 +217,10 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- prop="educationalTeacherName"
|
|
|
- align="center"
|
|
|
- label="乐团主管"
|
|
|
- >
|
|
|
+ <el-table-column prop="educationalTeacherName" align="center" label="乐团主管">
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column
|
|
|
- prop="groupMemberNum"
|
|
|
- align="center"
|
|
|
- label="成团人数"
|
|
|
- >
|
|
|
+ <el-table-column prop="groupMemberNum" align="center" label="成团人数">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="payNum" align="center" label="在读人数">
|
|
|
</el-table-column>
|
|
@@ -280,30 +264,21 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- width="220px"
|
|
|
- fixed="right"
|
|
|
- label="操作"
|
|
|
- >
|
|
|
+ <el-table-column align="center" width="220px" fixed="right" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
|
<!-- 审核中 编辑 -->
|
|
|
<el-button
|
|
|
type="text"
|
|
|
v-if="
|
|
|
- scope.row.status == 'AUDIT' &&
|
|
|
- permission('musicGroup/auditSuccess')
|
|
|
+ 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
|
|
|
>
|
|
@@ -311,8 +286,7 @@
|
|
|
<el-button
|
|
|
type="text"
|
|
|
v-if="
|
|
|
- scope.row.status == 'AUDIT_FAILED' &&
|
|
|
- permission('musicGroup/update')
|
|
|
+ scope.row.status == 'AUDIT_FAILED' && permission('musicGroup/update')
|
|
|
"
|
|
|
@click="lookTeamDetail(scope.row)"
|
|
|
>编辑</el-button
|
|
@@ -321,7 +295,7 @@
|
|
|
type="text"
|
|
|
v-if="
|
|
|
scope.row.status == 'FEE_AUDIT_FAILED' &&
|
|
|
- permission('musicGroup/update')
|
|
|
+ permission('musicGroup/update')
|
|
|
"
|
|
|
@click="lookTeamDetail(scope.row)"
|
|
|
>编辑</el-button
|
|
@@ -339,7 +313,7 @@
|
|
|
scope.row.status == 'PREPARE' ||
|
|
|
scope.row.status == 'CLOSE' ||
|
|
|
scope.row.status == 'FEE_AUDIT') &&
|
|
|
- permission('/resetTeaming')
|
|
|
+ permission('/resetTeaming')
|
|
|
"
|
|
|
@click="lookTeamDetail(scope.row)"
|
|
|
>详情</el-button
|
|
@@ -355,7 +329,7 @@
|
|
|
type="text"
|
|
|
v-if="
|
|
|
scope.row.status == 'PROGRESS' &&
|
|
|
- permission('musicGroup/closeMusicGroup')
|
|
|
+ permission('musicGroup/closeMusicGroup')
|
|
|
"
|
|
|
@click="closeTeamDetail(scope.row)"
|
|
|
>关闭</el-button
|
|
@@ -380,17 +354,14 @@
|
|
|
scope.row.status == 'PAY' ||
|
|
|
scope.row.status == 'PRE_APPLY' ||
|
|
|
scope.row.status == 'DRAFT') &&
|
|
|
- permission('musicGroup/cancelMusicGroup')
|
|
|
+ permission('musicGroup/cancelMusicGroup')
|
|
|
"
|
|
|
@click="stopTeam(scope.row)"
|
|
|
>取消乐团</el-button
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
- v-if="
|
|
|
- scope.row.status == 'PREPARE' &&
|
|
|
- permission('musicGroup/action')
|
|
|
- "
|
|
|
+ v-if="scope.row.status == 'PREPARE' && permission('musicGroup/action')"
|
|
|
@click="startTeam(scope.row)"
|
|
|
type="text"
|
|
|
>确认成团</el-button
|
|
@@ -400,9 +371,8 @@
|
|
|
@click="stopTeam(scope.row)">取消乐团</el-button> -->
|
|
|
<el-button
|
|
|
v-if="
|
|
|
- (scope.row.status == 'PAUSE' ||
|
|
|
- scope.row.status == 'CLOSE') &&
|
|
|
- permission('musicGroup/resumeMusicGroup')
|
|
|
+ (scope.row.status == 'PAUSE' || scope.row.status == 'CLOSE') &&
|
|
|
+ permission('musicGroup/resumeMusicGroup')
|
|
|
"
|
|
|
@click="onTeamOpeation('start', scope.row)"
|
|
|
type="text"
|
|
@@ -411,7 +381,7 @@
|
|
|
<el-button
|
|
|
v-if="
|
|
|
scope.row.status == 'PROGRESS' &&
|
|
|
- permission('musicGroup/pauseMusicGroup')
|
|
|
+ permission('musicGroup/pauseMusicGroup')
|
|
|
"
|
|
|
@click="onTeamOpeation('pause', scope.row)"
|
|
|
type="text"
|
|
@@ -421,7 +391,7 @@
|
|
|
<el-button
|
|
|
v-if="
|
|
|
scope.row.status == 'CANCELED' &&
|
|
|
- permission('musicGroup/deleteMusicGroup')
|
|
|
+ permission('musicGroup/deleteMusicGroup')
|
|
|
"
|
|
|
@click="deteleTeaming(scope.row)"
|
|
|
type="text"
|
|
@@ -471,7 +441,7 @@ import {
|
|
|
getEmployeeOrgan,
|
|
|
pauseMusicGroup,
|
|
|
resumeMusicGroup,
|
|
|
- deleteMusicGroup
|
|
|
+ deleteMusicGroup,
|
|
|
} from "@/api/buildTeam";
|
|
|
import { musicGroupStatus, courseViewTypeList } from "@/utils/searchArray";
|
|
|
import { isObject } from "util";
|
|
@@ -498,7 +468,8 @@ export default {
|
|
|
billTimer: [],
|
|
|
createTimer: [],
|
|
|
cooperationOrganId: null,
|
|
|
- isStartedCourse: null
|
|
|
+ isStartedCourse: null,
|
|
|
+ educationalTeacherId: null,
|
|
|
},
|
|
|
organList: [],
|
|
|
nowStatus: musicGroupStatus,
|
|
@@ -509,19 +480,19 @@ export default {
|
|
|
limit: 10, // 限制显示条数
|
|
|
page: 1, // 当前页
|
|
|
total: 0, // 总条数
|
|
|
- page_size: [10, 20, 40, 50] // 选择限制显示条数
|
|
|
+ page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
|
},
|
|
|
passed: [], // 传递的参数
|
|
|
showSteam: false,
|
|
|
activeId: null,
|
|
|
- cooperationList: []
|
|
|
+ cooperationList: [],
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
|
pagination,
|
|
|
teamSteam,
|
|
|
closeStudens,
|
|
|
- Tooltip
|
|
|
+ Tooltip,
|
|
|
},
|
|
|
mounted() {
|
|
|
const { query } = this.$route;
|
|
@@ -550,7 +521,7 @@ export default {
|
|
|
init() {
|
|
|
localStorage.setItem("resetCode", "1");
|
|
|
|
|
|
- getEmployeeOrgan().then(res => {
|
|
|
+ getEmployeeOrgan().then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.organList = res.data;
|
|
|
}
|
|
@@ -584,13 +555,10 @@ export default {
|
|
|
cooperationOrganId: this.topForm.cooperationOrganId || null,
|
|
|
searchType: this.$route.query.searchType,
|
|
|
isStartedCourse: this.topForm.isStartedCourse,
|
|
|
- ...getTimes(
|
|
|
- createTimer,
|
|
|
- ["createStartDate", "createEndDate"],
|
|
|
- "YYYY-MM-DD"
|
|
|
- ),
|
|
|
- ...getTimes(billTimer, ["billStartDate", "billEndDate"], "YYYY-MM-DD")
|
|
|
- }).then(res => {
|
|
|
+ educationalTeacherId: this.topForm.educationalTeacherId || null,
|
|
|
+ ...getTimes(createTimer, ["createStartDate", "createEndDate"], "YYYY-MM-DD"),
|
|
|
+ ...getTimes(billTimer, ["billStartDate", "billEndDate"], "YYYY-MM-DD"),
|
|
|
+ }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.tableData = res.data.rows;
|
|
|
this.rules.total = res.data.total;
|
|
@@ -604,9 +572,9 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "newTeam", team_status: "newTeam" }
|
|
|
+ query: { type: "newTeam", team_status: "newTeam" },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "新建乐团";
|
|
|
}
|
|
|
);
|
|
@@ -620,17 +588,17 @@ export default {
|
|
|
}
|
|
|
this.$router.push({
|
|
|
path: "/business/teamDraft",
|
|
|
- query: { type: "teamList", teamList: this.passed }
|
|
|
+ query: { type: "teamList", teamList: this.passed },
|
|
|
});
|
|
|
},
|
|
|
resetTeaming(row) {
|
|
|
// 修改进行中的乐团
|
|
|
localStorage.removeItem(`${row.id}base`);
|
|
|
localStorage.removeItem(`${row.id}sound`);
|
|
|
- this.$nextTick(res => {
|
|
|
+ this.$nextTick((res) => {
|
|
|
this.$router.push({
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "resetTeam", id: row.id }
|
|
|
+ query: { type: "resetTeam", id: row.id },
|
|
|
});
|
|
|
});
|
|
|
},
|
|
@@ -640,7 +608,7 @@ export default {
|
|
|
// 有相同的key => 替换这个对象
|
|
|
if (obj.type == 1) {
|
|
|
let flag = false;
|
|
|
- this.searchLsit = this.searchLsit.map(item => {
|
|
|
+ this.searchLsit = this.searchLsit.map((item) => {
|
|
|
if (item.id == obj.id) {
|
|
|
item = obj;
|
|
|
flag = true;
|
|
@@ -652,7 +620,7 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
let flag = false;
|
|
|
- this.searchLsit = this.searchLsit.map(item => {
|
|
|
+ this.searchLsit = this.searchLsit.map((item) => {
|
|
|
if (item.key == obj.key) {
|
|
|
// 多选框的再次点击=> 等于 就是删除
|
|
|
item = obj;
|
|
@@ -702,10 +670,10 @@ export default {
|
|
|
this.$confirm("是否确定开启乐团?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
- resumeMusicGroup({ musicGroupId: row.id }).then(res => {
|
|
|
+ resumeMusicGroup({ musicGroupId: row.id }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("开启成功");
|
|
|
this.getList();
|
|
@@ -719,10 +687,10 @@ export default {
|
|
|
this.$confirm("是否确定暂停乐团?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
- pauseMusicGroup({ musicGroupId: row.id }).then(res => {
|
|
|
+ pauseMusicGroup({ musicGroupId: row.id }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("暂停成功");
|
|
|
this.getList();
|
|
@@ -742,7 +710,7 @@ export default {
|
|
|
// 查看课表
|
|
|
this.$router.push({
|
|
|
path: "/teamListCourse",
|
|
|
- query: { id: row.id, name: row.name }
|
|
|
+ query: { id: row.id, name: row.name },
|
|
|
});
|
|
|
},
|
|
|
lookTeamDetail(row) {
|
|
@@ -766,9 +734,9 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "teamDraft", id: row.id, team_status: row.status }
|
|
|
+ query: { type: "teamDraft", id: row.id, team_status: row.status },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团编辑中";
|
|
|
}
|
|
|
);
|
|
@@ -785,10 +753,10 @@ export default {
|
|
|
type: "teamAudit",
|
|
|
id: row.id,
|
|
|
clear: "true",
|
|
|
- team_status: row.status
|
|
|
- }
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团审核中";
|
|
|
}
|
|
|
);
|
|
@@ -808,10 +776,10 @@ export default {
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
team_status: "DRAFT",
|
|
|
- tabrouter: 3
|
|
|
- }
|
|
|
+ tabrouter: 3,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "创建缴费中";
|
|
|
}
|
|
|
);
|
|
@@ -827,10 +795,10 @@ export default {
|
|
|
type: "feeAudit",
|
|
|
id: row.id,
|
|
|
clear: "true",
|
|
|
- team_status: row.status
|
|
|
- }
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团费用审核中";
|
|
|
}
|
|
|
);
|
|
@@ -846,10 +814,10 @@ export default {
|
|
|
type: "teamDraft",
|
|
|
id: row.id,
|
|
|
clear: "true",
|
|
|
- team_status: row.status
|
|
|
- }
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团审核失败";
|
|
|
}
|
|
|
);
|
|
@@ -866,10 +834,10 @@ export default {
|
|
|
id: row.id,
|
|
|
clear: "true",
|
|
|
team_status: row.status,
|
|
|
- tabrouter: 3
|
|
|
- }
|
|
|
+ tabrouter: 3,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "费用审核失败";
|
|
|
}
|
|
|
);
|
|
@@ -886,10 +854,10 @@ export default {
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
team_status: "PRE_APPLY",
|
|
|
- tabrouter: 9
|
|
|
- }
|
|
|
+ tabrouter: 9,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团预报名";
|
|
|
}
|
|
|
);
|
|
@@ -910,10 +878,10 @@ export default {
|
|
|
name: row.name,
|
|
|
team_status: "APPLY",
|
|
|
type: "look",
|
|
|
- tabrouter: 11
|
|
|
- }
|
|
|
+ tabrouter: 11,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团报名中";
|
|
|
}
|
|
|
);
|
|
@@ -930,10 +898,10 @@ export default {
|
|
|
name: row.name,
|
|
|
team_status: "PAY",
|
|
|
type: "look",
|
|
|
- tabrouter: 11
|
|
|
- }
|
|
|
+ tabrouter: 11,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团缴费中";
|
|
|
}
|
|
|
);
|
|
@@ -950,10 +918,10 @@ export default {
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
team_status: row.status,
|
|
|
- tabrouter: 10
|
|
|
- }
|
|
|
+ tabrouter: 10,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团筹备中";
|
|
|
}
|
|
|
);
|
|
@@ -971,10 +939,10 @@ export default {
|
|
|
name: row.name,
|
|
|
organId: row.organId,
|
|
|
type: "resetTeam",
|
|
|
- team_status: row.status
|
|
|
- }
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团进行中";
|
|
|
}
|
|
|
);
|
|
@@ -988,10 +956,10 @@ export default {
|
|
|
query: {
|
|
|
type: "teamCanceled",
|
|
|
id: row.id,
|
|
|
- team_status: row.status
|
|
|
- }
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "取消乐团";
|
|
|
}
|
|
|
);
|
|
@@ -1006,9 +974,9 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: "/business/resetTeaming",
|
|
|
- query: { type: "resetTeam", id: row.id, team_status: row.status }
|
|
|
+ query: { type: "resetTeam", id: row.id, team_status: row.status },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团暂停";
|
|
|
}
|
|
|
);
|
|
@@ -1023,10 +991,10 @@ export default {
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
team_status: "CLOSE",
|
|
|
- type: "look"
|
|
|
- }
|
|
|
+ type: "look",
|
|
|
+ },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "乐团关闭";
|
|
|
}
|
|
|
);
|
|
@@ -1048,7 +1016,7 @@ export default {
|
|
|
gotodetailList(row) {
|
|
|
this.$router.push({
|
|
|
path: "/teamListedList",
|
|
|
- query: { id: row.id }
|
|
|
+ query: { id: row.id },
|
|
|
});
|
|
|
},
|
|
|
//
|
|
@@ -1061,8 +1029,8 @@ export default {
|
|
|
type: "look",
|
|
|
id: row.id,
|
|
|
name: row.name,
|
|
|
- team_status: row.status
|
|
|
- }
|
|
|
+ team_status: row.status,
|
|
|
+ },
|
|
|
});
|
|
|
},
|
|
|
// setImprovement 设置基础技能班
|
|
@@ -1071,7 +1039,7 @@ export default {
|
|
|
let rules = JSON.stringify(this.rules);
|
|
|
this.$router.push({
|
|
|
path: "/business/setImprovement",
|
|
|
- query: { id: row.id }
|
|
|
+ query: { id: row.id },
|
|
|
});
|
|
|
},
|
|
|
// 停止乐团
|
|
@@ -1079,12 +1047,12 @@ export default {
|
|
|
this.$confirm("您确定取消申请乐团?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
cancelMusicGroup({
|
|
|
- musicGroupId: row.id
|
|
|
- }).then(res => {
|
|
|
+ musicGroupId: row.id,
|
|
|
+ }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("停止成功");
|
|
|
this.getList();
|
|
@@ -1098,10 +1066,10 @@ export default {
|
|
|
this.$confirm("是否确定成团?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
- startTeam({ musicGroupId: row.id }).then(res => {
|
|
|
+ startTeam({ musicGroupId: row.id }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("开启乐团成功");
|
|
|
this.getList();
|
|
@@ -1114,12 +1082,12 @@ export default {
|
|
|
this.$confirm("您确定删除该乐团?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- type: "warning"
|
|
|
+ type: "warning",
|
|
|
})
|
|
|
.then(() => {
|
|
|
deleteMusicGroup({
|
|
|
- musicGroupId: row.id
|
|
|
- }).then(res => {
|
|
|
+ musicGroupId: row.id,
|
|
|
+ }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("删除成功");
|
|
|
this.getList();
|
|
@@ -1136,9 +1104,9 @@ export default {
|
|
|
this.$router.push(
|
|
|
{
|
|
|
path: `/business/remedy`,
|
|
|
- query: { status: row.status, id: row.id, name: row.name }
|
|
|
+ query: { status: row.status, id: row.id, name: row.name },
|
|
|
},
|
|
|
- router => {
|
|
|
+ (router) => {
|
|
|
router.meta.title = "报名详情";
|
|
|
}
|
|
|
);
|
|
@@ -1148,13 +1116,9 @@ export default {
|
|
|
let obj = {
|
|
|
...reset,
|
|
|
organId: this.topForm.orgin.join(",") || null,
|
|
|
- ...getTimes(
|
|
|
- createTimer,
|
|
|
- ["createStartDate", "createEndDate"],
|
|
|
- "YYYY-MM-DD"
|
|
|
- ),
|
|
|
+ ...getTimes(createTimer, ["createStartDate", "createEndDate"], "YYYY-MM-DD"),
|
|
|
searchType: this.$route.query.searchType,
|
|
|
- ...getTimes(billTimer, ["billStartDate", "billEndDate"], "YYYY-MM-DD")
|
|
|
+ ...getTimes(billTimer, ["billStartDate", "billEndDate"], "YYYY-MM-DD"),
|
|
|
};
|
|
|
await Export(
|
|
|
this,
|
|
@@ -1162,7 +1126,7 @@ export default {
|
|
|
url: "/api-web/export/musicGroup",
|
|
|
fileName: "乐团列表.xls",
|
|
|
method: "post",
|
|
|
- params: qs.stringify(cleanDeep(obj))
|
|
|
+ params: qs.stringify(cleanDeep(obj)),
|
|
|
},
|
|
|
"您确定导出乐团列表?"
|
|
|
);
|
|
@@ -1174,21 +1138,21 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
// 合作单位
|
|
|
- await queryByOrganId({ organId: value.join(",") }).then(res => {
|
|
|
+ await queryByOrganId({ organId: value.join(",") }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.cooperationList = res.data;
|
|
|
this.topForm.cooperationOrganId = null;
|
|
|
}
|
|
|
});
|
|
|
- }
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
showSteam(val) {
|
|
|
if (!val) {
|
|
|
this.activeId = null;
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|