Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
b7b65aaa
o2oa
项目概览
fuyue82
/
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,发现更多精彩内容 >>
提交
b7b65aaa
编写于
10月 12, 2021
作者:
傻
傻拖
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加时间选择方式
上级
d557e65f
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
8 deletion
+8
-8
o2web/source/o2_core/o2/widget/Calendar.js
o2web/source/o2_core/o2/widget/Calendar.js
+2
-2
o2web/source/x_component_process_FormDesigner/Module/Calendar/calendar.html
...ponent_process_FormDesigner/Module/Calendar/calendar.html
+3
-3
o2web/source/x_component_process_FormDesigner/lp/en.js
o2web/source/x_component_process_FormDesigner/lp/en.js
+1
-1
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
+1
-1
o2web/source/x_component_process_Xform/Calendar.js
o2web/source/x_component_process_Xform/Calendar.js
+1
-1
未找到文件。
o2web/source/o2_core/o2/widget/Calendar.js
浏览文件 @
b7b65aaa
...
...
@@ -9,7 +9,7 @@ o2.widget.Calendar = o2.Calendar = new Class({
"
defaultView
"
:
"
day
"
,
//day, month, year
"
baseDate
"
:
new
Date
(),
"
secondEnable
"
:
false
,
"
second
SelectType
"
:
"
slider
"
,
"
time
SelectType
"
:
"
slider
"
,
"
isTime
"
:
false
,
"
isMulti
"
:
false
,
"
before
"
:
null
,
...
...
@@ -963,7 +963,7 @@ o2.widget.Calendar = o2.Calendar = new Class({
//this.showMNode.set("text", sel.options[sel.selectedIndex].get("value"));
}
else
{
if
(
this
.
options
.
second
SelectType
===
"
select
"
){
if
(
this
.
options
.
time
SelectType
===
"
select
"
){
this
.
itmeHNode
=
this
.
contentTimeTable
.
getElement
(
"
.MWF_calendar_time_h
"
).
empty
();
this
.
itmeMNode
=
this
.
contentTimeTable
.
getElement
(
"
.MWF_calendar_time_m
"
).
empty
();
...
...
o2web/source/x_component_process_FormDesigner/Module/Calendar/calendar.html
浏览文件 @
b7b65aaa
...
...
@@ -50,10 +50,10 @@
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.
second
SelectType}}:
</td>
<td
class=
"editTableTitle"
>
{{$.lp.
time
SelectType}}:
</td>
<td
class=
"editTableValue"
>
<input
type=
"radio"
name=
"
secondSelectType"
value=
"slider"
text
{$
.secondSelectType=
='select'||!$.second
SelectType
?'
checked
'
:
''}
/>
滑块
<input
type=
"radio"
name=
"
secondSelectType"
value=
"select"
text
{$
.second
SelectType=
='slider'
?'
checked
'
:
''}
/>
下拉
<input
type=
"radio"
name=
"
timeSelectType"
value=
"slider"
text
{$
.timeSelectType=
='select'||!$.time
SelectType
?'
checked
'
:
''}
/>
滑块
<input
type=
"radio"
name=
"
timeSelectType"
value=
"select"
text
{$
.time
SelectType=
='slider'
?'
checked
'
:
''}
/>
下拉
</td>
</tr>
<tr>
...
...
o2web/source/x_component_process_FormDesigner/lp/en.js
浏览文件 @
b7b65aaa
...
...
@@ -522,7 +522,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
yearOnly
"
:
"
YearOnly
"
,
"
timeOnly
"
:
"
TimeOnly
"
,
"
selectSecond
"
:
"
Select Second
"
,
"
secondSelectType
"
:
"
Second
Select Type
"
,
"
timeSelectType
"
:
"
Time
Select Type
"
,
"
format
"
:
"
Format
"
,
"
selectStyle
"
:
"
Select Style
"
,
...
...
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
浏览文件 @
b7b65aaa
...
...
@@ -520,7 +520,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
yearOnly
"
:
"
仅年度
"
,
"
timeOnly
"
:
"
仅时间
"
,
"
selectSecond
"
:
"
是否选择秒
"
,
"
secondSelectType
"
:
"
秒
选择方式
"
,
"
timeSelectType
"
:
"
时间
选择方式
"
,
"
format
"
:
"
格式化
"
,
"
selectStyle
"
:
"
Select样式
"
,
...
...
o2web/source/x_component_process_Xform/Calendar.js
浏览文件 @
b7b65aaa
...
...
@@ -127,7 +127,7 @@ MWF.xApplication.process.Xform.Calendar = MWF.APPCalendar = new Class(
var
options
=
{
"
style
"
:
layout
.
mobile
?
"
xform_mobile
"
:
"
xform
"
,
"
secondEnable
"
:
this
.
json
.
isSelectSecond
,
"
secondSelectType
"
:
this
.
json
.
second
SelectType
,
"
timeSelectType
"
:
this
.
json
.
time
SelectType
,
"
isTime
"
:
(
this
.
json
.
selectType
===
"
datetime
"
||
this
.
json
.
selectType
===
"
time
"
),
"
timeOnly
"
:
(
this
.
json
.
selectType
===
"
time
"
),
"
monthOnly
"
:
(
this
.
json
.
selectType
===
"
month
"
),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录