From 60da5bb6db72be7d2ec74c97ea5ecd8291d6ec5d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 22 十一月 2022 15:28:18 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/planType/planType.html |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/views/planType/planType.html b/src/main/webapp/views/planType/planType.html
index 83c7367..d48f46a 100644
--- a/src/main/webapp/views/planType/planType.html
+++ b/src/main/webapp/views/planType/planType.html
@@ -156,7 +156,7 @@
         var insTb = table.render({
             elem: '#planTypeTable',
             headers: {token: localStorage.getItem('token')},
-            url: baseUrl+'/planType/list/auth',
+            url: baseUrl+'/planType/page/auth',
             page: true,
             limit: 16,
             limits: [16, 30, 50, 100, 200, 500],
@@ -220,14 +220,14 @@
                         });
                         form.on('submit(forEditSubmit)', function () {
                             console.log(formDesIdx.getHtmlData());
-                            return false;
                             let loadIndex = layer.load(2);
                             $.ajax({
                                 url: baseUrl+"/planType/update/auth",
                                 headers: {'token': localStorage.getItem('token')},
                                 data: {
                                     id: data.id,
-                                    data: JSON.stringify(formDesIdx.getData())
+                                    data: JSON.stringify(formDesIdx.getData()),
+                                    html: formDesIdx.getHtmlData()
                                 },
                                 method: 'POST',
                                 success: function (res) {

--
Gitblit v1.9.1