Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzpay
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzpay
提交
506f84b4
提交
506f84b4
编写于
11月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码 [ ibiz-pay,支付]
上级
3e648869
变更
51
显示空白字符变更
内嵌
并排
正在显示
51 个修改的文件
包含
3535 行增加
和
138 行删除
+3535
-138
CHANGELOG.md
app_web/CHANGELOG.md
+72
-0
app-register.ts
app_web/src/app-register.ts
+2
-0
app-actionbar.vue
app_web/src/components/app-actionbar/app-actionbar.vue
+2
-0
app-column-link.vue
app_web/src/components/app-column-link/app-column-link.vue
+1
-1
app-form-group.vue
app_web/src/components/app-form-group/app-form-group.vue
+2
-0
app-format-data.vue
app_web/src/components/app-format-data/app-format-data.vue
+1
-1
app-image-romate.vue
app_web/src/components/app-image-romate/app-image-romate.vue
+102
-0
app-orgsector.vue
app_web/src/components/app-orgsector/app-orgsector.vue
+24
-7
app-picker.vue
app_web/src/components/app-picker/app-picker.vue
+25
-3
app-rawitem.vue
app_web/src/components/app-rawitem/app-rawitem.vue
+25
-21
login.vue
app_web/src/components/login/login.vue
+3
-0
tab-exp-view-engine.ts
app_web/src/engine/view/tab-exp-view-engine.ts
+10
-0
view-engine.ts
app_web/src/engine/view/view-engine.ts
+2
-0
en-US.ts
app_web/src/locale/lang/en-US.ts
+0
-1
zh-CN.ts
app_web/src/locale/lang/zh-CN.ts
+0
-1
components_en_US.ts
app_web/src/locale/lanres/components/components_en_US.ts
+4
-0
components_zh_CN.ts
app_web/src/locale/lanres/components/components_zh_CN.ts
+4
-0
pay-open-access_en_US.ts
.../lanres/entities/pay-open-access/pay-open-access_en_US.ts
+1
-0
pay-open-access_zh_CN.ts
.../lanres/entities/pay-open-access/pay-open-access_zh_CN.ts
+1
-0
pay-trade_en_US.ts
...b/src/locale/lanres/entities/pay-trade/pay-trade_en_US.ts
+1
-0
pay-trade_zh_CN.ts
...b/src/locale/lanres/entities/pay-trade/pay-trade_zh_CN.ts
+1
-0
pay-index-view-base.vue
app_web/src/pages/pay/pay-index-view/pay-index-view-base.vue
+2
-2
pay-open-access-edit-view-base.vue
...-open-access-edit-view/pay-open-access-edit-view-base.vue
+2
-2
pay-open-access-grid-view-base.vue
...-open-access-grid-view/pay-open-access-grid-view-base.vue
+2
-2
pay-open-access-pickup-grid-view-base.vue
...ickup-grid-view/pay-open-access-pickup-grid-view-base.vue
+2
-2
pay-open-access-pickup-view-base.vue
...n-access-pickup-view/pay-open-access-pickup-view-base.vue
+2
-2
pay-trade-edit-view-base.vue
...ages/pay/pay-trade-edit-view/pay-trade-edit-view-base.vue
+2
-2
pay-trade-grid-view-base.vue
...ages/pay/pay-trade-grid-view/pay-trade-grid-view-base.vue
+2
-2
pay-open-access-ui-service-base.ts
...ervice/pay-open-access/pay-open-access-ui-service-base.ts
+7
-0
pay-trade-ui-service-base.ts
app_web/src/uiservice/pay-trade/pay-trade-ui-service-base.ts
+7
-0
view-tool.ts
app_web/src/utils/view-tool/view-tool.ts
+1
-1
main-grid-base.vue
.../src/widgets/pay-open-access/main-grid/main-grid-base.vue
+54
-13
main-grid-service.ts
...rc/widgets/pay-open-access/main-grid/main-grid-service.ts
+2
-2
main-grid-base.vue
app_web/src/widgets/pay-trade/main-grid/main-grid-base.vue
+47
-5
main-grid-service.ts
app_web/src/widgets/pay-trade/main-grid/main-grid-service.ts
+2
-2
application-dev.yml
ibzpay-boot/src/main/resources/application-dev.yml
+52
-52
PayOpenAccess.java
...c/main/java/cn/ibizlab/core/pay/domain/PayOpenAccess.java
+1
-0
PayTrade.java
...re/src/main/java/cn/ibizlab/core/pay/domain/PayTrade.java
+1
-0
IPayOpenAccessService.java
...va/cn/ibizlab/core/pay/service/IPayOpenAccessService.java
+0
-1
IPayTradeService.java
...in/java/cn/ibizlab/core/pay/service/IPayTradeService.java
+2
-3
PayOpenAccessServiceImpl.java
...izlab/core/pay/service/impl/PayOpenAccessServiceImpl.java
+1
-0
PayTradeServiceImpl.java
...cn/ibizlab/core/pay/service/impl/PayTradeServiceImpl.java
+1
-1
ibzpay.json
ibzpay-core/src/main/resources/sysmodel/ibzpay.json
+21
-0
pom.xml
ibzpay-dependencies/pom.xml
+2
-6
DEField.java
...til/src/main/java/cn/ibizlab/util/annotation/DEField.java
+10
-0
StaticDict.java
...y-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
+2981
-0
EntityClient.java
...il/src/main/java/cn/ibizlab/util/domain/EntityClient.java
+1
-1
DupCheck.java
...ay-util/src/main/java/cn/ibizlab/util/enums/DupCheck.java
+23
-0
ExceptionTranslator.java
...main/java/cn/ibizlab/util/errors/ExceptionTranslator.java
+11
-2
PermissionSyncJob.java
.../src/main/java/cn/ibizlab/util/job/PermissionSyncJob.java
+2
-0
AppController.java
...til/src/main/java/cn/ibizlab/util/rest/AppController.java
+9
-0
未找到文件。
app_web/CHANGELOG.md
浏览文件 @
506f84b4
## v7.0.0-alpha.21 [2020-10-31]
### Bug修复
修复视图类型门户部件通知嵌入视图刷新问题
修复表格行编辑传值无效和设置表格行编辑禁用无效问题
修复表格列触发行为权限控制无效问题
修复表格导出代码表转化问题
修复行编辑时合并行主键到上下文中
修复多表单编辑视图(部件视图)临时模式异常问题
修复修复表单值规则异常问题
### 功能新增及优化
#### 模板
新增导航类部件快速搜索栏提示
新增分页导航面板主状态逻辑
新增图片预览(可旋转)控件
新增多数据部件无值显示内容适配
新增分页导航视图工具栏权限状态逻辑
新增适配界面行为中显示处理
新增支持是否支持实体主状态属性
优化列表加载、刷新逻辑
优化直接内容项组件
优化甘特图部件和树表格部件加载逻辑
优化后台界面行为异常处理逻辑
优化分页导航面板切换分页刷新逻辑
优化树导航视图树节点刷新逻辑
优化表单更新项传入调用方法名称
优化行编辑值校验错误信息提示
#### 基础文件
新增图片预览(可旋转)控件
新增计算分页导航视图工具栏权限状态逻辑
新增支持是否支持实体主状态逻辑
新增切换组织部门功能
优化数据选择下拉控件(下拉列表宽度和编辑器宽度保持一致)
优化直接内容项组件
修复数据选择无值抛出null
修复登录完成user存储到localStorage
修复表格值为0不显示问题
## v7.0.0-alpha.20 [2020-10-18]
## v7.0.0-alpha.20 [2020-10-18]
### Bug修复
### Bug修复
...
...
app_web/src/app-register.ts
浏览文件 @
506f84b4
...
@@ -97,6 +97,7 @@ import AppFormPart from './components/app-form-part/app-form-part.vue'
...
@@ -97,6 +97,7 @@ import AppFormPart from './components/app-form-part/app-form-part.vue'
import
AppAlert
from
'./components/app-alert/app-alert.vue'
import
AppAlert
from
'./components/app-alert/app-alert.vue'
import
AppAlertGroup
from
'./components/app-alert-group/app-alert-group.vue'
import
AppAlertGroup
from
'./components/app-alert-group/app-alert-group.vue'
import
AppRawItem
from
'./components/app-rawitem/app-rawitem.vue'
import
AppRawItem
from
'./components/app-rawitem/app-rawitem.vue'
import
AppImageRomate
from
'./components/app-image-romate/app-image-romate.vue'
// 全局挂载UI实体服务注册中心
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
...
@@ -209,5 +210,6 @@ export const AppComponents = {
...
@@ -209,5 +210,6 @@ export const AppComponents = {
v
.
component
(
'app-alert'
,
AppAlert
);
v
.
component
(
'app-alert'
,
AppAlert
);
v
.
component
(
'app-alert-group'
,
AppAlertGroup
);
v
.
component
(
'app-alert-group'
,
AppAlertGroup
);
v
.
component
(
'app-rawitem'
,
AppRawItem
);
v
.
component
(
'app-rawitem'
,
AppRawItem
);
v
.
component
(
'app-image-romate'
,
AppImageRomate
)
},
},
};
};
\ No newline at end of file
app_web/src/components/app-actionbar/app-actionbar.vue
浏览文件 @
506f84b4
...
@@ -100,6 +100,8 @@ export default class AppActionBar extends Vue {
...
@@ -100,6 +100,8 @@ export default class AppActionBar extends Vue {
* @memberof AppActionBar
* @memberof AppActionBar
*/
*/
public
calcActionItemAuthState
(
data
:
any
,
ActionModel
:
any
,
UIService
:
any
){
public
calcActionItemAuthState
(
data
:
any
,
ActionModel
:
any
,
UIService
:
any
){
if
(
!
UIService
.
isEnableDEMainState
)
return
;
for
(
const
key
in
ActionModel
)
{
for
(
const
key
in
ActionModel
)
{
if
(
!
ActionModel
.
hasOwnProperty
(
key
))
{
if
(
!
ActionModel
.
hasOwnProperty
(
key
))
{
return
;
return
;
...
...
app_web/src/components/app-column-link/app-column-link.vue
浏览文件 @
506f84b4
...
@@ -279,7 +279,7 @@ export default class AppColumnLink extends Vue {
...
@@ -279,7 +279,7 @@ export default class AppColumnLink extends Vue {
if
(
result
.
datas
&&
Array
.
isArray
(
result
.
datas
))
{
if
(
result
.
datas
&&
Array
.
isArray
(
result
.
datas
))
{
Object
.
assign
(
item
,
result
.
datas
[
0
]);
Object
.
assign
(
item
,
result
.
datas
[
0
]);
}
}
console
.
log
(
item
);
this
.
$emit
(
'refresh'
,
item
);
}
}
/**
/**
...
...
app_web/src/components/app-form-group/app-form-group.vue
浏览文件 @
506f84b4
...
@@ -158,6 +158,8 @@ export default class AppFormGroup extends Vue {
...
@@ -158,6 +158,8 @@ export default class AppFormGroup extends Vue {
* @memberof AppFormGroup
* @memberof AppFormGroup
*/
*/
public
calcActionItemAuthState
(
data
:
any
,
ActionModel
:
any
,
UIService
:
any
){
public
calcActionItemAuthState
(
data
:
any
,
ActionModel
:
any
,
UIService
:
any
){
if
(
!
UIService
.
isEnableDEMainState
)
return
;
for
(
const
key
in
ActionModel
)
{
for
(
const
key
in
ActionModel
)
{
if
(
!
ActionModel
.
hasOwnProperty
(
key
))
{
if
(
!
ActionModel
.
hasOwnProperty
(
key
))
{
return
;
return
;
...
...
app_web/src/components/app-format-data/app-format-data.vue
浏览文件 @
506f84b4
...
@@ -47,7 +47,7 @@ export default class AppFormatData extends Vue {
...
@@ -47,7 +47,7 @@ export default class AppFormatData extends Vue {
* @memberof AppFormatData
* @memberof AppFormatData
*/
*/
getcurValue
(){
getcurValue
(){
if
(
this
.
data
){
if
(
this
.
data
||
this
.
data
==
0
){
if
(
Object
.
is
(
this
.
dataType
,
"DECIMAL"
)
||
Object
.
is
(
this
.
dataType
,
"FLOAT"
)
||
Object
.
is
(
this
.
dataType
,
"CURRENCY"
)){
if
(
Object
.
is
(
this
.
dataType
,
"DECIMAL"
)
||
Object
.
is
(
this
.
dataType
,
"FLOAT"
)
||
Object
.
is
(
this
.
dataType
,
"CURRENCY"
)){
let
number
=
Number
(
this
.
data
);
let
number
=
Number
(
this
.
data
);
let
precision
=
Number
(
this
.
precision
);
let
precision
=
Number
(
this
.
precision
);
...
...
app_web/src/components/app-image-romate/app-image-romate.vue
0 → 100644
浏览文件 @
506f84b4
<
template
>
<div
class=
'app-image-preview'
>
<el-image
:src=
"data[name]"
:previewSrcList=
"previewList"
:disabled=
"disabled"
>
</el-image>
</div>
</
template
>
<
script
lang =
'ts'
>
import
{
Vue
,
Component
,
Prop
,
Watch
,
Provide
}
from
'vue-property-decorator'
;
import
{
Subject
,
Unsubscribable
}
from
'rxjs'
;
@
Component
({})
export
default
class
AppImageRomate
extends
Vue
{
/**
* 表单状态
*
* @type {any}
* @memberof AppImageRomate
*/
@
Prop
()
public
formState
:
any
;
/**
* 图片数据
*
* @type {any}
* @memberof AppImageRomate
*/
@
Prop
()
public
data
!
:
any
;
/**
* 字段名
*
* @type {any}
* @memberof AppImageRomate
*/
@
Prop
()
public
name
:
any
;
/**
* 禁用状态
*
* @type {boolean}
* @memberof AppImageRomate
*/
@
Prop
()
public
disabled
:
boolean
=
false
;
/**
* 预览图片数组
*
* @type {boolean}
* @memberof AppImageRomate
*/
public
previewList
:
Array
<
any
>
=
[];
/**
* 表单状态事件
*
* @private
* @type {(Unsubscribable | undefined)}
* @memberof AppImageUpload
*/
private
formStateEvent
:
Unsubscribable
|
undefined
;
/**
* Vue生命周期
*
* @type {boolean}
* @memberof AppImageRomate
*/
public
created
()
{
if
(
this
.
formState
)
{
this
.
formStateEvent
=
this
.
formState
.
subscribe
((
$event
:
any
)
=>
{
// 表单加载完成
if
(
this
.
data
&&
this
.
name
)
{
this
.
handleData
();
}
});
}
}
/**
* 数据处理
*
* @type {boolean}
* @memberof AppImageRomate
*/
public
handleData
()
{
this
.
previewList
.
push
(
this
.
data
[
this
.
name
]);
}
/**
* 组件销毁
*
* @memberof AppImageRomate
*/
public
destroyed
():
void
{
if
(
this
.
formStateEvent
)
{
this
.
formStateEvent
.
unsubscribe
();
}
}
}
</
script
>
\ No newline at end of file
app_web/src/components/app-orgsector/app-orgsector.vue
浏览文件 @
506f84b4
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
</div>
</div>
</
template
>
</
template
>
<
script
lang =
'ts'
>
<
script
lang =
'ts'
>
import
{
Http
}
from
'@/utils/http/http'
;
import
{
Vue
,
Component
,
Inject
}
from
"vue-property-decorator"
;
import
{
Vue
,
Component
,
Inject
}
from
"vue-property-decorator"
;
@
Component
({})
@
Component
({})
...
@@ -110,17 +111,33 @@ export default class AppOrgSector extends Vue {
...
@@ -110,17 +111,33 @@ export default class AppOrgSector extends Vue {
let
item
:
any
=
this
.
selectedOrgArray
.
find
((
_item
:
any
)
=>
{
let
item
:
any
=
this
.
selectedOrgArray
.
find
((
_item
:
any
)
=>
{
return
_item
.
srforgsectorid
===
data
;
return
_item
.
srforgsectorid
===
data
;
});
});
this
.
switchDepartment
(
data
).
then
((
response
:
any
)
=>
{
if
(
response
.
status
==
200
)
{
if
(
item
.
srforgsectorid
&&
item
.
srforgsectorname
)
{
if
(
item
.
srforgsectorid
&&
item
.
srforgsectorname
)
{
this
.
selectedOrgId
=
item
.
srforgsectorid
;
this
.
selectedOrgId
=
item
.
srforgsectorid
;
this
.
selectedOrgName
=
item
.
srforgsectorname
;
this
.
selectedOrgName
=
item
.
srforgsectorname
;
this
.
reload
();
}
}
this
.
updateStoreOrgData
(
item
);
this
.
updateStoreOrgData
(
item
);
this
.
reload
();
}
else
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
response
.
data
?
response
.
data
.
message
:(
this
.
$t
(
'components.appOrgSector.errorSwitch'
)
as
string
)
});
}
}).
catch
((
error
:
any
)
=>
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'components.appOrgSector.errorSwitch'
)
as
string
)
});
})
}
/**
* 调用远端切换部门接口
*
* @memberof AppOrgSector
*/
public
async
switchDepartment
(
data
:
any
){
return
await
Http
.
getInstance
().
post
(
`/oumaps/switch`
,
data
,
false
);
}
}
/**
/**
* 更新仓库
Org
信息
* 更新仓库
部门
信息
*
*
* @memberof AppOrgSector
* @memberof AppOrgSector
*/
*/
...
...
app_web/src/components/app-picker/app-picker.vue
浏览文件 @
506f84b4
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
<div
v-else-if=
"Object.is(editortype, 'dropdown')"
class=
'app-picker'
>
<div
v-else-if=
"Object.is(editortype, 'dropdown')"
class=
'app-picker'
>
<el-select
ref=
"appPicker"
remote
:remote-method=
"(query) => this.onSearch(query, null, true)"
:value=
"refvalue"
size=
'small'
filterable
<el-select
ref=
"appPicker"
remote
:remote-method=
"(query) => this.onSearch(query, null, true)"
:value=
"refvalue"
size=
'small'
filterable
@
change=
"onSelect"
:disabled=
"disabled"
style=
'width:100%;'
clearable
@
change=
"onSelect"
:disabled=
"disabled"
style=
'width:100%;'
clearable
popper-class=
"app-picker-dropdown"
@
clear=
"onClear"
@
visible-change=
"onSelectOpen"
>
@
clear=
"onClear"
@
visible-change=
"onSelectOpen"
>
<
template
v-if=
"items"
>
<
template
v-if=
"items"
>
<template
v-for=
"_item in items"
>
<template
v-for=
"_item in items"
>
...
@@ -260,6 +260,14 @@ export default class AppPicker extends Vue {
...
@@ -260,6 +260,14 @@ export default class AppPicker extends Vue {
*/
*/
public
selectValue
=
this
.
value
;
public
selectValue
=
this
.
value
;
/**
* 下拉列表节点元素
*
* @type {*}
* @memberof AppPicker
*/
public
dropdownDom
:
any
=
{};
/**
/**
* 获取关联数据项值
* 获取关联数据项值
*
*
...
@@ -314,6 +322,8 @@ export default class AppPicker extends Vue {
...
@@ -314,6 +322,8 @@ export default class AppPicker extends Vue {
* @memberof AppPicker
* @memberof AppPicker
*/
*/
public
mounted
()
{
public
mounted
()
{
const
dropdownDom
:
any
=
this
.
$el
.
getElementsByClassName
(
'app-picker-dropdown'
)[
0
];
this
.
dropdownDom
=
dropdownDom
;
}
}
/**
/**
...
@@ -331,10 +341,22 @@ export default class AppPicker extends Vue {
...
@@ -331,10 +341,22 @@ export default class AppPicker extends Vue {
public
onSelectOpen
(
flag
:
boolean
):
void
{
public
onSelectOpen
(
flag
:
boolean
):
void
{
this
.
open
=
flag
;
this
.
open
=
flag
;
if
(
this
.
open
)
{
if
(
this
.
open
)
{
//设置下拉列表的最大宽度
this
.
setDropdownWidth
();
this
.
onSearch
(
this
.
curvalue
,
null
,
true
);
this
.
onSearch
(
this
.
curvalue
,
null
,
true
);
}
}
}
}
/**
* 设置下拉列表最大宽度使下拉列表宽度和编辑器宽度一致
*
* @memberof AppPicker
*/
public
setDropdownWidth
(){
const
elInput
:
any
=
this
.
$el
.
getElementsByClassName
(
'el-input__inner'
)[
0
];
this
.
dropdownDom
.
style
.
maxWidth
=
elInput
.
offsetWidth
+
'px'
;
}
/**
/**
* 执行搜索数据
* 执行搜索数据
* @param query
* @param query
...
@@ -434,10 +456,10 @@ export default class AppPicker extends Vue {
...
@@ -434,10 +456,10 @@ export default class AppPicker extends Vue {
*/
*/
public
onClear
(
$event
:
any
):
void
{
public
onClear
(
$event
:
any
):
void
{
if
(
this
.
valueitem
)
{
if
(
this
.
valueitem
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
valueitem
,
value
:
''
});
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
valueitem
,
value
:
null
});
}
}
if
(
this
.
name
)
{
if
(
this
.
name
)
{
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
''
});
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
null
});
}
}
this
.
fillPickUpData
();
this
.
fillPickUpData
();
this
.
$forceUpdate
();
this
.
$forceUpdate
();
...
...
app_web/src/components/app-rawitem/app-rawitem.vue
浏览文件 @
506f84b4
<
template
>
<
template
>
<div>
<div
:style=
"sizeStyle"
>
<span
v-if=
"caption"
>
{{
caption
}}
</span>
<span>
{{
caption
}}
</span>
<div
:class=
"contentStyle"
:style=
"sizeStyle"
>
<div
v-if=
"Object.is(contentType,'RAW')"
:class=
"contentStyle"
>
<template
v-if=
"Object.is(contentType,'RAW')"
>
<slot></slot>
{{
rawContent
?
rawContent
:
''
}}
</div>
</
template
>
<div
v-else-if=
"Object.is(contentType,'HTML')"
:class=
"contentStyle"
v-html=
"htmlContent"
/>
<
template
v-else-if=
"Object.is(contentType,'HTML')"
>
<div
v-else-if=
"Object.is(contentType,'IMAGE')"
:class=
"contentStyle"
>
{{
htmlContent
?
htmlContent
:
''
}}
</
template
>
<
template
v-else-if=
"Object.is(contentType,'IMAGE')"
>
<i
:class=
"imageClass ? imageClass : ''"
></i>
<i
:class=
"imageClass ? imageClass : ''"
></i>
</
template
>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -22,20 +18,28 @@ import { Component, Vue, Prop, Model, Watch } from "vue-property-decorator";
...
@@ -22,20 +18,28 @@ import { Component, Vue, Prop, Model, Watch } from "vue-property-decorator";
export
default
class
AppRawItem
extends
Vue
{
export
default
class
AppRawItem
extends
Vue
{
/**
/**
*
内容类型
*
应用上下文
*
*
* @type {string}
* @type {string}
* @memberof AppRawItem
* @memberof AppRawItem
*/
*/
@
Prop
()
public
conte
ntType
!
:
string
;
@
Prop
()
public
conte
xt
!
:
any
;
/**
/**
* 直接内容
* 视图参数
*
*
* @type {strin}
* @type {string}
* @memberof AppRawItem
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 内容类型
*
* @type {string}
* @memberof AppRawItem
* @memberof AppRawItem
*/
*/
@
Prop
()
public
rawContent
?
:
string
;
@
Prop
()
public
contentType
!
:
string
;
/**
/**
* html内容
* html内容
...
@@ -46,7 +50,7 @@ export default class AppRawItem extends Vue {
...
@@ -46,7 +50,7 @@ export default class AppRawItem extends Vue {
@
Prop
()
public
htmlContent
?:
string
;
@
Prop
()
public
htmlContent
?:
string
;
/**
/**
*
html内容
*
图片
*
*
* @type {strin}
* @type {strin}
* @memberof AppRawItem
* @memberof AppRawItem
...
...
app_web/src/components/login/login.vue
浏览文件 @
506f84b4
...
@@ -183,6 +183,9 @@ export default class Login extends Vue {
...
@@ -183,6 +183,9 @@ export default class Login extends Vue {
localStorage
.
setItem
(
'token'
,
data
.
token
);
localStorage
.
setItem
(
'token'
,
data
.
token
);
this
.
setCookie
(
'ibzuaa-token'
,
data
.
token
,
0
);
this
.
setCookie
(
'ibzuaa-token'
,
data
.
token
,
0
);
}
}
if
(
data
&&
data
.
user
){
localStorage
.
setItem
(
'user'
,
JSON
.
stringify
(
data
.
user
));
}
// 设置cookie,保存账号密码7天
// 设置cookie,保存账号密码7天
this
.
setCookie
(
"loginname"
,
loginname
,
7
);
this
.
setCookie
(
"loginname"
,
loginname
,
7
);
// 跳转首页
// 跳转首页
...
...
app_web/src/engine/view/tab-exp-view-engine.ts
浏览文件 @
506f84b4
...
@@ -44,4 +44,14 @@ export default class TabExpViewEngine extends ViewEngine {
...
@@ -44,4 +44,14 @@ export default class TabExpViewEngine extends ViewEngine {
this
.
setViewState2
({
tag
:
_item
.
name
,
action
:
'load'
,
viewdata
:
this
.
view
.
context
});
this
.
setViewState2
({
tag
:
_item
.
name
,
action
:
'load'
,
viewdata
:
this
.
view
.
context
});
});
});
}
}
/**
* 计算按钮状态
*
* @memberof TabExpViewEngine
*/
public
computeToolbarState
(
state
:
boolean
,
data
:
any
){
this
.
calcToolbarItemState
(
state
);
this
.
calcToolbarItemAuthState
(
data
);
}
}
}
\ No newline at end of file
app_web/src/engine/view/view-engine.ts
浏览文件 @
506f84b4
...
@@ -187,6 +187,8 @@ export default class ViewEngine {
...
@@ -187,6 +187,8 @@ export default class ViewEngine {
*/
*/
public
calcToolbarItemAuthState
(
data
:
any
){
public
calcToolbarItemAuthState
(
data
:
any
){
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
_this
.
view
.
appUIService
.
isEnableDEMainState
)
return
;
for
(
const
key
in
_this
.
view
.
toolBarModels
)
{
for
(
const
key
in
_this
.
view
.
toolBarModels
)
{
if
(
!
_this
.
view
.
toolBarModels
.
hasOwnProperty
(
key
))
{
if
(
!
_this
.
view
.
toolBarModels
.
hasOwnProperty
(
key
))
{
return
;
return
;
...
...
app_web/src/locale/lang/en-US.ts
浏览文件 @
506f84b4
...
@@ -39,7 +39,6 @@ export default {
...
@@ -39,7 +39,6 @@ export default {
show
:
"Show"
,
show
:
"Show"
,
records
:
"records"
,
records
:
"records"
,
totle
:
"totle"
,
totle
:
"totle"
,
noData
:
"No data"
,
valueVail
:
"Value cannot be empty"
,
valueVail
:
"Value cannot be empty"
,
group
:
"Group"
,
group
:
"Group"
,
other
:
"Other"
,
other
:
"Other"
,
...
...
app_web/src/locale/lang/zh-CN.ts
浏览文件 @
506f84b4
...
@@ -39,7 +39,6 @@ export default {
...
@@ -39,7 +39,6 @@ export default {
show
:
"显示"
,
show
:
"显示"
,
records
:
"条"
,
records
:
"条"
,
totle
:
"共"
,
totle
:
"共"
,
noData
:
"无数据"
,
valueVail
:
"值不能为空"
,
valueVail
:
"值不能为空"
,
group
:
"分组"
,
group
:
"分组"
,
other
:
"其他"
,
other
:
"其他"
,
...
...
app_web/src/locale/lanres/components/components_en_US.ts
浏览文件 @
506f84b4
...
@@ -11,6 +11,10 @@ export default {
...
@@ -11,6 +11,10 @@ export default {
indexPage
:
'home page'
,
indexPage
:
'home page'
,
continue
:
'to continue browsing'
,
continue
:
'to continue browsing'
,
},
},
appOrgSector
:{
successSwitch
:
'The switch was successful'
,
errorSwitch
:
'The switchover failed'
,
},
appAutocomplete
:
{
appAutocomplete
:
{
error
:
'Error'
,
error
:
'Error'
,
miss
:
'Missing parameter '
,
miss
:
'Missing parameter '
,
...
...
app_web/src/locale/lanres/components/components_zh_CN.ts
浏览文件 @
506f84b4
...
@@ -11,6 +11,10 @@ export default {
...
@@ -11,6 +11,10 @@ export default {
indexPage
:
'首页'
,
indexPage
:
'首页'
,
continue
:
'继续浏览'
,
continue
:
'继续浏览'
,
},
},
appOrgSector
:{
successSwitch
:
'切换成功'
,
errorSwitch
:
'切换失败'
,
},
appAutocomplete
:
{
appAutocomplete
:
{
error
:
'错误'
,
error
:
'错误'
,
miss
:
'缺少参数'
,
miss
:
'缺少参数'
,
...
...
app_web/src/locale/lanres/entities/pay-open-access/pay-open-access_en_US.ts
浏览文件 @
506f84b4
...
@@ -61,6 +61,7 @@ export default {
...
@@ -61,6 +61,7 @@ export default {
region_id
:
"RegionId"
,
region_id
:
"RegionId"
,
redirect_uri
:
"RedirectURI"
,
redirect_uri
:
"RedirectURI"
,
},
},
nodata
:
""
,
uiactions
:
{
uiactions
:
{
},
},
},
},
...
...
app_web/src/locale/lanres/entities/pay-open-access/pay-open-access_zh_CN.ts
浏览文件 @
506f84b4
...
@@ -60,6 +60,7 @@ export default {
...
@@ -60,6 +60,7 @@ export default {
region_id
:
"RegionId"
,
region_id
:
"RegionId"
,
redirect_uri
:
"RedirectURI"
,
redirect_uri
:
"RedirectURI"
,
},
},
nodata
:
""
,
uiactions
:
{
uiactions
:
{
},
},
},
},
...
...
app_web/src/locale/lanres/entities/pay-trade/pay-trade_en_US.ts
浏览文件 @
506f84b4
...
@@ -51,6 +51,7 @@ export default {
...
@@ -51,6 +51,7 @@ export default {
totalamount
:
"订单金额"
,
totalamount
:
"订单金额"
,
accessname
:
"支付平台"
,
accessname
:
"支付平台"
,
},
},
nodata
:
""
,
uiactions
:
{
uiactions
:
{
},
},
},
},
...
...
app_web/src/locale/lanres/entities/pay-trade/pay-trade_zh_CN.ts
浏览文件 @
506f84b4
...
@@ -50,6 +50,7 @@ export default {
...
@@ -50,6 +50,7 @@ export default {
totalamount
:
"订单金额"
,
totalamount
:
"订单金额"
,
accessname
:
"支付平台"
,
accessname
:
"支付平台"
,
},
},
nodata
:
""
,
uiactions
:
{
uiactions
:
{
},
},
},
},
...
...
app_web/src/pages/pay/pay-index-view/pay-index-view-base.vue
浏览文件 @
506f84b4
...
@@ -187,11 +187,11 @@ export default class PayIndexViewBase extends Vue {
...
@@ -187,11 +187,11 @@ export default class PayIndexViewBase extends Vue {
@
Watch
(
'viewdata'
)
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
parseViewParam
();
_this
.
engine
.
load
();
_this
.
engine
.
load
();
});
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
_this
.
refresh
();
...
@@ -489,7 +489,7 @@ export default class PayIndexViewBase extends Vue {
...
@@ -489,7 +489,7 @@ export default class PayIndexViewBase extends Vue {
});
});
if
(
_this
.
portletState
){
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'
calendar-view9
'
)){
if
(
!
Object
.
is
(
res
.
name
,
'
PayIndexView
'
)){
return
;
return
;
}
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
...
...
app_web/src/pages/pay/pay-open-access-edit-view/pay-open-access-edit-view-base.vue
浏览文件 @
506f84b4
...
@@ -274,11 +274,11 @@ export default class PayOpenAccessEditViewBase extends Vue {
...
@@ -274,11 +274,11 @@ export default class PayOpenAccessEditViewBase extends Vue {
@
Watch
(
'viewdata'
)
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
parseViewParam
();
_this
.
engine
.
load
();
_this
.
engine
.
load
();
});
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
_this
.
refresh
();
...
@@ -646,7 +646,7 @@ export default class PayOpenAccessEditViewBase extends Vue {
...
@@ -646,7 +646,7 @@ export default class PayOpenAccessEditViewBase extends Vue {
});
});
if
(
_this
.
portletState
){
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'
calendar-view9
'
)){
if
(
!
Object
.
is
(
res
.
name
,
'
PayOpenAccessEditView
'
)){
return
;
return
;
}
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
...
...
app_web/src/pages/pay/pay-open-access-grid-view/pay-open-access-grid-view-base.vue
浏览文件 @
506f84b4
...
@@ -303,11 +303,11 @@ export default class PayOpenAccessGridViewBase extends Vue {
...
@@ -303,11 +303,11 @@ export default class PayOpenAccessGridViewBase extends Vue {
@
Watch
(
'viewdata'
)
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
parseViewParam
();
_this
.
engine
.
load
();
_this
.
engine
.
load
();
});
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
_this
.
refresh
();
...
@@ -680,7 +680,7 @@ export default class PayOpenAccessGridViewBase extends Vue {
...
@@ -680,7 +680,7 @@ export default class PayOpenAccessGridViewBase extends Vue {
});
});
if
(
_this
.
portletState
){
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'
calendar-view9
'
)){
if
(
!
Object
.
is
(
res
.
name
,
'
PayOpenAccessGridView
'
)){
return
;
return
;
}
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
...
...
app_web/src/pages/pay/pay-open-access-pickup-grid-view/pay-open-access-pickup-grid-view-base.vue
浏览文件 @
506f84b4
...
@@ -198,11 +198,11 @@ export default class PayOpenAccessPickupGridViewBase extends Vue {
...
@@ -198,11 +198,11 @@ export default class PayOpenAccessPickupGridViewBase extends Vue {
@
Watch
(
'viewdata'
)
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
parseViewParam
();
_this
.
engine
.
load
();
_this
.
engine
.
load
();
});
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
_this
.
refresh
();
...
@@ -533,7 +533,7 @@ export default class PayOpenAccessPickupGridViewBase extends Vue {
...
@@ -533,7 +533,7 @@ export default class PayOpenAccessPickupGridViewBase extends Vue {
});
});
if
(
_this
.
portletState
){
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'
calendar-view9
'
)){
if
(
!
Object
.
is
(
res
.
name
,
'
PayOpenAccessPickupGridView
'
)){
return
;
return
;
}
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
...
...
app_web/src/pages/pay/pay-open-access-pickup-view/pay-open-access-pickup-view-base.vue
浏览文件 @
506f84b4
...
@@ -188,11 +188,11 @@ export default class PayOpenAccessPickupViewBase extends Vue {
...
@@ -188,11 +188,11 @@ export default class PayOpenAccessPickupViewBase extends Vue {
@
Watch
(
'viewdata'
)
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
parseViewParam
();
_this
.
engine
.
load
();
_this
.
engine
.
load
();
});
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
_this
.
refresh
();
...
@@ -516,7 +516,7 @@ export default class PayOpenAccessPickupViewBase extends Vue {
...
@@ -516,7 +516,7 @@ export default class PayOpenAccessPickupViewBase extends Vue {
});
});
if
(
_this
.
portletState
){
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'
calendar-view9
'
)){
if
(
!
Object
.
is
(
res
.
name
,
'
PayOpenAccessPickupView
'
)){
return
;
return
;
}
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
...
...
app_web/src/pages/pay/pay-trade-edit-view/pay-trade-edit-view-base.vue
浏览文件 @
506f84b4
...
@@ -274,11 +274,11 @@ export default class PayTradeEditViewBase extends Vue {
...
@@ -274,11 +274,11 @@ export default class PayTradeEditViewBase extends Vue {
@
Watch
(
'viewdata'
)
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
parseViewParam
();
_this
.
engine
.
load
();
_this
.
engine
.
load
();
});
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
_this
.
refresh
();
...
@@ -646,7 +646,7 @@ export default class PayTradeEditViewBase extends Vue {
...
@@ -646,7 +646,7 @@ export default class PayTradeEditViewBase extends Vue {
});
});
if
(
_this
.
portletState
){
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'
calendar-view9
'
)){
if
(
!
Object
.
is
(
res
.
name
,
'
PayTradeEditView
'
)){
return
;
return
;
}
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
...
...
app_web/src/pages/pay/pay-trade-grid-view/pay-trade-grid-view-base.vue
浏览文件 @
506f84b4
...
@@ -303,11 +303,11 @@ export default class PayTradeGridViewBase extends Vue {
...
@@ -303,11 +303,11 @@ export default class PayTradeGridViewBase extends Vue {
@
Watch
(
'viewdata'
)
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
parseViewParam
();
_this
.
engine
.
load
();
_this
.
engine
.
load
();
});
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
_this
.
refresh
();
...
@@ -680,7 +680,7 @@ export default class PayTradeGridViewBase extends Vue {
...
@@ -680,7 +680,7 @@ export default class PayTradeGridViewBase extends Vue {
});
});
if
(
_this
.
portletState
){
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'
calendar-view9
'
)){
if
(
!
Object
.
is
(
res
.
name
,
'
PayTradeGridView
'
)){
return
;
return
;
}
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
...
...
app_web/src/uiservice/pay-open-access/pay-open-access-ui-service-base.ts
浏览文件 @
506f84b4
...
@@ -20,6 +20,13 @@ export default class PayOpenAccessUIServiceBase extends UIService {
...
@@ -20,6 +20,13 @@ export default class PayOpenAccessUIServiceBase extends UIService {
*/
*/
public
isEnableWorkflow
:
boolean
=
false
;
public
isEnableWorkflow
:
boolean
=
false
;
/**
* 是否支持实体主状态
*
* @memberof PayOpenAccessUIServiceBase
*/
public
isEnableDEMainState
:
boolean
=
false
;
/**
/**
* 当前UI服务对应的数据服务对象
* 当前UI服务对应的数据服务对象
*
*
...
...
app_web/src/uiservice/pay-trade/pay-trade-ui-service-base.ts
浏览文件 @
506f84b4
...
@@ -20,6 +20,13 @@ export default class PayTradeUIServiceBase extends UIService {
...
@@ -20,6 +20,13 @@ export default class PayTradeUIServiceBase extends UIService {
*/
*/
public
isEnableWorkflow
:
boolean
=
false
;
public
isEnableWorkflow
:
boolean
=
false
;
/**
* 是否支持实体主状态
*
* @memberof PayTradeUIServiceBase
*/
public
isEnableDEMainState
:
boolean
=
false
;
/**
/**
* 当前UI服务对应的数据服务对象
* 当前UI服务对应的数据服务对象
*
*
...
...
app_web/src/utils/view-tool/view-tool.ts
浏览文件 @
506f84b4
...
@@ -258,7 +258,7 @@ export class ViewTool {
...
@@ -258,7 +258,7 @@ export class ViewTool {
return
result
;
return
result
;
}
}
const
_item
=
ActionModel
[
key
];
const
_item
=
ActionModel
[
key
];
if
(
_item
&&
_item
[
'dataaccaction'
]
&&
UIService
){
if
(
_item
&&
_item
[
'dataaccaction'
]
&&
UIService
&&
UIService
.
isEnableDEMainState
){
let
dataActionResult
:
any
;
let
dataActionResult
:
any
;
if
(
Object
.
is
(
_item
[
'actiontarget'
],
"NONE"
)
||
Object
.
is
(
_item
[
'actiontarget'
],
""
)){
if
(
Object
.
is
(
_item
[
'actiontarget'
],
"NONE"
)
||
Object
.
is
(
_item
[
'actiontarget'
],
""
)){
dataActionResult
=
UIService
.
getResourceOPPrivs
(
_item
[
'dataaccaction'
]);
dataActionResult
=
UIService
.
getResourceOPPrivs
(
_item
[
'dataaccaction'
]);
...
...
app_web/src/widgets/pay-open-access/main-grid/main-grid-base.vue
浏览文件 @
506f84b4
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
@row-dblclick="rowDBLClick($event)"
@row-dblclick="rowDBLClick($event)"
ref='multipleTable' :data="items" :show-header="!isHideHeader">
ref='multipleTable' :data="items" :show-header="!isHideHeader">
<template
slot=
"empty"
>
<template
slot=
"empty"
>
{{
$t
(
'
app.gridpage.noD
ata'
)
}}
{{
$t
(
'
entities.payopenaccess.main_grid.nod
ata'
)
}}
</
template
>
</
template
>
<
template
v-if=
"!isSingleSelect"
>
<
template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
...
@@ -566,6 +566,14 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -566,6 +566,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
isDisplay
:
boolean
=
true
;
public
isDisplay
:
boolean
=
true
;
/**
* 表格行编辑项校验错误提示信息
*
* @type {boolean}
* @memberof MainBase
*/
public
errorMessages
:
Array
<
any
>
=
[];
/**
/**
* 部件刷新
* 部件刷新
*
*
...
@@ -606,6 +614,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -606,6 +614,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
{
{
name
:
'open_type'
,
name
:
'open_type'
,
...
@@ -614,6 +623,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -614,6 +623,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
{
{
name
:
'region_id'
,
name
:
'region_id'
,
...
@@ -622,6 +632,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -622,6 +632,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
{
{
name
:
'redirect_uri'
,
name
:
'redirect_uri'
,
...
@@ -630,6 +641,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -630,6 +641,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
]
]
...
@@ -740,6 +752,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -740,6 +752,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
async
validateAll
(){
public
async
validateAll
(){
this
.
errorMessages
=
[];
let
validateState
=
true
;
let
validateState
=
true
;
let
index
=
-
1
;
let
index
=
-
1
;
for
(
let
item
of
this
.
items
){
for
(
let
item
of
this
.
items
){
...
@@ -748,6 +761,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -748,6 +761,7 @@ export default class MainBase extends Vue implements ControlInterface {
for
(
let
property
of
Object
.
keys
(
this
.
rules
)){
for
(
let
property
of
Object
.
keys
(
this
.
rules
)){
if
(
!
await
this
.
validate
(
property
,
item
,
index
)){
if
(
!
await
this
.
validate
(
property
,
item
,
index
)){
validateState
=
false
;
validateState
=
false
;
this
.
errorMessages
.
push
(
this
.
gridItemsModel
[
index
][
property
].
error
);
}
}
}
}
}
}
...
@@ -1115,7 +1129,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1115,7 +1129,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
getCodelistValue
(
items
:
any
[],
value
:
any
,
codelist
:
any
,){
public
getCodelistValue
(
items
:
any
[],
value
:
any
,
codelist
:
any
,){
if
(
!
value
){
if
(
!
value
&&
value
!==
0
&&
value
!==
false
){
return
this
.
$t
(
'codelist.'
+
codelist
.
srfkey
+
'.empty'
);
return
this
.
$t
(
'codelist.'
+
codelist
.
srfkey
+
'.empty'
);
}
}
if
(
items
)
{
if
(
items
)
{
...
@@ -1691,8 +1705,16 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1691,8 +1705,16 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
}
}
}
}
if
(
!
await
this
.
validateAll
()){
if
(
!
await
this
.
validateAll
())
{
if
(
this
.
errorMessages
&&
this
.
errorMessages
.
length
>
0
)
{
let
descMessage
:
string
=
''
;
this
.
errorMessages
.
forEach
((
message
:
any
)
=>
{
descMessage
=
descMessage
+
'<p>'
+
message
+
'<p>'
;
})
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
descMessage
});
}
else
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.rulesException'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.rulesException'
)
as
string
)
});
}
return
[];
return
[];
}
}
let
successItems
:
any
=
[];
let
successItems
:
any
=
[];
...
@@ -1832,9 +1854,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1832,9 +1854,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
mode
||
(
mode
&&
Object
.
is
(
mode
,
''
)))
{
if
(
!
mode
||
(
mode
&&
Object
.
is
(
mode
,
''
)))
{
return
;
return
;
}
}
let
tempContext
:
any
=
this
.
$util
.
deepCopy
(
this
.
context
);
const
arg
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
const
arg
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
mode
,
JSON
.
parse
(
JSON
.
stringify
(
t
his
.
c
ontext
)),
arg
,
showloading
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
mode
,
JSON
.
parse
(
JSON
.
stringify
(
t
empC
ontext
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.gridpage.formitemFailed'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.gridpage.formitemFailed'
)
as
string
)
});
...
@@ -2075,6 +2098,24 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2075,6 +2098,24 @@ export default class MainBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 获取表格列禁用状态
*
* @memberof MainBase
*/
public
getColumnDisabled
(
data
:
any
,
name
:
string
){
if
(
this
.
allColumns
||
Array
.
isArray
(
this
.
allColumns
)){
const
curColumn
:
any
=
this
.
allColumns
.
find
((
item
:
any
)
=>
{
return
item
.
name
===
name
;
})
if
(
curColumn
.
hasOwnProperty
(
'enableCond'
)){
return
data
.
srfuf
==
1
?
(
curColumn
.
enableCond
&
2
)
!==
2
:
(
curColumn
.
enableCond
&
1
)
!==
1
}
else
{
return
false
;
}
}
}
}
}
</
script
>
</
script
>
...
...
app_web/src/widgets/pay-open-access/main-grid/main-grid-service.ts
浏览文件 @
506f84b4
...
@@ -216,7 +216,7 @@ export default class MainService extends ControlService {
...
@@ -216,7 +216,7 @@ export default class MainService extends ControlService {
result
.
then
((
response
)
=>
{
result
.
then
((
response
)
=>
{
//处理返回数据,补充判断标识
//处理返回数据,补充判断标识
if
(
response
.
data
){
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
0
});
Object
.
assign
(
response
.
data
,{
srfuf
:
'0'
});
}
}
resolve
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
}).
catch
(
response
=>
{
...
@@ -347,7 +347,7 @@ export default class MainService extends ControlService {
...
@@ -347,7 +347,7 @@ export default class MainService extends ControlService {
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
}
else
{
}
else
{
if
(
item
&&
item
.
isEditable
&&
item
.
prop
&&
item
.
name
&&
(
data
[
item
.
name
]
||
Object
.
is
(
data
[
item
.
name
],
0
)
||
Object
.
is
(
data
[
item
.
name
],
""
))
){
if
(
item
&&
item
.
isEditable
&&
item
.
prop
&&
item
.
name
&&
data
.
hasOwnProperty
(
item
.
name
)
){
requestData
[
item
.
prop
]
=
data
[
item
.
name
];
requestData
[
item
.
prop
]
=
data
[
item
.
name
];
}
}
}
}
...
...
app_web/src/widgets/pay-trade/main-grid/main-grid-base.vue
浏览文件 @
506f84b4
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
@row-dblclick="rowDBLClick($event)"
@row-dblclick="rowDBLClick($event)"
ref='multipleTable' :data="items" :show-header="!isHideHeader">
ref='multipleTable' :data="items" :show-header="!isHideHeader">
<template
slot=
"empty"
>
<template
slot=
"empty"
>
{{
$t
(
'
app.gridpage.noD
ata'
)
}}
{{
$t
(
'
entities.paytrade.main_grid.nod
ata'
)
}}
</
template
>
</
template
>
<
template
v-if=
"!isSingleSelect"
>
<
template
v-if=
"!isSingleSelect"
>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
<el-table-column
align=
"center"
type=
'selection'
:width=
"checkboxColWidth"
></el-table-column>
...
@@ -590,6 +590,14 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -590,6 +590,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
isDisplay
:
boolean
=
true
;
public
isDisplay
:
boolean
=
true
;
/**
* 表格行编辑项校验错误提示信息
*
* @type {boolean}
* @memberof MainBase
*/
public
errorMessages
:
Array
<
any
>
=
[];
/**
/**
* 部件刷新
* 部件刷新
*
*
...
@@ -630,6 +638,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -630,6 +638,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
{
{
name
:
'subject'
,
name
:
'subject'
,
...
@@ -638,6 +647,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -638,6 +647,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
{
{
name
:
'outtradeno'
,
name
:
'outtradeno'
,
...
@@ -646,6 +656,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -646,6 +656,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
{
{
name
:
'totalamount'
,
name
:
'totalamount'
,
...
@@ -654,6 +665,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -654,6 +665,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
{
{
name
:
'accessname'
,
name
:
'accessname'
,
...
@@ -662,6 +674,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -662,6 +674,7 @@ export default class MainBase extends Vue implements ControlInterface {
show
:
true
,
show
:
true
,
unit
:
'px'
,
unit
:
'px'
,
isEnableRowEdit
:
false
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
},
]
]
...
@@ -772,6 +785,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -772,6 +785,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
async
validateAll
(){
public
async
validateAll
(){
this
.
errorMessages
=
[];
let
validateState
=
true
;
let
validateState
=
true
;
let
index
=
-
1
;
let
index
=
-
1
;
for
(
let
item
of
this
.
items
){
for
(
let
item
of
this
.
items
){
...
@@ -780,6 +794,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -780,6 +794,7 @@ export default class MainBase extends Vue implements ControlInterface {
for
(
let
property
of
Object
.
keys
(
this
.
rules
)){
for
(
let
property
of
Object
.
keys
(
this
.
rules
)){
if
(
!
await
this
.
validate
(
property
,
item
,
index
)){
if
(
!
await
this
.
validate
(
property
,
item
,
index
)){
validateState
=
false
;
validateState
=
false
;
this
.
errorMessages
.
push
(
this
.
gridItemsModel
[
index
][
property
].
error
);
}
}
}
}
}
}
...
@@ -1139,7 +1154,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1139,7 +1154,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
getCodelistValue
(
items
:
any
[],
value
:
any
,
codelist
:
any
,){
public
getCodelistValue
(
items
:
any
[],
value
:
any
,
codelist
:
any
,){
if
(
!
value
){
if
(
!
value
&&
value
!==
0
&&
value
!==
false
){
return
this
.
$t
(
'codelist.'
+
codelist
.
srfkey
+
'.empty'
);
return
this
.
$t
(
'codelist.'
+
codelist
.
srfkey
+
'.empty'
);
}
}
if
(
items
)
{
if
(
items
)
{
...
@@ -1716,8 +1731,16 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1716,8 +1731,16 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
}
}
}
}
if
(
!
await
this
.
validateAll
()){
if
(
!
await
this
.
validateAll
())
{
if
(
this
.
errorMessages
&&
this
.
errorMessages
.
length
>
0
)
{
let
descMessage
:
string
=
''
;
this
.
errorMessages
.
forEach
((
message
:
any
)
=>
{
descMessage
=
descMessage
+
'<p>'
+
message
+
'<p>'
;
})
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
descMessage
});
}
else
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.rulesException'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.commonWords.rulesException'
)
as
string
)
});
}
return
[];
return
[];
}
}
let
successItems
:
any
=
[];
let
successItems
:
any
=
[];
...
@@ -1857,9 +1880,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1857,9 +1880,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
mode
||
(
mode
&&
Object
.
is
(
mode
,
''
)))
{
if
(
!
mode
||
(
mode
&&
Object
.
is
(
mode
,
''
)))
{
return
;
return
;
}
}
let
tempContext
:
any
=
this
.
$util
.
deepCopy
(
this
.
context
);
const
arg
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
const
arg
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
mode
,
JSON
.
parse
(
JSON
.
stringify
(
t
his
.
c
ontext
)),
arg
,
showloading
);
const
post
:
Promise
<
any
>
=
this
.
service
.
frontLogic
(
mode
,
JSON
.
parse
(
JSON
.
stringify
(
t
empC
ontext
)),
arg
,
showloading
);
post
.
then
((
response
:
any
)
=>
{
post
.
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
if
(
!
response
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.gridpage.formitemFailed'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
(
this
.
$t
(
'app.gridpage.formitemFailed'
)
as
string
)
});
...
@@ -2100,6 +2124,24 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2100,6 +2124,24 @@ export default class MainBase extends Vue implements ControlInterface {
})
})
}
}
/**
* 获取表格列禁用状态
*
* @memberof MainBase
*/
public
getColumnDisabled
(
data
:
any
,
name
:
string
){
if
(
this
.
allColumns
||
Array
.
isArray
(
this
.
allColumns
)){
const
curColumn
:
any
=
this
.
allColumns
.
find
((
item
:
any
)
=>
{
return
item
.
name
===
name
;
})
if
(
curColumn
.
hasOwnProperty
(
'enableCond'
)){
return
data
.
srfuf
==
1
?
(
curColumn
.
enableCond
&
2
)
!==
2
:
(
curColumn
.
enableCond
&
1
)
!==
1
}
else
{
return
false
;
}
}
}
}
}
</
script
>
</
script
>
...
...
app_web/src/widgets/pay-trade/main-grid/main-grid-service.ts
浏览文件 @
506f84b4
...
@@ -216,7 +216,7 @@ export default class MainService extends ControlService {
...
@@ -216,7 +216,7 @@ export default class MainService extends ControlService {
result
.
then
((
response
)
=>
{
result
.
then
((
response
)
=>
{
//处理返回数据,补充判断标识
//处理返回数据,补充判断标识
if
(
response
.
data
){
if
(
response
.
data
){
Object
.
assign
(
response
.
data
,{
srfuf
:
0
});
Object
.
assign
(
response
.
data
,{
srfuf
:
'0'
});
}
}
resolve
(
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
}).
catch
(
response
=>
{
...
@@ -347,7 +347,7 @@ export default class MainService extends ControlService {
...
@@ -347,7 +347,7 @@ export default class MainService extends ControlService {
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
}
else
{
}
else
{
if
(
item
&&
item
.
isEditable
&&
item
.
prop
&&
item
.
name
&&
(
data
[
item
.
name
]
||
Object
.
is
(
data
[
item
.
name
],
0
)
||
Object
.
is
(
data
[
item
.
name
],
""
))
){
if
(
item
&&
item
.
isEditable
&&
item
.
prop
&&
item
.
name
&&
data
.
hasOwnProperty
(
item
.
name
)
){
requestData
[
item
.
prop
]
=
data
[
item
.
name
];
requestData
[
item
.
prop
]
=
data
[
item
.
name
];
}
}
}
}
...
...
ibzpay-boot/src/main/resources/application-dev.yml
浏览文件 @
506f84b4
ibzpay-core/src/main/java/cn/ibizlab/core/pay/domain/PayOpenAccess.java
浏览文件 @
506f84b4
...
@@ -19,6 +19,7 @@ import cn.ibizlab.util.annotation.DEField;
...
@@ -19,6 +19,7 @@ import cn.ibizlab.util.annotation.DEField;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
cn.ibizlab.util.enums.DEFieldDefaultValueType
;
import
cn.ibizlab.util.enums.DEFieldDefaultValueType
;
import
cn.ibizlab.util.helper.DataObject
;
import
cn.ibizlab.util.helper.DataObject
;
import
cn.ibizlab.util.enums.DupCheck
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
lombok.*
;
import
lombok.*
;
import
org.springframework.data.annotation.Transient
;
import
org.springframework.data.annotation.Transient
;
...
...
ibzpay-core/src/main/java/cn/ibizlab/core/pay/domain/PayTrade.java
浏览文件 @
506f84b4
...
@@ -19,6 +19,7 @@ import cn.ibizlab.util.annotation.DEField;
...
@@ -19,6 +19,7 @@ import cn.ibizlab.util.annotation.DEField;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
cn.ibizlab.util.enums.DEFieldDefaultValueType
;
import
cn.ibizlab.util.enums.DEFieldDefaultValueType
;
import
cn.ibizlab.util.helper.DataObject
;
import
cn.ibizlab.util.helper.DataObject
;
import
cn.ibizlab.util.enums.DupCheck
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
lombok.*
;
import
lombok.*
;
import
org.springframework.data.annotation.Transient
;
import
org.springframework.data.annotation.Transient
;
...
...
ibzpay-core/src/main/java/cn/ibizlab/core/pay/service/IPayOpenAccessService.java
浏览文件 @
506f84b4
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.pay.domain.PayOpenAccess
;
import
cn.ibizlab.core.pay.domain.PayOpenAccess
;
import
cn.ibizlab.core.pay.filter.PayOpenAccessSearchContext
;
import
cn.ibizlab.core.pay.filter.PayOpenAccessSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
/**
...
...
ibzpay-core/src/main/java/cn/ibizlab/core/pay/service/IPayTradeService.java
浏览文件 @
506f84b4
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
...
@@ -18,7 +18,6 @@ import org.springframework.cache.annotation.CacheEvict;
import
cn.ibizlab.core.pay.domain.PayTrade
;
import
cn.ibizlab.core.pay.domain.PayTrade
;
import
cn.ibizlab.core.pay.filter.PayTradeSearchContext
;
import
cn.ibizlab.core.pay.filter.PayTradeSearchContext
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
/**
...
@@ -38,8 +37,8 @@ public interface IPayTradeService extends IService<PayTrade>{
...
@@ -38,8 +37,8 @@ public interface IPayTradeService extends IService<PayTrade>{
boolean
save
(
PayTrade
et
)
;
boolean
save
(
PayTrade
et
)
;
void
saveBatch
(
List
<
PayTrade
>
list
)
;
void
saveBatch
(
List
<
PayTrade
>
list
)
;
Page
<
PayTrade
>
searchDefault
(
PayTradeSearchContext
context
)
;
Page
<
PayTrade
>
searchDefault
(
PayTradeSearchContext
context
)
;
List
<
PayTrade
>
selectByAccessId
(
String
id
)
;
List
<
PayTrade
>
selectByAccessId
(
String
id
);
void
removeByAccessId
(
String
id
)
;
void
removeByAccessId
(
String
id
);
/**
/**
*自定义查询SQL
*自定义查询SQL
* @param sql select * from table where id =#{et.param}
* @param sql select * from table where id =#{et.param}
...
...
ibzpay-core/src/main/java/cn/ibizlab/core/pay/service/impl/PayOpenAccessServiceImpl.java
浏览文件 @
506f84b4
...
@@ -194,6 +194,7 @@ public class PayOpenAccessServiceImpl extends ServiceImpl<PayOpenAccessMapper, P
...
@@ -194,6 +194,7 @@ public class PayOpenAccessServiceImpl extends ServiceImpl<PayOpenAccessMapper, P
}
}
...
...
ibzpay-core/src/main/java/cn/ibizlab/core/pay/service/impl/PayTradeServiceImpl.java
浏览文件 @
506f84b4
...
@@ -162,7 +162,6 @@ public class PayTradeServiceImpl extends ServiceImpl<PayTradeMapper, PayTrade> i
...
@@ -162,7 +162,6 @@ public class PayTradeServiceImpl extends ServiceImpl<PayTradeMapper, PayTrade> i
public
List
<
PayTrade
>
selectByAccessId
(
String
id
)
{
public
List
<
PayTrade
>
selectByAccessId
(
String
id
)
{
return
baseMapper
.
selectByAccessId
(
id
);
return
baseMapper
.
selectByAccessId
(
id
);
}
}
@Override
@Override
public
void
removeByAccessId
(
String
id
)
{
public
void
removeByAccessId
(
String
id
)
{
this
.
remove
(
new
QueryWrapper
<
PayTrade
>().
eq
(
"accessid"
,
id
));
this
.
remove
(
new
QueryWrapper
<
PayTrade
>().
eq
(
"accessid"
,
id
));
...
@@ -228,6 +227,7 @@ public class PayTradeServiceImpl extends ServiceImpl<PayTradeMapper, PayTrade> i
...
@@ -228,6 +227,7 @@ public class PayTradeServiceImpl extends ServiceImpl<PayTradeMapper, PayTrade> i
}
}
...
...
ibzpay-core/src/main/resources/sysmodel/ibzpay.json
浏览文件 @
506f84b4
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
1
,
"key_field"
:
1
,
"show_order"
:
1
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -34,6 +35,7 @@
...
@@ -34,6 +35,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
2
,
"major_field"
:
1
"major_field"
:
1
},
},
{
{
...
@@ -48,6 +50,7 @@
...
@@ -48,6 +50,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
3
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -61,6 +64,7 @@
...
@@ -61,6 +64,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
4
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -74,6 +78,7 @@
...
@@ -74,6 +78,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
5
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -87,6 +92,7 @@
...
@@ -87,6 +92,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
6
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -100,6 +106,7 @@
...
@@ -100,6 +106,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
1000
,
"data_length"
:
1000
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
7
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -112,6 +119,7 @@
...
@@ -112,6 +119,7 @@
"physical_field"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"DATETIME"
,
"data_type"
:
"DATETIME"
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
8
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -125,6 +133,7 @@
...
@@ -125,6 +133,7 @@
"physical_field"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"INT"
,
"data_type"
:
"INT"
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
10
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -138,6 +147,7 @@
...
@@ -138,6 +147,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
500
,
"data_length"
:
500
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
11
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -151,6 +161,7 @@
...
@@ -151,6 +161,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
500
,
"data_length"
:
500
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
11
,
"major_field"
:
0
"major_field"
:
0
}
}
],
],
...
@@ -185,6 +196,7 @@
...
@@ -185,6 +196,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -198,6 +210,7 @@
...
@@ -198,6 +210,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -211,6 +224,7 @@
...
@@ -211,6 +224,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
1
"major_field"
:
1
},
},
{
{
...
@@ -225,6 +239,7 @@
...
@@ -225,6 +239,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -239,6 +254,7 @@
...
@@ -239,6 +254,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
60
,
"data_length"
:
60
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -253,6 +269,7 @@
...
@@ -253,6 +269,7 @@
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"union_key"
:
"KEY2"
,
"union_key"
:
"KEY2"
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -266,6 +283,7 @@
...
@@ -266,6 +283,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
1
,
"key_field"
:
1
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -283,6 +301,7 @@
...
@@ -283,6 +301,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -300,6 +319,7 @@
...
@@ -300,6 +319,7 @@
"data_type"
:
"VARCHAR"
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
},
},
{
{
...
@@ -318,6 +338,7 @@
...
@@ -318,6 +338,7 @@
"data_length"
:
100
,
"data_length"
:
100
,
"key_field"
:
0
,
"key_field"
:
0
,
"union_key"
:
"KEY1"
,
"union_key"
:
"KEY1"
,
"show_order"
:
1000
,
"major_field"
:
0
"major_field"
:
0
}
}
],
],
...
...
ibzpay-dependencies/pom.xml
浏览文件 @
506f84b4
...
@@ -233,12 +233,6 @@
...
@@ -233,12 +233,6 @@
<version>
${jsonwebtoken-jjwt.version}
</version>
<version>
${jsonwebtoken-jjwt.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
<version>
${alibaba-druid.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.zalando
</groupId>
<groupId>
org.zalando
</groupId>
<artifactId>
problem-spring-web
</artifactId>
<artifactId>
problem-spring-web
</artifactId>
...
@@ -351,6 +345,8 @@
...
@@ -351,6 +345,8 @@
</dependency>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
ibzpay-util/src/main/java/cn/ibizlab/util/annotation/DEField.java
浏览文件 @
506f84b4
...
@@ -2,6 +2,7 @@ package cn.ibizlab.util.annotation;
...
@@ -2,6 +2,7 @@ package cn.ibizlab.util.annotation;
import
cn.ibizlab.util.enums.DEFieldDefaultValueType
;
import
cn.ibizlab.util.enums.DEFieldDefaultValueType
;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
cn.ibizlab.util.enums.DEPredefinedFieldType
;
import
cn.ibizlab.util.enums.DupCheck
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.Retention
;
import
java.lang.annotation.RetentionPolicy
;
import
java.lang.annotation.RetentionPolicy
;
...
@@ -66,5 +67,14 @@ public @interface DEField
...
@@ -66,5 +67,14 @@ public @interface DEField
* @return
* @return
*/
*/
String
format
()
default
""
;
String
format
()
default
""
;
/**
* 重复性检查
* @return
*/
DupCheck
dupCheck
()
default
DupCheck
.
NONE
;
/**
* 范围属性
*/
String
dupCheckField
()
default
""
;
}
}
ibzpay-util/src/main/java/cn/ibizlab/util/dict/StaticDict.java
0 → 100644
浏览文件 @
506f84b4
package
cn
.
ibizlab
.
util
.
dict
;
import
lombok.Getter
;
public
class
StaticDict
{
/**
* 代码表[扩展表格单元格垂直对齐方式]
*/
@Getter
public
enum
CodeList75
{
TOP
(
"TOP"
,
"上对齐"
),
MIDDLE
(
"MIDDLE"
,
"居中对齐"
),
BOTTOM
(
"BOTTOM"
,
"下对齐"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList75
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据库触发器目标]
*/
@Getter
public
enum
CodeList68
{
TABLE
(
"TABLE"
,
"主表"
),
VIEW
(
"VIEW"
,
"视图"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList68
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[审计行为]
*/
@Getter
public
enum
CodeList27
{
CREATE
(
"CREATE"
,
"建立"
),
UPDATE
(
"UPDATE"
,
"更新"
),
DELETE
(
"DELETE"
,
"删除"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList27
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[平台内置处理组件类型]
*/
@Getter
public
enum
CodeList118
{
CODELISTFILLER
(
"CODELISTFILLER"
,
"代码表填充器"
),
WFPROCESS
(
"WFPROCESS"
,
"工作流嵌入处理"
),
DGACTIONHELPER
(
"DGACTIONHELPER"
,
"表格后台处理对象"
),
FORMACTIONHELPER
(
"FORMACTIONHELPER"
,
"表单后台处理类"
),
PAGE
(
"PAGE"
,
"页面对象"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList118
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[消息模板内容类型]
*/
@Getter
public
enum
CodeList42
{
TEXT
(
"TEXT"
,
"纯文本"
),
HTML
(
"HTML"
,
"HTML网页"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList42
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[字段查询扩展选项]
*/
@Getter
public
enum
CodeList60
{
LIKE
(
"LIKE"
,
"LIKE大小写敏感"
),
EQ
(
"="
,
"=(含其它)大小写敏感"
),
LIKESPLIT
(
"LIKESPLIT"
,
"LIKE分解"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList60
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[年份(2010~2020)]
*/
@Getter
public
enum
CodeList81
{
ITEM_2010
(
"2010"
,
"2010年"
),
ITEM_2011
(
"2011"
,
"2011年"
),
ITEM_2012
(
"2012"
,
"2012年"
),
ITEM_2013
(
"2013"
,
"2013年"
),
ITEM_2014
(
"2014"
,
"2014年"
),
ITEM_2015
(
"2015"
,
"2015年"
),
ITEM_2016
(
"2016"
,
"2016年"
),
ITEM_2017
(
"2017"
,
"2017年"
),
ITEM_2018
(
"2018"
,
"2018年"
),
ITEM_2019
(
"2019"
,
"2019年"
),
ITEM_2020
(
"2020"
,
"2020年"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList81
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[季度(1~4)]
*/
@Getter
public
enum
CodeList83
{
ITEM_1
(
"1"
,
"1季度"
),
ITEM_2
(
"2"
,
"2季度"
),
ITEM_3
(
"3"
,
"3季度"
),
ITEM_4
(
"4"
,
"4季度"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList83
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[树视图节点类型]
*/
@Getter
public
enum
CodeList94
{
STATIC
(
"STATIC"
,
"静态"
),
DE
(
"DE"
,
"动态(实体)"
),
CODELIST
(
"CODELIST"
,
"动态(代码表)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList94
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[补字应用场合类型]
*/
@Getter
public
enum
CodeList30
{
GG
(
"GG"
,
"公共"
),
SH
(
"SH"
,
"审核"
),
PG
(
"PG"
,
"派工"
),
SABTYY
(
"SABTYY"
,
"SABTYY"
),
RKDSH
(
"RKDSH"
,
"入库单审核"
),
CKDSH
(
"CKDSH"
,
"出库单审核"
),
BSDSH
(
"BSDSH"
,
"报损单审核"
),
SAOA
(
"SAOA"
,
"SAOA"
),
FW
(
"FW"
,
"发文"
),
SW
(
"SW"
,
"收文"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList30
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[页面跳转处理_页面类型]
*/
@Getter
public
enum
CodeList113
{
PAGE
(
"PAGE"
,
"内置页面"
),
URL
(
"URL"
,
"网页路径"
),
SCRIPT
(
"SCRIPT"
,
"脚本"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList113
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据操作步骤]
*/
@Getter
public
enum
CodeList11
{
USERDECLARE
(
"USERDECLARE"
,
"变量定义"
),
USERINIT
(
"USERINIT"
,
"变量初始化"
),
INPUTCHECK
(
"INPUTCHECK"
,
"数据检查"
),
BEFOREACTION
(
"BEFOREACTION"
,
"操作之前"
),
EXECUTEACTION
(
"EXECUTEACTION"
,
"执行操作"
),
AFTERACTION
(
"AFTERACTION"
,
"操作之后"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList11
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[代码发布路径]
*/
@Getter
public
enum
CodeList116
{
DEFAULT
(
"DEFAULT"
,
"默认"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList116
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[年周(1~52)]
*/
@Getter
public
enum
CodeList84
{
ITEM_01
(
"01"
,
"第1周"
),
ITEM_02
(
"02"
,
"第2周"
),
ITEM_03
(
"03"
,
"第3周"
),
ITEM_04
(
"04"
,
"第4周"
),
ITEM_05
(
"05"
,
"第5周"
),
ITEM_06
(
"06"
,
"第6周"
),
ITEM_07
(
"07"
,
"第7周"
),
ITEM_08
(
"08"
,
"第8周"
),
ITEM_09
(
"09"
,
"第9周"
),
ITEM_10
(
"10"
,
"第10周"
),
ITEM_11
(
"11"
,
"第11周"
),
ITEM_12
(
"12"
,
"第12周"
),
ITEM_13
(
"13"
,
"第13周"
),
ITEM_14
(
"14"
,
"第14周"
),
ITEM_15
(
"15"
,
"第15周"
),
ITEM_16
(
"16"
,
"第16周"
),
ITEM_17
(
"17"
,
"第17周"
),
ITEM_18
(
"18"
,
"第18周"
),
ITEM_19
(
"19"
,
"第19周"
),
ITEM_20
(
"20"
,
"第20周"
),
ITEM_21
(
"21"
,
"第21周"
),
ITEM_22
(
"22"
,
"第22周"
),
ITEM_23
(
"23"
,
"第23周"
),
ITEM_24
(
"24"
,
"第24周"
),
ITEM_25
(
"25"
,
"第25周"
),
ITEM_26
(
"26"
,
"第26周"
),
ITEM_27
(
"27"
,
"第27周"
),
ITEM_28
(
"28"
,
"第28周"
),
ITEM_29
(
"29"
,
"第29周"
),
ITEM_30
(
"30"
,
"第30周"
),
ITEM_31
(
"31"
,
"第31周"
),
ITEM_32
(
"32"
,
"第32周"
),
ITEM_33
(
"33"
,
"第33周"
),
ITEM_34
(
"34"
,
"第34周"
),
ITEM_35
(
"35"
,
"第35周"
),
ITEM_36
(
"36"
,
"第36周"
),
ITEM_37
(
"37"
,
"第37周"
),
ITEM_38
(
"38"
,
"第38周"
),
ITEM_39
(
"39"
,
"第39周"
),
ITEM_40
(
"40"
,
"第40周"
),
ITEM_41
(
"41"
,
"第41周"
),
ITEM_42
(
"42"
,
"第42周"
),
ITEM_43
(
"43"
,
"第43周"
),
ITEM_44
(
"44"
,
"第44周"
),
ITEM_45
(
"45"
,
"第45周"
),
ITEM_46
(
"46"
,
"第46周"
),
ITEM_47
(
"47"
,
"第47周"
),
ITEM_48
(
"48"
,
"第48周"
),
ITEM_49
(
"49"
,
"第49周"
),
ITEM_50
(
"50"
,
"第50周"
),
ITEM_51
(
"51"
,
"第51周"
),
ITEM_52
(
"52"
,
"第52周"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList84
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据库触发器操作]
*/
@Getter
public
enum
CodeList65
{
BEFORE
(
"BEFORE"
,
"Before"
),
AFTER
(
"AFTER"
,
"After"
),
INSTEADOF
(
"INSTEADOF"
,
"Instead of"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList65
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[第三方平台]
*/
@Getter
public
enum
OpenAccessType
{
ALIYUN
(
"aliyun"
,
"阿里云"
),
WECHAT
(
"wechat"
,
"微信开放平台"
),
QQ
(
"qq"
,
"QQ互联"
),
DINGTALK
(
"dingtalk"
,
"钉钉开放平台"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
OpenAccessType
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[平台内置流程状态]
*/
@Getter
public
enum
WFStates
{
ITEM_0
(
"0"
,
"未启动"
),
ITEM_1
(
"1"
,
"流程中"
),
ITEM_2
(
"2"
,
"已完成"
),
ITEM_3
(
"3"
,
"已取消"
),
ITEM_31
(
"31"
,
"已取消(人工)"
),
ITEM_32
(
"32"
,
"已取消(超时)"
),
ITEM_4
(
"4"
,
"处理故障"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
WFStates
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[表单嵌入表格工具栏能力]
*/
@Getter
public
enum
CodeList77
{
INSERT
(
"INSERT"
,
"新建"
),
UPDATE
(
"UPDATE"
,
"更新"
),
DELETE
(
"DELETE"
,
"删除"
),
ROWEDIT
(
"ROWEDIT"
,
"启用行编辑"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList77
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[页面处理逻辑类型]
*/
@Getter
public
enum
CodeList70
{
AFTERINITPAGEPARAM
(
"AFTERINITPAGEPARAM"
,
"页面变量初始化之后"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList70
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[日期类型]
*/
@Getter
public
enum
CodeList48
{
ITEM_1
(
"1"
,
"每周"
),
ITEM_2
(
"2"
,
"每月"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList48
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[服务运行状态]
*/
@Getter
public
enum
CodeList38
{
START
(
"START"
,
"启动"
),
STOP
(
"STOP"
,
"停止"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList38
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[用户对象类型]
*/
@Getter
public
enum
CodeList5
{
USER
(
"USER"
,
"用户"
),
USERGROUP
(
"USERGROUP"
,
"用户组"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList5
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[DA日志操作类型]
*/
@Getter
public
enum
CodeList24
{
CREATE
(
"CREATE"
,
"新建"
),
UPDATE
(
"UPDATE"
,
"更新"
),
DELETE
(
"DELETE"
,
"删除"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList24
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[脚本功能]
*/
@Getter
public
enum
CodeList114
{
ITEM_1
(
"1"
,
"基础"
),
ITEM_128
(
"128"
,
"树视图常规"
),
ITEM_2
(
"2"
,
"树视图高级"
),
ITEM_4
(
"4"
,
"TAB视图"
),
ITEM_8
(
"8"
,
"动态面板"
),
ITEM_16
(
"16"
,
"搜索面板"
),
ITEM_32
(
"32"
,
"表格视图常规"
),
ITEM_64
(
"64"
,
"表格视图高级"
),
ITEM_256
(
"256"
,
"数据视图"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList114
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体快捷应用范围]
*/
@Getter
public
enum
CodeList41
{
ITEM_1
(
"1"
,
"拾取链接"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList41
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[是否(TRUE,FALSE)]
*/
@Getter
public
enum
TrueFalse
{
TRUE
(
"TRUE"
,
"是"
),
FALSE
(
"FALSE"
,
"否"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
TrueFalse
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[服务启动模式]
*/
@Getter
public
enum
CodeList37
{
AUTO
(
"AUTO"
,
"自动"
),
MANUAL
(
"MANUAL"
,
"手动"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList37
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体规则处理_操作逻辑]
*/
@Getter
public
enum
CodeList111
{
EQ
(
"="
,
"等于"
),
LTGT
(
"<>"
,
"不等于"
),
GTEQ
(
">="
,
"大于等于"
),
GT
(
">"
,
"大于"
),
LTEQ
(
"<="
,
"小于等于"
),
LT
(
"<"
,
"小于"
),
LIKE
(
"LIKE"
,
"文本匹配"
),
ISNULL
(
"ISNULL"
,
"为空"
),
ISNOTNULL
(
"ISNOTNULL"
,
"不为空"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList111
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[预定义属性类型]
*/
@Getter
public
enum
CodeList34
{
LOGICVALID
(
"LOGICVALID"
,
"逻辑有效标识"
),
CREATEMAN
(
"CREATEMAN"
,
"建立人"
),
CREATEDATE
(
"CREATEDATE"
,
"建立时间"
),
UPDATEMAN
(
"UPDATEMAN"
,
"更新人"
),
UPDATEDATE
(
"UPDATEDATE"
,
"更新时间"
),
ORGUNITID
(
"ORGUNITID"
,
"组织单元标识"
),
ORGUNITNAME
(
"ORGUNITNAME"
,
"组织单元名称"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList34
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[列编辑器样式]
*/
@Getter
public
enum
CodeList28
{
DROPDOWNLIST
(
"DROPDOWNLIST"
,
"下拉列表框"
),
PICKER
(
"PICKER"
,
"数据选择框"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList28
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据通知_时间条件]
*/
@Getter
public
enum
CodeList62
{
BEFORE
(
"BEFORE"
,
"之前"
),
AFTER
(
"AFTER"
,
"之后"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList62
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[网页部件类型]
*/
@Getter
public
enum
CodeList6
{
CHART
(
"CHART"
,
"图形部件"
),
LIST
(
"LIST"
,
"列表"
),
CUSTOMWP
(
"CUSTOMWP"
,
"自定义"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList6
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[星期(1~7)]
*/
@Getter
public
enum
CodeList46
{
ITEM_2
(
"2"
,
"星期一"
),
ITEM_3
(
"3"
,
"星期二"
),
ITEM_4
(
"4"
,
"星期三"
),
ITEM_5
(
"5"
,
"星期四"
),
ITEM_6
(
"6"
,
"星期五"
),
ITEM_7
(
"7"
,
"星期六"
),
ITEM_1
(
"1"
,
"星期日"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList46
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[DA日志对象类型]
*/
@Getter
public
enum
CodeList23
{
DATAENTITY
(
"DATAENTITY"
,
"实体"
),
DEFIELD
(
"DEFIELD"
,
"实体属性"
),
DER1N
(
"DER1N"
,
"实体关系"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList23
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[月周(1~5)]
*/
@Getter
public
enum
CodeList86
{
ITEM_1
(
"1"
,
"1周"
),
ITEM_2
(
"2"
,
"2周"
),
ITEM_3
(
"3"
,
"3周"
),
ITEM_4
(
"4"
,
"4周"
),
ITEM_5
(
"5"
,
"5周"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList86
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据库操作]
*/
@Getter
public
enum
CodeList89
{
INSERT
(
"INSERT"
,
"插入"
),
UPDATE
(
"UPDATE"
,
"更新"
),
DELETE
(
"DELETE"
,
"删除"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList89
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体属性更新模式]
*/
@Getter
public
enum
CodeList2
{
VERSION
(
"VERSION"
,
"版本模式"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList2
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[属性引用关系类型]
*/
@Getter
public
enum
CodeList90
{
DER1N
(
"DER1N"
,
"1:N关系"
),
DERCUSTOM
(
"DERCUSTOM"
,
"自定义关系"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList90
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体归属]
*/
@Getter
public
enum
CodeList19
{
SRFDA
(
"SRFDA"
,
"系统"
),
APPLICATION
(
"APPLICATION"
,
"应用"
),
USER
(
"USER"
,
"用户"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList19
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[DB2触发器代码模式]
*/
@Getter
public
enum
CodeList67
{
FOR_EACH_ROW
(
"For Each Row"
,
"For Each Row"
),
FOR_EACH_STATEMENT
(
"For Each Statement"
,
"For Each Statement"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList67
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[支付状态]
*/
@Getter
public
enum
TradeStatus
{
SUCCESS
(
"SUCCESS"
,
"支付成功"
),
REFUND
(
"REFUND"
,
"转入退款"
),
NOTPAY
(
"NOTPAY"
,
"未支付"
),
CLOSED
(
"CLOSED"
,
"已关闭"
),
REVOKED
(
"REVOKED"
,
"已撤销"
),
USERPAYING
(
"USERPAYING"
,
"支付中"
),
PAYERROR
(
"PAYERROR"
,
"支付失败"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
TradeStatus
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[功能类型]
*/
@Getter
public
enum
CodeList4
{
DEDATAGRID
(
"DEDATAGRID"
,
"默认实体表格视图"
),
PAGELINK
(
"PAGELINK"
,
"页面链接"
),
JSCODE
(
"JSCODE"
,
"纯JS代码"
),
DEGRIDVIEW
(
"DEGRIDVIEW"
,
"指定实体表格视图"
),
PAGE
(
"PAGE"
,
"内置页面"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList4
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[输入辅助_消息模板宏]
*/
@Getter
public
enum
CodeList102
{
CARETTEMPLGROUP_SRFMSG_MSGTEMPLATE
(
"CARETTEMPLGROUP_SRFMSG_MSGTEMPLATE"
,
"消息模板"
),
CARETTEMPLGROUP_SRFDA_FILLENTITYPARAM
(
"CARETTEMPLGROUP_SRFDA_FILLENTITYPARAM"
,
"系统属性"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList102
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[代码表或模式]
*/
@Getter
public
enum
CodeList20
{
NUMBERORMODE
(
"NUMBERORMODE"
,
"数字或处理"
),
STRINGORMODE
(
"STRINGORMODE"
,
"文本或模式"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList20
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[是否(蓝、红)]
*/
@Getter
public
enum
CodeList50
{
ITEM_1
(
"1"
,
"是"
),
ITEM_0
(
"0"
,
"否"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList50
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[表格列构建器]
*/
@Getter
public
enum
CodeList9
{
NUMBER
(
"NUMBER"
,
"数值"
),
CODELIST
(
"CODELIST"
,
"代码表"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList9
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[消息类型]
*/
@Getter
public
enum
CodeList29
{
ITEM_1
(
"1"
,
"系统消息"
),
ITEM_2
(
"2"
,
"电子邮件"
),
ITEM_4
(
"4"
,
"手机短信"
),
ITEM_8
(
"8"
,
"MSN消息"
),
ITEM_16
(
"16"
,
"检务通消息"
),
ITEM_32
(
"32"
,
"微信"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList29
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[工作日类型]
*/
@Getter
public
enum
CodeList45
{
ITEM_1
(
"1"
,
"工作日"
),
ITEM_2
(
"2"
,
"非工作日"
),
ITEM_3
(
"3"
,
"自定义工作日"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList45
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[扩展表格单元格水平对齐方式]
*/
@Getter
public
enum
CodeList74
{
LEFT
(
"LEFT"
,
"左对齐"
),
CENTER
(
"CENTER"
,
"居中"
),
RIGHT
(
"RIGHT"
,
"右对齐"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList74
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[文件编码]
*/
@Getter
public
enum
CodeList39
{
ANSI
(
"ANSI"
,
"ANSI"
),
UTF_SUB_8
(
"UTF-8"
,
"UTF-8"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList39
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[输入辅助_控件参数]
*/
@Getter
public
enum
CodeList101
{
CARETTEMPLGROUP_SRFDA_CONTROLPARAM
(
"CARETTEMPLGROUP_SRFDA_CONTROLPARAM"
,
"控件基本参数"
),
CARETTEMPLGROUP_SRFDA_CONTROLPARAM_CARET
(
"CARETTEMPLGROUP_SRFDA_CONTROLPARAM_CARET"
,
"辅助输入控件参数"
),
CARETTEMPLGROUP_SRFDA_CONTROLPARAM_PICKUP
(
"CARETTEMPLGROUP_SRFDA_CONTROLPARAM_PICKUP"
,
"选择控件参数"
),
CARETTEMPLGROUP_SRFDA_CONTROLPARAM_TEXTBOX
(
"CARETTEMPLGROUP_SRFDA_CONTROLPARAM_TEXTBOX"
,
"文本控件参数"
),
CARETTEMPLGROUP_SRFDA_CONTROLPARAM_PICKUPLISTBOX
(
"CARETTEMPLGROUP_SRFDA_CONTROLPARAM_PICKUPLISTBOX"
,
"选择列表控件参数"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList101
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体属性表单默认值类型]
*/
@Getter
public
enum
CodeList3
{
SESSION
(
"SESSION"
,
"用户全局对象"
),
APPLICATION
(
"APPLICATION"
,
"系统全局对象"
),
UNIQUEID
(
"UNIQUEID"
,
"唯一编码"
),
CONTEXT
(
"CONTEXT"
,
"网页请求"
),
PARAM
(
"PARAM"
,
"数据对象属性"
),
OPERATOR
(
"OPERATOR"
,
"当前操作用户(编号)"
),
OPERATORNAME
(
"OPERATORNAME"
,
"当前操作用户(名称)"
),
CURTIME
(
"CURTIME"
,
"当前时间"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList3
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体属性插入模式]
*/
@Getter
public
enum
CodeList1
{
VERSION
(
"VERSION"
,
"版本模式"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList1
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[日志级别]
*/
@Getter
public
enum
CodeList32
{
ITEM_50000
(
"50000"
,
"致命(FATAL)"
),
ITEM_40000
(
"40000"
,
"错误(ERROR)"
),
ITEM_30000
(
"30000"
,
"警告(WARN)"
),
ITEM_20000
(
"20000"
,
"信息(INFO)"
),
ITEM_10000
(
"10000"
,
"调试(DEBUG)"
),
ITEM_5000
(
"5000"
,
"调试(TRACE)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList32
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[时间维度类型]
*/
@Getter
public
enum
CodeList87
{
YM
(
"YM"
,
"年、月"
),
YMW
(
"YMW"
,
"年、月、周"
),
YMWD
(
"YMWD"
,
"年、月、周、天"
),
YMWDH
(
"YMWDH"
,
"年、月、周、天、小时"
),
YMD
(
"YMD"
,
"年、月、天"
),
YMDH
(
"YMDH"
,
"年、月、天、小时"
),
YW
(
"YW"
,
"年、周"
),
YWD
(
"YWD"
,
"年、周、天"
),
YWDH
(
"YWDH"
,
"年、周、天、小时"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList87
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[物理信息更新模式]
*/
@Getter
public
enum
CodeList57
{
UPDATEWHENMODIFY
(
"UPDATEWHENMODIFY"
,
"变更时更新"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList57
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[统一资源类型]
*/
@Getter
public
enum
CodeList16
{
PAGE
(
"PAGE"
,
"内置页面"
),
REPORT
(
"REPORT"
,
"报表"
),
CUSTOM
(
"CUSTOM"
,
"自定义"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList16
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[缩略界面类型]
*/
@Getter
public
enum
CodeList7
{
FORM
(
"FORM"
,
"表单"
),
PAGE
(
"PAGE"
,
"内置页面"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList7
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[周期时间类型]
*/
@Getter
public
enum
CodeList40
{
MONTH
(
"MONTH"
,
"月度"
),
SEASON
(
"SEASON"
,
"季度"
),
WEEK
(
"WEEK"
,
"周"
),
DAY
(
"DAY"
,
"天"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList40
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体数据操作]
*/
@Getter
public
enum
CodeList10
{
INSERT
(
"INSERT"
,
"插入"
),
UPDATE
(
"UPDATE"
,
"更新"
),
DELETE
(
"DELETE"
,
"删除"
),
SELECT
(
"SELECT"
,
"简单查询"
),
CUSTOMCALL
(
"CUSTOMCALL"
,
"自定义"
),
CUSTOMPROCCALL
(
"CUSTOMPROCCALL"
,
"自定义存储过程"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList10
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[补丁归属]
*/
@Getter
public
enum
CodeList36
{
ITEM_1
(
"1"
,
"框架基本"
),
ITEM_2
(
"2"
,
"框架高级"
),
ITEM_4
(
"4"
,
"工作流"
),
ITEM_8
(
"8"
,
"EAI"
),
ITEM_16
(
"16"
,
"UAC"
),
ITEM_32
(
"32"
,
"全文检索"
),
ITEM_64
(
"64"
,
"数据分析"
),
ITEM_128
(
"128"
,
"基础网盘"
),
ITEM_256
(
"256"
,
"基础组织"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList36
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[动态面板分区缩放样式]
*/
@Getter
public
enum
CodeList93
{
EXPAND
(
"EXPAND"
,
"展开"
),
COLLAPSE
(
"COLLAPSE"
,
"收缩"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList93
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[时间分组类型]
*/
@Getter
public
enum
CodeList92
{
Q
(
"Q"
,
"季度"
),
M
(
"M"
,
"月份"
),
D
(
"D"
,
"月天"
),
H
(
"H"
,
"小时"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList92
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体数据处理_数据对象操作]
*/
@Getter
public
enum
CodeList107
{
CREATENEW
(
"CREATENEW"
,
"新建数据对象"
),
CREATEFROM
(
"CREATEFROM"
,
"拷贝新建数据对象"
),
COPY
(
"COPY"
,
"拷贝数据对象"
),
COPYRESET
(
"COPYRESET"
,
"拷贝数据对象(重置)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList107
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体属性访问控制]
*/
@Getter
public
enum
CodeList88
{
NONE
(
"NONE"
,
"无"
),
READ
(
"READ"
,
"读取"
),
UPDATE
(
"UPDATE"
,
"更新"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList88
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[支付类型]
*/
@Getter
public
enum
TradeType
{
ALIPAY_SUB_PAGEPAY
(
"alipay-pagepay"
,
"阿里网页支付"
),
WECHAT_SUB_PRECREATE
(
"wechat-precreate"
,
"微信扫码支付"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
TradeType
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体存储类型]
*/
@Getter
public
enum
CodeList80
{
STATIC
(
"STATIC"
,
"静态存储"
),
DYNAMIC
(
"DYNAMIC"
,
"动态存储"
),
NONE
(
"NONE"
,
"无存储"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList80
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[图表控件_表格位置]
*/
@Getter
public
enum
CodeList52
{
NONE
(
"NONE"
,
"无表格"
),
TOPLEFT
(
"TOPLEFT"
,
"上左"
),
TOP
(
"TOP"
,
"上中"
),
TOPRIGHT
(
"TOPRIGHT"
,
"上右"
),
BOTTOMLEFT
(
"BOTTOMLEFT"
,
"下左"
),
BOTTOM
(
"BOTTOM"
,
"下中"
),
BOTTOMRIGHT
(
"BOTTOMRIGHT"
,
"下右"
),
LEFTTOP
(
"LEFTTOP"
,
"左上"
),
LEFT
(
"LEFT"
,
"左中"
),
LEFTBOTTOM
(
"LEFTBOTTOM"
,
"左下"
),
RIGHTTOP
(
"RIGHTTOP"
,
"右上"
),
RIGHT
(
"RIGHT"
,
"右中"
),
RIGHTBOTTOM
(
"RIGHTBOTTOM"
,
"右下"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList52
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[日历、邮件重要程度]
*/
@Getter
public
enum
CodeList8
{
HIGH
(
"HIGH"
,
"高"
),
NORMAL
(
"NORMAL"
,
"普通"
),
LOW
(
"LOW"
,
"低"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList8
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[输入辅助_实体处理逻辑代码]
*/
@Getter
public
enum
CodeList103
{
CARETTEMPLGROUP_SRFDA_DEDCCONTEXT
(
"CARETTEMPLGROUP_SRFDA_DEDCCONTEXT"
,
"实体处理逻辑引擎"
),
CARETTEMPLGROUP_SRFDA_DEACTION
(
"CARETTEMPLGROUP_SRFDA_DEACTION"
,
"实体属性操作"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList103
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[系统错误代码]
*/
@Getter
public
enum
CodeList35
{
ITEM_0
(
"0"
,
"正确(0)"
),
ITEM_1
(
"1"
,
"内部发生错误(INTERNALERROR)"
),
ITEM_2
(
"2"
,
"访问被拒绝(ACCESSDENY)"
),
ITEM_3
(
"3"
,
"无效的数据(INVALIDDATA)"
),
ITEM_4
(
"4"
,
"无效的数据键(INVALIDDATAKEYS)"
),
ITEM_5
(
"5"
,
"输入的信息有误(INPUTERROR)"
),
ITEM_6
(
"6"
,
"重复的数据键值(DUPLICATEKEY)"
),
ITEM_7
(
"7"
,
"重复的数据(DUPLICATEDATA)"
),
ITEM_8
(
"8"
,
"删除拒绝(DELETEREJECT)"
),
ITEM_9
(
"9"
,
"逻辑处理错误(LOGICERROR)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList35
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[语言资源类型]
*/
@Getter
public
enum
CodeList55
{
DEF_LNAME
(
"DEF.LNAME"
,
"实体属性逻辑名称"
),
CL_ITEM_LNAME
(
"CL.ITEM.LNAME"
,
"代码表项"
),
TBB_TEXT
(
"TBB.TEXT"
,
"工具栏按钮文本"
),
TBB_TOOLTIP
(
"TBB.TOOLTIP"
,
"工具栏按钮提示"
),
MENUITEM_CAPTION
(
"MENUITEM.CAPTION"
,
"菜单项文本"
),
PAGE_HEADER
(
"PAGE.HEADER"
,
"界面头部标题"
),
PAGE_COMMON
(
"PAGE.COMMON"
,
"界面常规"
),
CONTROL
(
"CONTROL"
,
"控件文本"
),
ERROR_STD
(
"ERROR.STD"
,
"标准错误"
),
CTRL
(
"CTRL"
,
"处理逻辑"
),
COMMON
(
"COMMON"
,
"通用"
),
OTHER
(
"OTHER"
,
"其它"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList55
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据库类型]
*/
@Getter
public
enum
CodeList33
{
DB2
(
"DB2"
,
"DB2"
),
ORACLE
(
"ORACLE"
,
"ORACLE"
),
MSSQL
(
"MSSQL"
,
"MSSQLSERVER"
),
MYSQL
(
"MYSQL"
,
"MySQL"
),
SYBASE
(
"SYBASE"
,
"SYBASE"
),
INFORMIX
(
"INFORMIX"
,
"INFORMIX"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList33
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[时区]
*/
@Getter
public
enum
CodeList59
{
ETC_GMT_ADD_12
(
"Etc/GMT+12"
,
"(UTC-12:00)GMT-12:00"
),
ETC_GMT_ADD_11
(
"Etc/GMT+11"
,
"(UTC-11:00)GMT-11:00"
),
MIT
(
"MIT"
,
"(UTC-11:00)West Samoa Time"
),
PACIFIC_MIDWAY
(
"Pacific/Midway"
,
"(UTC-11:00)Samoa Standard Time"
),
PACIFIC_NIUE
(
"Pacific/Niue"
,
"(UTC-11:00)Niue Time"
),
AMERICA_ADAK
(
"America/Adak"
,
"(UTC-10:00)Hawaii-Aleutian Standard Time"
),
ETC_GMT_ADD_10
(
"Etc/GMT+10"
,
"(UTC-10:00)GMT-10:00"
),
HST
(
"HST"
,
"(UTC-10:00)Hawaii Standard Time"
),
PACIFIC_FAKAOFO
(
"Pacific/Fakaofo"
,
"(UTC-10:00)Tokelau Time"
),
PACIFIC_RAROTONGA
(
"Pacific/Rarotonga"
,
"(UTC-10:00)Cook Is. Time"
),
PACIFIC_TAHITI
(
"Pacific/Tahiti"
,
"(UTC-10:00)Tahiti Time"
),
PACIFIC_MARQUESAS
(
"Pacific/Marquesas"
,
"(UTC-9:00)Marquesas Time"
),
AST
(
"AST"
,
"(UTC-9:00)Alaska Standard Time"
),
ETC_GMT_ADD_9
(
"Etc/GMT+9"
,
"(UTC-9:00)GMT-09:00"
),
PACIFIC_GAMBIER
(
"Pacific/Gambier"
,
"(UTC-9:00)Gambier Time"
),
AMERICA_DAWSON
(
"America/Dawson"
,
"(UTC-8:00)Pacific Standard Time"
),
ETC_GMT_ADD_8
(
"Etc/GMT+8"
,
"(UTC-8:00)GMT-08:00"
),
PACIFIC_PITCAIRN
(
"Pacific/Pitcairn"
,
"(UTC-8:00)Pitcairn Standard Time"
),
AMERICA_BOISE
(
"America/Boise"
,
"(UTC-7:00)Mountain Standard Time"
),
ETC_GMT_ADD_7
(
"Etc/GMT+7"
,
"(UTC-7:00)GMT-07:00"
),
AMERICA_BELIZE
(
"America/Belize"
,
"(UTC-6:00)Central Standard Time"
),
CHILE_EASTERISLAND
(
"Chile/EasterIsland"
,
"(UTC-6:00)Easter Is. Time"
),
ETC_GMT_ADD_6
(
"Etc/GMT+6"
,
"(UTC-6:00)GMT-06:00"
),
PACIFIC_GALAPAGOS
(
"Pacific/Galapagos"
,
"(UTC-6:00)Galapagos Time"
),
AMERICA_ATIKOKAN
(
"America/Atikokan"
,
"(UTC-5:00)Eastern Standard Time"
),
AMERICA_BOGOTA
(
"America/Bogota"
,
"(UTC-5:00)Colombia Time"
),
AMERICA_EIRUNEPE
(
"America/Eirunepe"
,
"(UTC-5:00)Acre Time"
),
AMERICA_GUAYAQUIL
(
"America/Guayaquil"
,
"(UTC-5:00)Ecuador Time"
),
AMERICA_HAVANA
(
"America/Havana"
,
"(UTC-5:00)Cuba Standard Time"
),
AMERICA_LIMA
(
"America/Lima"
,
"(UTC-5:00)Peru Time"
),
ETC_GMT_ADD_5
(
"Etc/GMT+5"
,
"(UTC-5:00)GMT-05:00"
),
AMERICA_CARACAS
(
"America/Caracas"
,
"(UTC-4:00)Venezuela Time"
),
AMERICA_ANGUILLA
(
"America/Anguilla"
,
"(UTC-4:00)Atlantic Standard Time"
),
AMERICA_ASUNCION
(
"America/Asuncion"
,
"(UTC-4:00)Paraguay Time"
),
AMERICA_BOA_VISTA
(
"America/Boa_Vista"
,
"(UTC-4:00)Amazon Time"
),
AMERICA_GUYANA
(
"America/Guyana"
,
"(UTC-4:00)Guyana Time"
),
AMERICA_LA_PAZ
(
"America/La_Paz"
,
"(UTC-4:00)Bolivia Time"
),
AMERICA_SANTIAGO
(
"America/Santiago"
,
"(UTC-4:00)Chile Time"
),
ATLANTIC_STANLEY
(
"Atlantic/Stanley"
,
"(UTC-4:00)Falkland Is. Time"
),
ETC_GMT_ADD_4
(
"Etc/GMT+4"
,
"(UTC-4:00)GMT-04:00"
),
AMERICA_ST_JOHNS
(
"America/St_Johns"
,
"(UTC-3:00)Newfoundland Standard Time"
),
AGT
(
"AGT"
,
"(UTC-3:00)Argentine Time"
),
AMERICA_ARAGUAINA
(
"America/Araguaina"
,
"(UTC-3:00)Brasilia Time"
),
AMERICA_CAYENNE
(
"America/Cayenne"
,
"(UTC-3:00)French Guiana Time"
),
AMERICA_GODTHAB
(
"America/Godthab"
,
"(UTC-3:00)Western Greenland Time"
),
AMERICA_MIQUELON
(
"America/Miquelon"
,
"(UTC-3:00)Pierre & Miquelon Standard Time"
),
AMERICA_MONTEVIDEO
(
"America/Montevideo"
,
"(UTC-3:00)Uruguay Time"
),
AMERICA_PARAMARIBO
(
"America/Paramaribo"
,
"(UTC-3:00)Suriname Time"
),
ANTARCTICA_ROTHERA
(
"Antarctica/Rothera"
,
"(UTC-3:00)Rothera Time"
),
ETC_GMT_ADD_3
(
"Etc/GMT+3"
,
"(UTC-3:00)GMT-03:00"
),
AMERICA_NORONHA
(
"America/Noronha"
,
"(UTC-2:00)Fernando de Noronha Time"
),
ATLANTIC_SOUTH_GEORGIA
(
"Atlantic/South_Georgia"
,
"(UTC-2:00)South Georgia Standard Time"
),
ETC_GMT_ADD_2
(
"Etc/GMT+2"
,
"(UTC-2:00)GMT-02:00"
),
AMERICA_SCORESBYSUND
(
"America/Scoresbysund"
,
"(UTC-1:00)Eastern Greenland Time"
),
ATLANTIC_AZORES
(
"Atlantic/Azores"
,
"(UTC-1:00)Azores Time"
),
ATLANTIC_CAPE_VERDE
(
"Atlantic/Cape_Verde"
,
"(UTC-1:00)Cape Verde Time"
),
ETC_GMT_ADD_1
(
"Etc/GMT+1"
,
"(UTC-1:00)GMT-01:00"
),
AFRICA_ABIDJAN
(
"Africa/Abidjan"
,
"(UTC0:00)Greenwich Mean Time"
),
AFRICA_ACCRA
(
"Africa/Accra"
,
"(UTC0:00)Ghana Mean Time"
),
AFRICA_CASABLANCA
(
"Africa/Casablanca"
,
"(UTC0:00)Western European Time"
),
ETC_GMT
(
"Etc/GMT"
,
"(UTC0:00)GMT+00:00"
),
ETC_UCT
(
"Etc/UCT"
,
"(UTC0:00)Coordinated Universal Time"
),
AFRICA_ALGIERS
(
"Africa/Algiers"
,
"(UTC+1:00)Central European Time"
),
AFRICA_BANGUI
(
"Africa/Bangui"
,
"(UTC+1:00)Western African Time"
),
ETC_GMT_SUB_1
(
"Etc/GMT-1"
,
"(UTC+1:00)GMT+01:00"
),
MET
(
"MET"
,
"(UTC+1:00)Middle Europe Time"
),
ART
(
"ART"
,
"(UTC+2:00)Eastern European Time"
),
AFRICA_BLANTYRE
(
"Africa/Blantyre"
,
"(UTC+2:00)Central African Time"
),
AFRICA_JOHANNESBURG
(
"Africa/Johannesburg"
,
"(UTC+2:00)South Africa Standard Time"
),
ASIA_JERUSALEM
(
"Asia/Jerusalem"
,
"(UTC+2:00)Israel Standard Time"
),
ETC_GMT_SUB_2
(
"Etc/GMT-2"
,
"(UTC+2:00)GMT+02:00"
),
AFRICA_ADDIS_ABABA
(
"Africa/Addis_Ababa"
,
"(UTC+3:00)Eastern African Time"
),
ANTARCTICA_SYOWA
(
"Antarctica/Syowa"
,
"(UTC+3:00)Syowa Time"
),
ASIA_ADEN
(
"Asia/Aden"
,
"(UTC+3:00)Arabia Standard Time"
),
ETC_GMT_SUB_3
(
"Etc/GMT-3"
,
"(UTC+3:00)GMT+03:00"
),
EUROPE_MOSCOW
(
"Europe/Moscow"
,
"(UTC+3:00)Moscow Standard Time"
),
EUROPE_VOLGOGRAD
(
"Europe/Volgograd"
,
"(UTC+3:00)Volgograd Time"
),
ASIA_RIYADH87
(
"Asia/Riyadh87"
,
"(UTC+3:00)GMT+03:07"
),
ASIA_TEHRAN
(
"Asia/Tehran"
,
"(UTC+3:00)Iran Standard Time"
),
ASIA_BAKU
(
"Asia/Baku"
,
"(UTC+4:00)Azerbaijan Time"
),
ASIA_DUBAI
(
"Asia/Dubai"
,
"(UTC+4:00)Gulf Standard Time"
),
ASIA_TBILISI
(
"Asia/Tbilisi"
,
"(UTC+4:00)Georgia Time"
),
ASIA_YEREVAN
(
"Asia/Yerevan"
,
"(UTC+4:00)Armenia Time"
),
ETC_GMT_SUB_4
(
"Etc/GMT-4"
,
"(UTC+4:00)GMT+04:00"
),
EUROPE_SAMARA
(
"Europe/Samara"
,
"(UTC+4:00)Samara Time"
),
INDIAN_MAHE
(
"Indian/Mahe"
,
"(UTC+4:00)Seychelles Time"
),
INDIAN_MAURITIUS
(
"Indian/Mauritius"
,
"(UTC+4:00)Mauritius Time"
),
INDIAN_REUNION
(
"Indian/Reunion"
,
"(UTC+4:00)Reunion Time"
),
ASIA_KABUL
(
"Asia/Kabul"
,
"(UTC+4:00)Afghanistan Time"
),
ASIA_AQTAU
(
"Asia/Aqtau"
,
"(UTC+5:00)Aqtau Time"
),
ASIA_AQTOBE
(
"Asia/Aqtobe"
,
"(UTC+5:00)Aqtobe Time"
),
ASIA_ASHGABAT
(
"Asia/Ashgabat"
,
"(UTC+5:00)Turkmenistan Time"
),
ASIA_DUSHANBE
(
"Asia/Dushanbe"
,
"(UTC+5:00)Tajikistan Time"
),
ASIA_KARACHI
(
"Asia/Karachi"
,
"(UTC+5:00)Pakistan Time"
),
ASIA_ORAL
(
"Asia/Oral"
,
"(UTC+5:00)Oral Time"
),
ASIA_SAMARKAND
(
"Asia/Samarkand"
,
"(UTC+5:00)Uzbekistan Time"
),
ASIA_YEKATERINBURG
(
"Asia/Yekaterinburg"
,
"(UTC+5:00)Yekaterinburg Time"
),
ETC_GMT_SUB_5
(
"Etc/GMT-5"
,
"(UTC+5:00)GMT+05:00"
),
INDIAN_KERGUELEN
(
"Indian/Kerguelen"
,
"(UTC+5:00)French Southern & Antarctic Lands Time"
),
INDIAN_MALDIVES
(
"Indian/Maldives"
,
"(UTC+5:00)Maldives Time"
),
ASIA_CALCUTTA
(
"Asia/Calcutta"
,
"(UTC+5:00)India Standard Time"
),
ASIA_KATMANDU
(
"Asia/Katmandu"
,
"(UTC+5:00)Nepal Time"
),
ANTARCTICA_MAWSON
(
"Antarctica/Mawson"
,
"(UTC+6:00)Mawson Time"
),
ANTARCTICA_VOSTOK
(
"Antarctica/Vostok"
,
"(UTC+6:00)Vostok Time"
),
ASIA_ALMATY
(
"Asia/Almaty"
,
"(UTC+6:00)Alma-Ata Time"
),
ASIA_BISHKEK
(
"Asia/Bishkek"
,
"(UTC+6:00)Kirgizstan Time"
),
ASIA_DACCA
(
"Asia/Dacca"
,
"(UTC+6:00)Bangladesh Time"
),
ASIA_NOVOSIBIRSK
(
"Asia/Novosibirsk"
,
"(UTC+6:00)Novosibirsk Time"
),
ASIA_OMSK
(
"Asia/Omsk"
,
"(UTC+6:00)Omsk Time"
),
ASIA_QYZYLORDA
(
"Asia/Qyzylorda"
,
"(UTC+6:00)Qyzylorda Time"
),
ASIA_THIMBU
(
"Asia/Thimbu"
,
"(UTC+6:00)Bhutan Time"
),
ETC_GMT_SUB_6
(
"Etc/GMT-6"
,
"(UTC+6:00)GMT+06:00"
),
INDIAN_CHAGOS
(
"Indian/Chagos"
,
"(UTC+6:00)Indian Ocean Territory Time"
),
ASIA_RANGOON
(
"Asia/Rangoon"
,
"(UTC+6:00)Myanmar Time"
),
INDIAN_COCOS
(
"Indian/Cocos"
,
"(UTC+6:00)Cocos Islands Time"
),
ANTARCTICA_DAVIS
(
"Antarctica/Davis"
,
"(UTC+7:00)Davis Time"
),
ASIA_BANGKOK
(
"Asia/Bangkok"
,
"(UTC+7:00)Indochina Time"
),
ASIA_HOVD
(
"Asia/Hovd"
,
"(UTC+7:00)Hovd Time"
),
ASIA_JAKARTA
(
"Asia/Jakarta"
,
"(UTC+7:00)West Indonesia Time"
),
ASIA_KRASNOYARSK
(
"Asia/Krasnoyarsk"
,
"(UTC+7:00)Krasnoyarsk Time"
),
ETC_GMT_SUB_7
(
"Etc/GMT-7"
,
"(UTC+7:00)GMT+07:00"
),
INDIAN_CHRISTMAS
(
"Indian/Christmas"
,
"(UTC+7:00)Christmas Island Time"
),
ANTARCTICA_CASEY
(
"Antarctica/Casey"
,
"(UTC+8:00)Western Standard Time (Australia)"
),
ASIA_BRUNEI
(
"Asia/Brunei"
,
"(UTC+8:00)Brunei Time"
),
ASIA_CHOIBALSAN
(
"Asia/Choibalsan"
,
"(UTC+8:00)Choibalsan Time"
),
ASIA_SHANGHAI
(
"Asia/Shanghai"
,
"(UTC+8:00)China Standard Time"
),
ASIA_HONG_KONG
(
"Asia/Hong_Kong"
,
"(UTC+8:00)Hong Kong Time"
),
ASIA_IRKUTSK
(
"Asia/Irkutsk"
,
"(UTC+8:00)Irkutsk Time"
),
ASIA_KUALA_LUMPUR
(
"Asia/Kuala_Lumpur"
,
"(UTC+8:00)Malaysia Time"
),
ASIA_MAKASSAR
(
"Asia/Makassar"
,
"(UTC+8:00)Central Indonesia Time"
),
ASIA_MANILA
(
"Asia/Manila"
,
"(UTC+8:00)Philippines Time"
),
ASIA_SINGAPORE
(
"Asia/Singapore"
,
"(UTC+8:00)Singapore Time"
),
ASIA_ULAANBAATAR
(
"Asia/Ulaanbaatar"
,
"(UTC+8:00)Ulaanbaatar Time"
),
ETC_GMT_SUB_8
(
"Etc/GMT-8"
,
"(UTC+8:00)GMT+08:00"
),
AUSTRALIA_EUCLA
(
"Australia/Eucla"
,
"(UTC+8:00)Central Western Standard Time (Australia)"
),
ASIA_DILI
(
"Asia/Dili"
,
"(UTC+9:00)Timor-Leste Time"
),
ASIA_JAYAPURA
(
"Asia/Jayapura"
,
"(UTC+9:00)East Indonesia Time"
),
ASIA_PYONGYANG
(
"Asia/Pyongyang"
,
"(UTC+9:00)Korea Standard Time"
),
ASIA_TOKYO
(
"Asia/Tokyo"
,
"(UTC+9:00)Japan Standard Time"
),
ASIA_YAKUTSK
(
"Asia/Yakutsk"
,
"(UTC+9:00)Yakutsk Time"
),
ETC_GMT_SUB_9
(
"Etc/GMT-9"
,
"(UTC+9:00)GMT+09:00"
),
PACIFIC_PALAU
(
"Pacific/Palau"
,
"(UTC+9:00)Palau Time"
),
ACT
(
"ACT"
,
"(UTC+9:00)Central Standard Time (Northern Territory)"
),
AUSTRALIA_ADELAIDE
(
"Australia/Adelaide"
,
"(UTC+9:00)Central Standard Time (South Australia)"
),
AUSTRALIA_BROKEN_HILL
(
"Australia/Broken_Hill"
,
"(UTC+9:00)Central Standard Time (South Australia/New South Wales)"
),
AET
(
"AET"
,
"(UTC+10:00)Eastern Standard Time (New South Wales)"
),
ANTARCTICA_DUMONTDURVILLE
(
"Antarctica/DumontDUrville"
,
"(UTC+10:00)Dumont-d|Urville Time"
),
ASIA_SAKHALIN
(
"Asia/Sakhalin"
,
"(UTC+10:00)Sakhalin Time"
),
ASIA_VLADIVOSTOK
(
"Asia/Vladivostok"
,
"(UTC+10:00)Vladivostok Time"
),
AUSTRALIA_BRISBANE
(
"Australia/Brisbane"
,
"(UTC+10:00)Eastern Standard Time (Queensland)"
),
AUSTRALIA_HOBART
(
"Australia/Hobart"
,
"(UTC+10:00)Eastern Standard Time (Tasmania)"
),
AUSTRALIA_MELBOURNE
(
"Australia/Melbourne"
,
"(UTC+10:00)Eastern Standard Time (Victoria)"
),
ETC_GMT_SUB_10
(
"Etc/GMT-10"
,
"(UTC+10:00)GMT+10:00"
),
PACIFIC_GUAM
(
"Pacific/Guam"
,
"(UTC+10:00)Chamorro Standard Time"
),
PACIFIC_PORT_MORESBY
(
"Pacific/Port_Moresby"
,
"(UTC+10:00)Papua New Guinea Time"
),
PACIFIC_TRUK
(
"Pacific/Truk"
,
"(UTC+10:00)Truk Time"
),
AUSTRALIA_LHI
(
"Australia/LHI"
,
"(UTC+10:00)Lord Howe Standard Time"
),
ASIA_MAGADAN
(
"Asia/Magadan"
,
"(UTC+11:00)Magadan Time"
),
ETC_GMT_SUB_11
(
"Etc/GMT-11"
,
"(UTC+11:00)GMT+11:00"
),
PACIFIC_EFATE
(
"Pacific/Efate"
,
"(UTC+11:00)Vanuatu Time"
),
PACIFIC_GUADALCANAL
(
"Pacific/Guadalcanal"
,
"(UTC+11:00)Solomon Is. Time"
),
PACIFIC_KOSRAE
(
"Pacific/Kosrae"
,
"(UTC+11:00)Kosrae Time"
),
PACIFIC_NOUMEA
(
"Pacific/Noumea"
,
"(UTC+11:00)New Caledonia Time"
),
PACIFIC_PONAPE
(
"Pacific/Ponape"
,
"(UTC+11:00)Ponape Time"
),
PACIFIC_NORFOLK
(
"Pacific/Norfolk"
,
"(UTC+11:00)Norfolk Time"
),
ANTARCTICA_MCMURDO
(
"Antarctica/McMurdo"
,
"(UTC+12:00)New Zealand Standard Time"
),
ASIA_ANADYR
(
"Asia/Anadyr"
,
"(UTC+12:00)Anadyr Time"
),
ASIA_KAMCHATKA
(
"Asia/Kamchatka"
,
"(UTC+12:00)Petropavlovsk-Kamchatski Time"
),
ETC_GMT_SUB_12
(
"Etc/GMT-12"
,
"(UTC+12:00)GMT+12:00"
),
KWAJALEIN
(
"Kwajalein"
,
"(UTC+12:00)Marshall Islands Time"
),
PACIFIC_FIJI
(
"Pacific/Fiji"
,
"(UTC+12:00)Fiji Time"
),
PACIFIC_FUNAFUTI
(
"Pacific/Funafuti"
,
"(UTC+12:00)Tuvalu Time"
),
PACIFIC_NAURU
(
"Pacific/Nauru"
,
"(UTC+12:00)Nauru Time"
),
PACIFIC_TARAWA
(
"Pacific/Tarawa"
,
"(UTC+12:00)Gilbert Is. Time"
),
PACIFIC_WAKE
(
"Pacific/Wake"
,
"(UTC+12:00)Wake Time"
),
PACIFIC_WALLIS
(
"Pacific/Wallis"
,
"(UTC+12:00)Wallis & Futuna Time"
),
NZ_SUB_CHAT
(
"NZ-CHAT"
,
"(UTC+12:00)Chatham Standard Time"
),
ETC_GMT_SUB_13
(
"Etc/GMT-13"
,
"(UTC+13:00)GMT+13:00"
),
PACIFIC_ENDERBURY
(
"Pacific/Enderbury"
,
"(UTC+13:00)Phoenix Is. Time"
),
PACIFIC_TONGATAPU
(
"Pacific/Tongatapu"
,
"(UTC+13:00)Tonga Time"
),
ETC_GMT_SUB_14
(
"Etc/GMT-14"
,
"(UTC+14:00)GMT+14:00"
),
PACIFIC_KIRITIMATI
(
"Pacific/Kiritimati"
,
"(UTC+14:00)Line Is. Time"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList59
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[输入辅助_图表参数]
*/
@Getter
public
enum
CodeList104
{
CARETTEMPLGROUP_SRFREPORT_CHARTDATA
(
"CARETTEMPLGROUP_SRFREPORT_CHARTDATA"
,
"图表数据定义"
),
CARETTEMPLGROUP_SRFREPORT_CHART
(
"CARETTEMPLGROUP_SRFREPORT_CHART"
,
"图表表现定义"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList104
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[民族(公安部身份证)]
*/
@Getter
public
enum
CodeList99
{
ITEM_01
(
"01"
,
"汉"
),
ITEM_02
(
"02"
,
"蒙古"
),
ITEM_03
(
"03"
,
"回"
),
ITEM_04
(
"04"
,
"藏"
),
ITEM_05
(
"05"
,
"维吾尔"
),
ITEM_06
(
"06"
,
"苗"
),
ITEM_07
(
"07"
,
"彝"
),
ITEM_08
(
"08"
,
"壮"
),
ITEM_09
(
"09"
,
"布依"
),
ITEM_10
(
"10"
,
"朝鲜"
),
ITEM_11
(
"11"
,
"满"
),
ITEM_12
(
"12"
,
"侗"
),
ITEM_13
(
"13"
,
"瑶"
),
ITEM_14
(
"14"
,
"白"
),
ITEM_15
(
"15"
,
"土家"
),
ITEM_16
(
"16"
,
"哈尼"
),
ITEM_17
(
"17"
,
"哈萨克"
),
ITEM_18
(
"18"
,
"傣"
),
ITEM_19
(
"19"
,
"黎"
),
ITEM_20
(
"20"
,
"傈僳"
),
ITEM_21
(
"21"
,
"佤"
),
ITEM_22
(
"22"
,
"畲"
),
ITEM_23
(
"23"
,
"高山"
),
ITEM_24
(
"24"
,
"拉祜"
),
ITEM_25
(
"25"
,
"水"
),
ITEM_26
(
"26"
,
"东乡"
),
ITEM_27
(
"27"
,
"纳西"
),
ITEM_28
(
"28"
,
"景颇"
),
ITEM_29
(
"29"
,
"柯尔克孜"
),
ITEM_30
(
"30"
,
"土"
),
ITEM_31
(
"31"
,
"达斡尔"
),
ITEM_32
(
"32"
,
"仫佬"
),
ITEM_33
(
"33"
,
"羌"
),
ITEM_34
(
"34"
,
"布朗"
),
ITEM_35
(
"35"
,
"撒拉"
),
ITEM_36
(
"36"
,
"毛南"
),
ITEM_37
(
"37"
,
"仡佬"
),
ITEM_38
(
"38"
,
"锡伯"
),
ITEM_39
(
"39"
,
"阿昌"
),
ITEM_40
(
"40"
,
"普米"
),
ITEM_41
(
"41"
,
"塔吉克"
),
ITEM_42
(
"42"
,
"怒"
),
ITEM_43
(
"43"
,
"乌孜别克"
),
ITEM_44
(
"44"
,
"俄罗斯"
),
ITEM_45
(
"45"
,
"鄂温克"
),
ITEM_46
(
"46"
,
"德昂"
),
ITEM_47
(
"47"
,
"保安"
),
ITEM_48
(
"48"
,
"裕固"
),
ITEM_49
(
"49"
,
"京"
),
ITEM_50
(
"50"
,
"塔塔尔"
),
ITEM_51
(
"51"
,
"独龙"
),
ITEM_52
(
"52"
,
"鄂伦春"
),
ITEM_53
(
"53"
,
"赫哲"
),
ITEM_54
(
"54"
,
"门巴"
),
ITEM_55
(
"55"
,
"珞巴"
),
ITEM_56
(
"56"
,
"基诺"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList99
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[主实体删除关系实体操作]
*/
@Getter
public
enum
CodeList21
{
ITEM_1
(
"1"
,
"同时删除"
),
ITEM_2
(
"2"
,
"置空"
),
ITEM_3
(
"3"
,
"限制删除"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList21
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体数据处理_数据操作]
*/
@Getter
public
enum
CodeList108
{
INSERT
(
"INSERT"
,
"新建"
),
UPDATE
(
"UPDATE"
,
"更新"
),
SAVE
(
"SAVE"
,
"保存(自动判断)"
),
DELETE
(
"DELETE"
,
"删除"
),
CUSTOMCALL
(
"CUSTOMCALL"
,
"自定义调用"
),
CUSTOMPROCCALL
(
"CUSTOMPROCCALL"
,
"自定义存储过程调用"
),
CUSTOMRAWPROCCALL
(
"CUSTOMRAWPROCCALL"
,
"自定义存储过程调用(全称)"
),
GET
(
"GET"
,
"获取(GET)"
),
CHECKKEYSTATE
(
"CHECKKEYSTATE"
,
"检查主键状态(CHECKKEYSTATE)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList108
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[前端展现技术]
*/
@Getter
public
enum
CodeList96
{
HTML
(
"HTML"
,
"HTML"
),
SL
(
"SL"
,
"SilverLight"
),
WINRT
(
"WinRT"
,
"WinRT"
),
ANDROID
(
"Android"
,
"Android"
),
IOS
(
"IOS"
,
"IOS"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList96
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体规则处理_数据类型]
*/
@Getter
public
enum
CodeList112
{
VARCHAR
(
"VARCHAR"
,
"文本"
),
INT
(
"INT"
,
"整形"
),
FLOAT
(
"FLOAT"
,
"浮点"
),
DATETIME
(
"DATETIME"
,
"日期"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList112
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体关系明细类型]
*/
@Getter
public
enum
CodeList14
{
PAGE
(
"PAGE"
,
"内建页面"
),
PAGEPATH
(
"PAGEPATH"
,
"页面路径"
),
DER1N
(
"DER1N"
,
"1:N关系"
),
DER11
(
"DER11"
,
"1:1关系"
),
WFSTEP
(
"WFSTEP"
,
"工作流处理步骤"
),
WFSTEPACTOR
(
"WFSTEPACTOR"
,
"工作流当前处理用户"
),
FILELIST
(
"FILELIST"
,
"附件列表"
),
DATAAUDIT
(
"DATAAUDIT"
,
"行为审计"
),
DERTYPE
(
"DERTYPE"
,
"实体关系分组"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList14
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[本地语言]
*/
@Getter
public
enum
CodeList56
{
EN
(
"EN"
,
"英文"
),
ZH_CN
(
"ZH_CN"
,
"中文简体"
),
ZH_TW
(
"ZH_TW"
,
"中文繁体(台湾)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList56
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[输入辅助_页面参数]
*/
@Getter
public
enum
CodeList100
{
CARETTEMPLGROUP_SRFDA_PAGEPARAM
(
"CARETTEMPLGROUP_SRFDA_PAGEPARAM"
,
"常规页面参数"
),
CARETTEMPLGROUP_SRFDA_GRIDVIEWPAGEPARAM
(
"CARETTEMPLGROUP_SRFDA_GRIDVIEWPAGEPARAM"
,
"表格页面参数"
),
CARETTEMPLGROUP_SRFDA_EDITVIEWPAGEPARAM
(
"CARETTEMPLGROUP_SRFDA_EDITVIEWPAGEPARAM"
,
"编辑页面参数"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList100
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[性能分析指标]
*/
@Getter
public
enum
CodeList117
{
PODBACTION
(
"PODBACTION"
,
"数据库操作性能"
),
PODBQUERY
(
"PODBQUERY"
,
"数据库查询性能"
),
PODEDC
(
"PODEDC"
,
"实体处理逻辑性能"
),
POWORKFLOW
(
"POWORKFLOW"
,
"工作流性能"
),
POPAGE
(
"POPAGE"
,
"页面性能"
),
POPAGEBACKEND
(
"POPAGEBACKEND"
,
"页面性能(后台)"
),
POPAGESESSION
(
"POPAGESESSION"
,
"并发性能"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList117
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据库触发器事件]
*/
@Getter
public
enum
CodeList66
{
INSERT
(
"INSERT"
,
"Insert"
),
UPDATE
(
"UPDATE"
,
"Update"
),
DELETE
(
"DELETE"
,
"Delete"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList66
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[是否]
*/
@Getter
public
enum
YesNo
{
ITEM_1
(
"1"
,
"是"
),
ITEM_0
(
"0"
,
"否"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
YesNo
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[属性预定义值规则]
*/
@Getter
public
enum
CodeList13
{
INT
(
"INT"
,
"整数"
),
POSITIVEINT
(
"POSITIVEINT"
,
"正整数"
),
STRING
(
"STRING"
,
"字符串"
),
STRING_EMAIL
(
"STRING_EMAIL"
,
"电子邮件"
),
FLOAT
(
"FLOAT"
,
"浮点数"
),
FLOAT_PERCENT
(
"FLOAT_PERCENT"
,
"百分比数值(0~100)"
),
DATETIME
(
"DATETIME"
,
"日期时间"
),
DATETIME_GTNOW
(
"DATETIME_GTNOW"
,
"大于当天时间"
),
DATETIME_GTNOWNOHOUR
(
"DATETIME_GTNOWNOHOUR"
,
"大于当天日期"
),
DATETIME_GTNOW3DAY
(
"DATETIME_GTNOW3DAY"
,
"后3天"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList13
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[报表输出格式]
*/
@Getter
public
enum
CodeList54
{
PDF
(
"PDF"
,
"PDF"
),
EXCEL
(
"EXCEL"
,
"EXCEL"
),
HTML
(
"HTML"
,
"HTML"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList54
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[报表分类]
*/
@Getter
public
enum
CodeList12
{
REPORTFOLDER_1
(
"REPORTFOLDER_1"
,
"经营性报表"
),
REPORTFOLDER_2
(
"REPORTFOLDER_2"
,
"财务报表"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList12
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[用户数据行为]
*/
@Getter
public
enum
CodeList71
{
ITEM_1
(
"1"
,
"无建立"
),
ITEM_2
(
"2"
,
"无更新"
),
ITEM_4
(
"4"
,
"无删除"
),
ITEM_8
(
"8"
,
"无查看"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList71
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据通知监控行为(新建、更新、删除)]
*/
@Getter
public
enum
CodeList98
{
ITEM_1
(
"1"
,
"新建"
),
ITEM_2
(
"2"
,
"更新"
),
ITEM_4
(
"4"
,
"删除"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList98
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[开发帮助重要程度]
*/
@Getter
public
enum
CodeList31
{
LOW
(
"LOW"
,
"低"
),
NORMAIL
(
"NORMAIL"
,
"中"
),
HIGH
(
"HIGH"
,
"高"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList31
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[页面样式]
*/
@Getter
public
enum
CodeList22
{
ITEM_0
(
"0"
,
"跳转处理界面"
),
ITEM_1
(
"1"
,
"数据编辑界面"
),
ITEM_2
(
"2"
,
"数据表格界面"
),
ITEM_9
(
"9"
,
"数据树形界面"
),
ITEM_3
(
"3"
,
"数据选择界面"
),
ITEM_4
(
"4"
,
"工作流数据编辑界面"
),
ITEM_5
(
"5"
,
"工作流表格界面"
),
ITEM_6
(
"6"
,
"工作流管理表格界面"
),
ITEM_7
(
"7"
,
"导航界面"
),
ITEM_8
(
"8"
,
"信息展示界面"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList22
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[页面资源类型]
*/
@Getter
public
enum
CodeList17
{
NONE
(
"NONE"
,
"无资源"
),
DEDATA
(
"DEDATA"
,
"数据操作"
),
PAGE
(
"PAGE"
,
"页面对象"
),
CUSTOM
(
"CUSTOM"
,
"自定义"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList17
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[月(1~31)]
*/
@Getter
public
enum
CodeList47
{
ITEM_1
(
"1"
,
"1号"
),
ITEM_2
(
"2"
,
"2号"
),
ITEM_3
(
"3"
,
"3号"
),
ITEM_4
(
"4"
,
"4号"
),
ITEM_5
(
"5"
,
"5号"
),
ITEM_6
(
"6"
,
"6号"
),
ITEM_7
(
"7"
,
"7号"
),
ITEM_8
(
"8"
,
"8号"
),
ITEM_9
(
"9"
,
"9号"
),
ITEM_10
(
"10"
,
"10号"
),
ITEM_11
(
"11"
,
"11号"
),
ITEM_12
(
"12"
,
"12号"
),
ITEM_13
(
"13"
,
"13号"
),
ITEM_14
(
"14"
,
"14号"
),
ITEM_15
(
"15"
,
"15号"
),
ITEM_16
(
"16"
,
"16号"
),
ITEM_17
(
"17"
,
"17号"
),
ITEM_18
(
"18"
,
"18号"
),
ITEM_19
(
"19"
,
"19号"
),
ITEM_20
(
"20"
,
"20号"
),
ITEM_21
(
"21"
,
"21号"
),
ITEM_22
(
"22"
,
"22号"
),
ITEM_23
(
"23"
,
"23号"
),
ITEM_24
(
"24"
,
"24号"
),
ITEM_25
(
"25"
,
"25号"
),
ITEM_26
(
"26"
,
"26号"
),
ITEM_27
(
"27"
,
"27号"
),
ITEM_28
(
"28"
,
"28号"
),
ITEM_29
(
"29"
,
"29号"
),
ITEM_30
(
"30"
,
"30号"
),
ITEM_31
(
"31"
,
"31号"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList47
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据通知类型]
*/
@Getter
public
enum
CodeList61
{
TIME
(
"TIME"
,
"定时"
),
NORMAL
(
"NORMAL"
,
"值变更"
),
TIMEEX
(
"TIMEEX"
,
"定时+值判断"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList61
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体数据操作步骤]
*/
@Getter
public
enum
CodeList106
{
GETDEFAULT
(
"GETDEFAULT"
,
"获取默认值"
),
BEFORESAVE
(
"BEFORESAVE"
,
"保存之前"
),
AFTERSAVE
(
"AFTERSAVE"
,
"保存之后"
),
BEFOREREMOVE
(
"BEFOREREMOVE"
,
"删除之前"
),
AFTERREMOVE
(
"AFTERREMOVE"
,
"删除之后"
),
TESTSAVE
(
"TESTSAVE"
,
"测试保存"
),
CUSTOMCALL
(
"CUSTOMCALL"
,
"自定义操作"
),
INTERNALCALL
(
"INTERNALCALL"
,
"内部调用"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList106
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据同步方向]
*/
@Getter
public
enum
CodeList97
{
IN
(
"IN"
,
"输入"
),
OUT
(
"OUT"
,
"输出"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList97
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[表格列对齐]
*/
@Getter
public
enum
CodeList18
{
LEFT
(
"left"
,
"左对齐"
),
CENTER
(
"center"
,
"剧中"
),
RIGHT
(
"right"
,
"右对齐"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList18
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据通知取值规则]
*/
@Getter
public
enum
CodeList69
{
AFTER
(
"AFTER"
,
"变更后"
),
BEFORE
(
"BEFORE"
,
"变更前"
),
CHANGE
(
"CHANGE"
,
"值变更"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList69
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[开发数据版本控制状态]
*/
@Getter
public
enum
CodeList115
{
CHECKIN
(
"CHECKIN"
,
"签入"
),
CHECKOUT
(
"CHECKOUT"
,
"签出"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList115
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[页面参数值变量]
*/
@Getter
public
enum
CodeList63
{
PARAM1
(
"PARAM1"
,
"参数1(字符)"
),
PARAM2
(
"PARAM2"
,
"参数2(字符)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList63
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[表格每页记录数]
*/
@Getter
public
enum
CodeList26
{
ITEM_10
(
"10"
,
"10行"
),
ITEM_20
(
"20"
,
"20行"
),
ITEM_30
(
"30"
,
"30行"
),
ITEM_40
(
"40"
,
"40行"
),
ITEM_50
(
"50"
,
"50行"
),
ITEM_60
(
"60"
,
"60行"
),
ITEM_70
(
"70"
,
"70行"
),
ITEM_80
(
"80"
,
"80行"
),
ITEM_90
(
"90"
,
"90行"
),
ITEM_100
(
"100"
,
"100行"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList26
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[界面功能类型]
*/
@Getter
public
enum
CodeList91
{
INHERIT
(
"INHERIT"
,
"继承模板"
),
DEFAULT
(
"DEFAULT"
,
"默认功能"
),
CUSTOM
(
"CUSTOM"
,
"自定义"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList91
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[日小时(0~23)]
*/
@Getter
public
enum
CodeList85
{
ITEM_00
(
"00"
,
"0点"
),
ITEM_01
(
"01"
,
"1点"
),
ITEM_02
(
"02"
,
"2点"
),
ITEM_03
(
"03"
,
"3点"
),
ITEM_04
(
"04"
,
"4点"
),
ITEM_05
(
"05"
,
"5点"
),
ITEM_06
(
"06"
,
"6点"
),
ITEM_07
(
"07"
,
"7点"
),
ITEM_08
(
"08"
,
"8点"
),
ITEM_09
(
"09"
,
"9点"
),
ITEM_10
(
"10"
,
"10点"
),
ITEM_11
(
"11"
,
"11点"
),
ITEM_12
(
"12"
,
"12点"
),
ITEM_13
(
"13"
,
"13点"
),
ITEM_14
(
"14"
,
"14点"
),
ITEM_15
(
"15"
,
"15点"
),
ITEM_16
(
"16"
,
"16点"
),
ITEM_17
(
"17"
,
"17点"
),
ITEM_18
(
"18"
,
"18点"
),
ITEM_19
(
"19"
,
"19点"
),
ITEM_20
(
"20"
,
"20点"
),
ITEM_21
(
"21"
,
"21点"
),
ITEM_22
(
"22"
,
"22点"
),
ITEM_23
(
"23"
,
"23点"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList85
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[月份(1~12)]
*/
@Getter
public
enum
CodeList82
{
ITEM_01
(
"01"
,
"1月"
),
ITEM_02
(
"02"
,
"2月"
),
ITEM_03
(
"03"
,
"3月"
),
ITEM_04
(
"04"
,
"4月"
),
ITEM_05
(
"05"
,
"5月"
),
ITEM_06
(
"06"
,
"6月"
),
ITEM_07
(
"07"
,
"7月"
),
ITEM_08
(
"08"
,
"8月"
),
ITEM_09
(
"09"
,
"9月"
),
ITEM_10
(
"10"
,
"10月"
),
ITEM_11
(
"11"
,
"11月"
),
ITEM_12
(
"12"
,
"12月"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList82
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[数据通知监控行为]
*/
@Getter
public
enum
CodeList72
{
ITEM_1
(
"1"
,
"新建"
),
ITEM_2
(
"2"
,
"更新"
),
ITEM_3
(
"3"
,
"新建或更新"
),
ITEM_4
(
"4"
,
"删除"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList72
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体规则处理_值处理函数]
*/
@Getter
public
enum
CodeList110
{
DATE_DIFF_D
(
"DATE_DIFF_D"
,
"距今天数(日期)"
),
DATE_DIFF_W
(
"DATE_DIFF_W"
,
"距今周数(日期)"
),
DATE_DIFF_M
(
"DATE_DIFF_M"
,
"距今月份数(日期)"
),
DATE_DIFF_Q
(
"DATE_DIFF_Q"
,
"距今季度数(日期)"
),
DATE_DIFF_Y
(
"DATE_DIFF_Y"
,
"距今年数(日期)"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList110
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体数据处理_变量名称]
*/
@Getter
public
enum
CodeList109
{
_DEFAULT_
(
"%DEFAULT%"
,
"默认变量"
),
_ENV_
(
"%ENV%"
,
"环境变量"
),
PARAM1
(
"PARAM1"
,
"变量1"
),
PARAM2
(
"PARAM2"
,
"变量2"
),
PARAM3
(
"PARAM3"
,
"变量3"
),
PARAM4
(
"PARAM4"
,
"变量4"
),
PARAM5
(
"PARAM5"
,
"变量5"
),
_LAST_
(
"%LAST%"
,
"历史值"
),
_GLOBAL1_
(
"%GLOBAL1%"
,
"全局变量1"
),
_GLOBAL2_
(
"%GLOBAL2%"
,
"全局变量2"
),
_GLOBAL3_
(
"%GLOBAL3%"
,
"全局变量3"
),
_GLOBAL4_
(
"%GLOBAL4%"
,
"全局变量4"
),
_GLOBAL5_
(
"%GLOBAL5%"
,
"全局变量5"
),
_BRINST_
(
"%BRINST%"
,
"全局规则引擎实例变量"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList109
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[字段排序方向]
*/
@Getter
public
enum
SortDir
{
ASC
(
"ASC"
,
"升序"
),
DESC
(
"DESC"
,
"降序"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
SortDir
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[日历参与者状态]
*/
@Getter
public
enum
CodeList15
{
UNDECIDED
(
"UNDECIDED"
,
"未确定"
),
ACCEPT
(
"ACCEPT"
,
"接受"
),
REJECT
(
"REJECT"
,
"拒绝"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList15
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[实体数据库操作]
*/
@Getter
public
enum
CodeList53
{
INSERT
(
"INSERT"
,
"插入"
),
UPDATE
(
"UPDATE"
,
"更新"
),
SELECT
(
"SELECT"
,
"查询"
),
DELETE
(
"DELETE"
,
"删除"
),
CUSTOM
(
"CUSTOM"
,
"自定义"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList53
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
/**
* 代码表[扩展表格单元格边框样式]
*/
@Getter
public
enum
CodeList76
{
LEFT
(
"LEFT"
,
"左边框"
),
TOP
(
"TOP"
,
"上边框"
),
RIGHT
(
"RIGHT"
,
"右边框"
),
BOTTOM
(
"BOTTOM"
,
"下边框"
);
private
String
value
;
private
String
text
;
private
String
valueSeparator
=
""
;
private
String
textSeparator
=
""
;
private
String
emptyText
=
""
;
CodeList76
(
String
value
,
String
text
)
{
this
.
value
=
value
;
this
.
text
=
text
;
}
}
}
ibzpay-util/src/main/java/cn/ibizlab/util/domain/EntityClient.java
浏览文件 @
506f84b4
...
@@ -6,9 +6,9 @@ public class EntityClient extends EntityBase {
...
@@ -6,9 +6,9 @@ public class EntityClient extends EntityBase {
@Override
@Override
public
void
modify
(
String
field
,
Object
val
)
{
public
void
modify
(
String
field
,
Object
val
)
{
getExtensionparams
().
put
(
"dirtyflagenable"
,
true
);
if
(
val
==
null
){
if
(
val
==
null
){
this
.
getFocusNull
().
add
(
field
.
toLowerCase
());
this
.
getFocusNull
().
add
(
field
.
toLowerCase
());
getExtensionparams
().
put
(
"dirtyflagenable"
,
true
);
getExtensionparams
().
put
(
field
.
toLowerCase
()+
"dirtyflag"
,
true
);
getExtensionparams
().
put
(
field
.
toLowerCase
()+
"dirtyflag"
,
true
);
}
}
else
{
else
{
...
...
ibzpay-util/src/main/java/cn/ibizlab/util/enums/DupCheck.java
0 → 100644
浏览文件 @
506f84b4
package
cn
.
ibizlab
.
util
.
enums
;
/**
* 属性重复值检查
*/
public
enum
DupCheck
{
/**
* 不检查
*/
NONE
,
/**
* 全部检查
*/
ALL
,
/**
* 非空检查
*/
NOTNULL
,
/**
* 指定范围检查
*/
RANGE
,
}
ibzpay-util/src/main/java/cn/ibizlab/util/errors/ExceptionTranslator.java
浏览文件 @
506f84b4
package
cn
.
ibizlab
.
util
.
errors
;
package
cn
.
ibizlab
.
util
.
errors
;
import
org.springframework.dao.
ConcurrencyFailureException
;
import
org.springframework.dao.
*
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.validation.BindingResult
;
import
org.springframework.validation.BindingResult
;
...
@@ -90,9 +90,18 @@ public class ExceptionTranslator implements ProblemHandling {
...
@@ -90,9 +90,18 @@ public class ExceptionTranslator implements ProblemHandling {
return
create
(
ex
,
problem
,
request
);
return
create
(
ex
,
problem
,
request
);
}
}
@ExceptionHandler
(
DataAccessException
.
class
)
public
ResponseEntity
<
Problem
>
handlerDataAccessFailure
(
DataAccessException
ex
,
NativeWebRequest
request
){
Problem
problem
=
Problem
.
builder
()
.
withStatus
(
Status
.
INTERNAL_SERVER_ERROR
)
.
with
(
"message"
,
ex
.
getMessage
())
.
build
();
return
create
(
ex
,
problem
,
request
,
createFailureAlert
(
ex
.
getClass
().
getSimpleName
(),
ex
.
getClass
().
getSimpleName
(),
ex
.
getMessage
()));
}
public
static
HttpHeaders
createFailureAlert
(
String
entityName
,
String
errorKey
,
String
defaultMessage
)
{
public
static
HttpHeaders
createFailureAlert
(
String
entityName
,
String
errorKey
,
String
defaultMessage
)
{
HttpHeaders
headers
=
new
HttpHeaders
();
HttpHeaders
headers
=
new
HttpHeaders
();
headers
.
add
(
"X-ibz-error"
,
"error."
+
errorKey
);
headers
.
add
(
"X-ibz-error"
,
errorKey
);
headers
.
add
(
"X-ibz-params"
,
entityName
);
headers
.
add
(
"X-ibz-params"
,
entityName
);
return
headers
;
return
headers
;
}
}
...
...
ibzpay-util/src/main/java/cn/ibizlab/util/job/PermissionSyncJob.java
浏览文件 @
506f84b4
...
@@ -41,6 +41,7 @@ public class PermissionSyncJob implements ApplicationRunner {
...
@@ -41,6 +41,7 @@ public class PermissionSyncJob implements ApplicationRunner {
@Lazy
@Lazy
IBZLiteFeignClient
liteFeignClient
;
IBZLiteFeignClient
liteFeignClient
;
@Override
@Override
public
void
run
(
ApplicationArguments
args
)
{
public
void
run
(
ApplicationArguments
args
)
{
try
{
try
{
...
@@ -76,5 +77,6 @@ public class PermissionSyncJob implements ApplicationRunner {
...
@@ -76,5 +77,6 @@ public class PermissionSyncJob implements ApplicationRunner {
}
}
}
}
}
}
\ No newline at end of file
ibzpay-util/src/main/java/cn/ibizlab/util/rest/AppController.java
浏览文件 @
506f84b4
...
@@ -59,6 +59,7 @@ public class AppController {
...
@@ -59,6 +59,7 @@ public class AppController {
appData
.
put
(
"enablepermissionvalid"
,
false
);
appData
.
put
(
"enablepermissionvalid"
,
false
);
else
else
appData
.
put
(
"enablepermissionvalid"
,
enablePermissionValid
);
appData
.
put
(
"enablepermissionvalid"
,
enablePermissionValid
);
fillAppData
(
appData
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
appData
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
appData
);
}
}
...
@@ -87,4 +88,12 @@ public class AppController {
...
@@ -87,4 +88,12 @@ public class AppController {
throw
new
BadRequestAlertException
(
"获取配置失败,参数缺失"
,
"IBZConfig"
,
configType
);
throw
new
BadRequestAlertException
(
"获取配置失败,参数缺失"
,
"IBZConfig"
,
configType
);
return
ResponseEntity
.
ok
(
ibzConfigService
.
getConfig
(
configType
,
targetType
,
userId
));
return
ResponseEntity
.
ok
(
ibzConfigService
.
getConfig
(
configType
,
targetType
,
userId
));
}
}
/**
* 应用参数扩展
* @param appData
*/
protected
void
fillAppData
(
JSONObject
appData
){
}
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录