fix: update tool param name
parent
f3ef42b76f
commit
c795cb342a
|
|
@ -28,17 +28,15 @@
|
||||||
<el-option v-for="item in typeOptions" :key="item" :label="item" :value="item" />
|
<el-option v-for="item in typeOptions" :key="item" :label="item" :value="item" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('views.tool.form.toolDescription.label')">
|
<el-form-item :label="$t('dynamicsForm.paramForm.tooltip.label')">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.desc"
|
v-model="form.desc"
|
||||||
type="textarea"
|
:placeholder="$t('dynamicsForm.paramForm.tooltip.placeholder')"
|
||||||
:placeholder="$t('components.folder.descriptionPlaceholder')"
|
:maxlength="128"
|
||||||
maxlength="128"
|
show-word-limit
|
||||||
show-word-limit
|
@blur="form.desc = form.desc?.trim()"
|
||||||
:autosize="{ minRows: 3 }"
|
/>
|
||||||
@blur="form.desc = form.desc?.trim()"
|
</el-form-item>
|
||||||
/>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item :label="$t('views.tool.form.source.label')">
|
<el-form-item :label="$t('views.tool.form.source.label')">
|
||||||
<el-select v-model="form.source">
|
<el-select v-model="form.source">
|
||||||
<el-option :label="$t('views.tool.form.source.reference')" value="reference" />
|
<el-option :label="$t('views.tool.form.source.reference')" value="reference" />
|
||||||
|
|
|
||||||
|
|
@ -27,13 +27,21 @@
|
||||||
>
|
>
|
||||||
<template #label>
|
<template #label>
|
||||||
<div class="flex-between">
|
<div class="flex-between">
|
||||||
<div class="flex">
|
<div class="flex align-center">
|
||||||
<span class="flex">
|
<div class="mr-4">
|
||||||
<auto-tooltip :content="item.name" style="max-width: 130px">
|
<auto-tooltip :content="item.name" style="max-width: 130px">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</auto-tooltip>
|
</auto-tooltip>
|
||||||
<span class="color-danger" v-if="item.is_required">*</span></span
|
</div>
|
||||||
>
|
<el-tooltip v-if="item.desc" effect="dark" placement="right" popper-class="max-w-200">
|
||||||
|
<template #content>
|
||||||
|
{{ item.desc }}
|
||||||
|
</template>
|
||||||
|
<AppIcon iconName="app-warning" class="app-warning-icon"></AppIcon>
|
||||||
|
</el-tooltip>
|
||||||
|
|
||||||
|
<span class="color-danger" v-if="item.is_required">*</span>
|
||||||
|
|
||||||
<el-tag type="info" class="info-tag ml-4">{{ item.type }}</el-tag>
|
<el-tag type="info" class="info-tag ml-4">{{ item.type }}</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -32,13 +32,21 @@
|
||||||
>
|
>
|
||||||
<template #label>
|
<template #label>
|
||||||
<div class="flex-between">
|
<div class="flex-between">
|
||||||
<div class="flex">
|
<div class="flex align-center">
|
||||||
<span class="flex">
|
<div class="mr-4">
|
||||||
<auto-tooltip :content="item.name" style="max-width: 130px">
|
<auto-tooltip :content="item.name" style="max-width: 130px">
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</auto-tooltip>
|
</auto-tooltip>
|
||||||
<span class="color-danger" v-if="item.is_required">*</span>
|
</div>
|
||||||
</span>
|
<el-tooltip v-if="item.desc" effect="dark" placement="right" popper-class="max-w-200">
|
||||||
|
<template #content>
|
||||||
|
{{ item.desc }}
|
||||||
|
</template>
|
||||||
|
<AppIcon iconName="app-warning" class="app-warning-icon"></AppIcon>
|
||||||
|
</el-tooltip>
|
||||||
|
|
||||||
|
<span class="color-danger" v-if="item.is_required">*</span>
|
||||||
|
|
||||||
<el-tag type="info" class="info-tag ml-4">{{ item.type }}</el-tag>
|
<el-tag type="info" class="info-tag ml-4">{{ item.type }}</el-tag>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue