|
|
@ -13,10 +13,10 @@ |
|
|
|
<!-- 规则 --> |
|
|
|
<div class="item"> |
|
|
|
<div class="title">{{t('ts.规则').replace('ts.','')}}</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item :label="t('ts.代码').replace('ts.','')" prop="strategyCode"> |
|
|
|
<el-input key="strategyCode" |
|
|
|
<el-row key="规则row"> |
|
|
|
<el-col :span="24" key="代码col"> |
|
|
|
<el-form-item key="formItem" :label="t('ts.代码').replace('ts.','')" prop="strategyCode"> |
|
|
|
<el-input key="代码input" |
|
|
|
v-model="formData.strategyCode" |
|
|
|
:placeholder="t('ts.请输入代码').replace('ts.','')" |
|
|
|
clearable |
|
|
@ -24,24 +24,24 @@ |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item :label="t('ts.名称').replace('ts.','')" prop="name"> |
|
|
|
<el-input key="name" v-model="formData.name" :placeholder="t('ts.请输入名称').replace('ts.','')" clearable :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
<el-col :span="24" key="名称col"> |
|
|
|
<el-form-item key="名称formItem" :label="t('ts.名称').replace('ts.','')" prop="name"> |
|
|
|
<el-input key="名称name" v-model="formData.name" :placeholder="t('ts.请输入名称').replace('ts.','')" clearable :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item :label="t('ts.描述').replace('ts.','')" prop="description"> |
|
|
|
<el-input key="description" v-model="formData.description" :placeholder="t('ts.请输入描述').replace('ts.','')" clearable :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
<el-col :span="24" key="描述col"> |
|
|
|
<el-form-item key="描述formItem" :label="t('ts.描述').replace('ts.','')" prop="description"> |
|
|
|
<el-input key="描述input" v-model="formData.description" :placeholder="t('ts.请输入描述').replace('ts.','')" clearable :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="t('ts.优先级').replace('ts.','')" prop="priority"> |
|
|
|
<el-input-number key="priority" v-model="formData.priority" :min="0" :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
<el-col :span="12" key="优先级col"> |
|
|
|
<el-form-item key="优先级formItem" :label="t('ts.优先级').replace('ts.','')" prop="priority"> |
|
|
|
<el-input-number key="优先级input" v-model="formData.priority" :min="0" :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="t('ts.状态').replace('ts.','')" prop="status"> |
|
|
|
<el-switch key="status" v-model="formData.status" :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
<el-col :span="12" key="状态col"> |
|
|
|
<el-form-item key="状态formItem" :label="t('ts.状态').replace('ts.','')" prop="status"> |
|
|
|
<el-switch key="状态switch" v-model="formData.status" :disabled="formData.name=='默认规则'&&formType=='update'"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|