Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
ea830fc0
提交
ea830fc0
编写于
12月 23, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
91173f50
变更
29
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
5713 行增加
和
79 行删除
+5713
-79
portlet-data.json
app_Web/public/assets/json/portlet-data.json
+16
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
portlet.ts
app_Web/src/mock/portlet/portlet.ts
+16
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+3
-0
app-portal-view2-db-dashboard-base.vue
...view2-db-dashboard/app-portal-view2-db-dashboard-base.vue
+51
-0
app-portal-view2-db-dashboard.less
...tal-view2-db-dashboard/app-portal-view2-db-dashboard.less
+1
-0
app-portal-view2-db-dashboard.vue
...rtal-view2-db-dashboard/app-portal-view2-db-dashboard.vue
+6
-0
db-appview1-portlet-base.vue
...gets/app/db-appview1-portlet/db-appview1-portlet-base.vue
+325
-0
db-appview1-portlet-model.ts
...gets/app/db-appview1-portlet/db-appview1-portlet-model.ts
+22
-0
db-appview1-portlet-service.ts
...ts/app/db-appview1-portlet/db-appview1-portlet-service.ts
+12
-0
db-appview1-portlet.less
.../widgets/app/db-appview1-portlet/db-appview1-portlet.less
+71
-0
db-appview1-portlet.vue
...c/widgets/app/db-appview1-portlet/db-appview1-portlet.vue
+16
-0
db-container1-portlet-model.ts
.../app/db-container1-portlet/db-container1-portlet-model.ts
+1
-0
db-container1-portlet-service.ts
...pp/db-container1-portlet/db-container1-portlet-service.ts
+1
-0
db-container1-portlet.less
...gets/app/db-container1-portlet/db-container1-portlet.less
+1
-0
db-rawitem1-portlet-base.vue
...gets/app/db-rawitem1-portlet/db-rawitem1-portlet-base.vue
+3
-3
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+20
-0
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
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+22
-52
usr4-dataview-base.vue
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
+4
-4
usr4-dataview-model.ts
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
+0
-5
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
AppIndexView.json
...motemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/AppIndexView.json
+16
-0
index.json
...atic/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
+16
-0
MainMenu.json
...static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
+10
-0
AppPortalView2.json
...emodel/PSSYSAPPS/Web/PSAPPPORTALVIEWS/AppPortalView2.json
+2825
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+2222
-0
未找到文件。
app_Web/public/assets/json/portlet-data.json
浏览文件 @
ea830fc0
...
...
@@ -280,6 +280,22 @@
"groupName"
:
"(未分类)"
,
},
{
"type"
:
"app"
,
"appCodeName"
:
"Web"
,
"appName"
:
"演示应用"
,
"portletCodeName"
:
"db_rawitem1"
,
"portletName"
:
"直接内容测试"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
},
{
"type"
:
"app"
,
"appCodeName"
:
"Web"
,
"appName"
:
"演示应用"
,
"portletCodeName"
:
"db_appview1"
,
"portletName"
:
"嵌入视图"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
},
{
"type"
:
"app"
,
"appCodeName"
:
"IBIZOrderDetail"
,
"appName"
:
"订单明细"
,
"portletCodeName"
:
"portalComponentsList3"
,
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
ea830fc0
...
...
@@ -4365,6 +4365,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'AppFunc137'
,
resourcetag
:
''
,
},
{
id
:
'052EAFB4-5986-447B-A63E-881872558E9D'
,
name
:
'menuitem265'
,
text
:
'应用看板测试'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'应用看板测试'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc82'
,
resourcetag
:
''
,
},
{
id
:
'12A3C21F-7425-4977-B38C-CCFB0012802E'
,
...
...
app_Web/src/mock/portlet/portlet.ts
浏览文件 @
ea830fc0
...
...
@@ -290,6 +290,22 @@ mock.onGet('./assets/json/portlet-data.json').reply((config: any) => {
"groupName"
:
"(未分类)"
,
},
{
"type"
:
"app"
,
"appCodeName"
:
"Web"
,
"appName"
:
"演示应用"
,
"portletCodeName"
:
"db_rawitem1"
,
"portletName"
:
"直接内容测试"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
},
{
"type"
:
"app"
,
"appCodeName"
:
"Web"
,
"appName"
:
"演示应用"
,
"portletCodeName"
:
"db_appview1"
,
"portletName"
:
"嵌入视图"
,
"groupCodeName"
:
"Ungroup"
,
"groupName"
:
"(未分类)"
,
},
{
"type"
:
"app"
,
"appCodeName"
:
"IBIZOrderDetail"
,
"appName"
:
"订单明细"
,
"portletCodeName"
:
"portalComponentsList3"
,
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
ea830fc0
...
...
@@ -668,6 +668,9 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'0c1719540d6f515fa021b477e3990dbf'
,
'94f14d66f3261878157fb55b65df50c7'
,
'db57a81b119c5e77a63d183827c598e1'
,
],
},
{
...
...
app_Web/src/widgets/app/app-portal-view2-db-dashboard/app-portal-view2-db-dashboard-base.vue
浏览文件 @
ea830fc0
...
...
@@ -21,6 +21,57 @@
</span>
</card>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<card
class=
"portlet-card custom-card"
:bordered=
"false"
dis-hover
:padding=
"10"
>
<span>
<view
_db_rawitem1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:pViewCtx=
"viewCtx"
:height=
"0"
:width=
"0"
name=
"db_rawitem1"
ref=
'db_rawitem1'
@
closeview=
"closeView($event)"
>
</view
_db_rawitem1
>
</span>
</card>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<card
class=
"portlet-card custom-card"
:bordered=
"false"
dis-hover
:padding=
"10"
>
<span>
<view
_db_appview1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:pViewCtx=
"viewCtx"
:height=
"500"
:width=
"800"
name=
"db_appview1"
ref=
'db_appview1'
@
closeview=
"closeView($event)"
>
</view
_db_appview1
>
</span>
</card>
</i-col>
<i-col
:md=
"
{ span: 24, offset: 0 }">
<card
class=
"portlet-card custom-card"
:bordered=
"false"
dis-hover
:padding=
"10"
>
<span>
<view
_db_sysportlet1
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:pViewCtx=
"viewCtx"
:height=
"300"
:width=
"0"
name=
"db_sysportlet1"
ref=
'db_sysportlet1'
@
closeview=
"closeView($event)"
>
</view
_db_sysportlet1
>
</span>
</card>
</i-col>
</row>
<row
v-if=
"isHasCustomized"
style=
"width: 100%;min-height: calc(100% - 40px);"
>
<div
class=
"portlet-container"
style=
"position: relative;width:100%;"
>
...
...
app_Web/src/widgets/app/app-portal-view2-db-dashboard/app-portal-view2-db-dashboard.less
浏览文件 @
ea830fc0
...
...
@@ -26,3 +26,4 @@
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
app_Web/src/widgets/app/app-portal-view2-db-dashboard/app-portal-view2-db-dashboard.vue
浏览文件 @
ea830fc0
...
...
@@ -2,12 +2,18 @@
import
{
Component
}
from
'vue-property-decorator'
;
import
AppPortalView2_dbBase
from
'./app-portal-view2-db-dashboard-base.vue'
;
import
view_db_appmenu1
from
'@widgets/app/icon-menu-portlet/icon-menu-portlet.vue'
;
import
view_db_rawitem1
from
'@widgets/app/db-rawitem1-portlet/db-rawitem1-portlet.vue'
;
import
view_db_appview1
from
'@widgets/app/db-appview1-portlet/db-appview1-portlet.vue'
;
import
view_db_sysportlet1
from
'@widgets/ibizappview/app-view-list-portlet/app-view-list-portlet.vue'
;
// 基于 @CONTROL/数据关系栏/CONTROL.vue.ftl 生成
@
Component
({
components
:
{
view_db_appmenu1
,
view_db_rawitem1
,
view_db_appview1
,
view_db_sysportlet1
,
}
})
...
...
app_Web/src/widgets/app/db-appview1-portlet/db-appview1-portlet-base.vue
0 → 100644
浏览文件 @
ea830fc0
<
template
>
<div
class=
'portlet db-appview1 '
:style=
"
{'height': isAdaptiveSize ? 'calc(100% - 16px)' : getHeight,'width': isAdaptiveSize ? 'calc(100% - 16px)' : (width ? width+'px' :'800px')}">
<p
class=
'portlet-title'
>
<span>
嵌入视图
</span>
</p>
<el-divider
class=
"divider"
></el-divider>
<div
class=
"portlet-with-title"
>
<ibizbookusr7-grid-view
:portletState=
"viewState"
:viewdata=
"JSON.stringify(context)"
:viewDefaultUsage=
"false"
></ibizbookusr7-grid-view>
</div>
</div>
</
template
>
// 基于 @CONTROL/门户部件/CONTROL-BASE.vue.ftl 生成
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
,
Inject
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
,
ViewTool
}
from
'@/utils'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
Db_appview1Service
from
'./db-appview1-portlet-service'
;
import
UIService
from
'@/uiservice/ui-service'
;
import
{
Environment
}
from
'@/environments/environment'
;
@
Component
({
components
:
{
}
})
export
default
class
Db_appview1Base
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Db_appview1Base
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Db_appview1Base
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Db_appview1Base
*/
@
Prop
()
public
context
!
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Db_appview1Base
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 视图操作参数
*
* @type {*}
* @memberof Db_appview1Base
*/
@
Prop
()
public
viewCtx
!
:
any
;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Db_appview1Base
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Db_appview1Base
*/
public
getControlType
():
string
{
return
'PORTLET'
}
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof Db_appview1Base
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 建构部件服务对象
*
* @type {Db_appview1Service}
* @memberof Db_appview1Base
*/
public
service
:
Db_appview1Service
=
new
Db_appview1Service
({
$store
:
this
.
$store
});
/**
* 关闭视图
*
* @param {any} args
* @memberof Db_appview1Base
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Db_appview1Base
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 长度
*
* @type {number}
* @memberof Db_appview1Base
*/
@
Prop
()
public
height
?:
number
;
/**
* 宽度
*
* @type {number}
* @memberof Db_appview1Base
*/
@
Prop
()
public
width
?:
number
;
/**
* 门户部件类型
*
* @type {string}
* @memberof Db_appview1Base
*/
public
portletType
:
string
=
'view'
;
/**
* 部件类型
*
* @type {string}
* @memberof Db_appview1Base
*/
public
controlType
:
string
=
'PORTLET'
;
/**
* 视图默认使用
*
* @type {string}
* @memberof Db_appview1Base
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 界面行为模型数据
*
* @memberof Db_appview1Base
*/
public
uiactionModel
:
any
=
{
}
/**
* 是否自适应大小
*
* @returns {boolean}
* @memberof Db_appview1Base
*/
@
Prop
({
default
:
false
})
public
isAdaptiveSize
!
:
boolean
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Db_appview1Base
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Db_appview1Base
*/
public
getData
():
any
{
return
{};
}
/**
* 获取高度
*
* @returns {any[]}
* @memberof Db_appview1Base
*/
get
getHeight
(){
if
(
!
this
.
$util
.
isEmpty
(
this
.
height
)
&&
!
this
.
$util
.
isNumberNaN
(
this
.
height
)){
if
(
this
.
height
==
0
){
return
'auto'
;
}
else
{
return
this
.
height
+
'px'
;
}
}
else
{
return
'500px'
;
}
}
/**
* 刷新
*
* @memberof Db_appview1Base
*/
public
refresh
(
args
?:
any
)
{
this
.
viewState
.
next
({
tag
:
'IBIZBOOKUsr7GridView'
,
action
:
'refresh'
,
data
:
args
});
}
/**
* vue 生命周期
*
* @memberof Db_appview1Base
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Db_appview1Base
*/
public
afterCreated
(){
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
Object
.
is
(
tag
,
"all-portlet"
)
&&
Object
.
is
(
action
,
'loadmodel'
)){
this
.
calcUIActionAuthState
(
data
);
}
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
const
refs
:
any
=
this
.
$refs
;
Object
.
keys
(
refs
).
forEach
((
_name
:
string
)
=>
{
this
.
viewState
.
next
({
tag
:
_name
,
action
:
action
,
data
:
data
});
});
});
}
}
/**
* vue 生命周期
*
* @memberof Db_appview1Base
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Db_appview1Base
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
/**
* 计算界面行为权限
*
* @memberof Db_appview1Base
*/
public
calcUIActionAuthState
(
data
:
any
=
{})
{
// 如果是操作栏,不计算权限
if
(
this
.
portletType
&&
Object
.
is
(
'actionbar'
,
this
.
portletType
))
{
return
;
}
let
_this
:
any
=
this
;
let
uiservice
:
any
=
_this
.
appUIService
?
_this
.
appUIService
:
new
UIService
();
if
(
_this
.
uiactionModel
){
ViewTool
.
calcActionItemAuthState
(
data
,
_this
.
uiactionModel
,
uiservice
);
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './db-appview1-portlet.less';
</
style
>
app_Web/src/widgets/app/db-appview1-portlet/db-appview1-portlet-model.ts
0 → 100644
浏览文件 @
ea830fc0
// 基于 @CONTROL/门户部件/MODEL.ts.ftl 生成
/**
* Db_appview1 部件模型
*
* @export
* @class Db_appview1Model
*/
export
default
class
Db_appview1Model
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Db_appview1Model
*/
public
getDataItems
():
any
[]
{
return
[
]
}
}
app_Web/src/widgets/app/db-appview1-portlet/db-appview1-portlet-service.ts
0 → 100644
浏览文件 @
ea830fc0
// 基于 @CONTROL/门户部件/SERVICE.ts.ftl 生成
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Db_appview1 部件服务对象
*
* @export
* @class Db_appview1Service
*/
export
default
class
Db_appview1Service
extends
ControlService
{
}
app_Web/src/widgets/app/db-appview1-portlet/db-appview1-portlet.less
0 → 100644
浏览文件 @
ea830fc0
// 基于 @CONTROL/门户部件/CONTROL.less.ftl 生成
// this is less
.portlet{
height: 100%;
width: 100%;
> .portlet-title{
padding: 14px 16px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
height: 52px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
justify-content: space-between;
width:100%;
line-height: 22px;
font-size: 16px;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #304265;
font-weight: 600;
i{
margin-right: 5px;
}
>.portlet-action{
margin-left: 12px;
font-size: 14px;
>a{
padding: 6px;
}
}
}
> .divider {
margin: 0px 0px 11px 0px;
}
> .portlet-with-title{
width:100%;
height:calc(100% - 58px);
overflow:auto;
padding:0px 12px;
}
> .portlet-without-title{
width:100%;
height:100%;
overflow:auto;
padding:0px 12px;
}
.app-charts{
height: 100%!important;
}
.toolbar-container {
button{
margin: 6px 0px 4px 16px;
}
.ivu-badge{
.ivu-badge-count{
top: 0;
}
}
}
// 日历视图样式特殊处理(防止刷新时日历大小发生变化并且门户部件要定高)
.decalendarview {
height: 100%;
>.view-card {
height: 100%;
}
}
}
app_Web/src/widgets/app/db-appview1-portlet/db-appview1-portlet.vue
0 → 100644
浏览文件 @
ea830fc0
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Db_appview1Base
from
'./db-appview1-portlet-base.vue'
;
// 基于 @CONTROL/门户部件/CONTROL.vue.ftl 生成
@
Component
({
components
:
{
}
})
export
default
class
Db_appview1
extends
Db_appview1Base
{
}
</
script
>
app_Web/src/widgets/app/db-container1-portlet/db-container1-portlet-model.ts
0 → 100644
浏览文件 @
ea830fc0
// 基于 @CONTROL/门户部件/MODEL.ts.ftl 生成
app_Web/src/widgets/app/db-container1-portlet/db-container1-portlet-service.ts
0 → 100644
浏览文件 @
ea830fc0
// 基于 @CONTROL/门户部件/SERVICE.ts.ftl 生成
app_Web/src/widgets/app/db-container1-portlet/db-container1-portlet.less
0 → 100644
浏览文件 @
ea830fc0
// 基于 @CONTROL/门户部件/CONTROL.less.ftl 生成
app_Web/src/widgets/app/db-rawitem1-portlet/db-rawitem1-portlet-base.vue
浏览文件 @
ea830fc0
<
template
>
<div
class=
'portlet db-rawitem1
red
ToolBar'
:style=
"
{}">
<div
class=
'portlet db-rawitem1
deepskyblue
ToolBar'
:style=
"
{}">
<p
class=
'portlet-title'
>
<span>
直接内容测试
...
...
@@ -10,12 +10,12 @@
<app-rawitem
:viewparams=
"viewparams"
:context=
"context"
contentStyle=
"
red
ToolBar"
contentStyle=
"
deepskyblue
ToolBar"
sizeStyle=
""
contentType=
"RAW"
:htmlContent=
'``'
>
21313132
测试
1123131
测试
</app-rawitem>
</div>
</div>
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
ea830fc0
...
...
@@ -4844,6 +4844,26 @@ export default class MainMenuModel {
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem258'
,
cappslanguageres
:
''
,
},
{
id
:
'052EAFB4-5986-447B-A63E-881872558E9D'
,
name
:
'menuitem265'
,
text
:
'应用看板测试'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'应用看板测试'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc82'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem265'
,
cappslanguageres
:
''
,
},
{
id
:
'12A3C21F-7425-4977-B38C-CCFB0012802E'
,
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
ea830fc0
...
...
@@ -712,7 +712,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
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr8GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr8GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
ea830fc0
...
...
@@ -1683,7 +1683,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1735,7 +1735,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1806,7 +1806,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
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1914,7 +1914,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
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -2128,7 +2128,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
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
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
浏览文件 @
ea830fc0
...
...
@@ -670,7 +670,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
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
ea830fc0
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
ea830fc0
...
...
@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -812,7 +812,7 @@ export default class Usr4Base 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
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -928,7 +928,7 @@ export default class Usr4Base 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
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
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
);
...
...
@@ -936,7 +936,7 @@ export default class Usr4Base 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
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
ea830fc0
...
...
@@ -70,11 +70,6 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
ea830fc0
...
...
@@ -964,7 +964,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
SGridView
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetail
GridView9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1123,7 +1123,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
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1237,7 +1237,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
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2132,7 +2132,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
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2141,7 +2141,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
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2217,7 +2217,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
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/AppIndexView.json
浏览文件 @
ea830fc0
...
...
@@ -5368,6 +5368,22 @@
"layout"
:
"TABLE"
},
"tooltip"
:
"树视图"
},
{
"accUserMode"
:
0
,
"caption"
:
"应用看板测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem265"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc82"
},
"getPSLayout"
:
{
"layout"
:
"TABLE"
},
"getPSLayoutPos"
:
{
"layout"
:
"TABLE"
},
"tooltip"
:
"应用看板测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"向导视图"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
浏览文件 @
ea830fc0
...
...
@@ -4489,6 +4489,22 @@
"layout"
:
"TABLE"
},
"tooltip"
:
"树视图"
},
{
"accUserMode"
:
0
,
"caption"
:
"应用看板测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem265"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc82"
},
"getPSLayout"
:
{
"layout"
:
"TABLE"
},
"getPSLayoutPos"
:
{
"layout"
:
"TABLE"
},
"tooltip"
:
"应用看板测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"向导视图"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
浏览文件 @
ea830fc0
...
...
@@ -3048,6 +3048,16 @@
"id"
:
"AppFunc137"
},
"tooltip"
:
"树视图"
},
{
"accUserMode"
:
0
,
"caption"
:
"应用看板测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem265"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc82"
},
"tooltip"
:
"应用看板测试"
},
{
"accUserMode"
:
2
,
"caption"
:
"向导视图"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPPORTALVIEWS/AppPortalView2.json
浏览文件 @
ea830fc0
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
ea830fc0
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录