diff --git a/hchyun-ui/.env.development b/hchyun-ui/.env.development
index 3246ca5..a916e78 100644
--- a/hchyun-ui/.env.development
+++ b/hchyun-ui/.env.development
@@ -3,8 +3,8 @@ ENV = 'development'
# 宏驰云管理系统/开发环境
#VUE_APP_BASE_API = '/dev-api'
-VUE_APP_BASE_API = 'http://localhost:8085/dev-api'
-#VUE_APP_BASE_API = 'http://apibase.hchyun.com/dev-api'
+#VUE_APP_BASE_API = 'http://localhost:8085/dev-api'
+VUE_APP_BASE_API = 'http://apibase.hchyun.com/dev-api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
diff --git a/hchyun-ui/package.json b/hchyun-ui/package.json
index b0200c2..356f7da 100644
--- a/hchyun-ui/package.json
+++ b/hchyun-ui/package.json
@@ -39,23 +39,26 @@
"@riophae/vue-treeselect": "0.4.0",
"axios": "0.18.1",
"clipboard": "2.0.4",
+ "codemirror": "^5.59.2",
"core-js": "3.6.5",
+ "diff-match-patch": "^1.0.5",
"echarts": "4.2.1",
"element-ui": "2.13.2",
"file-saver": "2.0.1",
- "js-beautify": "1.10.2",
"fuse.js": "3.4.4",
+ "highlight.js": "9.18.5",
+ "js-beautify": "1.10.2",
"js-cookie": "2.2.0",
"jsencrypt": "3.0.0-rc.1",
- "highlight.js": "9.18.5",
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
+ "quill": "1.3.7",
"screenfull": "4.2.0",
"sortablejs": "1.8.4",
+ "stylus-loader": "^4.3.3",
"vue": "2.6.10",
"vue-count-to": "1.0.13",
- "quill": "1.3.7",
"vue-cropper": "0.4.9",
"vue-router": "3.0.2",
"vue-splitpane": "1.0.4",
diff --git a/hchyun-ui/src/router/index.js b/hchyun-ui/src/router/index.js
index f7729ae..9f9a668 100644
--- a/hchyun-ui/src/router/index.js
+++ b/hchyun-ui/src/router/index.js
@@ -118,6 +118,7 @@ export const constantRoutes = [
}
]
},
+
{
path: '/query',
component: Layout,
@@ -131,6 +132,19 @@ export const constantRoutes = [
}
]
},
+ {
+ path: '/test',
+ component: Layout,
+ hidden: true,
+ children: [
+ {
+ path: '/',
+ component: (resolve) => require(['@/views/test/sqltest'], resolve),
+ name: 'sqltest',
+ meta: { title: 'sql语法高亮测试' }
+ }
+ ]
+ },
{
path: '/job',
component: Layout,
diff --git a/hchyun-ui/src/views/test/sqltest.vue b/hchyun-ui/src/views/test/sqltest.vue
new file mode 100644
index 0000000..e77748f
--- /dev/null
+++ b/hchyun-ui/src/views/test/sqltest.vue
@@ -0,0 +1,241 @@
+
+
+
+
代码编辑,高亮补全
+
代码版本,差异对比
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/hchyun-ui/src/views/tool/query/uniQuery.vue b/hchyun-ui/src/views/tool/query/uniQuery.vue
index aed82cb..e5cf2b8 100644
--- a/hchyun-ui/src/views/tool/query/uniQuery.vue
+++ b/hchyun-ui/src/views/tool/query/uniQuery.vue
@@ -5,8 +5,8 @@
-
+
@@ -138,6 +138,22 @@
+