From 67b15e0c3ce8dd2adf39d746eb40a46671aa0499 Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Fri, 28 Jun 2024 15:39:32 +0800 Subject: [PATCH] =?UTF-8?q?json=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/trainService/index.js | 9 +++++ src/components/jsonTool/index.vue | 45 ++++++++------------- src/views/trainService/signlist.vue | 63 ++++++++++++++++++++++++++--- 3 files changed, 83 insertions(+), 34 deletions(-) diff --git a/src/api/trainService/index.js b/src/api/trainService/index.js index 4d11606..c89c816 100644 --- a/src/api/trainService/index.js +++ b/src/api/trainService/index.js @@ -186,4 +186,13 @@ export function delSign(id) { url: '/train/trainStuden/del?studentId=' + id, method: 'delete', }) +} + +// 师资班配置json +export function setJson(data) { + return request({ + url: '/train/trainClass/editData', + method: 'post', + data, + }) } \ No newline at end of file diff --git a/src/components/jsonTool/index.vue b/src/components/jsonTool/index.vue index eade08c..f25bd88 100644 --- a/src/components/jsonTool/index.vue +++ b/src/components/jsonTool/index.vue @@ -1,48 +1,25 @@ \ No newline at end of file diff --git a/src/views/trainService/signlist.vue b/src/views/trainService/signlist.vue index 01dc869..cec2bb6 100644 --- a/src/views/trainService/signlist.vue +++ b/src/views/trainService/signlist.vue @@ -83,7 +83,7 @@ @@ -103,8 +103,11 @@ 已结束 - + @@ -170,7 +173,7 @@ - + @@ -237,7 +240,6 @@ /> - - + + + +
例:name为标题;type为类型(input输入框;radio单选框;textarea文本域);key为标题标识须一致;value为单选框选项
+ + 取 消 + 确 定 + +