|
@@ -3,12 +3,9 @@
|
|
|
<div class="topWrap">
|
|
|
<div>
|
|
|
<h2>
|
|
|
- <!-- <div class="squrt"></div> -->
|
|
|
<el-page-header @back="onCancel"
|
|
|
:content="teamName + '报名详情'">
|
|
|
-
|
|
|
</el-page-header>
|
|
|
- <!-- {{ teamName }}报名详情 -->
|
|
|
</h2>
|
|
|
<p style="margin-bottom:15px; font-size:18px;
|
|
|
font-weight:400">报名缴费截止时间:{{ applyExpireDate | formatTimer }}</p>
|
|
@@ -50,8 +47,13 @@
|
|
|
<div class="searchList">
|
|
|
<el-form :inline="true"
|
|
|
:model="searchFrom">
|
|
|
- <el-form-item label="专业">
|
|
|
+ <el-form-item>
|
|
|
+ <el-input v-model="searchFrom.name"
|
|
|
+ @keyup.enter.native='search' placeholder='用户名或手机号'></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item>
|
|
|
<el-select v-model="searchFrom.subject"
|
|
|
+ placeholder="请选择专业"
|
|
|
filterable
|
|
|
clearable>
|
|
|
<el-option v-for="(item,index) in soundList"
|
|
@@ -59,10 +61,10 @@
|
|
|
:label="item.name"
|
|
|
:value="item.id"></el-option>
|
|
|
</el-select>
|
|
|
-
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="是否允许调剂">
|
|
|
+ <el-form-item>
|
|
|
<el-select v-model="searchFrom.isAllowAdjust"
|
|
|
+ placeholder="是否允许调剂"
|
|
|
filterable
|
|
|
clearable>
|
|
|
<el-option label="是"
|
|
@@ -71,13 +73,10 @@
|
|
|
value="0"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="用户名或手机号">
|
|
|
- <el-input v-model="searchFrom.name"></el-input>
|
|
|
- </el-form-item>
|
|
|
- <!-- 专业actualSubjectId 调剂isAllowAdjust 手机号name -->
|
|
|
<el-form-item>
|
|
|
- <div class='searchBtn'
|
|
|
- @click='search'>搜索</div>
|
|
|
+ <el-button type='danger' @click='search'>搜索</el-button>
|
|
|
+ <el-button type='primary'
|
|
|
+ @click="onReset">重置</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</div>
|
|
@@ -111,13 +110,11 @@
|
|
|
align='center'>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- <div class="btnWrap"
|
|
|
- style="margin-right:20px; margin-top:20px;">
|
|
|
+ <div class="btnWrap" v-permission="'musicGroup/updateExpectedStudentNum'"
|
|
|
+ style="margin-right:20px; margin-top:20px;">
|
|
|
<el-button v-if="!isEdit"
|
|
|
- v-permission="'musicGroup/updateExpectedStudentNum'"
|
|
|
@click="isEdit = true">编辑</el-button>
|
|
|
<el-button v-if="isEdit"
|
|
|
- v-permission="'musicGroup/updateExpectedStudentNum'"
|
|
|
@click="saveIsEdit">保存</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -472,9 +469,6 @@ export default {
|
|
|
activated () {
|
|
|
this.init()
|
|
|
},
|
|
|
- mounted () {
|
|
|
-
|
|
|
- },
|
|
|
methods: {
|
|
|
init () {
|
|
|
this.status = this.$route.query.status;
|
|
@@ -513,11 +507,26 @@ export default {
|
|
|
this.rules.page = 1;
|
|
|
this.getList();
|
|
|
},
|
|
|
+ onReset() {
|
|
|
+ this.rules.page = 1
|
|
|
+ this.rules.limit = 10
|
|
|
+ this.searchFrom = {
|
|
|
+ name: null,
|
|
|
+ subject: null, // 专业
|
|
|
+ isAllowAdjust: null // 是否允许调剂
|
|
|
+ }
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
onCancel () {
|
|
|
this.$router.push({ path: '/business/teamDetail', query: { search: this.Fsearch, rules: this.Frules } })
|
|
|
},
|
|
|
payStart () {
|
|
|
this.paymentStatus = true;
|
|
|
+ getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.applyExpireDate = res.data.musicGroup.applyExpireDate;
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
getList () {
|
|
|
let obj = {
|
|
@@ -763,6 +772,11 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success('延长缴费成功')
|
|
|
this.extendPaymentStatus = false
|
|
|
+ getTeamBaseInfo({ musicGroupId: this.id }).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.applyExpireDate = res.data.musicGroup.applyExpireDate;
|
|
|
+ }
|
|
|
+ })
|
|
|
} else {
|
|
|
this.$message.error(res.msg);
|
|
|
}
|
|
@@ -836,7 +850,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-<style lang="scss">
|
|
|
+<style lang="scss" scoped>
|
|
|
.sigup-container {
|
|
|
margin-left: 12px;
|
|
|
.topWrap {
|
|
@@ -965,4 +979,10 @@ export default {
|
|
|
padding: 15px 15px 0 15px;
|
|
|
}
|
|
|
}
|
|
|
+.newBand {
|
|
|
+ margin-bottom: 0;
|
|
|
+}
|
|
|
+/deep/.el-button--danger {
|
|
|
+ background: #f85043;
|
|
|
+}
|
|
|
</style>
|