diff --git a/src/api/simulation.js b/src/api/simulation.js
index 5f334e718..60e1053b1 100644
--- a/src/api/simulation.js
+++ b/src/api/simulation.js
@@ -209,6 +209,40 @@ export function getScriptMemberData(group) {
});
}
+/** 获取剧本出演成员角色 */
+export function getScriptPlayMember(group) {
+ return request({
+ url: `/api/simulation/${group}/scriptWrite/players`,
+ method: 'get'
+ });
+}
+
+/** 取消剧本演出成员角色 */
+export function cancleScriptMembers(group, data) {
+ return request({
+ url: `/api/simulation/${group}/scriptWrite/removePlayers`,
+ method: 'put',
+ data
+ });
+}
+
+/** 选择剧本演出成员角色 */
+export function selectScriptMembers(group, data) {
+ return request({
+ url: `/api/simulation/${group}/scriptWrite/choosePlayers`,
+ method: 'put',
+ data
+ });
+}
+
+/** 修改剧本演出成员性别 */
+export function modifyScriptMemberSex(group, playerId, data) {
+ return request({
+ url: `/api/simulation/${group}/scriptWrite/player/${playerId}?gender=${data.gender}`,
+ method: 'put',
+ });
+}
+
/** 清除仿真剧本数据*/
export function dumpScriptData(group) {
return request({
diff --git a/src/views/scriptManage/scriptRecord/addAction.vue b/src/views/scriptManage/scriptRecord/addAction.vue
index f75997e0b..fb179e807 100644
--- a/src/views/scriptManage/scriptRecord/addAction.vue
+++ b/src/views/scriptManage/scriptRecord/addAction.vue
@@ -1,8 +1,11 @@