|
|
|
@ -23,7 +23,11 @@
|
|
|
|
|
<el-alert :title="$t('app.updateHelper')" type="warning" :closable="false" class="common-prompt" /> |
|
|
|
|
<el-form @submit.prevent ref="paramForm" :model="paramModel" label-position="top" :rules="rules"> |
|
|
|
|
<div v-for="(p, index) in params" :key="index"> |
|
|
|
|
<el-form-item :prop="p.key" :label="getLabel(p)"> |
|
|
|
|
<el-form-item |
|
|
|
|
:prop="p.key" |
|
|
|
|
:label="getLabel(p)" |
|
|
|
|
v-if="p.showValue == undefined || p.showValue == ''" |
|
|
|
|
> |
|
|
|
|
<el-input |
|
|
|
|
v-if="p.type == 'number'" |
|
|
|
|
type="number" |
|
|
|
@ -45,6 +49,9 @@
|
|
|
|
|
</el-select> |
|
|
|
|
<el-input v-else v-model.trim="paramModel.params[p.key]" :disabled="!p.edit"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item :prop="p.key" :label="getLabel(p)" v-else> |
|
|
|
|
<el-input v-model.trim="p.showValue" :disabled="!p.edit"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</div> |
|
|
|
|
<el-form-item prop="advanced"> |
|
|
|
|
<el-checkbox v-model="paramModel.advanced" :label="$t('app.advanced')" size="large" /> |
|
|
|
|