Commit 7c5a886b by 无尘

fix: 修改设置sql

parent 04d1e626
.m-l-10[data-v-3c6f15c6]{margin-left:10px}.w-130[data-v-3c6f15c6]{width:130px}.w-249[data-v-3c6f15c6]{width:249px}.w-180[data-v-3c6f15c6]{width:180px}.span-dot[data-v-3c6f15c6]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-3c6f15c6]{background:#52c41a}.span-dot.bg-d9d9d9[data-v-3c6f15c6]{background:#d9d9d9}
\ No newline at end of file
.w-363[data-v-d386a784]{width:363px}.selected div[data-v-d386a784]{color:#2f54eb}.w-363[data-v-64151976]{width:363px}.selected div[data-v-64151976]{color:#2f54eb}.show-select-num[data-v-64151976]{width:363px;height:32px;line-height:32px;padding:0 12px;font-size:14px;color:#303133;border-radius:2px;border:1px solid #c4c6cf}.m-b-20[data-v-6e7546a2]{margin-bottom:20px}.w-408[data-v-6e7546a2]{width:408px} .w-363[data-v-d386a784]{width:363px}.selected div[data-v-d386a784]{color:#2f54eb}.w-363[data-v-37ac4970]{width:363px}.selected div[data-v-37ac4970]{color:#2f54eb}.show-select-num[data-v-37ac4970]{width:363px;height:32px;line-height:32px;padding:0 12px;font-size:14px;color:#303133;border-radius:2px;border:1px solid #c4c6cf}.m-b-20[data-v-6e7546a2]{margin-bottom:20px}.w-408[data-v-6e7546a2]{width:408px}
\ No newline at end of file \ No newline at end of file
.m-l-10[data-v-3709dc9a]{margin-left:10px}.w-130[data-v-3709dc9a]{width:130px}.w-249[data-v-3709dc9a]{width:249px}.w-180[data-v-3709dc9a]{width:180px}.span-dot[data-v-3709dc9a]{display:inline-block;vertical-align:middle;width:6px;height:6px;margin-right:6px;border-radius:3px}.span-dot.bg-52c41a[data-v-3709dc9a]{background:#52c41a}.span-dot.bg-d9d9d9[data-v-3709dc9a]{background:#d9d9d9}
\ No newline at end of file
<!DOCTYPE html><html lang=cn><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.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.48.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-126ea711.12980bcb.css rel=prefetch><link href=css/chunk-317bd40b.7e98aade.css rel=prefetch><link href=css/chunk-428c66fe.145b1a9f.css rel=prefetch><link href=css/chunk-448cb576.d0755970.css rel=prefetch><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-5661deeb.593f08e6.css rel=prefetch><link href=css/chunk-59f6fc24.e02f1efd.css rel=prefetch><link href=css/chunk-6b431e4e.5bc873e8.css rel=prefetch><link href=css/chunk-ce6e75c2.5c2cd5fc.css rel=prefetch><link href=css/chunk-dfd33f28.c2895562.css rel=prefetch><link href=css/chunk-e7c4557e.4f971e39.css rel=prefetch><link href=js/chunk-126ea711.1927465d.js rel=prefetch><link href=js/chunk-22af8244.30e36d46.js rel=prefetch><link href=js/chunk-317bd40b.2a469d5a.js rel=prefetch><link href=js/chunk-428c66fe.30d76fc7.js rel=prefetch><link href=js/chunk-448cb576.a6f1f4e7.js rel=prefetch><link href=js/chunk-4566970e.8f92af78.js rel=prefetch><link href=js/chunk-5661deeb.74d0d5a5.js rel=prefetch><link href=js/chunk-59f6fc24.7b4fb988.js rel=prefetch><link href=js/chunk-6b431e4e.0d30cc7b.js rel=prefetch><link href=js/chunk-ce6e75c2.9409f4b5.js rel=prefetch><link href=js/chunk-dfd33f28.d0087e35.js rel=prefetch><link href=js/chunk-e0354b28.47793da0.js rel=prefetch><link href=js/chunk-e7c4557e.1b36022d.js rel=prefetch><link href=css/app.343858c9.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.f82f7d89.js rel=preload as=script><link href=js/chunk-vendors.1cef5819.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.343858c9.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.1cef5819.js></script><script src=js/app.f82f7d89.js></script></body></html> <!DOCTYPE html><html lang=cn><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.ico><link rel=stylesheet type=text/css href=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.48.css><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><title>好办</title><link href=css/chunk-126ea711.12980bcb.css rel=prefetch><link href=css/chunk-428c66fe.145b1a9f.css rel=prefetch><link href=css/chunk-448cb576.d0755970.css rel=prefetch><link href=css/chunk-4566970e.f9174fd0.css rel=prefetch><link href=css/chunk-4ccda8d4.dab87916.css rel=prefetch><link href=css/chunk-5661deeb.593f08e6.css rel=prefetch><link href=css/chunk-59f6fc24.e02f1efd.css rel=prefetch><link href=css/chunk-6b431e4e.5bc873e8.css rel=prefetch><link href=css/chunk-c7093a8a.2608ff37.css rel=prefetch><link href=css/chunk-ce6e75c2.5c2cd5fc.css rel=prefetch><link href=css/chunk-e7c4557e.4f971e39.css rel=prefetch><link href=js/chunk-126ea711.1927465d.js rel=prefetch><link href=js/chunk-22af8244.30e36d46.js rel=prefetch><link href=js/chunk-428c66fe.30d76fc7.js rel=prefetch><link href=js/chunk-448cb576.a6f1f4e7.js rel=prefetch><link href=js/chunk-4566970e.8f92af78.js rel=prefetch><link href=js/chunk-4ccda8d4.e937f9ae.js rel=prefetch><link href=js/chunk-5661deeb.74d0d5a5.js rel=prefetch><link href=js/chunk-59f6fc24.7b4fb988.js rel=prefetch><link href=js/chunk-6b431e4e.0d30cc7b.js rel=prefetch><link href=js/chunk-c7093a8a.de27af96.js rel=prefetch><link href=js/chunk-ce6e75c2.9409f4b5.js rel=prefetch><link href=js/chunk-e0354b28.47793da0.js rel=prefetch><link href=js/chunk-e7c4557e.1b36022d.js rel=prefetch><link href=css/app.343858c9.css rel=preload as=style><link href=css/chunk-vendors.635bc84a.css rel=preload as=style><link href=js/app.91a7dae5.js rel=preload as=script><link href=js/chunk-vendors.1cef5819.js rel=preload as=script><link href=css/chunk-vendors.635bc84a.css rel=stylesheet><link href=css/app.343858c9.css rel=stylesheet></head><body class=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/layout.1.2.46.js></script><script src=//web-1251519181.file.myqcloud.com/components/editor.1.1.11.js></script><script src=//web-1251519181.file.myqcloud.com/components/user-info.1.0.3.js></script><script src=js/chunk-vendors.1cef5819.js></script><script src=js/app.91a7dae5.js></script></body></html>
\ No newline at end of file \ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-11-10 13:46:15 * @Date: 2020-11-10 13:46:15
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-18 15:50:09 * @LastEditTime: 2020-11-18 16:22:25
--> -->
<!-- <!--
<index-dialog :sql-check-sql-id="sqlCheckSqlId"></index-dialog> <index-dialog :sql-check-sql-id="sqlCheckSqlId"></index-dialog>
...@@ -36,7 +36,12 @@ export default { ...@@ -36,7 +36,12 @@ export default {
components: {}, components: {},
props: { props: {
sqlCheckSqlId: { sqlCheckSqlId: {
type: String type: String,
default: ''
},
sqlCheckIndex: {
type: String,
default: ''
} }
}, },
data() { data() {
...@@ -56,9 +61,8 @@ export default { ...@@ -56,9 +61,8 @@ export default {
// 生命周期 - 挂载完成(访问DOM元素) // 生命周期 - 挂载完成(访问DOM元素)
mounted() { mounted() {
const that = this; const that = this;
if (that.sqlCheckSqlId) { that.ruleForm.sqlCheckSqlId = that.sqlCheckSqlId ? that.sqlCheckSqlId : '';
that.ruleForm.sqlCheckSqlId = that.sqlCheckSqlId; that.ruleForm.sqlIndex = that.sqlCheckIndex ? that.sqlCheckIndex : '';
}
}, },
// methods // methods
methods: { methods: {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-11-10 13:46:26 * @Date: 2020-11-10 13:46:26
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-18 11:46:52 * @LastEditTime: 2020-11-18 16:17:26
--> -->
<!-- <!--
<sql-detail :sql-row="sqlRow"></sql-detail> <sql-detail :sql-row="sqlRow"></sql-detail>
...@@ -21,7 +21,10 @@ import sqlDetail from '@/components/sql/sql-detail.vue'; ...@@ -21,7 +21,10 @@ import sqlDetail from '@/components/sql/sql-detail.vue';
{{ruleForm.sqlCheckTableName || '--'}} {{ruleForm.sqlCheckTableName || '--'}}
</el-form-item> </el-form-item>
<el-form-item label="SQL" prop=""> <el-form-item label="SQL" prop="">
<el-input class="w-440" readonly type="textarea" rows="3" v-model="ruleForm.sqlCheckSql" maxlength="500" show-word-limit></el-input> <el-input class="w-440" readonly type="textarea" rows="6" v-model="ruleForm.sqlCheckSql" maxlength="500" show-word-limit></el-input>
</el-form-item>
<el-form-item label="索引" prop="">
<el-input class="w-440" readonly type="textarea" rows="6" v-model="ruleForm.sqlCheckIndex" maxlength="500" show-word-limit></el-input>
</el-form-item> </el-form-item>
<el-form-item label="完善状态" prop=""> <el-form-item label="完善状态" prop="">
{{ruleForm.sqlCheckIndexType ? '已完善':'未完善'}} {{ruleForm.sqlCheckIndexType ? '已完善':'未完善'}}
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-11-09 11:16:12 * @Date: 2020-11-09 11:16:12
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-11-18 15:54:23 * @LastEditTime: 2020-11-18 16:19:55
--> -->
<!-- --> <!-- -->
<template> <template>
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </el-pagination> <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> </el-pagination>
</div> </div>
<sql-detail v-if="showDetail" :sql-row="sqlRow" @closeDetail="closeDetail"></sql-detail> <sql-detail v-if="showDetail" :sql-row="sqlRow" @closeDetail="closeDetail"></sql-detail>
<index-dialog v-if="showIndex" :sql-check-sql-id="sqlCheckSqlId" @closeText="closeText" @submitText="submitText"></index-dialog> <index-dialog v-if="showIndex" :sql-check-index="sqlCheckIndex" :sql-check-sql-id="sqlCheckSqlId" @closeText="closeText" @submitText="submitText"></index-dialog>
</div> </div>
</template> </template>
...@@ -165,7 +165,8 @@ export default { ...@@ -165,7 +165,8 @@ export default {
showDetail: false, showDetail: false,
sqlRow: {}, sqlRow: {},
showIndex: false, showIndex: false,
sqlCheckSqlId: '' sqlCheckSqlId: '',
sqlCheckIndex: ''
}; };
}, },
// 生命周期 - 挂载完成(访问DOM元素) // 生命周期 - 挂载完成(访问DOM元素)
...@@ -264,16 +265,19 @@ export default { ...@@ -264,16 +265,19 @@ export default {
const that = this; const that = this;
that.showIndex = true; that.showIndex = true;
that.sqlCheckSqlId = row.sqlCheckSqlId; that.sqlCheckSqlId = row.sqlCheckSqlId;
that.sqlCheckIndex = row.sqlCheckIndex;
}, },
closeText() { closeText() {
const that = this; const that = this;
that.showIndex = false; that.showIndex = false;
that.sqlCheckSqlId = ''; that.sqlCheckSqlId = '';
that.sqlCheckIndex = '';
}, },
submitText() { submitText() {
const that = this; const that = this;
that.showIndex = false; that.showIndex = false;
that.sqlCheckSqlId = ''; that.sqlCheckSqlId = '';
that.sqlCheckIndex = '';
that.currentPage = 1; that.currentPage = 1;
that.getTableData(); that.getTableData();
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment