sql执行器与表数据页面优化
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon-db.png><title>数据库文档管理</title><link href=css/chunk-vendors.8924efc6.css rel=preload as=style><link href=css/index.2a7107f3.css rel=preload as=style><link href=js/chunk-vendors.ecfb4a1c.js rel=preload as=script><link href=js/index.10d79b14.js rel=preload as=script><link href=css/chunk-vendors.8924efc6.css rel=stylesheet><link href=css/index.2a7107f3.css rel=stylesheet></head><body><noscript><strong>We're sorry but zyplayer-db-ui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.ecfb4a1c.js></script><script src=js/index.10d79b14.js></script></body></html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon-db.png"><title>数据库文档管理</title><link href="css/chunk-vendors.140b583e.css" rel="preload" as="style"><link href="css/index.e4b7b14e.css" rel="preload" as="style"><link href="js/chunk-vendors.31333e1f.js" rel="preload" as="script"><link href="js/index.5ff6b4e8.js" rel="preload" as="script"><link href="css/chunk-vendors.140b583e.css" rel="stylesheet"><link href="css/index.e4b7b14e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but zyplayer-db-ui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.31333e1f.js"></script><script src="js/index.5ff6b4e8.js"></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -261,7 +261,7 @@ export default {
|
||||
'ace-editor': aceEditor
|
||||
},
|
||||
mounted: function () {
|
||||
this.height = 500;
|
||||
this.height = 360;
|
||||
// 延迟设置展开的目录,edit比app先初始化
|
||||
// setTimeout(() => {
|
||||
// this.doExecutorSqlCommon();
|
||||
@@ -610,7 +610,7 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style scoped>
|
||||
.data-executor-vue .ace-monokai .ace_print-margin {
|
||||
display: none;
|
||||
}
|
||||
@@ -654,4 +654,12 @@ export default {
|
||||
height: calc(100vh - 180px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/deep/ .elx-table .elx-body--column.col--ellipsis {
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
/deep/ .elx-table .elx-header--column.col--ellipsis {
|
||||
height: 38px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<el-card style="margin-bottom: 10px;">
|
||||
<ace-editor v-model="sqlExecutorContent" ref="sqlEditor" @init="sqlExecutorInit" lang="sql" theme="monokai"
|
||||
width="100%" height="500" :options="sqlEditorConfig" :source="executorSource"
|
||||
style="margin-bottom: 10px;"></ace-editor>
|
||||
style="margin-bottom: 10px;">
|
||||
</ace-editor>
|
||||
<div>
|
||||
<el-button v-if="sqlExecuting" v-on:click="cancelExecutorSql" type="primary" plain size="small"
|
||||
icon="el-icon-video-pause">取消执行
|
||||
@@ -193,8 +194,8 @@ export default {
|
||||
enableBasicAutocompletion: true,
|
||||
enableSnippets: true,
|
||||
enableLiveAutocompletion: true,
|
||||
minLines: 15,
|
||||
maxLines: 40,
|
||||
minLines: 10,
|
||||
maxLines: 10,
|
||||
},
|
||||
executorSource: {},
|
||||
// sql参数
|
||||
@@ -207,7 +208,7 @@ export default {
|
||||
'ace-editor': aceEditor
|
||||
},
|
||||
mounted: function () {
|
||||
this.height = 500;
|
||||
this.height = 270;
|
||||
this.loadDatasourceList();
|
||||
},
|
||||
methods: {
|
||||
@@ -503,7 +504,7 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style scoped>
|
||||
.data-executor-vue .ace-monokai .ace_print-margin {
|
||||
display: none;
|
||||
}
|
||||
@@ -568,4 +569,12 @@ export default {
|
||||
height: calc(100vh - 180px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/deep/ .elx-table .elx-body--column.col--ellipsis {
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
/deep/ .elx-table .elx-header--column.col--ellipsis {
|
||||
height: 38px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user