From 29067bbb80fcf07b0a0579cbffba14d9f967ab64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E9=98=94?= Date: Mon, 11 Nov 2024 17:56:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=87=E6=A0=87=E5=8A=A0?= =?UTF-8?q?=E5=B7=A5=E7=9A=84sql=E8=A7=84=E5=88=99=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 3 ++ src/views/IndexProcess/SqlRule/SqlRule.vue | 11 ++++-- .../SqlRule/components/SetParams.vue | 32 ++++++++++------- src/views/IndexProcess/constants.ts | 18 ++++++++++ src/views/dataset/RepSetRule/RepSetRule.vue | 9 ++--- .../dataset/RepSetRule/components/Write.vue | 35 ++++++++++++++----- 6 files changed, 80 insertions(+), 28 deletions(-) diff --git a/package.json b/package.json index 50a6916..9535e14 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "mammoth": "^1.8.0", "mitt": "^3.0.1", "mockjs": "^1.1.0", + "monaco-editor": "^0.52.0", "nprogress": "^0.2.0", "pdfjs-dist": "2.11.338", "pinia": "^2.1.7", @@ -55,6 +56,7 @@ "qrcode": "^1.5.3", "qs": "^6.11.2", "sass": "^1.77.8", + "sql-formatter": "^15.4.5", "url": "^0.11.3", "vue": "3.3.4", "vue-draggable-plus": "~0.4.1", @@ -98,6 +100,7 @@ "js-cookie": "~3.0.5", "less": "^4.2.0", "lint-staged": "^14.0.1", + "monaco-editor-webpack-plugin": "^7.1.0", "plop": "^4.0.0", "postcss": "^8.4.31", "postcss-html": "^1.5.0", diff --git a/src/views/IndexProcess/SqlRule/SqlRule.vue b/src/views/IndexProcess/SqlRule/SqlRule.vue index dcee983..5794456 100644 --- a/src/views/IndexProcess/SqlRule/SqlRule.vue +++ b/src/views/IndexProcess/SqlRule/SqlRule.vue @@ -1,5 +1,5 @@