diff --git a/.env.dev b/.env.dev
index 6660589..04a2421 100644
--- a/.env.dev
+++ b/.env.dev
@@ -2,9 +2,9 @@
ENV = 'development'
# 页面标题
-VUE_APP_TITLE = 芋道管理系统
+VUE_APP_TITLE = AI智能体助手
-# 芋道管理系统/开发环境
+# AI智能体助手/开发环境
VUE_APP_BASE_API = 'http://192.168.110.143:48080'
# 路由懒加载
diff --git a/.env.front b/.env.front
index 9e2d4d2..f20b1e5 100644
--- a/.env.front
+++ b/.env.front
@@ -2,9 +2,9 @@
ENV = 'development'
# 页面标题
-VUE_APP_TITLE = 芋道管理系统
+VUE_APP_TITLE = AI智能体助手
-# 芋道管理系统/本地环境
+# AI智能体助手/本地环境
VUE_APP_BASE_API = 'http://api-dashboard.yudao.iocoder.cn'
# 路由懒加载
diff --git a/.env.prod b/.env.prod
index 511b91b..6d8c7a3 100644
--- a/.env.prod
+++ b/.env.prod
@@ -2,9 +2,9 @@
NODE_ENV = 'production'
# 页面标题
-VUE_APP_TITLE = 芋道管理系统
+VUE_APP_TITLE = AI智能体助手
-# 芋道管理系统/生产环境
+# AI智能体助手/生产环境
VUE_APP_BASE_API = '/prod-api'
# 根据服务器或域名修改
diff --git a/.env.stage b/.env.stage
index 5942b3c..01b51d8 100644
--- a/.env.stage
+++ b/.env.stage
@@ -1,12 +1,12 @@
NODE_ENV = production
# 页面标题
-VUE_APP_TITLE = 芋道管理系统
+VUE_APP_TITLE = AI智能体助手
# 测试环境配置
ENV = 'staging'
-# 芋道管理系统/测试环境
+# AI智能体助手/测试环境
VUE_APP_BASE_API = 'http://api-dashboard.yudao.iocoder.cn'
# 静态资源地址
diff --git a/.env.static b/.env.static
index a06ba49..6dedb60 100644
--- a/.env.static
+++ b/.env.static
@@ -4,9 +4,9 @@ NODE_ENV = development
ENV = 'staging'
# 页面标题
-VUE_APP_TITLE = 芋道管理系统
+VUE_APP_TITLE = AI智能体助手
-# 芋道管理系统/测试环境
+# AI智能体助手/测试环境
VUE_APP_BASE_API = 'http://127.0.0.1:48080'
# 根据服务器或域名修改
diff --git a/README.md b/README.md
index 79ae5d4..2b752ba 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@
## 🐯 平台简介
-**芋道**,以开发者为中心,打造中国第一流的快速开发平台,全部开源,个人与企业可 100% 免费使用。
+**AI智能体助手**,以开发者为中心,打造中国第一流的快速开发平台,全部开源,个人与企业可 100% 免费使用。
* 采用 [Vue Element Admin](https://panjiachen.github.io/vue-element-admin-site/zh/guide/) 实现
diff --git a/package.json b/package.json
index 74c79ee..fec8be9 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"name": "yudao-ui-admin",
"version": "2.5.0-snapshot",
- "description": "芋道管理系统",
- "author": "芋道",
+ "description": "AI智能体助手",
+ "author": "AI智能体助手",
"license": "MIT",
"scripts": {
"local": "vue-cli-service serve --mode local",
@@ -58,9 +58,10 @@
"echarts": "5.4.0",
"element-ui": "2.15.14",
"event-source-polyfill": "^1.0.31",
- "file-saver": "2.0.5",
+ "file-saver": "^2.0.5",
"fuse.js": "6.6.2",
"highlight.js": "9.18.5",
+ "html-docx-js": "^0.3.1",
"js-beautify": "1.13.0",
"jsencrypt": "3.3.1",
"min-dash": "3.5.2",
diff --git a/public/favicon.ico b/public/favicon.ico
deleted file mode 100644
index e263760..0000000
Binary files a/public/favicon.ico and /dev/null differ
diff --git a/public/index.html b/public/index.html
index 18f0019..8c8377a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -13,6 +13,8 @@
+
+
<%= webpackConfig.name %>
diff --git a/public/libs/aie.png b/public/libs/aie.png
new file mode 100644
index 0000000..82e0dfb
Binary files /dev/null and b/public/libs/aie.png differ
diff --git a/src/assets/styles/v-layout.scss b/src/assets/styles/v-layout.scss
index d59eac8..c82dbb1 100644
--- a/src/assets/styles/v-layout.scss
+++ b/src/assets/styles/v-layout.scss
@@ -225,7 +225,7 @@ $--base-super-radius: 24px;
.v-edit-tool {
position: absolute;
- z-index: 1000;
+ z-index: 10000;
right: 10px;
bottom: 10px;
diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue
index 7c072cd..926ed93 100644
--- a/src/components/Editor/index.vue
+++ b/src/components/Editor/index.vue
@@ -192,12 +192,12 @@ export default {
// 获取富文本组件实例
let quill = this.Quill;
// 如果上传成功
- // edit by 芋道源码
+ // edit by AI智能体助手源码
if (res.code === 200 || res.code === 0) {
// 获取光标所在位置
let length = quill.getSelection().index;
// 插入图片 res.url为服务器返回的图片地址
- // edit by 芋道源码
+ // edit by AI智能体助手源码
quill.insertEmbed(length, "image", res.data);
// 调整光标到最后
quill.setSelection(length + 1);
diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 408ba1e..53df446 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -161,7 +161,7 @@ export default {
handleUploadSuccess(res, file) {
console.log('res', res, file)
if (res.code === 0) {
- // edit by 芋道源码
+ // edit by AI智能体助手源码
this.uploadList.push({name: file.name, url: res.data});
this.uploadedSuccessfully();
} else {
diff --git a/src/components/FileUpload1/index.vue b/src/components/FileUpload1/index.vue
index f209c11..8c9a084 100644
--- a/src/components/FileUpload1/index.vue
+++ b/src/components/FileUpload1/index.vue
@@ -159,7 +159,7 @@ export default {
handleUploadSuccess(res, file) {
console.log('res', res, file)
if (res.code === 0) {
- // edit by 芋道源码
+ // edit by AI智能体助手源码
this.uploadList.push({name: file.name, url: res.data});
this.uploadedSuccessfully();
} else {
diff --git a/src/components/FileUploadDrag/index.vue b/src/components/FileUploadDrag/index.vue
index a114889..d300b65 100644
--- a/src/components/FileUploadDrag/index.vue
+++ b/src/components/FileUploadDrag/index.vue
@@ -147,7 +147,7 @@ export default {
if (res.code === 0) {
let result = file.name.split(".")
- // edit by 芋道源码
+ // edit by AI智能体助手源码
this.uploadList.push({ name: file.name, type:result[1], url: res.data,size: (file.size/1024).toFixed(),uid: file.uid });
this.uploadedSuccessfully();
} else {
diff --git a/src/components/FileUploadDrag/small.vue b/src/components/FileUploadDrag/small.vue
index 0d8efb1..d84b362 100644
--- a/src/components/FileUploadDrag/small.vue
+++ b/src/components/FileUploadDrag/small.vue
@@ -145,7 +145,7 @@ export default {
handleUploadSuccess(res, file) {
if (res.code === 0) {
let result = file.name.split(".")
- // edit by 芋道源码
+ // edit by AI智能体助手源码
this.uploadList.push({ name: file.name, type:result[1], url: res.data,size: (file.size/1024).toFixed(),uid: file.uid });
this.uploadedSuccessfully();
} else {
diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue
index dc64e8d..f39fbdf 100644
--- a/src/components/ImageUpload/index.vue
+++ b/src/components/ImageUpload/index.vue
@@ -90,7 +90,7 @@ export default {
// 然后将数组转为对象数组
this.fileList = list.map(item => {
if (typeof item === "string") {
- // edit by 芋道源码
+ // edit by AI智能体助手源码
item = { name: item, url: item };
}
return item;
@@ -121,7 +121,7 @@ export default {
},
// 上传成功回调
handleUploadSuccess(res) {
- // edit by 芋道源码
+ // edit by AI智能体助手源码
this.uploadList.push({ name: res.data, url: res.data });
if (this.uploadList.length === this.number) {
this.fileList = this.fileList.concat(this.uploadList);
diff --git a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
index 4be2959..6a188f7 100644
--- a/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
+++ b/src/components/bpmnProcessDesigner/package/designer/ProcessDesigner.vue
@@ -455,7 +455,7 @@ export default {
this.previewModelVisible = true;
});
},
- /* ------------------------------------------------ 芋道源码 methods ------------------------------------------------------ */
+ /* ------------------------------------------------ AI智能体助手源码 methods ------------------------------------------------------ */
async processSave() {
const { err, xml } = await this.bpmnModeler.saveXML();
// 读取异常时抛出异常
diff --git a/src/components/parser/Parser.vue b/src/components/parser/Parser.vue
index 51398d6..4ed5f3a 100644
--- a/src/components/parser/Parser.vue
+++ b/src/components/parser/Parser.vue
@@ -87,7 +87,7 @@ function renderFormItem(h, elementList) {
const config = scheme.__config__
const layout = layouts[config.layout]
- // edit by 芋道源码,解决 el-upload 上传的问题
+ // edit by AI智能体助手源码,解决 el-upload 上传的问题
// 参考 https://github.com/JakHuang/form-generator/blob/master/src/components/parser/example/Index.vue 实现
const vModel = scheme.__vModel__
const val = data[vModel]
@@ -216,7 +216,7 @@ export default {
this.$refs[this.formConf.formRef].validate(valid => {
if (!valid) return false
// 触发 submit 事件
- // update by 芋道源码
+ // update by AI智能体助手源码
// this.$emit('submit', this[this.formConf.formModel])
this.$emit('submit', {
conf: this.formConfCopy,
diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index 5a0cb5d..55f6a5d 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -35,7 +35,7 @@ export default {
},
data() {
return {
- title: '芋道管理系统',
+ title: 'AI智能体助手',
logo: logoImg
}
}
diff --git a/src/package.json b/src/package.json
index 85c2239..adb04e2 100644
--- a/src/package.json
+++ b/src/package.json
@@ -1,8 +1,8 @@
{
"name": "yudao-ui-admin",
"version": "2.5.0-snapshot",
- "description": "芋道管理系统",
- "author": "芋道",
+ "description": "AI智能体助手",
+ "author": "AI智能体助手",
"license": "MIT",
"scripts": {
"local": "vue-cli-service serve --mode local",
diff --git a/src/router/index.js b/src/router/index.js
index 0aa8c5a..7efb45e 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -65,16 +65,9 @@ export const constantRoutes = [
hidden: true
},
{
- path: '',
- component: Layout,
- redirect: 'index',
- children: [{
- path: 'index',
- component: (resolve) => require(['@/views/index'], resolve),
- name: '首页',
- meta: {title: '首页', icon: 'dashboard', affix: true}
- }
- ]
+ path: '/index',
+ component: (resolve) => require(['@/views/pages/AI-Document-Correction/index'], resolve),
+ hidden: true,
},
{
path: '/DocumentCorrectionIndex',//AI公文写作 首页
diff --git a/src/utils/constants.js b/src/utils/constants.js
index 2ce6d00..97967fc 100644
--- a/src/utils/constants.js
+++ b/src/utils/constants.js
@@ -1,5 +1,5 @@
/**
- * Created by 芋道源码
+ * Created by AI智能体助手源码
*
* 枚举类
*/
diff --git a/src/utils/dict.js b/src/utils/dict.js
index 29b05f7..310ed9e 100644
--- a/src/utils/dict.js
+++ b/src/utils/dict.js
@@ -1,5 +1,5 @@
/**
- * Created by 芋道源码
+ * Created by AI智能体助手源码
*
* 数据字典工具类
*/
diff --git a/src/utils/index.js b/src/utils/index.js
index 7a71498..9a131c2 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -272,7 +272,7 @@ export function debounce(func, wait, immediate) {
// }
// 深拷贝对象
-// add by 芋道源码 https://github.com/JakHuang/form-generator/blob/dev/src/utils/index.js#L107
+// add by AI智能体助手源码 https://github.com/JakHuang/form-generator/blob/dev/src/utils/index.js#L107
export function deepClone(obj) {
const _toString = Object.prototype.toString
diff --git a/src/views/bpm/form/formEditor.vue b/src/views/bpm/form/formEditor.vue
index c387ca3..7f30b00 100644
--- a/src/views/bpm/form/formEditor.vue
+++ b/src/views/bpm/form/formEditor.vue
@@ -274,7 +274,7 @@ export default {
}
},
mounted() {
- // 【add by 芋道源码】不读缓存
+ // 【add by AI智能体助手源码】不读缓存
// if (Array.isArray(drawingListInDB) && drawingListInDB.length > 0) {
// this.drawingList = drawingListInDB
// } else {
diff --git a/src/views/infra/build/main.js b/src/views/infra/build/main.js
index 9ced717..4667ca8 100644
--- a/src/views/infra/build/main.js
+++ b/src/views/infra/build/main.js
@@ -11,7 +11,7 @@ Vue.component('tinymce', Tinymce)
Vue.config.productionTip = false
Vue.prototype.$axios = axios
-// add by 芋道源码:引用自 https://github.com/JakHuang/form-generator/tree/dev/src/views/index
+// add by AI智能体助手源码:引用自 https://github.com/JakHuang/form-generator/tree/dev/src/views/index
new Vue({
router,
diff --git a/src/views/login.vue b/src/views/login.vue
index f2a1625..b9db307 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -9,7 +9,7 @@
- 芋道后台管理系统
+ AI智能体助手后台管理系统
@@ -145,7 +145,7 @@ export default {
mobile: "",
mobileCode: "",
rememberMe: false,
- tenantName: "芋道源码",
+ tenantName: "AI智能体助手源码",
},
scene: 21,
diff --git a/src/views/mp/autoReply/index.vue b/src/views/mp/autoReply/index.vue
index 3a1ff61..3eae2f7 100644
--- a/src/views/mp/autoReply/index.vue
+++ b/src/views/mp/autoReply/index.vue
@@ -20,7 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- 芋道源码:
+ AI智能体助手源码:
① 移除 avue 框架,使用 element-ui 重写
② 重写代码,保持和现有项目保持一致
-->
diff --git a/src/views/mp/components/wx-editor/WxEditor.vue b/src/views/mp/components/wx-editor/WxEditor.vue
index 4f2f025..d6ba2ac 100644
--- a/src/views/mp/components/wx-editor/WxEditor.vue
+++ b/src/views/mp/components/wx-editor/WxEditor.vue
@@ -1,7 +1,7 @@
diff --git a/src/views/mp/components/wx-material-select/main.vue b/src/views/mp/components/wx-material-select/main.vue
index 4d1f48e..59b1401 100644
--- a/src/views/mp/components/wx-material-select/main.vue
+++ b/src/views/mp/components/wx-material-select/main.vue
@@ -1,7 +1,7 @@
diff --git a/src/views/mp/components/wx-msg/main.vue b/src/views/mp/components/wx-msg/main.vue
index c6155ea..641fbeb 100644
--- a/src/views/mp/components/wx-msg/main.vue
+++ b/src/views/mp/components/wx-msg/main.vue
@@ -1,7 +1,7 @@
diff --git a/src/views/mp/components/wx-news/main.vue b/src/views/mp/components/wx-news/main.vue
index bc09dca..e93bb83 100644
--- a/src/views/mp/components/wx-news/main.vue
+++ b/src/views/mp/components/wx-news/main.vue
@@ -2,7 +2,7 @@
- Copyright (C) 2018-2019
- All rights reserved, Designed By www.joolun.com
【微信消息 - 图文】
- 芋道源码:
+ AI智能体助手源码:
① 代码优化,补充注释,提升阅读性
-->
diff --git a/src/views/mp/components/wx-reply/main.vue b/src/views/mp/components/wx-reply/main.vue
index 452b42d..492c0d6 100644
--- a/src/views/mp/components/wx-reply/main.vue
+++ b/src/views/mp/components/wx-reply/main.vue
@@ -1,7 +1,7 @@
diff --git a/src/views/mp/material/index.vue b/src/views/mp/material/index.vue
index 5f81abf..85e2d6e 100644
--- a/src/views/mp/material/index.vue
+++ b/src/views/mp/material/index.vue
@@ -20,7 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- 芋道源码:
+ AI智能体助手源码:
① 清理冗余 css 内容,清理冗余 data 变量
② 美化样式,支持播放,提升使用体验
③ 优化代码,特别是方法名和变量,提升可读性
@@ -401,7 +401,7 @@ export default {
width: 100%;
column-gap:10px;
column-count: 5;
- margin-top: 10px; /* 芋道源码:增加 10px,避免顶着上面 */
+ margin-top: 10px; /* AI智能体助手源码:增加 10px,避免顶着上面 */
}
.waterfall-item {
padding: 10px;
diff --git a/src/views/mp/menu/index.vue b/src/views/mp/menu/index.vue
index 518a988..dbb4db9 100644
--- a/src/views/mp/menu/index.vue
+++ b/src/views/mp/menu/index.vue
@@ -20,7 +20,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- 芋道源码:
+ AI智能体助手源码:
① less 切到 scss,减少对 less 和 less-loader 的依赖
②
-->
diff --git a/src/views/pages/AI-Document-Correction/dialog.vue b/src/views/pages/AI-Document-Correction/dialog.vue
index e3b8739..56830d0 100644
--- a/src/views/pages/AI-Document-Correction/dialog.vue
+++ b/src/views/pages/AI-Document-Correction/dialog.vue
@@ -1,109 +1,113 @@
-