From c590b59f2719ea64ef40f7eb3d9a6303bcab0f7b Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Thu, 11 Jul 2024 09:43:33 +0800 Subject: [PATCH] 'commit' --- WebRoot/view/tb/zbdc/cgzb_cz_new.html | 18 +++++--- WebRoot/view/tb/zbdc/cgzb_gz.html | 19 +++----- WebRoot/view/tb/zbdc/cgzb_gz_new.html | 17 ++++--- WebRoot/view/tb/zbdc/cgzb_jnygz_new.html | 25 ++++++----- WebRoot/view/tb/zbdc/cgzb_wqzx_new.html | 34 +++++++------- WebRoot/view/tb/zbdc/cgzb_xx_new.html | 57 +++++++++++++----------- WebRoot/view/tb/zbdc/jump.html | 11 +++-- 7 files changed, 97 insertions(+), 84 deletions(-) diff --git a/WebRoot/view/tb/zbdc/cgzb_cz_new.html b/WebRoot/view/tb/zbdc/cgzb_cz_new.html index bda561f7..0c9bf44b 100644 --- a/WebRoot/view/tb/zbdc/cgzb_cz_new.html +++ b/WebRoot/view/tb/zbdc/cgzb_cz_new.html @@ -109,7 +109,7 @@
物理
-
+
@@ -208,7 +208,7 @@
化学
-
+
@@ -312,7 +312,7 @@
生物
-
+
@@ -410,7 +410,7 @@
音乐
-
+
@@ -489,7 +489,7 @@
美术
-
+
@@ -1342,6 +1342,14 @@ }); + function attrValue() { + $('input').each(function () { + var inputValue = $(this).val(); + $(this).attr('value', inputValue); + }); + } + + function generateRandomString() { let result = ''; let characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; diff --git a/WebRoot/view/tb/zbdc/cgzb_gz.html b/WebRoot/view/tb/zbdc/cgzb_gz.html index 2c7fd882..2b4f70cc 100644 --- a/WebRoot/view/tb/zbdc/cgzb_gz.html +++ b/WebRoot/view/tb/zbdc/cgzb_gz.html @@ -103,7 +103,7 @@
物理
-
+
@@ -204,10 +204,8 @@
- -
化学
-
+
@@ -309,7 +307,7 @@
生物
-
+
@@ -410,15 +408,8 @@
- - - - - - -
音乐
-
+
@@ -489,7 +480,7 @@
美术
-
+
diff --git a/WebRoot/view/tb/zbdc/cgzb_gz_new.html b/WebRoot/view/tb/zbdc/cgzb_gz_new.html index 19d90498..49da8e9e 100644 --- a/WebRoot/view/tb/zbdc/cgzb_gz_new.html +++ b/WebRoot/view/tb/zbdc/cgzb_gz_new.html @@ -103,7 +103,7 @@
物理
-
+
@@ -202,7 +202,7 @@
化学
-
+
@@ -306,7 +306,7 @@
生物
-
+
@@ -404,7 +404,7 @@
音乐
-
+
@@ -483,7 +483,7 @@
美术
-
+
@@ -1144,6 +1144,13 @@ }); + function attrValue() { + $('input').each(function () { + var inputValue = $(this).val(); + $(this).attr('value', inputValue); + }); + } + function generateRandomString() { let result = ''; diff --git a/WebRoot/view/tb/zbdc/cgzb_jnygz_new.html b/WebRoot/view/tb/zbdc/cgzb_jnygz_new.html index a71e9ee3..bd7b7375 100644 --- a/WebRoot/view/tb/zbdc/cgzb_jnygz_new.html +++ b/WebRoot/view/tb/zbdc/cgzb_jnygz_new.html @@ -117,7 +117,7 @@
小学科学
-
+
@@ -200,7 +200,7 @@
音乐
-
+
@@ -284,7 +284,7 @@
美术
-
+
@@ -684,7 +684,7 @@
物理
-
+
@@ -783,7 +783,7 @@
化学
-
+
@@ -887,7 +887,7 @@
生物
-
+
@@ -985,7 +985,7 @@
音乐
-
+
@@ -1064,7 +1064,7 @@
美术
-
+
@@ -1381,8 +1381,6 @@
- -
其他
@@ -1440,7 +1438,6 @@
-
护眼灯
@@ -2150,6 +2147,12 @@ }); + function attrValue() { + $('input').each(function () { + var inputValue = $(this).val(); + $(this).attr('value', inputValue); + }); + } function generateRandomString() { diff --git a/WebRoot/view/tb/zbdc/cgzb_wqzx_new.html b/WebRoot/view/tb/zbdc/cgzb_wqzx_new.html index 78774771..43b9fb7c 100644 --- a/WebRoot/view/tb/zbdc/cgzb_wqzx_new.html +++ b/WebRoot/view/tb/zbdc/cgzb_wqzx_new.html @@ -117,7 +117,7 @@
物理
-
+
@@ -221,7 +221,7 @@
化学
-
+
@@ -330,7 +330,7 @@
生物
-
+
@@ -433,7 +433,7 @@
音乐
-
+
@@ -513,7 +513,7 @@
美术
-
+
@@ -896,7 +896,6 @@
-
护眼灯
@@ -980,7 +979,7 @@
物理
-
+
@@ -1084,7 +1083,7 @@
化学
-
+
@@ -1193,7 +1192,7 @@
生物
-
+
@@ -1296,7 +1295,7 @@
音乐
-
+
@@ -1376,7 +1375,7 @@
美术
-
+
@@ -1433,7 +1432,6 @@
-
图书馆
@@ -1629,7 +1627,6 @@
-
通用技术教室
@@ -1661,8 +1658,6 @@
- -
其他
@@ -1721,7 +1716,6 @@
-
护眼灯
@@ -2296,7 +2290,6 @@ }); - $("#gzwl_sys_addItem").click(function () { var id = generateRandomString(); var _html = appendGzwlSysItem(id); @@ -2459,7 +2452,12 @@ }); - + function attrValue() { + $('input').each(function () { + var inputValue = $(this).val(); + $(this).attr('value', inputValue); + }); + } function generateRandomString() { diff --git a/WebRoot/view/tb/zbdc/cgzb_xx_new.html b/WebRoot/view/tb/zbdc/cgzb_xx_new.html index 02095627..033ee203 100644 --- a/WebRoot/view/tb/zbdc/cgzb_xx_new.html +++ b/WebRoot/view/tb/zbdc/cgzb_xx_new.html @@ -109,7 +109,7 @@
小学科学
-
+
@@ -189,7 +189,7 @@
音乐
-
+
@@ -272,7 +272,7 @@
美术
-
+
@@ -706,7 +706,7 @@ } } - form.val("myForm", { + form.val("myForm", { "xx_kxsysshshu": res.xx_kxsysshshu == null ? 0 : res.xx_kxsysshshu , "xx_kxsysjsny": res.xx_kxsysjsny == null ? 0 : res.xx_kxsysjsny , "xx_kxsysmj": res.xx_kxsysmj == null ? 0 : res.xx_kxsysmj @@ -722,7 +722,7 @@ , "xx_msjtrshshu": res.xx_msjtrshshu == null ? 0 : res.xx_msjtrshshu , "xx_msjtrmj": res.xx_msjtrmj == null ? 0 : res.xx_msjtrmj , "xx_msqjkkjshu": res.xx_msqjkkjshu == null ? 0 : res.xx_msqjkkjshu - , "xx_msfsjtrshshu": res.xx_msfsjtrshshu == null ? 0 : res.xx_msfsjtrshshu + , "xx_msfsjtrshshu": res.xx_msfsjtrshshu == null ? 0 : res.xx_msfsjtrshshu , "xx_msfsjtrmj": res.xx_msfsjtrmj == null ? 0 : res.xx_msfsjtrmj , "xx_tsgcsshshu": res.xx_tsgcsshshu == null ? 0 : res.xx_tsgcsshshu , "xx_tsgcssmj": res.xx_tsgcssmj == null ? 0 : res.xx_tsgcssmj @@ -754,6 +754,12 @@ form.on('submit(save)', function (data) { + attrValue(); + + console.log($("#div_xxkx").html()); + + + var selectValues = []; var inputValues = []; @@ -783,24 +789,24 @@ result.stage_id = "4"; - $.ajax({ - url: '/QingLong/zbdc/saveCgzb', - data: result, - type: 'post', - success: function (result) { - if (result.success) { - layer.msg("保存成功!", { - icon: 1, - time: 1300 - }); - } else { - layer.msg(result.message, { - icon: 2, - time: 2000 - }); - } - } - }); + // $.ajax({ + // url: '/QingLong/zbdc/saveCgzb', + // data: result, + // type: 'post', + // success: function (result) { + // if (result.success) { + // layer.msg("保存成功!", { + // icon: 1, + // time: 1300 + // }); + // } else { + // layer.msg(result.message, { + // icon: 2, + // time: 2000 + // }); + // } + // } + // }); } @@ -932,9 +938,6 @@ $('#xxms_sfjs_' + this.id).remove(); }); - - - function generateRandomString() { let result = ''; @@ -946,7 +949,7 @@ return result; } - function temp() { + function attrValue() { $('input').each(function () { var inputValue = $(this).val(); $(this).attr('value', inputValue); diff --git a/WebRoot/view/tb/zbdc/jump.html b/WebRoot/view/tb/zbdc/jump.html index 90638ae9..1805d58e 100644 --- a/WebRoot/view/tb/zbdc/jump.html +++ b/WebRoot/view/tb/zbdc/jump.html @@ -32,13 +32,16 @@ window.location.href = "./cgzb_cz_new.html"; break; case 342: - window.location.href = "./cgzb_gz.html"; + // window.location.href = "./cgzb_gz.html"; + window.location.href = "./cgzb_gz_new.html"; break; case 312: - window.location.href = "./cgzb_jnygz.html"; + // window.location.href = "./cgzb_jnygz.html"; + window.location.href = "./cgzb_jnygz_new.html"; break; case 341: - window.location.href = "./cgzb_wqzx.html"; + //window.location.href = "./cgzb_wqzx.html"; + window.location.href = "./cgzb_wqzx_new.html"; break; case 345: window.location.href = "./cgzb_senygz.html"; @@ -49,7 +52,7 @@ layer.msg(res.message, { icon: 2, time: 2000 - }); + }); } } });