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
765e521a
Commit
765e521a
authored
Sep 15, 2017
by
冯景珉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update common-window-javascript.md
parent
06be7d51
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
common-window-javascript.md
common-window-javascript.md
+8
-8
No files found.
common-window-javascript.md
View file @
765e521a
### 窗口级通用方法
### 窗口级通用方法
#### 打开功能窗口
#### 打开功能窗口
>H
el
.openMenuWindow(opts);
>H
ls
.openMenuWindow(opts);
其中参数为:
其中参数为:
属性名 | 类型 | 含义
属性名 | 类型 | 含义
...
@@ -14,7 +14,7 @@ documentKey| String | 打开同一个功能时,识别不同单据的唯一标
...
@@ -14,7 +14,7 @@ documentKey| String | 打开同一个功能时,识别不同单据的唯一标
reflashFlag| String | 关闭该功能菜单时是否刷新父级标志(Y/N)
reflashFlag| String | 关闭该功能菜单时是否刷新父级标志(Y/N)
moduleName| String | 模块名称
moduleName| String | 模块名称
```
```
H
el
.openMenuWindow({
H
ls
.openMenuWindow({
menuCode:'',//传入相应的参数
menuCode:'',//传入相应的参数
title:'',
title:'',
url:'',
url:'',
...
@@ -27,20 +27,20 @@ Hel.openMenuWindow({
...
@@ -27,20 +27,20 @@ Hel.openMenuWindow({
```
```
#### 关闭功能窗口
#### 关闭功能窗口
>H
el
.closeMenuWindow(opts);
>H
ls
.closeMenuWindow(opts);
其中参数为:
其中参数为:
属性名 | 类型 | 含义
属性名 | 类型 | 含义
-------- | ----- | -----
-------- | ----- | -----
menuCode | String(必填) | 菜单代码
menuCode | String(必填) | 菜单代码
```
```
H
el
.closeMenuWindow({
H
ls
.closeMenuWindow({
menuCode:''//传入相应的参数
menuCode:''//传入相应的参数
});
});
```
```
#### 打开右弹窗口
#### 打开右弹窗口
>H
el
.openBarWindow(opts);
>H
ls
.openBarWindow(opts);
其中参数为:
其中参数为:
属性名 | 类型 | 含义
属性名 | 类型 | 含义
...
@@ -51,7 +51,7 @@ size| String(必填) | 右弹窗口的宽度(THIRD/HALF/FULL/任意px像素)
...
@@ -51,7 +51,7 @@ size| String(必填) | 右弹窗口的宽度(THIRD/HALF/FULL/任意px像素)
```
```
<div id="win"></div>
<div id="win"></div>
<script><![CDATA[
<script><![CDATA[
H
el
.openBarWindow({
H
ls
.openBarWindow({
id:'win',
id:'win',
content:'',
content:'',
size:''
size:''
...
@@ -63,7 +63,7 @@ size| String(必填) | 右弹窗口的宽度(THIRD/HALF/FULL/任意px像素)
...
@@ -63,7 +63,7 @@ size| String(必填) | 右弹窗口的宽度(THIRD/HALF/FULL/任意px像素)
#### 打开抽屉
#### 打开抽屉
> H
el
.openBox()函数接收一个对象,对象属性含义如下:
> H
ls
.openBox()函数接收一个对象,对象属性含义如下:
属性名 | 类型 | 含义
属性名 | 类型 | 含义
...
@@ -80,7 +80,7 @@ function test(e){
...
@@ -80,7 +80,7 @@ function test(e){
...
...
}
}
H
el
.
openBox
({
H
ls
.
openBox
({
winId
:
"domId"
,
winId
:
"domId"
,
functionCode
:
"CSH200B"
,
functionCode
:
"CSH200B"
,
params
:{
params
:{
...
...
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