|
@@ -30,10 +30,10 @@
|
|
|
<el-select style="width: 100%!important;" v-model="song.subjectId" placeholder="请选择声部">
|
|
|
<el-option
|
|
|
v-for="item in selects.subjects"
|
|
|
- :value="String(item.id)"
|
|
|
+ :value="item.id"
|
|
|
:label="item.name"
|
|
|
:key="item.id"
|
|
|
- :disabled="hasSubjectId(String(item.id))"
|
|
|
+ :disabled="hasSubjectId(item.id)"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -123,10 +123,7 @@ export default {
|
|
|
const res = await queryPageSysExam({
|
|
|
sysExamSongId: this.detail.id
|
|
|
})
|
|
|
- this.$set(this.form, 'sysExamSongAccompaniments', res.data.rows.map(item => {
|
|
|
- item.subjectId = String(item.subjectId)
|
|
|
- return item
|
|
|
- }))
|
|
|
+ this.$set(this.form, 'sysExamSongAccompaniments', res.data)
|
|
|
} catch (error) {}
|
|
|
},
|
|
|
createSys() {
|