Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hel-developer-guide
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Spencer Chang
hel-developer-guide
Commits
94e88119
Commit
94e88119
authored
Aug 02, 2017
by
高洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates common-window-javascript.md
Auto commit by GitBook Editor
parent
6569830c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
4 deletions
+26
-4
common-window-javascript.md
common-window-javascript.md
+26
-4
No files found.
common-
field-window
.md
→
common-
window-javascript
.md
View file @
94e88119
...
...
@@ -2,10 +2,17 @@
####打开功能窗口
>Hel.openMenuWindow(opts);
其中参数为:
opts.menuCode 菜单代码,opts.title窗口描述,opts.url窗口地址,
opts.menuName菜单名称,opts.moduleFlag模块标志,
opts.documentKey打开同一个功能时,识别不同单据的唯一标识
opts.reflashFlag关闭该功能菜单时是否刷新父级标志,opts.moduleName模块名称,
属性名 | 类型 | 含义
-------- | ----- | -----
menuCode | String(必填) | 菜单代码
title | String(必填) | 窗口描述
url | Object(必填) | 窗口地址
menuName | String| 菜单名称
moduleFlag| String | 模块标志(Y/N)
documentKey| String | 打开同一个功能时,识别不同单据的唯一标识
reflashFlag| String | 关闭该功能菜单时是否刷新父级标志(Y/N)
moduleName| String | 模块名称
```
Hel.openMenuWindow({
menuCode:'',//传入相应的参数
...
...
@@ -22,6 +29,10 @@ Hel.openMenuWindow({
####关闭功能窗口
>Hel.closeMenuWindow(opts);
其中参数为:
属性名 | 类型 | 含义
-------- | ----- | -----
menuCode | String(必填) | 菜单代码
opts.menuCode:菜单代码
```
Hel.closeMenuWindow({
...
...
@@ -33,6 +44,17 @@ Hel.closeMenuWindow({
>Hel.openBarWindow(opts);
其中参数为:
opts.id 打开窗口的div的id,opts.content 窗口的url地址,opts.size右弹窗口的宽度,可以为THIRD(三分之一),HALF(一半),FULL(全屏),也可以为任意像素宽度。
```
<div id="win"></div>
<script><![CDATA[
Hel.openBarWindow({
id:'win',
content:'',
size:''
});
]]></script>
```
...
...
Write
Preview
Markdown
is supported
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