|
@@ -1105,6 +1105,13 @@ |
|
|
|
|
|
|
|
|
// 修改角色 |
|
|
// 修改角色 |
|
|
roletab() { |
|
|
roletab() { |
|
|
|
|
|
// |
|
|
|
|
|
this.dialogList.forEach(item => { |
|
|
|
|
|
if (item.checked) { |
|
|
|
|
|
item.speaker = this.roleindexrow + 1 |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
this.$u.post("/corpus/batchUpdateRole", { |
|
|
this.$u.post("/corpus/batchUpdateRole", { |
|
|
corpusId: this.luyinList.id, |
|
|
corpusId: this.luyinList.id, |
|
|
transferContent: JSON.stringify(this.dialogList), |
|
|
transferContent: JSON.stringify(this.dialogList), |
|
@@ -1118,12 +1125,6 @@ |
|
|
this.roleisshaw = false; |
|
|
this.roleisshaw = false; |
|
|
this.cancelBeast() |
|
|
this.cancelBeast() |
|
|
this.cancelAllAdd() |
|
|
this.cancelAllAdd() |
|
|
// |
|
|
|
|
|
this.dialogList.forEach(item => { |
|
|
|
|
|
if (item.checked) { |
|
|
|
|
|
item.speaker = this.roleindexrow + 1 |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}).catch(e => { |
|
|
}).catch(e => { |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
title: '修改失败,请重试!', |
|
|
title: '修改失败,请重试!', |
|
|