From d44268b78361eeda6ba54bc7dc0252934c5c40fc Mon Sep 17 00:00:00 2001
From: lijingyu007 <904564792@qq.com>
Date: Thu, 27 Jun 2024 18:29:18 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B8=88=E8=B5=84=E6=8A=A5=E5=90=8D=E6=9F=A5?=
=?UTF-8?q?=E7=9C=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 2 +-
package.json | 2 +-
src/components/jsonTool/index.vue | 78 ++++++++++++++++
src/main.js | 5 ++
src/views/trainService/signlist.vue | 11 ++-
src/views/trainService/signupStudent.vue | 110 ++++++++++++++++-------
6 files changed, 174 insertions(+), 34 deletions(-)
create mode 100644 src/components/jsonTool/index.vue
diff --git a/.env.development b/.env.development
index 32f1e1f..8bff949 100644
--- a/.env.development
+++ b/.env.development
@@ -5,7 +5,7 @@ ENV = 'development'
VUE_APP_BASE_API = '/prod-api'
# VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api'
-VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999'
+VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999'
# VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999'
# VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999'
diff --git a/package.json b/package.json
index 4fc2783..a7a7746 100644
--- a/package.json
+++ b/package.json
@@ -39,6 +39,7 @@
"@riophae/vue-treeselect": "0.4.0",
"axios": "^0.21.1",
"babel-polyfill": "^6.26.0",
+ "bin-code-editor": "^0.9.0",
"caniuse-lite": "^1.0.30001281",
"clipboard": "2.0.6",
"compression-webpack-plugin": "^5.0.1",
@@ -89,7 +90,6 @@
"sass-loader": "^10.0.0",
"script-ext-html-webpack-plugin": "2.1.5",
"svg-sprite-loader": "5.1.1",
-
"vue-template-compiler": "2.6.12"
},
"engines": {
diff --git a/src/components/jsonTool/index.vue b/src/components/jsonTool/index.vue
new file mode 100644
index 0000000..eade08c
--- /dev/null
+++ b/src/components/jsonTool/index.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index 3af3279..3ffa2c4 100644
--- a/src/main.js
+++ b/src/main.js
@@ -32,6 +32,11 @@ import Distpicker from 'v-distpicker'
Vue.component('v-distpicker', Distpicker)
+// json
+import CodeEditor from 'bin-code-editor';
+Vue.use(CodeEditor);
+// json
+
// 防xss攻击
import Xss from 'xss'
Vue.prototype.Xss = Xss
diff --git a/src/views/trainService/signlist.vue b/src/views/trainService/signlist.vue
index 4749c66..94d730a 100644
--- a/src/views/trainService/signlist.vue
+++ b/src/views/trainService/signlist.vue
@@ -34,6 +34,7 @@
+
@@ -131,6 +132,7 @@
+
@@ -233,6 +235,8 @@
imageType="zip|rar"
/>
+
+
+