Commit 8bc2c8bb by chenwq

feat: 优化动作类型选择和指定情况提示文本

1 parent 347348c7
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
<el-form-item label="动作类型:" <el-form-item label="动作类型:"
:prop="`${propPrefix}.actionType`" :prop="`${propPrefix}.actionType`"
:rules="[{ required: true, message: '请选择动作类型', trigger: 'change' }]"> :rules="[{ required: true, message: '请选择动作类型', trigger: 'change' }]">
<el-select style="width:530px" <el-select placeholder="请选择动作类型"
style="width:530px"
:value="item.actionType" :value="item.actionType"
@change="handleActionTypeChange"> @change="handleActionTypeChange">
<el-option label="向客户群发送消息" <el-option label="向客户群发送消息"
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
</div> </div>
<div v-if="form.marketingStage" class="box"> <div v-if="form.marketingStage" class="box">
<div class="title"> <div class="title">
发生指定情况 当发生指定情况
</div> </div>
<div class="content"> <div class="content">
<glsx-combi-form ref="SpecFormRef" <glsx-combi-form ref="SpecFormRef"
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
</div> </div>
<div v-if="form.triggerType" class="box"> <div v-if="form.triggerType" class="box">
<div class="title"> <div class="title">
执行以下动作 就执行以下动作
</div> </div>
<div style="padding:20px"> <div style="padding:20px">
<el-form ref="BranchGroupFormRef" <el-form ref="BranchGroupFormRef"
...@@ -120,7 +120,9 @@ ...@@ -120,7 +120,9 @@
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<div class="branch-txt">
默认执行第一条满足条件规则的分支
</div>
<BranchGroup v-model="form.branches" <BranchGroup v-model="form.branches"
prop-prefix="branches" prop-prefix="branches"
:condition-variables="options.conditionVariables" :condition-variables="options.conditionVariables"
...@@ -388,6 +390,12 @@ export default { ...@@ -388,6 +390,12 @@ export default {
padding-right: 0; padding-right: 0;
} }
} }
.branch-txt {
font-size: 14px;
color: #333333;
margin-bottom: 20px;
font-weight: 500;
}
} }
.wrapper { .wrapper {
height: calc(100vh - 120px); height: calc(100vh - 120px);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!