Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
6a2f35e6
提交
6a2f35e6
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
e11b4092
变更
18
隐藏空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
109 行增加
和
56 行删除
+109
-56
app-panel-field.vue
app_Web/src/components/app-panel-field/app-panel-field.vue
+14
-11
ibizcustomer-media-test-edit-view-base.vue
...test-edit-view/ibizcustomer-media-test-edit-view-base.vue
+1
-1
app-index-view-base.vue
.../src/pages/ungroup/app-index-view/app-index-view-base.vue
+5
-5
auto1-panel-base.vue
...Web/src/widgets/ibizbook/auto1-panel/auto1-panel-base.vue
+3
-3
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
has-panel-kan-ban-panel-base.vue
.../has-panel-kan-ban-panel/has-panel-kan-ban-panel-base.vue
+3
-3
has-panel-list-panel-base.vue
...izbook/has-panel-list-panel/has-panel-list-panel-base.vue
+3
-3
listpanel-list-model.ts
...c/widgets/ibizbook/listpanel-list/listpanel-list-model.ts
+5
-0
listpanel-panel-base.vue
...widgets/ibizbook/listpanel-panel/listpanel-panel-base.vue
+1
-1
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
usr4-panel-base.vue
app_Web/src/widgets/ibizbook/usr4-panel/usr4-panel-base.vue
+3
-3
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
default-searchform-base.vue
...sample0021/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
...b/src/widgets/ibizsample0021/main-grid/main-grid-base.vue
+13
-6
Listpanel.json
...PPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Listpanel.json
+7
-0
IBIZBOOKUsr5ListView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5ListView.json
+7
-0
未找到文件。
app_Web/src/components/app-panel-field/app-panel-field.vue
浏览文件 @
6a2f35e6
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<div
v-if=
"Object.is(labelPos, 'NONE') || !labelPos"
class=
"editor"
>
<div
:class=
"
{
'check-error': !valueCheck
}">
<div
:class=
"
{
'check-error': !valueCheck
}">
<slot></slot>
<span
v-if=
"!valueCheck"
class=
"error-info"
>
{{
error
}}
</span>
</div>
...
...
@@ -19,7 +19,7 @@
"
class=
"editor"
>
<div
:class=
"
{
'check-error': !valueCheck
}">
<div
:class=
"
{
'check-error': !valueCheck
}">
<slot></slot>
<span
v-if=
"!valueCheck"
class=
"error-info"
>
{{
error
}}
</span>
</div>
...
...
@@ -39,14 +39,6 @@ export default class AppPanelField extends Vue {
*/
@
Prop
()
public
name
!
:
string
;
/**
* 标题
*
* @type {string}
* @memberof AppPanelField
*/
@
Prop
()
public
caption
!
:
string
;
/**
* 下标
*
...
...
@@ -80,6 +72,18 @@ export default class AppPanelField extends Vue {
return
this
.
index
?
`
${
this
.
name
}
_
${
this
.
index
}
`
:
this
.
name
;
}
/**
* 标题
*
* @memberof AppLoginButton
*/
get
caption
()
{
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
)
{
return
layoutModel
.
caption
;
}
}
/**
* 显示标题
*
...
...
@@ -195,7 +199,6 @@ export default class AppPanelField extends Vue {
itemValueRules
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
valueChange
=
true
;
}
}
</
script
>
<
style
lang=
'less'
>
...
...
app_Web/src/pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -123,7 +123,7 @@
<app-preset-text
name=
"field_text_dynamic"
:index=
"slotProps.data.index"
:value=
"layoutData[`ibizcustomername_$
{slotProps.data.index}`]" :layoutModelDetails="layoutModelDetails"/>
</
template
>
<
template
#
field_textbox
>
<app-panel-field
name=
"field_textbox"
caption=
"文本框"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`ibizcustomername_$
{slotProps.data.index}`]">
<input-box
type=
"text"
name=
"field_textbox"
:value=
"layoutData[`ibizcustomername_$
{slotProps.data.index}`]" :disabled="layoutModelDetails.field_textbox ? layoutModelDetails.field_textbox.disabled : false" @change="(value) => handleValueChange({ name: 'field_textbox'
, value})">
</input-box>
</app-panel-field>
<app-panel-field
name=
"field_textbox"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`field_textbox_$
{slotProps.data.index}`]">
<input-box
type=
"text"
name=
"field_textbox"
:value=
"layoutData[`field_textbox_$
{slotProps.data.index}`]" :disabled=""layoutModelDetails[`field_textbox_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox_${slotProps.data.index}`].disabled : false"" @change="(value) => handleValueChange({ name: `field_textbox_${slotProps.data.index}`
, value})">
</input-box>
</app-panel-field>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/pages/ungroup/app-index-view/app-index-view-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -18,22 +18,22 @@
<app-preset-text
name=
"field_text_dynamic"
:value=
"layoutData.field_textbox"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
field_textbox4
>
<app-panel-field
name=
"field_textbox4"
caption=
"文本框"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox4"
>
<input-box
type=
"text"
name=
"field_textbox4"
:value=
"layoutData.field_textbox4"
:disabled=
"layoutModelDetails.field_textbox4 ? layoutModelDetails.field_textbox4.disabled : false
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox4', value})">
</input-box>
</app-panel-field>
<app-panel-field
name=
"field_textbox4"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox4"
>
<input-box
type=
"text"
name=
"field_textbox4"
:value=
"layoutData.field_textbox4"
:disabled=
""
layoutModelDetails
.
field_textbox4
?
layoutModelDetails
.
field_textbox4
:
false
"
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox4', value})">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_switch
>
<app-preset-switch
name=
"field_switch"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_switch"
@
valueChange=
"handleValueChange"
/>
</
template
>
<
template
#
field_textbox
>
<app-panel-field
name=
"field_textbox"
caption=
"文本框"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
>
<input-box
type=
"text"
name=
"field_textbox"
:value=
"layoutData.field_textbox"
:disabled=
"layoutModelDetails.field_textbox ? layoutModelDetails.field_textbox.disabled : false
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox', value})">
</input-box>
</app-panel-field>
<app-panel-field
name=
"field_textbox"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
>
<input-box
type=
"text"
name=
"field_textbox"
:value=
"layoutData.field_textbox"
:disabled=
""
layoutModelDetails
.
field_textbox
?
layoutModelDetails
.
field_textbox
:
false
"
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox', value})">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox1
>
<app-panel-field
name=
"field_textbox1"
caption=
"文本框"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox1"
>
<dropdown-list
:value=
"layoutData.field_textbox1"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"viewState"
:disabled=
"layoutModelDetails.field_textbox1 ? layoutModelDetails.field_textbox1.disabled : false
"
:localContext=
'
{ }' :localParam='{ }' placeholder='请选择...' @change="(value) => handleValueChange({ name: 'field_textbox1', value})">
</dropdown-list>
</app-panel-field>
<app-panel-field
name=
"field_textbox1"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox1"
>
<dropdown-list
:value=
"layoutData.field_textbox1"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"viewState"
:disabled=
""
layoutModelDetails
.
field_textbox1
?
layoutModelDetails
.
field_textbox1
:
false
"
"
:localContext=
'
{ }' :localParam='{ }' placeholder='请选择...' @change="(value) => handleValueChange({ name: 'field_textbox1', value})">
</dropdown-list>
</app-panel-field>
</
template
>
<
template
#
field_textbox2
>
<app-panel-field
name=
"field_textbox2"
caption=
"文本框"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox2"
>
<input-box
type=
"number"
:precision=
"2"
:value=
"layoutData.field_textbox2"
:disabled=
"layoutModelDetails.field_textbox2 ? layoutModelDetails.field_textbox2.disabled : false
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox2', value})">
</input-box>
</app-panel-field>
<app-panel-field
name=
"field_textbox2"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox2"
>
<input-box
type=
"number"
:precision=
"2"
:value=
"layoutData.field_textbox2"
:disabled=
""
layoutModelDetails
.
field_textbox2
?
layoutModelDetails
.
field_textbox2
:
false
"
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox2', value})">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox3
>
<app-panel-field
name=
"field_textbox3"
caption=
"文本框"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox3"
>
<input-box
type=
"password"
name=
"field_textbox3"
:value=
"layoutData.field_textbox3"
:disabled=
"layoutModelDetails.field_textbox3 ? layoutModelDetails.field_textbox3.disabled : false
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox3', value})">
</input-box>
</app-panel-field>
<app-panel-field
name=
"field_textbox3"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox3"
>
<input-box
type=
"password"
name=
"field_textbox3"
:value=
"layoutData.field_textbox3"
:disabled=
""
layoutModelDetails
.
field_textbox3
?
layoutModelDetails
.
field_textbox3
:
false
"
"
@
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/widgets/ibizbook/auto1-panel/auto1-panel-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -3,13 +3,13 @@
<template
v-if=
"!isLayoutLoadding"
>
<app-standard-container
name=
"container1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
field1
>
<app-panel-field
name=
"field1"
caption=
"图书名"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.title
"
>
<app-span
name=
"field1"
:value=
"layoutData.field1"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"field1"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field1
"
>
<app-span
name=
"field1"
:value=
"layoutData.field1"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
field2
>
<app-panel-field
name=
"field2"
caption=
"借出日期"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.start
"
>
<app-span
name=
"field2"
:value=
"layoutData.field2"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"field2"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field2
"
>
<app-span
name=
"field2"
:value=
"layoutData.field2"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
field3
>
<app-panel-field
name=
"field3"
caption=
"归还日期"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.end
"
>
<app-span
name=
"field3"
:value=
"layoutData.field3"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"field3"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field3
"
>
<app-span
name=
"field3"
:value=
"layoutData.field3"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -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
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr5DataView
'
+
(
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
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr5DataView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/has-panel-kan-ban-panel/has-panel-kan-ban-panel-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -3,13 +3,13 @@
<template
v-if=
"!isLayoutLoadding"
>
<app-standard-container
name=
"container1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
srfmajortext
>
<app-panel-field
name=
"srfmajortext"
caption=
""
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.srfmajortext"
>
<app-span
name=
"srfmajortext"
:value=
"layoutData.srfmajortext"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"srfmajortext"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.srfmajortext"
>
<app-span
name=
"srfmajortext"
:value=
"layoutData.srfmajortext"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
author
>
<app-panel-field
name=
"author"
caption=
""
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.author"
>
<app-span
name=
"author"
:value=
"layoutData.author"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"author"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.author"
>
<app-span
name=
"author"
:value=
"layoutData.author"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
srfdescription
>
<app-panel-field
name=
"srfdescription"
caption=
""
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.srfdescription"
>
<app-span
name=
"srfdescription"
:value=
"layoutData.srfdescription"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"srfdescription"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.srfdescription"
>
<app-span
name=
"srfdescription"
:value=
"layoutData.srfdescription"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/widgets/ibizbook/has-panel-list-panel/has-panel-list-panel-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -3,13 +3,13 @@
<template
v-if=
"!isLayoutLoadding"
>
<app-standard-container
name=
"container1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
bookname
>
<app-panel-field
name=
"bookname"
caption=
"图书名称"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.IBIZBOOKNAME
"
>
<app-span
name=
"bookname"
:value=
"layoutData.bookname"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"bookname"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.bookname
"
>
<app-span
name=
"bookname"
:value=
"layoutData.bookname"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
author
>
<app-panel-field
name=
"author"
caption=
"图书作者"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.AUTHOR
"
>
<app-span
name=
"author"
:value=
"layoutData.author"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"author"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.author
"
>
<app-span
name=
"author"
:value=
"layoutData.author"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
press
>
<app-panel-field
name=
"press"
caption=
"图书出版社"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.PRESS
"
>
<app-span
name=
"press"
:value=
"layoutData.press"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"press"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.press
"
>
<app-span
name=
"press"
:value=
"layoutData.press"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/widgets/ibizbook/listpanel-list/listpanel-list-model.ts
浏览文件 @
6a2f35e6
...
...
@@ -14,6 +14,11 @@ export default class ListpanelModel {
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'author'
,
prop
:
'author'
,
...
...
app_Web/src/widgets/ibizbook/listpanel-panel/listpanel-panel-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -12,7 +12,7 @@
<app-preset-text
name=
"field_text_dynamic"
:value=
"layoutData.author"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
field_textbox
>
<app-panel-field
name=
"field_textbox"
caption=
"文本框"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.booknumber"
>
<input-box
type=
"text"
name=
"field_textbox"
:value=
"layoutData.booknumber"
:disabled=
"layoutModelDetails.field_textbox ? layoutModelDetails.field_textbox.disabled : false
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox', value})">
</input-box>
</app-panel-field>
<app-panel-field
name=
"field_textbox"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
>
<input-box
type=
"text"
name=
"field_textbox"
:value=
"layoutData.field_textbox"
:disabled=
""
layoutModelDetails
.
field_textbox
?
layoutModelDetails
.
field_textbox
:
false
"
"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox', value})">
</input-box>
</app-panel-field>
</
template
>
<
template
#
button_link1
>
<app-preset-button
name=
"button_link1"
:layoutModelDetails=
"layoutModelDetails"
@
itemClick=
"handleButtonClick"
/>
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -657,7 +657,7 @@ export default class Usr4Base 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
:
'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
};
...
...
@@ -736,7 +736,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
[]
=
[];
...
...
@@ -845,7 +845,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
);
...
...
@@ -853,7 +853,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
浏览文件 @
6a2f35e6
...
...
@@ -69,11 +69,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/ibizbook/usr4-panel/usr4-panel-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -3,13 +3,13 @@
<template
v-if=
"!isLayoutLoadding"
>
<app-standard-container
name=
"container1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
author
>
<app-panel-field
name=
"author"
caption=
"作者"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.author"
>
<app-span
name=
"author"
:value=
"layoutData.author"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"author"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.author"
>
<app-span
name=
"author"
:value=
"layoutData.author"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
press
>
<app-panel-field
name=
"press"
caption=
"出版社"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.press"
>
<app-span
name=
"press"
:value=
"layoutData.press"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"press"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.press"
>
<app-span
name=
"press"
:value=
"layoutData.press"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
<
template
#
bookname
>
<app-panel-field
name=
"bookname"
caption=
"图书名"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.IBIZBOOKNAME
"
>
<app-span
name=
"bookname"
:value=
"layoutData.bookname"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<app-panel-field
name=
"bookname"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.bookname
"
>
<app-span
name=
"bookname"
:value=
"layoutData.bookname"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -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
浏览文件 @
6a2f35e6
...
...
@@ -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'
,
...
...
app_Web/src/widgets/ibizsample0021/default-searchform/default-searchform-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -598,7 +598,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -634,7 +634,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizsample0021/main-grid/main-grid-base.vue
浏览文件 @
6a2f35e6
...
...
@@ -353,6 +353,13 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
...
...
@@ -883,7 +890,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -978,7 +985,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1084,7 +1091,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -1977,7 +1984,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
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
);
...
...
@@ -1985,7 +1992,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizsample0021
){
...
...
@@ -2052,7 +2059,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
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Listpanel.json
浏览文件 @
6a2f35e6
...
...
@@ -269,6 +269,13 @@
"id"
:
"DataImport"
},
"getPSDEListDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"ibizbookid"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
}
},
{
"dataType"
:
25
,
"name"
:
"author"
,
"getPSAppDEField"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr5ListView.json
浏览文件 @
6a2f35e6
...
...
@@ -463,6 +463,13 @@
"id"
:
"DataImport"
},
"getPSDEListDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"ibizbookid"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
}
},
{
"dataType"
:
25
,
"name"
:
"author"
,
"getPSAppDEField"
:
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录