|
@@ -210,15 +210,15 @@
|
|
|
v-if='scope.row.paymentStatus==2'
|
|
|
@click='lookdetail(scope.row)'>查看</el-button>
|
|
|
<el-button type='text'
|
|
|
- v-permission="'studentRegistration/queryFeeDetail'"
|
|
|
+ v-permission="'studentRegistration/queryFeeDetail2'"
|
|
|
v-if='scope.row.paymentStatus==2'
|
|
|
@click='quitTeam(scope.row)'>退团</el-button>
|
|
|
<el-button type="text"
|
|
|
v-if="permission('visit/add')"
|
|
|
@click="addVisit(scope.row)">新增回访</el-button>
|
|
|
<el-button type="text"
|
|
|
- v-if="scope.row.paymentStatus==2"
|
|
|
- v-permission="'subjectChange/getStudentOriginal'"
|
|
|
+ v-if="scope.row.paymentStatus==2"
|
|
|
+ v-permission="'subjectChange/getStudentOriginal'"
|
|
|
@click="openChangeVoice(scope.row)">更改声部</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -509,20 +509,16 @@
|
|
|
@click="submitAddVisit">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <el-dialog
|
|
|
- title="更改声部"
|
|
|
- :visible.sync="changeVoiceVisible"
|
|
|
- @close="closeChangeVoice"
|
|
|
- :destroy-on-close="true"
|
|
|
- width="500px"
|
|
|
- >
|
|
|
- <changeVoice
|
|
|
- @close="closeChangeVoice"
|
|
|
- @submited="getList"
|
|
|
- :detail.sync="rowDetail"
|
|
|
- :musicGroupId="id"
|
|
|
- :voiceList="leftList"
|
|
|
- />
|
|
|
+ <el-dialog title="更改声部"
|
|
|
+ :visible.sync="changeVoiceVisible"
|
|
|
+ @close="closeChangeVoice"
|
|
|
+ :destroy-on-close="true"
|
|
|
+ width="500px">
|
|
|
+ <changeVoice @close="closeChangeVoice"
|
|
|
+ @submited="getList"
|
|
|
+ :detail.sync="rowDetail"
|
|
|
+ :musicGroupId="id"
|
|
|
+ :voiceList="leftList" />
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -1108,18 +1104,18 @@ export default {
|
|
|
this.visitForm.studentId = row.studentId
|
|
|
this.visitVisiable = true;
|
|
|
},
|
|
|
- openChangeVoice(row) {
|
|
|
+ openChangeVoice (row) {
|
|
|
this.getList()
|
|
|
- .then(res => {
|
|
|
- for (const item of res.data.rows) {
|
|
|
- if (item.id === row.id) {
|
|
|
- this.rowDetail = {...item}
|
|
|
- this.changeVoiceVisible = true
|
|
|
+ .then(res => {
|
|
|
+ for (const item of res.data.rows) {
|
|
|
+ if (item.id === row.id) {
|
|
|
+ this.rowDetail = { ...item }
|
|
|
+ this.changeVoiceVisible = true
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- })
|
|
|
+ })
|
|
|
},
|
|
|
- closeChangeVoice() {
|
|
|
+ closeChangeVoice () {
|
|
|
this.changeVoiceVisible = false
|
|
|
// this.rowDetail = null
|
|
|
},
|