From 674dc1ea06abcda1f083ddf5eb19356ab1a993b8 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Fri, 19 Oct 2018 14:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=A2=9E=E5=8A=A0=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E9=99=90=E5=88=B61024=EF=BC=8C=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89district=E9=99=90=E5=88=B6=E9=95=BF=E5=BA=A664?= =?UTF-8?q?=EF=BC=8Cwebsite=5Fdomain=5Ftopic=E8=A1=A8=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E4=BF=AE=E6=94=B9=E4=B8=BA1024=20sql?= =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/sql/20181019/alert_table_website_domain_topic.sql | 2 ++ src/main/webapp/WEB-INF/include/form/complexInfo.jsp | 2 +- src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgForm.jsp | 2 +- src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp | 2 +- src/main/webapp/WEB-INF/views/cfg/app/appSslCfgForm.jsp | 2 +- src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp | 2 +- src/main/webapp/static/global/scripts/common.js | 1 + 7 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 src/main/resources/sql/20181019/alert_table_website_domain_topic.sql diff --git a/src/main/resources/sql/20181019/alert_table_website_domain_topic.sql b/src/main/resources/sql/20181019/alert_table_website_domain_topic.sql new file mode 100644 index 000000000..0387b18d8 --- /dev/null +++ b/src/main/resources/sql/20181019/alert_table_website_domain_topic.sql @@ -0,0 +1,2 @@ +#域名修改长度为1024 +ALTER TABLE website_domain_topic MODIFY domain VARCHAR(1024); \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/include/form/complexInfo.jsp b/src/main/webapp/WEB-INF/include/form/complexInfo.jsp index f0a4958dc..cd186bfc7 100644 --- a/src/main/webapp/WEB-INF/include/form/complexInfo.jsp +++ b/src/main/webapp/WEB-INF/include/form/complexInfo.jsp @@ -24,7 +24,7 @@ selected>${_district } - +
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgForm.jsp index 68f83f8bf..4489d3715 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appHeaderCfgForm.jsp @@ -165,7 +165,7 @@ $(function(){ selected>${_district } - +
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp index a00ef0c6d..81ed43cc6 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appHttpCfgForm.jsp @@ -165,7 +165,7 @@ $(function(){ selected>${_district } - +
diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appSslCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appSslCfgForm.jsp index b472b80b8..10a2bf0d0 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appSslCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appSslCfgForm.jsp @@ -164,7 +164,7 @@ $(function(){ selected>${dict.itemValue } - +
diff --git a/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp index 6902e84a6..e3af30bb6 100644 --- a/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp @@ -41,7 +41,7 @@ selected>${_district } - +
diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 0a1814252..8646b311a 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -2,6 +2,7 @@ $(function(){ //增加描述新增时的文字长度限制 $("form input[name='cfgDesc']").attr("maxlength","128"); $("form input[name$='cfgKeywords']").attr("maxlength","1024"); + $("form input[class~='domainCheck']").attr("maxlength","1024"); //截取过长的文字 使用id选择器;例如:tab对象->tr->td对象. 排除日志table .logTb $("#contentTable").not(".logTb").find("td").each(function(i){ //获取td当前对象的文本,如果长度大于25;