File tree Expand file tree Collapse file tree 8 files changed +246
-155
lines changed
Expand file tree Collapse file tree 8 files changed +246
-155
lines changed Original file line number Diff line number Diff line change 1+ import { request } from '@/utils/request'
2+
3+ export const getList = ( ) => request . get ( '/system/assistant' )
4+ export const updateAssistant = ( data : any ) => request . put ( '/system/assistant' , data )
5+ export const saveAssistant = ( data : any ) => request . post ( '/system/assistant' , data )
6+ export const getOne = ( id : any ) => request . get ( `/system/assistant/${ id } ` )
7+ export const delOne = ( id : any ) => request . delete ( `/system/assistant/${ id } ` )
Original file line number Diff line number Diff line change 228228 "got_it" : " Got it" ,
229229 "field_original_notes" : " Field original notes" ,
230230 "field_notes_1" : " Field notes" ,
231- "no_table" :" No Table" ,
232- "go_add" :" Add"
231+ "no_table" : " No Table" ,
232+ "go_add" : " Add"
233233 },
234234 "model" : {
235235 "default_model" : " Default model" ,
430430 "target_credential_name" : " Target credential name" ,
431431 "target_credential" : " Target credential" ,
432432 "edit_advanced_applications" : " Edit advanced applications" ,
433- "edit_basic_applications" : " Edit basic applications"
433+ "edit_basic_applications" : " Edit basic applications" ,
434+ "delete" : " delete {msg}?" ,
435+ "code_to_embed" : " Copy the following code to embed" ,
436+ "floating_window_mode" : " Floating window mode" ,
437+ "copy_successful" : " Copy successful" ,
438+ "copy_failed" : " Copy failed"
434439 },
435440 "chat" : {
436441 "type" : " Chart Type" ,
476481 "back_community" : " Restore to Community Edition" ,
477482 "confirm_tips" : " Are you sure to restore to Community Edition?"
478483 }
479- }
484+ }
Original file line number Diff line number Diff line change 231231 "got_it" : " 知道了" ,
232232 "field_original_notes" : " 字段原始备注" ,
233233 "field_notes_1" : " 字段备注" ,
234- "no_table" :" 暂无数据表" ,
235- "go_add" :" 去添加"
234+ "no_table" : " 暂无数据表" ,
235+ "go_add" : " 去添加"
236236 },
237237 "model" : {
238238 "default_model" : " 默认模型" ,
442442 "target_credential_name" : " 目标凭证名称" ,
443443 "target_credential" : " 目标凭证" ,
444444 "edit_advanced_applications" : " 编辑高级应用" ,
445- "edit_basic_applications" : " 编辑基础应用"
445+ "edit_basic_applications" : " 编辑基础应用" ,
446+ "delete" : " 是否删除: {msg}?" ,
447+ "code_to_embed" : " 复制以下代码进行嵌入" ,
448+ "floating_window_mode" : " 浮窗模式" ,
449+ "copy_successful" : " 复制成功" ,
450+ "copy_failed" : " 复制失败"
446451 },
447452 "chat" : {
448453 "type" : " 图表类型" ,
488493 "back_community" : " 还原至社区版" ,
489494 "confirm_tips" : " 确定还原至社区版?"
490495 }
491- }
496+ }
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const handlePublic = () => {
4949 <div class =" name" >{{ name }}</div >
5050 <div class =" type" >{{ typeName }}</div >
5151 </div >
52- <span v-if = " isPrivate " class =" default" :class =" isPrivate && 'is-private'" >{{
52+ <span class =" default" :class =" isPrivate && 'is-private'" >{{
5353 isPrivate ? $t('embedded.private') : $t('embedded.public')
5454 }}</span >
5555 </div >
@@ -127,7 +127,7 @@ const handlePublic = () => {
127127 right : 0 ;
128128 top : 12px ;
129129
130- .is-private {
130+ & .is-private {
131131 background : #f54a4533 ;
132132 color : #d03f3b ;
133133 }
You can’t perform that action at this time.
0 commit comments