From 8158eb77734b2cdd2a8154993b5a1d3877567a23 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 4 Nov 2020 10:18:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E6=9D=A1=E4=BB=B6=E6=9A=82?= =?UTF-8?q?=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/script.js | 8 +++ src/views/scriptManage/conditionManage.vue | 70 ++++++++++++++++++++++ src/views/scriptManage/getAction.vue | 4 ++ 3 files changed, 82 insertions(+) create mode 100644 src/views/scriptManage/conditionManage.vue diff --git a/src/api/script.js b/src/api/script.js index f316ea3d9..326131774 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -126,3 +126,11 @@ export function deleteScriptAction(group, actionId) { method: 'delete' }); } +/** 修改剧本活动条件 */ +export function updateActionCondition(group, actionId, data) { + return request({ + url: `/api/scriptSimulation/${group}/${actionId}/updateCondition`, + method: 'put', + data + }); +} diff --git a/src/views/scriptManage/conditionManage.vue b/src/views/scriptManage/conditionManage.vue new file mode 100644 index 000000000..b05d0754f --- /dev/null +++ b/src/views/scriptManage/conditionManage.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/src/views/scriptManage/getAction.vue b/src/views/scriptManage/getAction.vue index dcdff645e..afce8c0e2 100644 --- a/src/views/scriptManage/getAction.vue +++ b/src/views/scriptManage/getAction.vue @@ -43,6 +43,7 @@
+ 触发条件 {{ $t('scriptRecord.modifyConversitionButton') }} 确定 取消 @@ -107,6 +108,9 @@ export default { methods: { loadInitData() { this.loadOtherData(this.$route.query); + }, + handleCondition(actionId) { + }, covertData(memberList, element) { const member = memberList.find(elem=>{ return elem.id == element.memberId; });