|
@@ -381,6 +381,7 @@ export default {
|
|
row = res.data.records.find(j => j.audioId === i.module.contentId)
|
|
row = res.data.records.find(j => j.audioId === i.module.contentId)
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ // 有相同数据就回显勾选
|
|
row ? this.$refs.dialogTableData.toggleRowSelection(row) : this.$refs.dialogTableData.clearSelection();
|
|
row ? this.$refs.dialogTableData.toggleRowSelection(row) : this.$refs.dialogTableData.clearSelection();
|
|
this.loading = false
|
|
this.loading = false
|
|
}
|
|
}
|
|
@@ -461,6 +462,7 @@ export default {
|
|
|
|
|
|
// 提交
|
|
// 提交
|
|
getSubmit() {
|
|
getSubmit() {
|
|
|
|
+ // 区分2级新增 还是 3级编辑
|
|
let data = this.secondId ? {
|
|
let data = this.secondId ? {
|
|
secondId: this.secondId,
|
|
secondId: this.secondId,
|
|
list: this.form
|
|
list: this.form
|