|
@@ -744,13 +744,13 @@ export default {
|
|
|
},
|
|
|
/** 确认修改 */
|
|
|
onDialogConfirm() {
|
|
|
- this.formLists.forEach(item => {
|
|
|
+ this.formLists.forEach((item, index) => {
|
|
|
if (this.dialogType === "musicSheetCategoryId") {
|
|
|
item.musicSheetCategoryId = this.dialogForms.musicSheetCategoryId;
|
|
|
} else if (this.dialogType === "rankType") {
|
|
|
item.rankType = this.dialogForms.rankType;
|
|
|
} else if (this.dialogType === "sortNumber") {
|
|
|
- item.sortNumber = this.dialogForms.sortNumber;
|
|
|
+ item.sortNumber = Number(this.dialogForms.sortNumber) + index;
|
|
|
} else if (this.dialogType === "scoreType") {
|
|
|
item.scoreType = this.dialogForms.scoreType;
|
|
|
} else if (this.dialogType === "isConvertibleScore") {
|