fix : 将"话术"相关文案统一改为"知识"

This commit is contained in:
dj
2024-12-02 13:09:15 +08:00
parent a8b992b918
commit b0009057db
3 changed files with 10 additions and 11 deletions

1
auto-imports.d.ts vendored
View File

@@ -6,7 +6,6 @@ export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
const ElMessage: typeof import('element-plus/es')['ElMessage']
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
const computed: typeof import('vue')['computed']
const createApp: typeof import('vue')['createApp']
const customRef: typeof import('vue')['customRef']

View File

@@ -265,7 +265,7 @@ const headBtnClick = (key) => {
}
const handleAdd = () => {
formDialogRef.value.openOrCloseDialog(true)
dialogTitle.value = "新增话术";
dialogTitle.value = "新增知识";
dialogType.value = "add";
nextTick(() => {
formDialogRef.value.getFormInstance().setValues({})
@@ -277,7 +277,7 @@ const handleAdd = () => {
const handleEdit = (row) => {
formDialogRef.value.openOrCloseDialog(true)
getDetail(row)
dialogTitle.value = "编辑话术";
dialogTitle.value = "编辑知识";
dialogType.value = "edit";
}
const getDetail = (row) => {
@@ -314,7 +314,7 @@ const deleteContactMethod = (verbalId) => {
}
const handleMoreDelete = () => {
if(verbalIds.value){
ElMessageBox.confirm(`确认删除选择的话术吗?`, '系统提示', {
ElMessageBox.confirm(`确认删除选择的知识吗?`, '系统提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
@@ -322,11 +322,11 @@ const handleMoreDelete = () => {
deleteContactMethod(verbalIds.value)
})
}else{
ElMessage.warning("请选择要删除的话术")
ElMessage.warning("请选择要删除的知识")
}
}
const handleSingleDelete = (row) => {
ElMessageBox.confirm(`确认删除问题为${row.query}话术吗?`, '系统提示', {
ElMessageBox.confirm(`确认删除问题为${row.query}知识吗?`, '系统提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'

View File

@@ -267,7 +267,7 @@ const headBtnClick = (key) => {
}
const handleAdd = () => {
formDialogRef.value.openOrCloseDialog(true)
dialogTitle.value = "新增话术";
dialogTitle.value = "新增知识";
dialogType.value = "add";
nextTick(() => {
formDialogRef.value.getFormInstance().setValues({})
@@ -279,7 +279,7 @@ const handleAdd = () => {
const handleEdit = (row) => {
formDialogRef.value.openOrCloseDialog(true)
getDetail(row)
dialogTitle.value = "编辑话术";
dialogTitle.value = "编辑知识";
dialogType.value = "edit";
}
const getDetail = (row) => {
@@ -316,7 +316,7 @@ const deleteContactMethod = (verbalId) => {
}
const handleMoreDelete = () => {
if(verbalIds.value){
ElMessageBox.confirm(`确认删除选择的话术吗?`, '系统提示', {
ElMessageBox.confirm(`确认删除选择的知识吗?`, '系统提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
@@ -324,11 +324,11 @@ const handleMoreDelete = () => {
deleteContactMethod(verbalIds.value)
})
}else{
ElMessage.warning("请选择要删除的话术")
ElMessage.warning("请选择要删除的知识")
}
}
const handleSingleDelete = (row) => {
ElMessageBox.confirm(`确认删除问题为${row.query}话术吗?`, '系统提示', {
ElMessageBox.confirm(`确认删除问题为${row.query}知识吗?`, '系统提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'