Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
9f16bbc8
提交
9f16bbc8
编写于
11月 08, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
71484ba5
变更
25
展开全部
显示空白字符变更
内嵌
并排
正在显示
25 个修改的文件
包含
1593 行增加
和
422 行删除
+1593
-422
app-preset-caption.vue
...ut-element/text/app-preset-caption/app-preset-caption.vue
+54
-3
BO-CN-base.ts
app_Web/src/locale/lang/BO-CN-base.ts
+1
-0
en-US-base.ts
app_Web/src/locale/lang/en-US-base.ts
+1
-0
zh-CN-base.ts
app_Web/src/locale/lang/zh-CN-base.ts
+1
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+217
-199
panel-field.ts
app_Web/src/model/panel-detail/panel-field.ts
+9
-0
ibizbooktest-logic-custom-view-base.vue
...logic-custom-view/ibizbooktest-logic-custom-view-base.vue
+872
-0
ibizbooktest-logic-custom-view.less
...est-logic-custom-view/ibizbooktest-logic-custom-view.less
+3
-0
ibizbooktest-logic-custom-view.vue
...test-logic-custom-view/ibizbooktest-logic-custom-view.vue
+22
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
app-index-view-base.vue
.../src/pages/ungroup/app-index-view/app-index-view-base.vue
+1
-1
router.ts
app_Web/src/pages/ungroup/app-index-view/router.ts
+13
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+10
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+230
-199
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
main-form-base.vue
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
+5
-5
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
card-navigation-dataview-base.vue
...ard-navigation-dataview/card-navigation-dataview-base.vue
+4
-4
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+21
-7
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+15
-0
index.json
...atic/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
+18
-0
MainMenu.json
...static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
+10
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+28
-0
未找到文件。
app_Web/src/components/layout-element/text/app-preset-caption/app-preset-caption.vue
浏览文件 @
9f16bbc8
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<template
v-if=
"Object.is(renderMode, 'TEXT')"
>
<span
class=
"view__caption__info"
>
<slot></slot>
</span>
</
template
>
<
template
v-else-if=
"Object.is(renderMode, 'HEADING1')"
>
<h1
class=
"view__caption__info"
>
<slot></slot>
</h1>
</
template
>
<
template
v-else-if=
"Object.is(renderMode, 'HEADING2')"
>
<h2
class=
"view__caption__info"
>
<slot></slot>
</h2>
</
template
>
<
template
v-else-if=
"Object.is(renderMode, 'HEADING3')"
>
<h3
class=
"view__caption__info"
>
<slot></slot>
</h3>
</
template
>
<
template
v-else-if=
"Object.is(renderMode, 'HEADING4')"
>
<h4
class=
"view__caption__info"
>
<slot></slot>
</h4>
</
template
>
<
template
v-else-if=
"Object.is(renderMode, 'HEADING5')"
>
<h5
class=
"view__caption__info"
>
<slot></slot>
</h5>
</
template
>
<
template
v-else-if=
"Object.is(renderMode, 'HEADING6')"
>
<h6
class=
"view__caption__info"
>
<slot></slot>
</h6>
</
template
>
<
template
v-else-if=
"Object.is(renderMode, 'PARAGRAPH')"
>
<p
class=
"view__caption__info"
>
<slot></slot>
</p>
</
template
>
</div>
</template>
...
...
@@ -9,7 +48,6 @@ import { Vue, Component, Prop } from "vue-property-decorator";
@
Component
({})
export
default
class
AppPresetCaption
extends
Vue
{
/**
* 名称
*
...
...
@@ -44,6 +82,19 @@ export default class AppPresetCaption extends Vue {
return
this
.
index
?
`
${
this
.
name
}
_
${
this
.
index
}
`
:
this
.
name
;
}
/**
* 绘制模式
*
* @type {*}
* @memberof AppPresetCaption
*/
get
renderMode
()
{
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
)
{
return
layoutModel
.
renderMode
||
"TEXT"
;
}
}
/**
* 类名
*
...
...
app_Web/src/locale/lang/BO-CN-base.ts
浏览文件 @
9f16bbc8
...
...
@@ -408,6 +408,7 @@ function getAppLocale(){
menuitem226
:
commonLogic
.
appcommonhandle
(
"工作流动态操作视图"
,
null
),
menuitem227
:
commonLogic
.
appcommonhandle
(
"其他视图"
,
null
),
menuitem230
:
commonLogic
.
appcommonhandle
(
"自定义视图"
,
null
),
menuitem201
:
commonLogic
.
appcommonhandle
(
"测试界面逻辑"
,
null
),
},
},
formpage
:{
...
...
app_Web/src/locale/lang/en-US-base.ts
浏览文件 @
9f16bbc8
...
...
@@ -408,6 +408,7 @@ function getAppLocale(){
menuitem226
:
commonLogic
.
appcommonhandle
(
"工作流动态操作视图"
,
null
),
menuitem227
:
commonLogic
.
appcommonhandle
(
"其他视图"
,
null
),
menuitem230
:
commonLogic
.
appcommonhandle
(
"自定义视图"
,
null
),
menuitem201
:
commonLogic
.
appcommonhandle
(
"测试界面逻辑"
,
null
),
},
},
formpage
:{
...
...
app_Web/src/locale/lang/zh-CN-base.ts
浏览文件 @
9f16bbc8
...
...
@@ -408,6 +408,7 @@ function getAppLocale(){
menuitem226
:
commonLogic
.
appcommonhandle
(
"工作流动态操作视图"
,
null
),
menuitem227
:
commonLogic
.
appcommonhandle
(
"其他视图"
,
null
),
menuitem230
:
commonLogic
.
appcommonhandle
(
"自定义视图"
,
null
),
menuitem201
:
commonLogic
.
appcommonhandle
(
"测试界面逻辑"
,
null
),
},
},
formpage
:{
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
9f16bbc8
此差异已折叠。
点击以展开。
app_Web/src/model/panel-detail/panel-field.ts
浏览文件 @
9f16bbc8
...
...
@@ -55,6 +55,14 @@ export class PanelFieldModel extends PanelDetailModel {
* @memberof PanelFieldModel
*/
public
dataItemName
:
string
|
undefined
=
undefined
;
/**
* 绘制模式
*
* @private
* @type {('TEXT' | 'HEADING1' | 'HEADING2' | 'HEADING3' | 'HEADING4' | 'HEADING5' | 'HEADING6' | 'PARAGRAPH')}
* @memberof PanelFieldModel
*/
public
renderMode
:
'TEXT'
|
'HEADING1'
|
'HEADING2'
|
'HEADING3'
|
'HEADING4'
|
'HEADING5'
|
'HEADING6'
|
'PARAGRAPH'
=
'TEXT'
;
/**
* Creates an instance of PanelFieldModel.
...
...
@@ -69,6 +77,7 @@ export class PanelFieldModel extends PanelDetailModel {
this
.
enableCond
=
opts
.
enableCond
;
this
.
fieldState
=
opts
.
fieldState
;
this
.
dataItemName
=
opts
.
dataItemName
;
this
.
renderMode
=
opts
.
renderMode
;
}
/**
...
...
app_Web/src/pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view-base.vue
0 → 100644
浏览文件 @
9f16bbc8
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.less
0 → 100644
浏览文件 @
9f16bbc8
.ibizbooktest-logic-custom-view {
display: block;
}
app_Web/src/pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue
0 → 100644
浏览文件 @
9f16bbc8
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKTestLogicCustomViewBase
from
'./ibizbooktest-logic-custom-view-base.vue'
;
import
view_form
from
'@widgets/ibizbook/main-form/main-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZBOOKTestLogicCustomView
extends
IBIZBOOKTestLogicCustomViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
9f16bbc8
...
...
@@ -137,6 +137,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0021-grid-view-layout'
,
()
=>
import
(
'@pages/sample/ibizsample0021-grid-view-layout/ibizsample0021-grid-view-layout.vue'
));
Vue
.
component
(
'ibizsample0021-wfdyna-action-view-layout'
,
()
=>
import
(
'@pages/sample/ibizsample0021-wfdyna-action-view-layout/ibizsample0021-wfdyna-action-view-layout.vue'
));
Vue
.
component
(
'ibizbookcustom-view-layout'
,
()
=>
import
(
'@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'
));
Vue
.
component
(
'ibizbooktest-logic-custom-view'
,
()
=>
import
(
'@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'
));
Vue
.
component
(
'ibizappviewgrid-view'
,
()
=>
import
(
'@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'
));
Vue
.
component
(
'ibizappviewlist-view'
,
()
=>
import
(
'@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'
));
Vue
.
component
(
'ibizappctrlgrid-view'
,
()
=>
import
(
'@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
9f16bbc8
...
...
@@ -2084,6 +2084,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/testlogiccustomview/:testlogiccustomview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.testlogiccustomview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'testlogiccustomview'
,
parameterName
:
'testlogiccustomview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'
),
},
{
path
:
'ibizappviews/:ibizappview?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -5942,6 +5956,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-state40-edit-view2/ibizorder-state40-edit-view2.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/testlogiccustomview/:testlogiccustomview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.testlogiccustomview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'testlogiccustomview'
,
parameterName
:
'testlogiccustomview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'
),
},
{
path
:
'/ibizcustomers/:ibizcustomer?/usr2pickupview_layout/:usr2pickupview_layout?'
,
meta
:
{
...
...
app_Web/src/pages/ungroup/app-index-view/app-index-view-base.vue
浏览文件 @
9f16bbc8
...
...
@@ -30,7 +30,7 @@
<app-panel-field
name=
"field_textbox2"
:data=
"layoutData"
:value=
"layoutData.field_textbox2"
>
<input-box
type=
"number"
:precision=
"2"
:value=
"layoutData.field_textbox2"
:disabled=
"layoutModelDetails.field_textbox2.disabled"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox2', value})">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox3
>
<app-panel-field
name=
"field_textbox3"
:data=
"layoutData"
:value=
"layoutData.field_textbox3"
>
</app-panel-field>
<app-panel-field
name=
"field_textbox3"
:data=
"layoutData"
:value=
"layoutData.field_textbox3"
>
<
input-box
type=
"password"
name=
"field_textbox3"
:value=
"layoutData.field_textbox3"
:disabled=
"layoutModelDetails.field_textbox3.disabled"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox3', value})">
</input-box>
<
/app-panel-field>
</
template
>
<
template
#
field_qrcode
>
<app-preset-qrcode
name=
"field_qrcode"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_qrcode"
/>
...
...
app_Web/src/pages/ungroup/app-index-view/router.ts
浏览文件 @
9f16bbc8
...
...
@@ -2736,6 +2736,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-state40-edit-view2/ibizorder-state40-edit-view2.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/testlogiccustomview/:testlogiccustomview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.testlogiccustomview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'testlogiccustomview'
,
parameterName
:
'testlogiccustomview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'
),
},
{
path
:
'/ibizcustomers/:ibizcustomer?/usr2pickupview_layout/:usr2pickupview_layout?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
9f16bbc8
...
...
@@ -919,6 +919,7 @@ export const viewstate: any = {
'ef0aa2f297f599cdbc14fc8393b78a1d'
,
'a6d2ee3618dcfb23c3db981c9dbc4340'
,
'fa2731c1873f3c86aa065e73cff4667b'
,
'E74D4E6C-CFF5-4CBA-8195-FD943B3B910F'
,
],
},
{
...
...
@@ -2095,6 +2096,15 @@ export const viewstate: any = {
'6bc6e690dc5abfc6d89703e4459c785c'
,
],
},
{
viewtag
:
'E74D4E6C-CFF5-4CBA-8195-FD943B3B910F'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKTestLogicCustomView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'e7f12b95864b12114256d9c4dbbb559c'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
9f16bbc8
...
...
@@ -1023,6 +1023,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'AppFunc124'
:
this
.
clickAppFunc124
(
item
);
return
;
case
'UsrAppFunc1108357066'
:
this
.
clickUsrAppFunc1108357066
(
item
);
return
;
default
:
console
.
warn
(
'未指定应用功能'
);
}
...
...
@@ -4225,6 +4228,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 测试界面逻辑(表单加载)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickUsrAppFunc1108357066
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'testlogiccustomview'
,
parameterName
:
'testlogiccustomview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 数据加载
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
9f16bbc8
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
9f16bbc8
...
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
9f16bbc8
...
...
@@ -1808,7 +1808,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
OptionView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestLogicCustomView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1843,7 +1843,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
OptionView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestLogicCustomView
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1905,7 +1905,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
OptionView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestLogicCustomView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -2013,7 +2013,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
OptionView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestLogicCustomView
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -2090,7 +2090,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
OptionView_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestLogicCustomView
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
9f16bbc8
...
...
@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder/card-navigation-dataview/card-navigation-dataview-base.vue
浏览文件 @
9f16bbc8
...
...
@@ -665,7 +665,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -744,7 +744,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -853,7 +853,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -861,7 +861,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
9f16bbc8
...
...
@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
Pickup
GridViewBase
* @memberof IBIZOrder
SF1
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -1048,7 +1062,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1154,7 +1168,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2071,7 +2085,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -2079,7 +2093,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
9f16bbc8
...
...
@@ -104,6 +104,21 @@ export default class MainModel {
prop
:
'n_ibizordername_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_orderstate_eq'
,
prop
:
'n_orderstate_eq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_gt'
,
prop
:
'n_ordertime_gt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_lt'
,
prop
:
'n_ordertime_lt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
浏览文件 @
9f16bbc8
...
...
@@ -4262,6 +4262,24 @@
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"视图"
},
{
"accUserMode"
:
2
,
"caption"
:
"测试界面逻辑"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem201"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"UsrAppFunc1108357066"
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"测试界面逻辑"
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
浏览文件 @
9f16bbc8
...
...
@@ -2379,6 +2379,16 @@
"tooltip"
:
"其他视图"
}
],
"tooltip"
:
"视图"
},
{
"accUserMode"
:
2
,
"caption"
:
"测试界面逻辑"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem201"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"UsrAppFunc1108357066"
},
"tooltip"
:
"测试界面逻辑"
}
],
"tooltip"
:
"视图布局面板测试"
}
],
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
9f16bbc8
...
...
@@ -2997,6 +2997,16 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr4EditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
},
{
"appFuncType"
:
"APPVIEW"
,
"codeName"
:
"UsrAppFunc1108357066"
,
"name"
:
"测试界面逻辑(表单加载)"
,
"openMode"
:
"INDEXVIEWTAB"
,
"getPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTestLogicCustomView.json"
,
"viewType"
:
"DECUSTOMVIEW"
}
},
{
"appFuncType"
:
"APPVIEW"
,
"codeName"
:
"AppFunc114"
,
...
...
@@ -19188,6 +19198,24 @@
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"视图"
},
{
"accUserMode"
:
2
,
"caption"
:
"测试界面逻辑"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem201"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"UsrAppFunc1108357066"
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"测试界面逻辑"
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录