|
@@ -18,7 +18,6 @@
|
|
|
child: 'musicGroup/createGroup',
|
|
|
parent: '/teamBuild/soundMoney',
|
|
|
}">提交</el-button>
|
|
|
- <el-button type="primary" v-if="teamStatus == 'feeAudit'" @click="goHome">确定</el-button>
|
|
|
<el-button type="primary" @click="submitAudit(1)" v-if="teamStatus == 'teamDraft'">提交审核</el-button>
|
|
|
<el-button type="primary" @click="approval"
|
|
|
v-if="teamStatus == 'teamAudit'"
|
|
@@ -116,7 +115,15 @@ export default {
|
|
|
this.$emit("chiosetab", val);
|
|
|
},
|
|
|
submitAudit (val) {
|
|
|
- this.$refs.soundSetCore.submitInfo(val);
|
|
|
+ this.$confirm(`是否提交审核?`, "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.$refs.soundSetCore.submitInfo(val);
|
|
|
+ })
|
|
|
+ .catch(() => { });
|
|
|
},
|
|
|
selectMusic() {
|
|
|
this.$refs.soundSetCore.submitInfo()
|
|
@@ -129,11 +136,6 @@ export default {
|
|
|
getBaseInfo (baseInfo) {
|
|
|
this.$emit('getBaseInfo', baseInfo)
|
|
|
},
|
|
|
- goHome() {
|
|
|
- // console.log(this.$route.path)
|
|
|
- this.$router.push({ path: "/business/teamDetail" });
|
|
|
- // this.$store.dispatch('delVisitedViews', this.$route.path)
|
|
|
- },
|
|
|
approval () {
|
|
|
this.$confirm(`是否审核通过?`, "提示", {
|
|
|
confirmButtonText: "确定",
|
|
@@ -144,6 +146,7 @@ export default {
|
|
|
auditSuccess({ musicGroupId: this.teamid }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("审核通过");
|
|
|
+ this.$store.dispatch('delVisitedViews', this.$route)
|
|
|
this.$router.push({
|
|
|
path: "/business/teamDetail",
|
|
|
query: { search: this.Fsearch, rules: this.Frules },
|
|
@@ -167,6 +170,7 @@ export default {
|
|
|
auditFailed({ musicGroupId: this.teamid, memo: value }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success("已拒绝");
|
|
|
+ this.$store.dispatch('delVisitedViews', this.$route)
|
|
|
this.$router.push({
|
|
|
path: "/business/teamDetail",
|
|
|
query: { search: this.Fsearch, rules: this.Frules }
|