Skip to content

Commit

Permalink
feat: ai生成页面功能屏蔽
Browse files Browse the repository at this point in the history
  • Loading branch information
pixel(奇淼 committed Oct 26, 2024
1 parent d1da92d commit 7fff283
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 118 deletions.
9 changes: 0 additions & 9 deletions web/src/api/autoCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,6 @@ export const butler = (data) => {
})
}

export const painter = (data) => {
return service({
url: '/autoCode/llmAuto',
method: 'post',
data:{...data,mode:'painter'},
timeout: 1000 * 60 * 10,
})
}

export const addFunc = (data) => {
return service({
url: '/autoCode/addFunc',
Expand Down
23 changes: 1 addition & 22 deletions web/src/pathInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@
"/src/view/dashboard/components/quickLinks.vue": "QuickLinks",
"/src/view/dashboard/components/table.vue": "Table",
"/src/view/dashboard/components/wiki.vue": "Wiki",
"/src/view/dashboard/components/banner.vue": "Banner",
"/src/view/dashboard/components/card.vue": "Card",
"/src/view/dashboard/components/charts-content-numbers.vue": "ChartsContentNumbers",
"/src/view/dashboard/components/charts-people-numbers.vue": "ChartsPeopleNumbers",
"/src/view/dashboard/components/charts.vue": "Charts",
"/src/view/dashboard/components/notice.vue": "Notice",
"/src/view/dashboard/components/pluginTable.vue": "PluginTable",
"/src/view/dashboard/components/quickLinks.vue": "QuickLinks",
"/src/view/dashboard/components/table.vue": "Table",
"/src/view/dashboard/components/wiki.vue": "Wiki",
"/src/view/dashboard/index.vue": "Dashboard",
"/src/view/error/index.vue": "Error",
"/src/view/error/reload.vue": "Reload",
Expand Down Expand Up @@ -60,10 +50,8 @@
"/src/view/superAdmin/params/sysParams.vue": "SysParams",
"/src/view/superAdmin/user/user.vue": "User",
"/src/view/system/state.vue": "State",
"/src/view/systemTools/aiPainter/aiPainter.vue": "AiPainter",
"/src/view/systemTools/aiPainter/components/dynamicHtmlRenderer.vue": "DynamicHtmlRenderer",
"/src/view/systemTools/autoCode/component/fieldDialog.vue": "FieldDialog",
"/src/view/systemTools/autoCode/component/previewCodeDialg.vue": "PreviewCodeDialg",
"/src/view/systemTools/autoCode/component/previewCodeDialog.vue": "PreviewCodeDialog",
"/src/view/systemTools/autoCode/index.vue": "AutoCode",
"/src/view/systemTools/autoCodeAdmin/index.vue": "AutoCodeAdmin",
"/src/view/systemTools/autoPkg/autoPkg.vue": "AutoPkg",
Expand All @@ -72,15 +60,6 @@
"/src/view/systemTools/index.vue": "System",
"/src/view/systemTools/installPlugin/index.vue": "Index",
"/src/view/systemTools/pubPlug/pubPlug.vue": "PubPlug",
"/src/view/layout/aside/index.vue": "Index",
"/src/view/layout/header/index.vue": "Index",
"/src/view/layout/header/tools.vue": "Tools",
"/src/view/superAdmin/menu/components/components-cascader.vue": "ComponentsCascader",
"/src/view/systemTools/aiPainter/aiPainter.vue": "UnNameComponent",
"/src/view/systemTools/aiPainter/components/dynamicHtmlRenderer.vue": "UnNameComponent",
"/src/view/systemTools/autoCode/component/previewCodeDialg.vue": "PreviewCodeDialg",
"/src/view/systemTools/installPlugin/index.vue": "Index",
"/src/view/systemTools/pubPlug/pubPlug.vue": "PubPlug",
"/src/view/systemTools/system/system.vue": "Config",
"/src/plugin/announcement/form/info.vue": "InfoForm",
"/src/plugin/announcement/view/info.vue": "Info",
Expand Down
40 changes: 0 additions & 40 deletions web/src/view/systemTools/aiPainter/aiPainter.vue

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion web/src/view/systemTools/autoCode/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@
<script setup>
import FieldDialog from '@/view/systemTools/autoCode/component/fieldDialog.vue'
import PreviewCodeDialog from '@/view/systemTools/autoCode/component/previewCodeDialg.vue'
import PreviewCodeDialog from '@/view/systemTools/autoCode/component/previewCodeDialog.vue'
import { toUpperCase, toHump, toSQLLine, toLowerCase } from '@/utils/stringFun'
import { createTemp, getDB, getTable, getColumn, preview, getMeta, getPackageApi,llmAuto } from '@/api/autoCode'
import { getDict } from '@/utils/dictionary'
Expand Down

0 comments on commit 7fff283

Please sign in to comment.