This commit is contained in:
dataeaseShu
2025-07-30 15:51:00 +08:00
25 changed files with 49 additions and 126 deletions
@@ -58,8 +58,6 @@ const valueText = (field: string, val: string, options: any[]) => {
return val
}
export const convertFilterText = (conditions: any[], options: any[]) => {
console.log('conditions', conditions, options)
const result: any[] = []
conditions.forEach((condition) => {
const field = condition.field
+1 -1
View File
@@ -44,7 +44,7 @@
"add_dashboard_name_tips": "请输入仪表板名称",
"existing_dashboard": "存量仪表板",
"add_success": "添加成功",
"no_data": "没找到相关内容",
"no_data": "没有找到相关内容",
"new_tab": "新建Tab",
"length_limit64": "字段长度需要在1-64之间",
"sort_column": "排序字段",
+1 -1
View File
@@ -31,7 +31,7 @@ export const watchRouter = (router: any) => {
return
}
if (to.path === '/login') {
console.log(from)
console.info(from)
next('/chat')
} else {
next()
@@ -133,9 +133,6 @@ const sendMessage = async () => {
_list.push(line)
}
}
// console.log(_list)
for (const str of _list) {
let data
try {
@@ -161,7 +158,7 @@ const sendMessage = async () => {
_currentChat.value.records[index.value].id = data.id
break
case 'info':
console.log(data.msg)
console.info(data.msg)
break
case 'error':
currentRecord.error = data.content
@@ -137,9 +137,6 @@ const sendMessage = async () => {
_list.push(line)
}
}
// console.log(_list)
for (const str of _list) {
let data
try {
@@ -165,7 +162,7 @@ const sendMessage = async () => {
_currentChat.value.records[index.value].id = data.id
break
case 'info':
console.log(data.msg)
console.info(data.msg)
break
case 'brief':
_currentChat.value.brief = data.brief
@@ -133,9 +133,6 @@ const sendMessage = async () => {
_list.push(line)
}
}
// console.log(_list)
for (const str of _list) {
let data
try {
@@ -160,7 +157,7 @@ const sendMessage = async () => {
_currentChat.value.records[index.value].id = data.id
break
case 'info':
console.log(data.msg)
console.info(data.msg)
break
case 'error':
currentRecord.error = data.content
@@ -8,10 +8,10 @@ const props = defineProps<{
const { t } = useI18n()
function clickAnalysis() {
console.log('analysis_record_id: ' + props.message?.record?.analysis_record_id)
console.info('analysis_record_id: ' + props.message?.record?.analysis_record_id)
}
function clickPredict() {
console.log('predict_record_id: ' + props.message?.record?.predict_record_id)
console.info('predict_record_id: ' + props.message?.record?.predict_record_id)
}
</script>
+2 -2
View File
@@ -461,11 +461,11 @@ const currentChatEngineType = computed(() => {
})
function onChatDeleted(id: number) {
console.log('deleted', id)
console.info('deleted', id)
}
function onChatRenamed(chat: Chat) {
console.log('renamed', chat)
console.info('renamed', chat)
}
const chatListSideBarShow = ref<boolean>(true)
@@ -52,7 +52,7 @@ const initOptions = {
}
const handleInit = (editor: any) => {
editorRef.value = editor
console.log('TinyMCE 初始化完成', editor)
console.info('TinyMCE 初始化完成', editor)
}
</script>
+2 -2
View File
@@ -126,11 +126,11 @@ const refreshData = () => {
}
const panelClick = () => {
console.log('panelClick')
console.info('panelClick')
}
const smartClick = () => {
console.log('smartClick')
console.info('smartClick')
}
const deleteHandler = (item: any) => {
+2 -3
View File
@@ -114,11 +114,10 @@ const state = reactive({
},
})
const handleSearch = (e: any) => {
console.log('search', e)
console.info('search', e)
}
const editHandler = (id: any) => {
termApi.query(id).then((res: any) => {
console.log('term detail', res)
state.form = res
dialogFormVisible.value = true
})
@@ -181,7 +180,7 @@ const addTerm = () => {
}
const editTerm = () => {
termApi.edit(state.form).then((res: any) => {
console.log('edit term', res)
console.info('edit term', res)
dialogFormVisible.value = false
search()
ElMessage({
+1 -1
View File
@@ -31,7 +31,7 @@ import Professional from './Professional.vue'
const activeName = ref('0')
const handleClick = (tab: any, event: MouseEvent) => {
console.log(tab, event)
console.info(tab, event)
}
</script>
+1 -1
View File
@@ -164,7 +164,7 @@ const beforeClose = () => {
}
const handleActive = (row: any) => {
console.log('row', row)
console.info('row', row)
}
const handlePrivate = (row: any) => {
+5 -2
View File
@@ -35,7 +35,7 @@ const activeName = ref('')
const activeType = ref('')
const modelFormRef = ref()
const cardRefs = ref<any[]>([])
const showCardError = ref(true) // if you don`t want card mask error, just change this to false
// const showCardError = ref(true) // if you don`t want card mask error, just change this to false
reactive({
form: {
id: '',
@@ -71,6 +71,8 @@ const defaultModelListWithSearch = computed(() => {
})
const modelCheckHandler = async (item: any) => {
console.log(item)
/**
const response = await modelApi.check(item)
const reader = response.body.getReader()
const decoder = new TextDecoder()
@@ -110,6 +112,7 @@ const modelCheckHandler = async (item: any) => {
currentRef?.showErrorMask(checkMsg)
}
})
*/
}
const duplicateName = async (item: any) => {
const res = await modelApi.queryAll()
@@ -201,7 +204,7 @@ const deleteHandler = (item: any) => {
customClass: 'confirm-no_icon',
autofocus: false,
callback: (val: string) => {
console.log(val)
console.info(val)
},
})
return
@@ -93,7 +93,7 @@ const filterTypeChange = () => {
initEnumOptions()
}
const initEnumOptions = () => {
console.log('initEnumOptions')
console.info('initEnumOptions')
}
const selectItem = ({ field_name, id }: any) => {
+1 -1
View File
@@ -552,7 +552,7 @@ const handleEditPassword = (id: any) => {
const handleConfirmPassword = () => {
passwordRef.value.validate((val: any) => {
if (val) {
console.log(val)
console.info(val)
}
})
dialogVisiblePassword.value = false
+4 -4
View File
@@ -152,10 +152,10 @@ const state = reactive({
},
})
const handleSearch = (e: any) => {
console.log('search', e)
console.info('search', e)
}
const editHandler = (id: any) => {
console.log('editHandler', id)
console.info('editHandler', id)
/* userApi.query(id).then((res: any) => {
console.log('term detail', res)
state.form = res
@@ -163,7 +163,7 @@ const editHandler = (id: any) => {
}) */
}
const deleteHandler = (id: any) => {
console.log('deleteHandler', id)
console.info('deleteHandler', id)
ElMessageBox.confirm('Are you sure to delete?', 'Warning', {
confirmButtonText: 'OK',
cancelButtonText: 'Cancel',
@@ -222,7 +222,7 @@ const addTerm = () => {
}
const editTerm = () => {
userApi.edit(state.form).then((res: any) => {
console.log('edit term', res)
console.info('edit term', res)
dialogFormVisible.value = false
search()
ElMessage({