Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
04eb5d1d
提交
04eb5d1d
编写于
12月 13, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
43e40f67
变更
18
展开全部
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
353 行增加
和
42 行删除
+353
-42
app-register.ts
app_Web/src/app-register.ts
+2
-0
app-address-cascader.scss
...components/app-address-cascader/app-address-cascader.scss
+0
-0
app-address-cascader.vue
.../components/app-address-cascader/app-address-cascader.vue
+183
-0
ibizsample0001_BO_CN_base.ts
...nres/entities/ibizsample0001/ibizsample0001_BO_CN_base.ts
+1
-0
ibizsample0001_en_US_base.ts
...nres/entities/ibizsample0001/ibizsample0001_en_US_base.ts
+1
-0
ibizsample0001_zh_CN_base.ts
...nres/entities/ibizsample0001/ibizsample0001_zh_CN_base.ts
+1
-0
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
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+20
-21
lnternal-func-list-list-model.ts
.../lnternal-func-list-list/lnternal-func-list-list-model.ts
+5
-0
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+4
-4
main5-form-base.vue
...src/widgets/ibizsample0001/main5-form/main5-form-base.vue
+27
-0
main5-form-model.ts
...src/widgets/ibizsample0001/main5-form/main5-form-model.ts
+4
-0
Main5.json
...S/Web/PSAPPDATAENTITIES/IBIZSample0001/PSFORMS/Main5.json
+40
-0
IBIZSample0001SF6EditView.json
...PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0001SF6EditView.json
+40
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+8
-0
未找到文件。
app_Web/src/app-register.ts
浏览文件 @
04eb5d1d
...
...
@@ -142,6 +142,7 @@ import AppGridPagination from './components/app-grid-pagination/app-grid-paginat
import
AppSearchbar
from
'./components/app-searchbar/app-searchbar.vue'
;
import
AppEYUpload
from
'./components/app-ey-upload/app-ey-upload.vue'
;
import
ExtendActionTimeline
from
'./components/extend-action-timeline/extend-action-timeline.vue'
;
import
AppAddressCascader
from
'./components/app-address-cascader/app-address-cascader.vue'
;
// 布局组件
import
AppIndexViewLayoutLeft
from
'./layout/index-view-layout-left/index-view-layout-left.vue'
;
import
AppIndexViewLayoutTop
from
'./layout/index-view-layout-top/index-view-layout-top.vue'
;
...
...
@@ -316,5 +317,6 @@ export const AppComponents = {
v
.
component
(
'app-pickup-view-layout'
,
AppPickUpViewLayout
);
v
.
component
(
'app-mpickup-view-layout'
,
AppMPickUpViewLayout
);
v
.
component
(
'app-pickup-grid-view-layout'
,
AppPickUpGridViewLayout
);
v
.
component
(
'app-address-cascader'
,
AppAddressCascader
);
},
};
\ No newline at end of file
app_Web/src/components/app-address-cascader/app-address-cascader.scss
0 → 100644
浏览文件 @
04eb5d1d
app_Web/src/components/app-address-cascader/app-address-cascader.vue
0 → 100644
浏览文件 @
04eb5d1d
<
template
>
<div
class=
"appAddressCascader"
>
<el-cascader
style=
"width: 100%"
:disabled=
"disabled"
size=
"medium"
v-model=
"CurrentVal"
:options=
"items"
>
</el-cascader>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Prop
,
Model
,
Watch
}
from
'vue-property-decorator'
;
import
CodeListService
from
'@/codelist/codelist-service'
;
@
Component
({})
export
default
class
AppAddressCascader
extends
Vue
{
/**
* 传入值
* @type {any}
* @memberof AppAddressCascader
*/
@
Prop
()
public
value
?:
any
;
/**
* 是否禁用
* @type {boolean}
* @memberof AppAddressCascader
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
* 代码表标识
*
* @type {string}
* @memberof AppAddressCascader
*/
@
Prop
()
public
tag
?:
string
;
/**
* 局部上下文导航参数
*
* @type {any}
* @memberof AppCheckBox
*/
@
Prop
()
public
localContext
!
:
any
;
/**
* 局部导航参数
*
* @type {any}
* @memberof AppCheckBox
*/
@
Prop
()
public
localParam
!
:
any
;
/**
* 传入表单数据
*
* @type {*}
* @memberof AppCheckBox
*/
@
Prop
()
public
data
?:
any
;
/**
* 视图上下文
*
* @type {*}
* @memberof AppCheckBox
*/
@
Prop
()
public
context
!
:
any
;
/**
* 代码表类型
*
* @type {string}
* @memberof AppAddressCascader
*/
@
Prop
()
public
codelistType
?:
string
;
/**
* 视图参数
*
* @type {*}
* @memberof AppCheckBox
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 代码表服务对象
*
* @type {CodeListService}
* @memberof AppAddressCascader
*/
public
codeListService
:
CodeListService
=
new
CodeListService
();
/**
* 当前值
*
* @memberof AppAddressCascader
*/
get
CurrentVal
()
{
return
this
.
value
;
}
/**
* 值变化
*
* @memberof AppAddressCascader
*/
set
CurrentVal
(
val
:
any
)
{
this
.
$emit
(
"change"
,
val
);
}
/**
* 城市数据
*
* @memberof AppAddressCascader
*/
public
items
:
any
=
[];
/**
* 获取树形代码表数据
*
* @memberof AppAddressCascader
*/
public
load
()
{
if
(
this
.
tag
)
{
if
(
Object
.
is
(
this
.
codelistType
,
"STATIC"
))
{
const
codelist
=
this
.
$store
.
getters
.
getCodeList
(
this
.
tag
);
if
(
codelist
)
{
this
.
items
=
[...
JSON
.
parse
(
JSON
.
stringify
(
codelist
.
items
))];
}
else
{
console
.
warn
(
`
${
this
.
tag
}
--代码表配置异常`
);
}
}
else
if
(
Object
.
is
(
this
.
codelistType
,
"DYNAMIC"
))
{
// 公共参数处理
let
data
:
any
=
{};
this
.
handlePublicParams
(
data
);
// 参数处理
let
_context
=
data
.
context
;
let
_param
=
data
.
param
;
this
.
codeListService
.
getItems
(
this
.
tag
,
_context
,
_param
).
then
((
res
:
any
)
=>
{
this
.
items
=
res
;
}).
catch
((
error
:
any
)
=>
{
console
.
error
(
error
);
});
}
}
}
/**
* 公共参数处理
*
* @param {*} arg
* @returns
* @memberof AppCheckBox
*/
public
handlePublicParams
(
arg
:
any
)
{
// 合并表单参数
arg
.
param
=
this
.
viewparams
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
viewparams
))
:
{};
arg
.
context
=
this
.
context
?
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
))
:
{};
// 附加参数处理
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
)
{
let
_context
=
this
.
$util
.
computedNavData
(
this
.
data
,
arg
.
context
,
arg
.
param
,
this
.
localContext
);
Object
.
assign
(
arg
.
context
,
_context
);
}
if
(
this
.
localParam
&&
Object
.
keys
(
this
.
localParam
).
length
>
0
)
{
let
_param
=
this
.
$util
.
computedNavData
(
this
.
data
,
arg
.
param
,
arg
.
param
,
this
.
localParam
);
Object
.
assign
(
arg
.
param
,
_param
);
}
}
/**
* 生命周期
*
* @memberof AppAddressCascader
*/
public
created
()
{
this
.
load
();
}
}
</
script
>
<
style
lang=
"scss"
>
@import
"./app-address-cascader.scss"
;
</
style
>
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_BO_CN_base.ts
浏览文件 @
04eb5d1d
...
...
@@ -174,6 +174,7 @@ function getLocaleResourceBase(){
longitude
:
commonLogic
.
appcommonhandle
(
"经度"
,
null
),
latitude
:
commonLogic
.
appcommonhandle
(
"纬度"
,
null
),
formitem17
:
commonLogic
.
appcommonhandle
(
"地址选择"
,
null
),
formitem9
:
commonLogic
.
appcommonhandle
(
"地址选择(Cascader)"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"信息展示"
,
null
),
formitem3
:
commonLogic
.
appcommonhandle
(
"多选穿梭框"
,
null
),
formitem4
:
commonLogic
.
appcommonhandle
(
"CRON表达式组件"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_en_US_base.ts
浏览文件 @
04eb5d1d
...
...
@@ -174,6 +174,7 @@ function getLocaleResourceBase(){
longitude
:
commonLogic
.
appcommonhandle
(
"经度"
,
null
),
latitude
:
commonLogic
.
appcommonhandle
(
"纬度"
,
null
),
formitem17
:
commonLogic
.
appcommonhandle
(
"地址选择"
,
null
),
formitem9
:
commonLogic
.
appcommonhandle
(
"地址选择(Cascader)"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"信息展示"
,
null
),
formitem3
:
commonLogic
.
appcommonhandle
(
"多选穿梭框"
,
null
),
formitem4
:
commonLogic
.
appcommonhandle
(
"CRON表达式组件"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_zh_CN_base.ts
浏览文件 @
04eb5d1d
...
...
@@ -174,6 +174,7 @@ function getLocaleResourceBase(){
longitude
:
commonLogic
.
appcommonhandle
(
"经度"
,
null
),
latitude
:
commonLogic
.
appcommonhandle
(
"纬度"
,
null
),
formitem17
:
commonLogic
.
appcommonhandle
(
"地址选择"
,
null
),
formitem9
:
commonLogic
.
appcommonhandle
(
"地址选择(Cascader)"
,
null
),
formitem
:
commonLogic
.
appcommonhandle
(
"信息展示"
,
null
),
formitem3
:
commonLogic
.
appcommonhandle
(
"多选穿梭框"
,
null
),
formitem4
:
commonLogic
.
appcommonhandle
(
"CRON表达式组件"
,
null
),
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
04eb5d1d
...
...
@@ -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
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
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
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
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
浏览文件 @
04eb5d1d
...
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase 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
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase 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
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1499,7 +1499,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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1607,7 +1607,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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1799,7 +1799,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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
04eb5d1d
...
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase 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
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase 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
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
04eb5d1d
...
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase 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
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase 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
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase 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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
04eb5d1d
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-model.ts
浏览文件 @
04eb5d1d
...
...
@@ -72,6 +72,11 @@ export default class LnternalFuncListModel {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
04eb5d1d
<
template
>
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'searchform'
style=
""
>
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'
quick
searchform'
style=
""
>
<input
style=
"display:none;"
/>
<row>
<i-col
span=
"20"
class=
"form-content"
>
...
...
@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public
formValidateStatus
():
boolean
{
const
form
:
any
=
this
.
$refs
.
searchform
;
const
form
:
any
=
this
.
$refs
.
quick
searchform
;
let
validatestate
:
boolean
=
true
;
form
.
validate
((
valid
:
boolean
)
=>
{
validatestate
=
valid
?
true
:
false
;
...
...
@@ -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
UsrListView_plugin
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CalendarView
'
+
(
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
UsrListView_plugin
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CalendarView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-base.vue
浏览文件 @
04eb5d1d
...
...
@@ -144,6 +144,13 @@ dataType="LONGTEXT" unitName="" :precision="0"
<app-address-selection
:value=
"data.formitem17"
placeholder=
"地址选择"
:disabled=
"detailsModel.formitem17.disabled"
style=
""
></app-address-selection>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem9.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item
name=
'formitem9'
:itemRules=
"this.rules().formitem9"
class=
''
:caption=
"$t('entities.ibizsample0001.main5_form.details.formitem9')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem9.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
</app-form-item>
</i-col>
</row>
...
...
@@ -738,6 +745,7 @@ export default class Main5Base extends Vue implements ControlInterface {
longitude
:
null
,
latitude
:
null
,
formitem17
:
null
,
formitem9
:
null
,
formitem
:
null
,
formitem3
:
null
,
formitem4
:
null
,
...
...
@@ -839,6 +847,10 @@ export default class Main5Base extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
formitem17
.
required
,
type
:
'string'
,
message
:
'地址选择 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem17
.
required
,
type
:
'string'
,
message
:
'地址选择 值不能为空'
,
trigger
:
'blur'
},
],
formitem9
:
[
{
required
:
this
.
detailsModel
.
formitem9
.
required
,
type
:
'string'
,
message
:
'地址选择(Cascader) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem9
.
required
,
type
:
'string'
,
message
:
'地址选择(Cascader) 值不能为空'
,
trigger
:
'blur'
},
],
formitem
:
[
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'信息展示 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'信息展示 值不能为空'
,
trigger
:
'blur'
},
...
...
@@ -1031,6 +1043,8 @@ export default class Main5Base extends Vue implements ControlInterface {
latitude
:
new
FormItemModel
({
caption
:
'纬度'
,
detailType
:
'FORMITEM'
,
name
:
'latitude'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem17
:
new
FormItemModel
({
caption
:
'地址选择'
,
detailType
:
'FORMITEM'
,
name
:
'formitem17'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem9
:
new
FormItemModel
({
caption
:
'地址选择(Cascader)'
,
detailType
:
'FORMITEM'
,
name
:
'formitem9'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem
:
new
FormItemModel
({
caption
:
'信息展示'
,
detailType
:
'FORMITEM'
,
name
:
'formitem'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -1282,6 +1296,18 @@ export default class Main5Base extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'formitem17'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem9 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@
Watch
(
'data.formitem9'
)
onFormitem9Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem9'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem 值
*
...
...
@@ -1491,6 +1517,7 @@ export default class Main5Base extends Vue implements ControlInterface {
}
...
...
app_Web/src/widgets/ibizsample0001/main5-form/main5-form-model.ts
浏览文件 @
04eb5d1d
...
...
@@ -111,6 +111,10 @@ export default class Main5Model {
prop
:
'field03'
,
dataType
:
'LONGTEXT'
,
},
{
name
:
'formitem9'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem'
,
prop
:
'field04'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0001/PSFORMS/Main5.json
浏览文件 @
04eb5d1d
...
...
@@ -158,6 +158,9 @@
"name"
:
"FIELD03"
,
"codeName"
:
"Field03"
}
},
{
"id"
:
"formitem9"
,
"dataType"
:
25
},
{
"id"
:
"formitem"
,
"dataType"
:
21
,
...
...
@@ -737,6 +740,43 @@
"valueItemName"
:
"formitem18"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"地址选择(Cascader)"
,
"codeName"
:
"formitem9"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/formitem9"
,
"name"
:
"formitem9"
,
"noPrivDisplayMode"
:
1
,
"getPSEditor"
:
{
"editorParams"
:
{
"AC"
:
"TRUE"
,
"PICKUPVIEW"
:
"TRUE"
},
"editorStyle"
:
"CASCADER"
,
"editorType"
:
"PICKER"
,
"name"
:
"formitem9"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
"showTrigger"
:
true
,
"singleSelect"
:
true
},
"getPSLayoutPos"
:
{
"colLG"
:
6
,
"colMD"
:
6
,
"colSM"
:
6
,
"colXS"
:
6
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/formitem9"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0001SF6EditView.json
浏览文件 @
04eb5d1d
...
...
@@ -287,6 +287,9 @@
"name"
:
"FIELD03"
,
"codeName"
:
"Field03"
}
},
{
"id"
:
"formitem9"
,
"dataType"
:
25
},
{
"id"
:
"formitem"
,
"dataType"
:
21
,
...
...
@@ -866,6 +869,43 @@
"valueItemName"
:
"formitem18"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"地址选择(Cascader)"
,
"codeName"
:
"formitem9"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/formitem9"
,
"name"
:
"formitem9"
,
"noPrivDisplayMode"
:
1
,
"getPSEditor"
:
{
"editorParams"
:
{
"AC"
:
"TRUE"
,
"PICKUPVIEW"
:
"TRUE"
},
"editorStyle"
:
"CASCADER"
,
"editorType"
:
"PICKER"
,
"name"
:
"formitem9"
,
"enableAC"
:
true
,
"enablePickupView"
:
true
,
"forceSelection"
:
true
,
"showTrigger"
:
true
,
"singleSelect"
:
true
},
"getPSLayoutPos"
:
{
"colLG"
:
6
,
"colMD"
:
6
,
"colSM"
:
6
,
"colXS"
:
6
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/formitem9"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
04eb5d1d
...
...
@@ -1997,6 +1997,14 @@
"name" : "【单选】单位(全部单位)",
"rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/ALLORGSELECT",
"styleCode" : "ALLORGSELECT"
}, {
"codeName" : "CASCADER",
"containerType" : "FORMITEM",
"editorType" : "PICKER",
"mOSFilePath" : "pssysapps/Web/psappeditorstylerefs/CASCADER",
"name" : "数据选择(地址选择,代码表)",
"rTMOSFilePath" : "pssysapps/Web/psappeditorstylerefs/CASCADER",
"styleCode" : "CASCADER"
}, {
"codeName" : "COLORPICKER",
"containerType" : "FORMITEM",
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录