Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_42566577
o2oa
提交
7939df9e
o2oa
项目概览
weixin_42566577
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
7939df9e
编写于
9月 18, 2021
作者:
NoSubject
提交者:
NoSubject
9月 18, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复$input的load事件
(cherry picked from commit
3a43b2ab
)
上级
33a62229
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
20 addition
and
8 deletion
+20
-8
o2web/source/x_component_process_Xform/Elselect.js
o2web/source/x_component_process_Xform/Elselect.js
+20
-8
未找到文件。
o2web/source/x_component_process_Xform/Elselect.js
浏览文件 @
7939df9e
...
@@ -25,8 +25,8 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
...
@@ -25,8 +25,8 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
this
.
_loadNodeEdit
();
this
.
_loadNodeEdit
();
},
},
_appendVueData
:
function
(){
_appendVueData
:
function
(){
this
.
form
.
Macro
.
environment
.
data
.
check
(
this
.
json
.
id
);
//
this.form.Macro.environment.data.check(this.json.id);
this
.
json
[
this
.
json
.
id
]
=
this
.
_getBusinessData
();
//
this.json[this.json.id] = this._getBusinessData();
if
(
!
this
.
json
.
clearable
)
this
.
json
.
clearable
=
false
;
if
(
!
this
.
json
.
clearable
)
this
.
json
.
clearable
=
false
;
if
(
!
this
.
json
.
size
)
this
.
json
.
size
=
""
;
if
(
!
this
.
json
.
size
)
this
.
json
.
size
=
""
;
...
@@ -47,7 +47,7 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
...
@@ -47,7 +47,7 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
this
.
_loadOptions
();
this
.
_loadOptions
();
if
(
this
.
json
.
multiple
===
true
)
if
(
!
this
.
json
[
this
.
json
.
id
]
||
!
this
.
json
[
this
.
json
.
id
].
length
)
this
.
json
[
this
.
json
.
id
]
=
[];
if
(
this
.
json
.
multiple
===
true
)
if
(
!
this
.
json
[
this
.
json
.
$id
]
||
!
this
.
json
[
this
.
json
.
$id
].
length
)
this
.
json
[
this
.
json
.
$
id
]
=
[];
},
},
appendVueMethods
:
function
(
methods
){
appendVueMethods
:
function
(
methods
){
if
(
this
.
json
.
filterMethod
&&
this
.
json
.
filterMethod
.
code
){
if
(
this
.
json
.
filterMethod
&&
this
.
json
.
filterMethod
.
code
){
...
@@ -69,13 +69,25 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
...
@@ -69,13 +69,25 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
if
(
v
.
then
){
if
(
v
.
then
){
v
.
then
(
function
(
o
){
v
.
then
(
function
(
o
){
if
(
o2
.
typeOf
(
o
)
===
"
array
"
){
if
(
o2
.
typeOf
(
o
)
===
"
array
"
){
this
.
json
.
options
=
o
;
this
.
json
.
options
=
o
.
map
(
function
(
item
){
this
.
json
.
$options
=
o
;
if
(
o2
.
typeOf
(
item
)
!==
"
object
"
){
var
value
=
item
.
toString
();
return
{
"
value
"
:
value
,
"
label
"
:
value
};
}
return
item
;
});
this
.
json
.
$options
=
Array
.
clone
(
this
.
json
.
options
);
}
}
}.
bind
(
this
));
}.
bind
(
this
));
}
else
if
(
o2
.
typeOf
(
v
)
===
"
array
"
){
}
else
if
(
o2
.
typeOf
(
v
)
===
"
array
"
){
this
.
json
.
options
=
v
;
this
.
json
.
options
=
v
.
map
(
function
(
item
){
this
.
json
.
$options
=
v
;
if
(
o2
.
typeOf
(
item
)
!==
"
object
"
){
var
value
=
item
.
toString
();
return
{
"
value
"
:
value
,
"
label
"
:
value
};
}
return
item
;
});
this
.
json
.
$options
=
Array
.
clone
(
this
.
json
.
options
);
}
}
},
},
_loadOptions
:
function
(){
_loadOptions
:
function
(){
...
@@ -103,7 +115,7 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
...
@@ -103,7 +115,7 @@ MWF.xApplication.process.Xform.Elselect = MWF.APPElselect = new Class(
_createElementHtml
:
function
(){
_createElementHtml
:
function
(){
debugger
;
debugger
;
var
html
=
"
<el-select
"
;
var
html
=
"
<el-select
"
;
html
+=
"
v-model=
\"
"
+
this
.
json
.
id
+
"
\"
"
;
html
+=
"
v-model=
\"
"
+
this
.
json
.
$
id
+
"
\"
"
;
html
+=
"
:clearable=
\"
clearable
\"
"
;
html
+=
"
:clearable=
\"
clearable
\"
"
;
html
+=
"
:size=
\"
size
\"
"
;
html
+=
"
:size=
\"
size
\"
"
;
html
+=
"
:filterable=
\"
filterable
\"
"
;
html
+=
"
:filterable=
\"
filterable
\"
"
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录