Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
86cc701e
Commit
86cc701e
authored
Apr 07, 2020
by
季圣华
Browse files
给功能模块的小图标增加参考网页
parent
94de9b03
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/manage/functions.html
View file @
86cc701e
...
...
@@ -15,6 +15,7 @@
<script
type=
"text/javascript"
src=
"/js/easyui/jquery.easyui.min.js"
></script>
<script
type=
"text/javascript"
src=
"/js/easyui/locale/easyui-lang-zh_CN.js"
></script>
<script
type=
"text/javascript"
src=
"/js/common/common.js"
></script>
<script
src=
"/js/common/jsherp.js"
></script>
</head>
<body>
<!-- 数据显示table -->
...
...
@@ -91,7 +92,7 @@
<tr>
<td>
图标
</td>
<td
style=
"padding:5px"
>
<input
id=
"icon"
name=
"icon"
class=
"easyui-textbox"
style=
"width:230px;"
/>
<input
id=
"icon"
name=
"icon"
class=
"easyui-textbox"
data-options=
"buttonText:'参考'"
style=
"width:230px;"
/>
</td>
</tr>
<tr>
...
...
@@ -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
());
...
...
erp_web/pages/manage/icon_select.html
0 → 100644
View file @
86cc701e
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment