From 86cc701eca9ce708677db3cdd328800f3e72d5a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Tue, 7 Apr 2020 23:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=8A=9F=E8=83=BD=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E7=9A=84=E5=B0=8F=E5=9B=BE=E6=A0=87=E5=A2=9E=E5=8A=A0=E5=8F=82?= =?UTF-8?q?=E8=80=83=E7=BD=91=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp_web/pages/manage/functions.html | 17 +- erp_web/pages/manage/icon_select.html | 1052 +++++++++++++++++++++++++ 2 files changed, 1067 insertions(+), 2 deletions(-) create mode 100644 erp_web/pages/manage/icon_select.html diff --git a/erp_web/pages/manage/functions.html b/erp_web/pages/manage/functions.html index a4d138b8..beec41d2 100644 --- a/erp_web/pages/manage/functions.html +++ b/erp_web/pages/manage/functions.html @@ -15,6 +15,7 @@ + @@ -91,7 +92,7 @@ 图标 - + @@ -354,7 +355,8 @@ $(".window-mask").css({width: webW, height: webH}); $("#Name").val("").focus(); $('#functionsFM').form('clear'); - + //点击icon图标弹出页面 + iconBtnFun(); oldFunctions = ""; functionsID = 0; url = '/functions/add'; @@ -405,6 +407,8 @@ $("#Enabled").attr("checked", rowsdata.enabled); $("#icon").textbox("setValue", rowsdata.icon); $("#Type").textbox("setValue", rowsdata.type); + //点击icon图标弹出页面 + iconBtnFun(); if (rowsdata.pushbtn) { var arr = rowsdata.pushbtn.split(","); var pushBtnArray = []; @@ -430,6 +434,15 @@ url = '/functions/update?id=' + rowsdata.id; } + //点击icon图标弹出页面 + function iconBtnFun() { + $("#icon").textbox({ + onClickButton:function(){ + js.addTabPage(null, "图标选择", "/pages/manage/icon_select.html"); + } + }); + } + //检查名称是否存在 ++ 重名无法提示问题需要跟进 function checkFunctionsName() { var Name = $.trim($("#Name").val()); diff --git a/erp_web/pages/manage/icon_select.html b/erp_web/pages/manage/icon_select.html new file mode 100644 index 00000000..a8d92d17 --- /dev/null +++ b/erp_web/pages/manage/icon_select.html @@ -0,0 +1,1052 @@ + + + + + + + + + + + 图标选择 + + + + + + + + + + + + +
+ + + +
+ + + + + + + + \ No newline at end of file