Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
282deb88
提交
282deb88
编写于
12月 15, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lxm1993 发布系统代码 [后台服务,演示应用]
上级
59d0d481
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
104 行增加
和
17 行删除
+104
-17
app-register.ts
app_Web/src/app-register.ts
+2
-0
app-date-range.less
app_Web/src/components/app-date-range/app-date-range.less
+4
-0
app-date-range.vue
app_Web/src/components/app-date-range/app-date-range.vue
+67
-0
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
main5-form-base.vue
...src/widgets/ibizsample0001/main5-form/main5-form-base.vue
+9
-1
Main5.json
...S/Web/PSAPPDATAENTITIES/IBIZSample0001/PSFORMS/Main5.json
+1
-5
IBIZSample0001SF6EditView.json
...PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0001SF6EditView.json
+1
-5
ZH_CN.json
...ces/static/remotemodel/PSSYSAPPS/Web/PSAPPLANS/ZH_CN.json
+9
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+5
-0
未找到文件。
app_Web/src/app-register.ts
浏览文件 @
282deb88
...
...
@@ -145,6 +145,7 @@ import AppEYUpload from './components/app-ey-upload/app-ey-upload.vue';
import
AppEYMPicker
from
'./components/app-ey-mpicker/app-ey-mpicker.vue'
;
import
ExtendActionTimeline
from
'./components/extend-action-timeline/extend-action-timeline.vue'
;
import
AppAddressCascader
from
'./components/app-address-cascader/app-address-cascader.vue'
;
import
AppDateRange
from
'./components/app-date-range/app-date-range.vue'
;
// 布局组件
import
AppIndexViewLayoutLeft
from
'./layout/index-view-layout-left/index-view-layout-left.vue'
;
import
AppIndexViewLayoutTop
from
'./layout/index-view-layout-top/index-view-layout-top.vue'
;
...
...
@@ -322,5 +323,6 @@ export const AppComponents = {
v
.
component
(
'app-mpickup-view-layout'
,
AppMPickUpViewLayout
);
v
.
component
(
'app-pickup-grid-view-layout'
,
AppPickUpGridViewLayout
);
v
.
component
(
'app-address-cascader'
,
AppAddressCascader
);
v
.
component
(
'app-date-range'
,
AppDateRange
);
},
};
\ No newline at end of file
app_Web/src/components/app-date-range/app-date-range.less
0 → 100644
浏览文件 @
282deb88
.app-date-range{
display: block;
}
app_Web/src/components/app-date-range/app-date-range.vue
0 → 100644
浏览文件 @
282deb88
<
template
>
<date-picker></date-picker>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Prop
,
Watch
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppDateRange
Vue
{
/**
* 当前值
*
* @type {*}
* @memberof AppSpan
*/
@
Prop
()
public
value
?:
any
;
/**
* 数据类型
*
* @type {string}
* @memberof AppSpan
*/
@
Prop
({
default
:
'datetime'
})
public
type
?:
'datetime'
|
'date'
;
/**
* 是否禁用
*
* @type {string}
* @memberof AppSpan
*/
@
Prop
({
default
:
false
})
public
disabled
?:
boolean
;
/**
* 日期值格式化
*
* @type {string}
* @memberof AppSpan
*/
@
Prop
()
public
valueFormat
?:
string
;
/**
* 传入表单数据
*
* @type {*}
* @memberof AppSpan
*/
@
Prop
()
public
data
?:
any
;
/**
* 监控表单属性 data 值
*
* @memberof AppSpan
*/
@
Watch
(
'data'
)
onDataChange
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
!==
oldVal
){
console
.
log
(
newVal
);
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-date-range.less';
</
style
>
\ No newline at end of file
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
282deb88
...
...
@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrderDetail
GridView9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetail
SGridView
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-base.vue
浏览文件 @
282deb88
...
...
@@ -314,7 +314,15 @@ dataType="LONGTEXT" unitName="" :precision="0"
</i-col>
<i-col
v-show=
"detailsModel.formitem10.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'formitem10'
:itemRules=
"this.rules().formitem10"
class=
''
:caption=
"$t('entities.ibizsample0001.main5_form.details.formitem10')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem10.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"datetime"
:transfer=
"true"
format=
"yyyy-MM-dd HH:mm:ss"
:value=
"data.formitem10"
:disabled=
"detailsModel.formitem10.disabled"
style=
"min-width: 150px; width:160px;"
@
on-change=
"(val1, val2) =>
{ data.formitem10 = val1 }">
</date-picker>
<app-date-range
:value=
"data.formitem10"
:disabled=
"detailsModel.formitem10.disabled"
style=
"min-width: 150px;
startField="
starttime
""
endField=
"endtime"
"
@
on-change=
"(name, val) =>
{ this.data[name] = val }">
</app-date-range>
</app-form-item>
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0001/PSFORMS/Main5.json
浏览文件 @
282deb88
...
...
@@ -1333,21 +1333,17 @@
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"itemWidth"
:
290.0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/formitem10"
,
"name"
:
"formitem10"
,
"noPrivDisplayMode"
:
1
,
"getPSEditor"
:
{
"dateTimeFormat"
:
"YYYY-MM-DD HH:mm:ss"
,
"editorParams"
:
{
"TIMEFMT"
:
"YYYY-MM-DD HH:mm:ss"
,
"endField"
:
"endtime"
,
"startField"
:
"starttime"
},
"editorType"
:
"DATEPICKER"
,
"editorWidth"
:
160.0
,
"editorType"
:
"DATERANGE"
,
"name"
:
"formitem10"
},
"getPSLayoutPos"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0001SF6EditView.json
浏览文件 @
282deb88
...
...
@@ -1462,21 +1462,17 @@
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"itemWidth"
:
290.0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/formitem10"
,
"name"
:
"formitem10"
,
"noPrivDisplayMode"
:
1
,
"getPSEditor"
:
{
"dateTimeFormat"
:
"YYYY-MM-DD HH:mm:ss"
,
"editorParams"
:
{
"TIMEFMT"
:
"YYYY-MM-DD HH:mm:ss"
,
"endField"
:
"endtime"
,
"startField"
:
"starttime"
},
"editorType"
:
"DATEPICKER"
,
"editorWidth"
:
160.0
,
"editorType"
:
"DATERANGE"
,
"name"
:
"formitem10"
},
"getPSLayoutPos"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPLANS/ZH_CN.json
0 → 100644
浏览文件 @
282deb88
{
"getAllPSLanguageItems"
:
[
{
"content"
:
"R7-Vue-Demo"
,
"lanResTag"
:
"PAGE.INDEX"
}
],
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPLANS/ZH_CN.json"
,
"language"
:
"ZH_CN"
,
"name"
:
"中文简体"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
282deb88
...
...
@@ -5464,6 +5464,11 @@
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc75"
} ],
"getAllPSAppLans" : [ {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPLANS/ZH_CN.json",
"name" : "中文简体",
"language" : "ZH_CN"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPLANS/EN.json",
"name" : "英文",
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录