知识改成话术
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<input
|
||||
class="toolbar-input"
|
||||
v-model="query.title"
|
||||
placeholder="知识标题"
|
||||
placeholder="话术标题"
|
||||
placeholder-style="color:#b0b0b0"
|
||||
confirm-type="search"
|
||||
@confirm="onSearch"
|
||||
@@ -13,7 +13,7 @@
|
||||
<input
|
||||
class="toolbar-input"
|
||||
v-model="query.category"
|
||||
placeholder="知识分类"
|
||||
placeholder="分类"
|
||||
placeholder-style="color:#b0b0b0"
|
||||
confirm-type="search"
|
||||
@confirm="onSearch"
|
||||
@@ -42,7 +42,7 @@
|
||||
<view class="card" v-for="item in list" :key="item.id">
|
||||
<view class="card-header">
|
||||
<view class="title-wrap">
|
||||
<text class="title">{{ item.title || '未命名知识' }}</text>
|
||||
<text class="title">{{ item.title || '未命名话术' }}</text>
|
||||
<text v-if="item.status" class="status">{{ item.status }}</text>
|
||||
</view>
|
||||
<view class="top-flag" v-if="item.isTop">置顶</view>
|
||||
@@ -81,12 +81,12 @@
|
||||
</view>
|
||||
<scroll-view class="dialog-body" scroll-y>
|
||||
<view class="form-item">
|
||||
<text class="form-label">知识标题</text>
|
||||
<input class="form-input" v-model="form.title" placeholder="请输入知识标题" />
|
||||
<text class="form-label">话术标题</text>
|
||||
<input class="form-input" v-model="form.title" placeholder="请输入话术标题" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<text class="form-label">知识分类</text>
|
||||
<input class="form-input" v-model="form.category" placeholder="请输入知识分类" />
|
||||
<text class="form-label">话术分类</text>
|
||||
<input class="form-input" v-model="form.category" placeholder="请输入话术分类" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<text class="form-label">应用行业</text>
|
||||
@@ -97,8 +97,8 @@
|
||||
<textarea class="form-textarea" v-model="form.question" placeholder="请输入问题" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<text class="form-label">知识内容</text>
|
||||
<textarea class="form-textarea" v-model="form.answerContent" placeholder="请输入知识内容" />
|
||||
<text class="form-label">话术内容</text>
|
||||
<textarea class="form-textarea" v-model="form.answerContent" placeholder="请输入话术内容" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<text class="form-label">详细分解</text>
|
||||
@@ -295,7 +295,7 @@ export default {
|
||||
async onSubmit() {
|
||||
const title = this.form.title.trim();
|
||||
if (!title) {
|
||||
uni.showToast({ title: "请输入知识标题", icon: "none" });
|
||||
uni.showToast({ title: "请输入话术标题", icon: "none" });
|
||||
return;
|
||||
}
|
||||
const payload = {
|
||||
|
||||
Reference in New Issue
Block a user