Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
3e1dbb63
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,发现更多精彩内容 >>
提交
3e1dbb63
编写于
12月 06, 2021
作者:
U
unknown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
element
上级
fd76639e
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
111 addition
and
22 deletion
+111
-22
o2web/source/x_component_process_FormDesigner/$Main/bottom/tools-element.json
...nent_process_FormDesigner/$Main/bottom/tools-element.json
+5
-0
o2web/source/x_component_process_FormDesigner/$Main/default/tools-element.json
...ent_process_FormDesigner/$Main/default/tools-element.json
+5
-0
o2web/source/x_component_process_FormDesigner/Module/Eldatetime/eldatetime.html
...nt_process_FormDesigner/Module/Eldatetime/eldatetime.html
+80
-22
o2web/source/x_component_process_FormDesigner/Module/Eldatetime/template.json
...nent_process_FormDesigner/Module/Eldatetime/template.json
+2
-0
o2web/source/x_component_process_FormDesigner/Module/Package.js
...source/x_component_process_FormDesigner/Module/Package.js
+1
-0
o2web/source/x_component_process_FormDesigner/lp/en.js
o2web/source/x_component_process_FormDesigner/lp/en.js
+9
-0
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
+9
-0
未找到文件。
o2web/source/x_component_process_FormDesigner/$Main/bottom/tools-element.json
浏览文件 @
3e1dbb63
...
...
@@ -49,6 +49,11 @@
"text"
:
MWF.xApplication.process.FormDesigner.LP.modules.el_slider
,
"className"
:
"Elslider"
},
"eldatetime"
:
{
"fontIcon"
:
"el-icon-date"
,
"text"
:
MWF.xApplication.process.FormDesigner.LP.modules.el_date
,
"className"
:
"Eldatetime"
},
"elbutton"
:
{
"fontIcon"
:
"el-icon-thumb"
,
"text"
:
MWF.xApplication.process.FormDesigner.LP.modules.el_button
,
...
...
o2web/source/x_component_process_FormDesigner/$Main/default/tools-element.json
浏览文件 @
3e1dbb63
...
...
@@ -49,6 +49,11 @@
"text"
:
MWF.xApplication.process.FormDesigner.LP.modules.el_slider
,
"className"
:
"Elslider"
},
"eldatetime"
:
{
"fontIcon"
:
"el-icon-date"
,
"text"
:
MWF.xApplication.process.FormDesigner.LP.modules.el_date
,
"className"
:
"Eldatetime"
},
"elbutton"
:
{
"fontIcon"
:
"el-icon-thumb"
,
"text"
:
MWF.xApplication.process.FormDesigner.LP.modules.el_button
,
...
...
o2web/source/x_component_process_FormDesigner/Module/Eldatetime/eldatetime.html
浏览文件 @
3e1dbb63
...
...
@@ -24,26 +24,49 @@
<table
width=
"100%"
border=
"0"
cellpadding=
"5"
cellspacing=
"0"
class=
"editTable"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.max}}:
</td>
<td
class=
"editTableValue"
><input
type=
"number"
name=
"max"
value=
"text{$.max}"
class=
"editTableInput"
/></td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.min}}:
</td>
<td
class=
"editTableValue"
><input
type=
"number"
name=
"min"
value=
"text{$.min}"
class=
"editTableInput"
/></td>
<td
class=
"editTableTitle"
>
{{$.lp.selectType}}:
</td>
<td
class=
"editTableValue"
>
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='datetime')?'checked':''}
value=
"datetime"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', '')}"
/>
{{$.lp.dateTime}}
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='date')?'checked':''}
value=
"date"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', 'none')}"
/>
{{$.lp.dateOnly}}
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='dates')?'checked':''}
value=
"dates"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', 'none')}"
/>
{{$.lp.multidateOnly}}
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='time')?'checked':''}
value=
"time"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', '')}"
/>
{{$.lp.timeOnly}}
<br/>
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='month')?'checked':''}
value=
"month"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', 'none')}"
/>
{{$.lp.monthOnly}}
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='year')?'checked':''}
value=
"year"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', 'none')}"
/>
{{$.lp.yearOnly}}
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='week')?'checked':''}
value=
"week"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', 'none')}"
/>
{{$.lp.weekOnly}}
<br/>
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='datetimerange')?'checked':''}
value=
"datetimerange"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', '')}"
/>
{{$.lp.datetimerange}}
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='daterange')?'checked':''}
value=
"daterange"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', '')}"
/>
{{$.lp.daterange}}
<input
type=
"radio"
name=
"selectType"
text
{($
.selectType=
='timerange')?'checked':''}
value=
"timerange"
onclick=
"if (this.checked){ $('text{$.pid}timeSelectTable').setStyle('display', '')}"
/>
{{$.lp.timerange}}
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.
step
}}:
</td>
<td
class=
"editTableValue"
><input
type=
"
number"
name=
"step"
value=
"text{$.step || '1'
}"
class=
"editTableInput"
/></td>
<td
class=
"editTableTitle"
>
{{$.lp.
format
}}:
</td>
<td
class=
"editTableValue"
><input
type=
"
text"
name=
"format"
value=
"text{$.format
}"
class=
"editTableInput"
/></td>
</tr>
<tr>
<td
class=
"editTableValue"
colspan=
"2"
><b>
{{$.lp.step_strictly}}:
</b>
<input
type=
"radio"
name=
"stepStrictly"
value=
"true"
text
{($
.stepStrictly=
==true)?'checked':''}/
>
{{$.lp.yes}}
<input
type=
"radio"
name=
"stepStrictly"
value=
"false"
text
{($.
stepStrictly
!==
true
)?'
checked
'
:
''}
/>
{{$.lp.no}}
<td
class=
"editTableTitle"
>
{{$.lp.editable}}:
</td>
<td
class=
"editTableValue"
>
<input
type=
"radio"
name=
"editable"
value=
"true"
text
{($
.editable=
==true)?'checked':''}/
>
{{$.lp.yes}}
<input
type=
"radio"
name=
"editable"
value=
"false"
text
{($.
editable
!==
true
)?'
checked
'
:
''}
/>
{{$.lp.no}}
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.precision}}:
</td>
<td
class=
"editTableValue"
><input
type=
"number"
name=
"precision"
value=
"text{$.precision || 0}"
class=
"editTableInput"
/></td>
<td
class=
"editTableTitle"
>
{{$.lp.clearable}}:
</td>
<td
class=
"editTableValue"
>
<input
type=
"radio"
name=
"clearable"
value=
"true"
text
{($
.clearable=
==true)?'checked':''}/
>
{{$.lp.yes}}
<input
type=
"radio"
name=
"clearable"
value=
"false"
text
{($.
clearable
!==
true
)?'
checked
'
:
''}
/>
{{$.lp.no}}
</td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.size}}:
</td>
...
...
@@ -54,20 +77,55 @@
<input
type=
"radio"
name=
"size"
value=
"mini"
text
{($
.size=
=='mini')?'checked':''}/
>
mini
</td>
</tr>
<!-- <tr>-->
<!-- <td class="editTableValue" colspan="2"><b>{{$.lp.controls}}:</b>-->
<!-- <input type="radio" name="controls" value="true" text{($.showPassword!==false)?'checked':''}/>{{$.lp.yes}}-->
<!-- <input type="radio" name="controls" value="false" text{($.showPassword===false)?'checked':''}/>{{$.lp.no}}-->
<!-- </td>-->
<!-- </tr>-->
</table>
<table
id=
"text{$.pid}timeSelectTable"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.step}}:
</td>
<td
class=
"editTableValue"
><input
type=
"number"
name=
"step"
value=
"text{$.step || '1'}"
class=
"editTableInput"
/></td>
</tr>
</table>
<table
id=
"text{$.pid}timePickTable"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.controlsPosition}}:
</td>
<td
class=
"editTableTitle"
>
{{$.lp.step}}:
</td>
<td
class=
"editTableValue"
><input
type=
"number"
name=
"step"
value=
"text{$.step || '1'}"
class=
"editTableInput"
/></td>
</tr>
</table>
<table
id=
"text{$.pid}datePickTable"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.firstDayOfWeek}}:
</td>
<td
class=
"editTableValue"
>
<input
type=
"radio"
name=
"controlsPosition"
value=
"default"
text
{(!$.
controlsPosition
||
$.
controlsPosition
!=='
right
')?'
checked
'
:
''}
/>
default
<input
type=
"radio"
name=
"controlsPosition"
value=
"right"
text
{($
.controlsPosition=
=='right')?'checked':''}/
>
right
<select
name=
"firstDayOfWeek"
class=
"editTableInput"
>
<option
value=
"1"
text
{($
.firstDayOfWeek=
="1")
?
"
selected
"
:
""}
>
{{$.lp.weeks.arr[0]}}
</option>
<option
value=
"2"
text
{($
.firstDayOfWeek=
="2")
?
"
selected
"
:
""}
>
{{$.lp.weeks.arr[1]}}
</option>
<option
value=
"3"
text
{($
.firstDayOfWeek=
="3")
?
"
selected
"
:
""}
>
{{$.lp.weeks.arr[2]}}
</option>
<option
value=
"4"
text
{($
.firstDayOfWeek=
="4")
?
"
selected
"
:
""}
>
{{$.lp.weeks.arr[3]}}
</option>
<option
value=
"5"
text
{($
.firstDayOfWeek=
="5")
?
"
selected
"
:
""}
>
{{$.lp.weeks.arr[4]}}
</option>
<option
value=
"6"
text
{($
.firstDayOfWeek=
="6")
?
"
selected
"
:
""}
>
{{$.lp.weeks.arr[5]}}
</option>
<option
value=
"7"
text
{(!$.
firstDayOfWeek
||
$
.firstDayOfWeek=
="7")
?
"
selected
"
:
""}
>
{{$.lp.weeks.arr[6]}}
</option>
</select>
</td>
</tr>
</table>
<table
id=
"text{$.pid}rangeTable"
>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.rangeSeparator}}:
</td>
<td
class=
"editTableValue"
><input
type=
"text"
name=
"rangeSeparator"
value=
"text{$.rangeSeparator || '至'}"
class=
"editTableInput"
/></td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.startPlaceholder}}:
</td>
<td
class=
"editTableValue"
><input
type=
"text"
name=
"startPlaceholder"
value=
"text{$.startPlaceholder || '开始'}"
class=
"editTableInput"
/></td>
</tr>
<tr>
<td
class=
"editTableTitle"
>
{{$.lp.endPlaceholder}}:
</td>
<td
class=
"editTableValue"
><input
type=
"text"
name=
"endPlaceholder"
value=
"text{$.endPlaceholder || '结束'}"
class=
"editTableInput"
/></td>
</tr>
</table>
<div
onclick=
"var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))"
style=
"cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;font-weight:bold;"
>
{{$.lp.prefixIcon}}
</div>
<div
style=
"display: text{($.prefixIcon)?'block':'none'}"
class=
"MWFElIcon"
name=
"prefixIcon"
></div>
<div
onclick=
"var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))"
style=
"cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999;font-weight:bold;"
>
{{$.lp.suffixIcon}}
</div>
<div
style=
"display: text{($.suffixIcon)?'block':'none'}"
class=
"MWFElIcon"
name=
"suffixIcon"
></div>
<div
class=
"MWFMaplist"
name=
"elStyles"
title=
"{{$.lp.style}}"
></div>
<div
class=
"MWFMaplist"
name=
"elProperties"
title=
"{{$.lp.attribute}}"
></div>
...
...
o2web/source/x_component_process_FormDesigner/Module/Eldatetime/template.json
浏览文件 @
3e1dbb63
...
...
@@ -4,6 +4,8 @@
"type"
:
"Eldatetime"
,
"description"
:
""
,
"isReadonly"
:
false
,
"selectType"
:
"dateTime"
,
"format"
:
"yyyy-MM-dd HH:mm:ss"
,
"vueData"
:
{},
"vueMethods"
:
{},
"vueCss"
:
{},
...
...
o2web/source/x_component_process_FormDesigner/Module/Package.js
浏览文件 @
3e1dbb63
...
...
@@ -67,4 +67,5 @@ MWF.xDesktop.requireApp("process.FormDesigner", "Module.Elswitch", null, false);
MWF
.
xDesktop
.
requireApp
(
"
process.FormDesigner
"
,
"
Module.Elslider
"
,
null
,
false
);
MWF
.
xDesktop
.
requireApp
(
"
process.FormDesigner
"
,
"
Module.Elselect
"
,
null
,
false
);
MWF
.
xDesktop
.
requireApp
(
"
process.FormDesigner
"
,
"
Module.Elcascader
"
,
null
,
false
);
MWF
.
xDesktop
.
requireApp
(
"
process.FormDesigner
"
,
"
Module.Eldatetime
"
,
null
,
false
);
MWF
.
xDesktop
.
requireApp
(
"
process.FormDesigner
"
,
"
Module.SmartBI
"
,
null
,
false
);
\ No newline at end of file
o2web/source/x_component_process_FormDesigner/lp/en.js
浏览文件 @
3e1dbb63
...
...
@@ -348,6 +348,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
el_number
"
:
"
Number
"
,
"
el_switch
"
:
"
Switch
"
,
"
el_slider
"
:
"
Slider
"
,
"
el_date
"
:
"
Datetime
"
,
"
el_common
"
:
"
Common
"
,
"
importer
"
:
"
DataImporter
"
,
...
...
@@ -523,6 +524,11 @@ MWF.xApplication.process.FormDesigner.LP = {
"
monthOnly
"
:
"
MonthOnly
"
,
"
yearOnly
"
:
"
YearOnly
"
,
"
timeOnly
"
:
"
TimeOnly
"
,
"
weekOnly
"
:
"
WeekOnly
"
,
"
multidate
"
:
"
Dates
"
,
"
datetimerange
"
:
"
DatetimeRange
"
,
"
daterange
"
:
"
DateRange
"
,
"
timerange
"
:
"
TimeRange
"
,
"
selectSecond
"
:
"
Select Second
"
,
"
timeSelectType
"
:
"
Time Select Type
"
,
"
format
"
:
"
Format
"
,
...
...
@@ -1231,6 +1237,9 @@ MWF.xApplication.process.FormDesigner.LP = {
"
leftTreeShow
"
:
"
show
"
,
"
leftTreeHide
"
:
"
hide
"
},
"
weeks
"
:
{
"
arr
"
:
[
"
Sun
"
,
"
Mon
"
,
"
Tues
"
,
"
Wed
"
,
"
Thur
"
,
"
Fri
"
,
"
Sat
"
]
},
"
tabletWidth
"
:
"
Tablet Width
"
,
"
tabletHeight
"
:
"
Tablet Height
"
,
"
tabletSizeNote
"
:
"
Valid only on the PC terminal, full screen horizontally on the mobile terminal
"
,
...
...
o2web/source/x_component_process_FormDesigner/lp/zh-cn.js
浏览文件 @
3e1dbb63
...
...
@@ -347,6 +347,7 @@ MWF.xApplication.process.FormDesigner.LP = {
"
el_number
"
:
"
计数器
"
,
"
el_switch
"
:
"
开关
"
,
"
el_slider
"
:
"
滑块
"
,
"
el_date
"
:
"
日期
"
,
"
el_common
"
:
"
通用
"
,
"
importer
"
:
"
数据导入
"
,
...
...
@@ -521,6 +522,11 @@ MWF.xApplication.process.FormDesigner.LP = {
"
monthOnly
"
:
"
仅月份
"
,
"
yearOnly
"
:
"
仅年度
"
,
"
timeOnly
"
:
"
仅时间
"
,
"
weekOnly
"
:
"
第几周
"
,
"
multidate
"
:
"
多个日期
"
,
"
datetimerange
"
:
"
日期时间范围
"
,
"
daterange
"
:
"
日期范围
"
,
"
timerange
"
:
"
时间范围
"
,
"
selectSecond
"
:
"
是否选择秒
"
,
"
timeSelectType
"
:
"
时间选择方式
"
,
"
timeSelectType_slider
"
:
"
滑块
"
,
...
...
@@ -1240,6 +1246,9 @@ MWF.xApplication.process.FormDesigner.LP = {
"
leftTreeShow
"
:
"
显示
"
,
"
leftTreeHide
"
:
"
隐藏
"
},
"
weeks
"
:
{
"
arr
"
:
[
"
周一
"
,
"
周二
"
,
"
周三
"
,
"
周四
"
,
"
周五
"
,
"
周六
"
,
"
周日
"
]
},
"
tabletWidth
"
:
"
手写板宽度
"
,
"
tabletHeight
"
:
"
手写板高度
"
,
"
tabletSizeNote
"
:
"
仅PC端有效,移动端横向满屏
"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录