feat:http数据集修改提示内容

main
liu.shiyi 2 years ago
parent 8318b173f1
commit 3b8247c7b1

@ -174,7 +174,7 @@
<el-tooltip <el-tooltip
class="item" class="item"
effect="light" effect="light"
content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据" content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据,注意:在当前数据集编辑页面缓存不生效"
placement="top" placement="top"
> >
<i <i

@ -198,7 +198,7 @@
<el-row v-if="dataForm.config.requestType === 'backend'"> <el-row v-if="dataForm.config.requestType === 'backend'">
<el-col :span="12"> <el-col :span="12">
<el-form-item <el-form-item
label="数据缓存" label="缓存"
prop="cache" prop="cache"
> >
<el-radio-group <el-radio-group
@ -215,7 +215,7 @@
<el-tooltip <el-tooltip
class="item" class="item"
effect="light" effect="light"
content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据" content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据,注意:在当前数据集编辑页面缓存不生效"
placement="top" placement="top"
> >
<i <i
@ -227,8 +227,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-tabs <el-tabs
v-model=" v-model="activeName"
activeName"
class="bs-el-tabs tabs-box" class="bs-el-tabs tabs-box"
> >
<el-tab-pane <el-tab-pane
@ -466,105 +465,100 @@
</el-form-item> </el-form-item>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</span>
</el-form-item>
</el-form> </el-form>
</el-col> <div
</el-row> v-if="isEdit"
</el-form> class="sql-config"
<div
v-if="isEdit"
class="sql-config"
>
<div style="text-align: center; padding: 16px 0;">
<el-button
type="primary"
@click="scriptExecute()"
> >
解析并运行 <div style="text-align: center; padding: 16px 0;">
</el-button>
</div>
</div>
</el-col>
<el-col
v-if="isEdit"
:span="8"
>
<div class="right-setting">
<div class="paramConfig">
<div class="title-style bs-title-style">
动态参数
<el-button <el-button
type="text" type="primary"
style="float: right;border: none;margin-top: -4px;" @click="scriptExecute()"
@click="openParamsSetDialog(false)"
> >
配置 解析并运行
</el-button> </el-button>
</div> </div>
<div class="field-wrap bs-field-wrap bs-scrollbar"> </div>
<div </el-col>
v-for="param in dataForm.config.paramsList" <el-col
:key="param.name" v-if="isEdit"
class="field-item" :span="8"
@click="openParamsSetDialog(false)" >
> <div class="right-setting">
<span>{{ param.name }}</span>&nbsp;<span <div class="paramConfig">
v-show="param.remark" <div class="title-style bs-title-style">
style="color: #909399;" 动态参数
>
({{ param.remark }})
</span>
<el-button <el-button
class="edit_field"
type="text" type="text"
style="float: right;border: none;margin-top: 2px;" style="float: right;border: none;margin-top: -4px;"
@click="openParamsSetDialog(false)" @click="openParamsSetDialog(false)"
> >
配置 配置
</el-button> </el-button>
</div> </div>
</div> <div class="field-wrap bs-field-wrap bs-scrollbar">
</div> <div
<div class="structure"> v-for="param in dataForm.config.paramsList"
<div class="title-style bs-title-style"> :key="param.name"
输出字段 class="field-item"
<el-button @click="openParamsSetDialog(false)"
type="text" >
style="float: right;border: none;margin-top: -4px;" <span>{{ param.name }}</span>&nbsp;<span
@click="$refs.outputFieldDialog.open()" v-show="param.remark"
>
配置
</el-button>
</div>
<div
class="field-wrap bs-field-wrap bs-scrollbar"
>
<div
v-for="(field, key) in outputFieldList"
:key="key"
class="field-item"
@click="$refs.outputFieldDialog.open()"
>
<span>{{ field.fieldName }}</span>&nbsp;
<span
v-show="field.fieldDesc"
style="color: #909399;" style="color: #909399;"
> >
({{ field.fieldDesc }})</span> ({{ param.remark }})
</span>
<el-button
class="edit_field"
type="text"
style="float: right;border: none;margin-top: 2px;"
@click="openParamsSetDialog(false)"
>
配置
</el-button>
</div>
</div>
</div>
<div class="structure">
<div class="title-style bs-title-style">
输出字段
<el-button <el-button
class="edit_field"
type="text" type="text"
style="float: right;border: none;margin-top: 2px;" style="float: right;border: none;margin-top: -4px;"
@click="$refs.outputFieldDialog.open()" @click="$refs.outputFieldDialog.open()"
> >
配置 配置
</el-button> </el-button>
</div> </div>
<div
class="field-wrap bs-field-wrap bs-scrollbar"
>
<div
v-for="(field, key) in outputFieldList"
:key="key"
class="field-item"
@click="$refs.outputFieldDialog.open()"
>
<span>{{ field.fieldName }}</span>&nbsp;
<span
v-show="field.fieldDesc"
style="color: #909399;"
>
({{ field.fieldDesc }})</span>
<el-button
class="edit_field"
type="text"
style="float: right;border: none;margin-top: 2px;"
@click="$refs.outputFieldDialog.open()"
>
配置
</el-button>
</div>
</div>
</div> </div>
</div> </div>
</div> </el-col>
</el-col>
</el-row> </el-row>
<div <div
v-if="isEdit" v-if="isEdit"

@ -276,7 +276,7 @@
<el-tooltip <el-tooltip
class="item" class="item"
effect="light" effect="light"
content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据" content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据,注意:在当前数据集编辑页面缓存不生效"
placement="top" placement="top"
> >
<i <i

@ -148,7 +148,7 @@
<el-tooltip <el-tooltip
class="item" class="item"
effect="light" effect="light"
content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据" content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据,注意:在当前数据集编辑页面缓存不生效"
placement="top" placement="top"
> >
<i <i

@ -174,7 +174,7 @@
<el-tooltip <el-tooltip
class="item" class="item"
effect="light" effect="light"
content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据" content="开启缓存:会在首次调用该数据集时,将结果缓存,在接下来的十分钟内,若再次被调用则直接返回缓存中的数据,注意:在当前数据集编辑页面缓存不生效"
placement="top" placement="top"
> >
<i <i

Loading…
Cancel
Save