Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
ef747159
提交
ef747159
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
d2a70bb6
变更
23
隐藏空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
62 行增加
和
83 行删除
+62
-83
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
+4
-4
custom-edit-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic-base.ts
+1
-0
custom-view-form-load-ui-logic-base.ts
...uiservice/ibizbook/custom-view-form-load-ui-logic-base.ts
+1
-0
custom-view-grid-load-ui-logic-base.ts
...uiservice/ibizbook/custom-view-grid-load-ui-logic-base.ts
+1
-0
form-load-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/form-load-ui-logic-base.ts
+2
-1
grid-load-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/grid-load-ui-logic-base.ts
+3
-2
print-params-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/print-params-ui-logic-base.ts
+6
-6
grid-view-load-ui-logic-base.ts
...b/src/uiservice/ibizorder/grid-view-load-ui-logic-base.ts
+1
-0
open-yu-que-ui-logic-base.ts
app_Web/src/uiservice/ibizorder/open-yu-que-ui-logic-base.ts
+1
-0
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
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
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-panel-base.vue
...widgets/ibizbook/listpanel-panel/listpanel-panel-base.vue
+1
-1
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
usr4-panel-base.vue
app_Web/src/widgets/ibizbook/usr4-panel/usr4-panel-base.vue
+3
-3
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
main-grid-model.ts
...src/widgets/ibizorder-detail/main-grid/main-grid-model.ts
+1
-0
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+7
-21
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+0
-15
sform-form-base.vue
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
+5
-5
未找到文件。
app_Web/src/pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view-base.vue
浏览文件 @
ef747159
...
...
@@ -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"
:
data=
"layoutData"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`field_textbox
_$
{slotProps.data.index}`]">
<app-preset-text-input
name=
"field_textbox"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`ibizcustomername_$
{slotProps.data.index}`]" @valueChange="handleValueChange"/>
</app-panel-field>
<app-panel-field
name=
"field_textbox"
caption=
"文本框"
:index=
"slotProps.data.index"
:
layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`ibizcustomername
_$
{slotProps.data.index}`]">
<app-preset-text-input
name=
"field_textbox"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`ibizcustomername_$
{slotProps.data.index}`]" @valueChange="handleValueChange"/>
</app-panel-field>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/pages/ungroup/app-index-view/app-index-view-base.vue
浏览文件 @
ef747159
...
...
@@ -21,16 +21,16 @@
<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=
"文本框"
:
data=
"layoutData"
:
layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
>
<app-preset-text-input
name=
"field_textbox"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
@
valueChange=
"handleValueChange"
/>
</app-panel-field>
<app-panel-field
name=
"field_textbox"
caption=
"文本框"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
>
<app-preset-text-input
name=
"field_textbox"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
@
valueChange=
"handleValueChange"
/>
</app-panel-field>
</
template
>
<
template
#
field_textbox1
>
<app-panel-field
name=
"field_textbox1"
caption=
"文本框"
:
data=
"layoutData"
:
layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox1"
>
<dropdown-list
:value=
"layoutData.field_textbox1"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"viewState"
:disabled=
"layoutModelDetails.field_textbox1.disabled"
:localContext=
'
{ }' :localParam='{ }' placeholder='请选择...' @change="(value) => handleValueChange({ name: 'field_textbox1', value})">
</dropdown-list>
</app-panel-field>
<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.disabled"
: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=
"文本框"
:
data=
"layoutData"
:
layoutModelDetails=
"layoutModelDetails"
: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>
<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.disabled"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox2', value})">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox3
>
<app-panel-field
name=
"field_textbox3"
caption=
"文本框"
:
data=
"layoutData"
:
layoutModelDetails=
"layoutModelDetails"
: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>
<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.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/uiservice/ibizbook/custom-edit-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 编辑
*
...
...
app_Web/src/uiservice/ibizbook/custom-view-form-load-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 自定义视图表单加载
*
...
...
app_Web/src/uiservice/ibizbook/custom-view-grid-load-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 自定义视图表格加载
*
...
...
app_Web/src/uiservice/ibizbook/form-load-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 表单加载
*
...
...
@@ -313,7 +314,7 @@ export default class FormLoadUILogicBase {
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'context'
);
// 无值类型
// 直接值
// 直接值
const
result_1
=
'12'
;
dstParam_1
.
set
(
'ibizbook'
,
result_1
);
}
catch
(
error
:
any
)
{
...
...
app_Web/src/uiservice/ibizbook/grid-load-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
import
InitDataLogic
from
'@/service/ibizbook/init-data-logic'
;
/**
* 表格加载
...
...
@@ -353,7 +354,7 @@ export default class GridLoadUILogicBase {
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'context'
);
// 无值类型
// 直接值
// 直接值
const
result_1
=
'12'
;
dstParam_1
.
set
(
'ibizbook'
,
result_1
);
}
catch
(
error
:
any
)
{
...
...
@@ -522,7 +523,7 @@ export default class GridLoadUILogicBase {
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'otherParam'
);
// 无值类型
// 直接值
// 直接值
const
result_1
=
'12'
;
dstParam_1
.
set
(
'book'
,
result_1
);
}
catch
(
error
:
any
)
{
...
...
app_Web/src/uiservice/ibizbook/print-params-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 输出参数
*
...
...
@@ -181,7 +182,7 @@ export default class PrintParamsUILogicBase {
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'appGlobal'
);
// 无值类型
// 直接值
// 直接值
const
result_1
=
'121'
;
dstParam_1
.
set
(
'testparam'
,
result_1
);
}
catch
(
error
:
any
)
{
...
...
@@ -202,7 +203,7 @@ export default class PrintParamsUILogicBase {
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'routerSession'
);
// 无值类型
// 源逻辑参数、网页请求上下文、当前视图参数
// 源逻辑参数、网页请求上下文、当前视图参数
const
srcParam_1
=
actionContext
.
getParam
(
'appGlobal'
);
const
result_1
=
srcParam_1
.
get
(
'testparam'
)
?
srcParam_1
.
get
(
'testparam'
)
:
null
;
dstParam_1
.
set
(
'appglobalparam'
,
result_1
);
...
...
@@ -294,9 +295,8 @@ export default class PrintParamsUILogicBase {
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'printParam'
);
// 无值类型
// 环境参数
// TODO 环境参数
const
result_1
=
''
;
// 环境参数
const
result_1
=
Environment
[
'AppName'
];
dstParam_1
.
set
(
'envparam'
,
result_1
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`逻辑节点 获取应用名称
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
...
...
@@ -316,7 +316,7 @@ export default class PrintParamsUILogicBase {
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'currentView'
);
// 无值类型
// 源逻辑参数、网页请求上下文、当前视图参数
// 源逻辑参数、网页请求上下文、当前视图参数
const
srcParam_1
=
actionContext
.
getParam
(
'routerSession'
);
const
result_1
=
srcParam_1
.
get
(
'testparam'
)
?
srcParam_1
.
get
(
'testparam'
)
:
null
;
dstParam_1
.
set
(
'testccc'
,
result_1
);
...
...
app_Web/src/uiservice/ibizorder/grid-view-load-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 自定义表格数据加载
*
...
...
app_Web/src/uiservice/ibizorder/open-yu-que-ui-logic-base.ts
浏览文件 @
ef747159
...
...
@@ -4,6 +4,7 @@ import { UILogicParamType } from "@/logic/const/ui-logic-param-type";
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 打开语雀文档
*
...
...
app_Web/src/widgets/ibizbook/auto1-panel/auto1-panel-base.vue
浏览文件 @
ef747159
...
...
@@ -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=
"图书名"
:
data=
"layoutData"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field1
"
>
<app-span
name=
"field1"
:value=
"layoutData.field1"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<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>
</
template
>
<
template
#
field2
>
<app-panel-field
name=
"field2"
caption=
"借出日期"
:
data=
"layoutData"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field2
"
>
<app-span
name=
"field2"
:value=
"layoutData.field2"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<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>
</
template
>
<
template
#
field3
>
<app-panel-field
name=
"field3"
caption=
"归还日期"
:
data=
"layoutData"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field3
"
>
<app-span
name=
"field3"
:value=
"layoutData.field3"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<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>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
ef747159
...
...
@@ -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
Usr9GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
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
Usr9GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
ef747159
...
...
@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase 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
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase 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
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase 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
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/has-panel-kan-ban-panel/has-panel-kan-ban-panel-base.vue
浏览文件 @
ef747159
...
...
@@ -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=
""
:
data=
"layoutData"
:
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"
caption=
""
: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=
""
:
data=
"layoutData"
:
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"
caption=
""
: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=
""
:
data=
"layoutData"
:
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"
caption=
""
: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
浏览文件 @
ef747159
...
...
@@ -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=
"图书名称"
:
data=
"layoutData"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.bookname
"
>
<app-span
name=
"bookname"
:value=
"layoutData.bookname"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<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>
</
template
>
<
template
#
author
>
<app-panel-field
name=
"author"
caption=
"图书作者"
:
data=
"layoutData"
: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"
caption=
"图书作者"
:
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=
"图书出版社"
:
data=
"layoutData"
: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"
caption=
"图书出版社"
:
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-panel/listpanel-panel-base.vue
浏览文件 @
ef747159
...
...
@@ -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=
"文本框"
:
data=
"layoutData"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox
"
>
<app-preset-text-input
name=
"field_textbox"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.booknumber"
@
valueChange=
"handleValueChange"
/>
</app-panel-field>
<app-panel-field
name=
"field_textbox"
caption=
"文本框"
:
layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.booknumber
"
>
<app-preset-text-input
name=
"field_textbox"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.booknumber"
@
valueChange=
"handleValueChange"
/>
</app-panel-field>
</
template
>
<
template
#
button_link1
>
<app-preset-button
name=
"button_link1"
:layoutModelDetails=
"layoutModelDetails"
caption=
"页面链接"
tooltip=
""
@
itemClick=
"handleButtonClick"
/>
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
ef747159
...
...
@@ -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
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
};
...
...
@@ -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
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/usr4-panel/usr4-panel-base.vue
浏览文件 @
ef747159
...
...
@@ -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=
"作者"
:
data=
"layoutData"
:
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"
caption=
"作者"
: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=
"出版社"
:
data=
"layoutData"
:
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"
caption=
"出版社"
: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=
"图书名"
:
data=
"layoutData"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.bookname
"
>
<app-span
name=
"bookname"
:value=
"layoutData.bookname"
:data=
"layoutData"
:context=
"context"
:viewparams=
"viewparams"
:localContext=
'
{ }' :localParam='{ }' />
</app-panel-field>
<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>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
ef747159
...
...
@@ -914,7 +914,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
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -1009,7 +1009,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
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1115,7 +1115,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -1995,7 +1995,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -2003,7 +2003,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorderdetail
){
...
...
@@ -2070,7 +2070,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
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-model.ts
浏览文件 @
ef747159
...
...
@@ -96,6 +96,7 @@ export default class MainModel {
name
:
'ibizorderdetail'
,
prop
:
'ibizorderdetailid'
,
},
{
name
:
'size'
,
prop
:
'size'
,
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
ef747159
...
...
@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
SF1
GridViewBase
* @memberof IBIZOrder
Pickup
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -421,20 +421,6 @@ 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
;
/**
* 是否嵌入关系界面
...
...
@@ -967,7 +953,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -1062,7 +1048,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1168,7 +1154,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2085,7 +2071,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
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
);
...
...
@@ -2093,7 +2079,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
@@ -2160,7 +2146,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
ef747159
...
...
@@ -104,21 +104,6 @@ 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/ibizorder/sform-form/sform-form-base.vue
浏览文件 @
ef747159
...
...
@@ -1553,7 +1553,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1588,7 +1588,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1650,7 +1650,7 @@ export default class SFormBase 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
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1758,7 +1758,7 @@ export default class SFormBase 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
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1835,7 +1835,7 @@ export default class SFormBase 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
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录