前端字段统一:opener改为greeting
This commit is contained in:
@@ -36,18 +36,14 @@
|
|||||||
提示:系统会自动引用知识库内容,您只需专注于业务话术即可。留空将使用默认模板,创建后也可在此修改
|
提示:系统会自动引用知识库内容,您只需专注于业务话术即可。留空将使用默认模板,创建后也可在此修改
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="开场白" prop="opener">
|
<el-form-item label="开场白" prop="greeting">
|
||||||
<el-input
|
<el-input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
v-model="formData.opener"
|
v-model="formData.greeting"
|
||||||
:rows="3"
|
:rows="6"
|
||||||
placeholder="留空则使用默认开场白,用户进入对话时首先显示的内容"
|
placeholder="WebSocket连接时发送的开场白,如:你好,有什么可以帮你的吗?"
|
||||||
maxlength="200"
|
|
||||||
show-word-limit
|
|
||||||
/>
|
/>
|
||||||
<div style="color: #909399; font-size: 12px; margin-top: 5px;">
|
<div class="form-tip">留空则不发送开场白</div>
|
||||||
提示:留空将使用默认开场白,创建后也可在此修改
|
|
||||||
</div>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
@@ -75,7 +71,7 @@ interface DialogFormData {
|
|||||||
accountName: string;
|
accountName: string;
|
||||||
platform: string;
|
platform: string;
|
||||||
prompt?: string;
|
prompt?: string;
|
||||||
opener?: string;
|
greeting?: string;
|
||||||
status: number;
|
status: number;
|
||||||
creator: '';
|
creator: '';
|
||||||
modifier: '';
|
modifier: '';
|
||||||
@@ -94,7 +90,7 @@ const state = reactive({
|
|||||||
accountName: '',
|
accountName: '',
|
||||||
platform: '',
|
platform: '',
|
||||||
prompt: '',
|
prompt: '',
|
||||||
opener: '',
|
greeting: '',
|
||||||
status: 1,
|
status: 1,
|
||||||
creator: '',
|
creator: '',
|
||||||
modifier: '',
|
modifier: '',
|
||||||
@@ -190,7 +186,7 @@ const resetForm = () => {
|
|||||||
accountName: '',
|
accountName: '',
|
||||||
platform: '',
|
platform: '',
|
||||||
prompt: '',
|
prompt: '',
|
||||||
opener: '',
|
greeting: '',
|
||||||
status: 1,
|
status: 1,
|
||||||
creator: '',
|
creator: '',
|
||||||
modifier: '',
|
modifier: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user