From 7e616ffed696ee2c626b3dd6af45d034c975e7b4 Mon Sep 17 00:00:00 2001 From: luzhengwang Date: Mon, 22 Jan 2024 16:34:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D=EF=BC=8C=E5=8D=87=E7=BA=A7layui?= =?UTF-8?q?=E5=90=8ELAY=5FINDEX=E4=BB=8E0=E5=BC=80=E5=A7=8B=E8=AE=A1?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/generate/edit.html | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/resources/templates/generate/edit.html b/src/main/resources/templates/generate/edit.html index f5e16153..4e9204b4 100644 --- a/src/main/resources/templates/generate/edit.html +++ b/src/main/resources/templates/generate/edit.html @@ -244,7 +244,7 @@ title: '序号', width: 50, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let columnIdHtml = common.sprintf("", index, row.columnId); let sortHtml = common.sprintf( @@ -260,7 +260,7 @@ title: '字段描述', align: 'center', templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let html = common.sprintf( "", index, row.columnComment ); @@ -276,7 +276,7 @@ align: 'center', width: 100, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let javaType = row.javaType; let html = '", index, row.javaField); @@ -307,7 +307,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isInsert == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -319,7 +319,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isEdit == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -331,7 +331,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isQuery == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -343,7 +343,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isList == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -355,7 +355,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isRequired == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -367,7 +367,7 @@ align: 'center', width: 80, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let queryType = row.queryType; let html = '\n' + '\n' + @@ -406,7 +406,7 @@ align: 'center', width: 100, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let dictType = row.dictType; let html = common.sprintf("