Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibztask
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibztask
提交
450ad6fe
提交
450ad6fe
编写于
12月 21, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码 [ibiz-task,任务调度]
上级
7dc9d263
变更
60
显示空白字符变更
内嵌
并排
正在显示
60 个修改的文件
包含
7793 行增加
和
6367 行删除
+7793
-6367
package.json
app_web/package.json
+1
-3
app-register.ts
app_web/src/app-register.ts
+1
-0
app-color-span.vue
app_web/src/components/app-color-span/app-color-span.vue
+11
-11
dropdown-list.vue
app_web/src/components/dropdown-list/dropdown-list.vue
+55
-23
index.ts
app_web/src/locale/index.ts
+1
-1
en-US-base.ts
app_web/src/locale/lang/en-US-base.ts
+242
-0
en-US.ts
app_web/src/locale/lang/en-US.ts
+8
-233
zh-CN-base.ts
app_web/src/locale/lang/zh-CN-base.ts
+241
-0
zh-CN.ts
app_web/src/locale/lang/zh-CN.ts
+8
-232
codelist_en_US.ts
app_web/src/locale/lanres/codelist/codelist_en_US.ts
+8
-7
codelist_en_US_base.ts
app_web/src/locale/lanres/codelist/codelist_en_US_base.ts
+13
-0
codelist_zh_CN.ts
app_web/src/locale/lanres/codelist/codelist_zh_CN.ts
+9
-7
codelist_zh_CN_base.ts
app_web/src/locale/lanres/codelist/codelist_zh_CN_base.ts
+13
-0
components_en_US.ts
app_web/src/locale/lanres/components/components_en_US.ts
+8
-393
components_en_US_base.ts
...web/src/locale/lanres/components/components_en_US_base.ts
+397
-0
components_zh_CN.ts
app_web/src/locale/lanres/components/components_zh_CN.ts
+8
-394
components_zh_CN_base.ts
...web/src/locale/lanres/components/components_zh_CN_base.ts
+398
-0
jobs-info_en_US.ts
...b/src/locale/lanres/entities/jobs-info/jobs-info_en_US.ts
+8
-125
jobs-info_en_US_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_en_US_base.ts
+132
-0
jobs-info_zh_CN.ts
...b/src/locale/lanres/entities/jobs-info/jobs-info_zh_CN.ts
+9
-125
jobs-info_zh_CN_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_zh_CN_base.ts
+131
-0
jobs-lock_en_US.ts
...b/src/locale/lanres/entities/jobs-lock/jobs-lock_en_US.ts
+8
-8
jobs-lock_en_US_base.ts
.../locale/lanres/entities/jobs-lock/jobs-lock_en_US_base.ts
+15
-0
jobs-lock_zh_CN.ts
...b/src/locale/lanres/entities/jobs-lock/jobs-lock_zh_CN.ts
+9
-8
jobs-lock_zh_CN_base.ts
.../locale/lanres/entities/jobs-lock/jobs-lock_zh_CN_base.ts
+14
-0
jobs-log_en_US.ts
...web/src/locale/lanres/entities/jobs-log/jobs-log_en_US.ts
+8
-74
jobs-log_en_US_base.ts
...rc/locale/lanres/entities/jobs-log/jobs-log_en_US_base.ts
+81
-0
jobs-log_zh_CN.ts
...web/src/locale/lanres/entities/jobs-log/jobs-log_zh_CN.ts
+9
-74
jobs-log_zh_CN_base.ts
...rc/locale/lanres/entities/jobs-log/jobs-log_zh_CN_base.ts
+80
-0
jobs-registry_en_US.ts
...cale/lanres/entities/jobs-registry/jobs-registry_en_US.ts
+8
-86
jobs-registry_en_US_base.ts
...lanres/entities/jobs-registry/jobs-registry_en_US_base.ts
+93
-0
jobs-registry_zh_CN.ts
...cale/lanres/entities/jobs-registry/jobs-registry_zh_CN.ts
+9
-86
jobs-registry_zh_CN_base.ts
...lanres/entities/jobs-registry/jobs-registry_zh_CN_base.ts
+92
-0
userCustom_en_US.ts
app_web/src/locale/lanres/userCustom/userCustom_en_US.ts
+5
-4
userCustom_zh_CN.ts
app_web/src/locale/lanres/userCustom/userCustom_zh_CN.ts
+5
-4
common-logic-base.ts
app_web/src/locale/logic/common/common-logic-base.ts
+10
-0
common-logic.ts
app_web/src/locale/logic/common/common-logic.ts
+5
-0
common-logic.ts
app_web/src/locale/logic/custom/common-logic.ts
+3
-0
jobs-info-edit-view-base.vue
...ges/task/jobs-info-edit-view/jobs-info-edit-view-base.vue
+2
-2
jobs-info-grid-view-base.vue
...ges/task/jobs-info-grid-view/jobs-info-grid-view-base.vue
+3
-3
jobs-log-edit-view-base.vue
...pages/task/jobs-log-edit-view/jobs-log-edit-view-base.vue
+2
-2
jobs-log-grid-view-base.vue
...pages/task/jobs-log-grid-view/jobs-log-grid-view-base.vue
+2
-2
jobs-registry-edit-view-base.vue
.../jobs-registry-edit-view/jobs-registry-edit-view-base.vue
+2
-2
jobs-registry-grid-view-base.vue
.../jobs-registry-grid-view/jobs-registry-grid-view-base.vue
+4
-4
task-index-view-base.vue
...b/src/pages/task/task-index-view/task-index-view-base.vue
+2
-2
jobs-info-service-base.ts
app_web/src/service/jobs-info/jobs-info-service-base.ts
+14
-0
jobs-info-ui-service-base.ts
app_web/src/uiservice/jobs-info/jobs-info-ui-service-base.ts
+54
-3
app-popover.d.ts
app_web/src/utils/types/app-popover.d.ts
+1
-1
main-form-base.vue
app_web/src/widgets/jobs-info/main-form/main-form-base.vue
+6
-4
main-grid-base.vue
app_web/src/widgets/jobs-info/main-grid/main-grid-base.vue
+29
-35
main-form-base.vue
app_web/src/widgets/jobs-log/main-form/main-form-base.vue
+6
-4
main-grid-base.vue
app_web/src/widgets/jobs-log/main-grid/main-grid-base.vue
+29
-35
main-form-base.vue
...eb/src/widgets/jobs-registry/main-form/main-form-base.vue
+6
-4
main-grid-base.vue
...eb/src/widgets/jobs-registry/main-grid/main-grid-base.vue
+29
-35
yarn.lock
app_web/yarn.lock
+5418
-4321
IJobsInfoService.java
...n/java/cn/ibizlab/core/task/service/IJobsInfoService.java
+1
-0
JobsInfoServiceImpl.java
...n/ibizlab/core/task/service/impl/JobsInfoServiceImpl.java
+11
-2
pom.xml
ibztask-dependencies/pom.xml
+9
-4
JobsInfoResource.java
...i/src/main/java/cn/ibizlab/api/rest/JobsInfoResource.java
+6
-0
AuthorizationTokenFilter.java
...va/cn/ibizlab/util/security/AuthorizationTokenFilter.java
+1
-4
未找到文件。
app_web/package.json
浏览文件 @
450ad6fe
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
"vue-class-component"
:
"^7.0.2"
,
"vue-class-component"
:
"^7.0.2"
,
"vue-grid-layout"
:
"^2.3.7"
,
"vue-grid-layout"
:
"^2.3.7"
,
"vue-i18n"
:
"^8.15.3"
,
"vue-i18n"
:
"^8.15.3"
,
"vue-property-decorator"
:
"^
8.3.0
"
,
"vue-property-decorator"
:
"^
9.1.2
"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.2"
,
"vuex"
:
"^3.1.2"
,
"xlsx"
:
"^0.15.6"
"xlsx"
:
"^0.15.6"
...
@@ -53,10 +53,8 @@
...
@@ -53,10 +53,8 @@
"@types/mockjs"
:
"^1.0.2"
,
"@types/mockjs"
:
"^1.0.2"
,
"@types/qs"
:
"^6.9.0"
,
"@types/qs"
:
"^6.9.0"
,
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
"@vue/cli-plugin-babel"
:
"^4.1.0"
,
"@vue/cli-plugin-e2e-cypress"
:
"^4.1.0"
,
"@vue/cli-plugin-router"
:
"^4.1.0"
,
"@vue/cli-plugin-router"
:
"^4.1.0"
,
"@vue/cli-plugin-typescript"
:
"^4.1.0"
,
"@vue/cli-plugin-typescript"
:
"^4.1.0"
,
"@vue/cli-plugin-unit-jest"
:
"^4.1.0"
,
"@vue/cli-plugin-vuex"
:
"^4.1.0"
,
"@vue/cli-plugin-vuex"
:
"^4.1.0"
,
"@vue/cli-service"
:
"^4.1.0"
,
"@vue/cli-service"
:
"^4.1.0"
,
"@vue/test-utils"
:
"1.0.0-beta.29"
,
"@vue/test-utils"
:
"1.0.0-beta.29"
,
...
...
app_web/src/app-register.ts
浏览文件 @
450ad6fe
...
@@ -108,6 +108,7 @@ import Loadding from './directive/loadding/loadding';
...
@@ -108,6 +108,7 @@ import Loadding from './directive/loadding/loadding';
import
AppColorSpan
from
'./components/app-color-span/app-color-span.vue'
;
import
AppColorSpan
from
'./components/app-color-span/app-color-span.vue'
;
import
AppColorPicker
from
'./components/app-color-picker/app-color-picker.vue'
;
import
AppColorPicker
from
'./components/app-color-picker/app-color-picker.vue'
;
// 全局挂载UI实体服务注册中心
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
// 全局挂载实体权限服务注册中心
...
...
app_web/src/components/app-color-span/app-color-span.vue
浏览文件 @
450ad6fe
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<span
v-if=
"color"
:style=
"
{ color:textColor }">
{{
text
?
text
:
'---'
}}
</span>
<span
v-if=
"color"
:style=
"
{ color:textColor }">
{{
text
?
text
:
'---'
}}
</span>
<template
v-else
>
<template
v-else
>
<template
v-if=
"dataValue && dataValue.length > 0"
>
<template
v-if=
"dataValue && dataValue.length > 0"
>
<span
v-for=
"(textItem,index) of dataValue"
:key=
"index"
class=
"text-color"
:style=
"
{ backgroundColor:
textItem.color
}">
<span
v-for=
"(textItem,index) of dataValue"
:key=
"index"
class=
"text-color"
:style=
"
{ backgroundColor:
textItem.color, borderColor: textItem.color
}">
{{
textItem
.
srfmajortext
?
textItem
.
srfmajortext
:
'---'
}}
{{
textItem
.
srfmajortext
?
textItem
.
srfmajortext
:
'---'
}}
</span>
</span>
</
template
>
</
template
>
...
@@ -58,7 +58,7 @@ export default class AppColorSpan extends Vue {
...
@@ -58,7 +58,7 @@ export default class AppColorSpan extends Vue {
* @type {any}
* @type {any}
* @memberof AppColorSpan
* @memberof AppColorSpan
*/
*/
@
Prop
()
public
localContext
!
:
any
;
@
Prop
()
public
localContext
?
:
any
;
/**
/**
* 局部导航参数
* 局部导航参数
...
@@ -66,7 +66,7 @@ export default class AppColorSpan extends Vue {
...
@@ -66,7 +66,7 @@ export default class AppColorSpan extends Vue {
* @type {any}
* @type {any}
* @memberof AppColorSpan
* @memberof AppColorSpan
*/
*/
@
Prop
()
public
localParam
!
:
any
;
@
Prop
()
public
localParam
?
:
any
;
/**
/**
* 视图上下文
* 视图上下文
...
@@ -74,7 +74,7 @@ export default class AppColorSpan extends Vue {
...
@@ -74,7 +74,7 @@ export default class AppColorSpan extends Vue {
* @type {*}
* @type {*}
* @memberof AppColorSpan
* @memberof AppColorSpan
*/
*/
@
Prop
()
public
context
!
:
any
;
@
Prop
()
public
context
?
:
any
;
/**
/**
* 视图参数
* 视图参数
...
@@ -82,8 +82,7 @@ export default class AppColorSpan extends Vue {
...
@@ -82,8 +82,7 @@ export default class AppColorSpan extends Vue {
* @type {*}
* @type {*}
* @memberof AppColorSpan
* @memberof AppColorSpan
*/
*/
@
Prop
()
public
viewparams
!
:
any
;
@
Prop
()
public
viewparams
?:
any
;
/**
/**
* 颜色标识
* 颜色标识
...
@@ -91,8 +90,7 @@ export default class AppColorSpan extends Vue {
...
@@ -91,8 +90,7 @@ export default class AppColorSpan extends Vue {
* @type {*}
* @type {*}
* @memberof AppColorSpan
* @memberof AppColorSpan
*/
*/
@
Prop
()
color
:
any
;
@
Prop
()
color
?:
any
;
/**
/**
* 颜色
* 颜色
...
@@ -156,8 +154,10 @@ export default class AppColorSpan extends Vue {
...
@@ -156,8 +154,10 @@ export default class AppColorSpan extends Vue {
<
style
lang=
"less"
>
<
style
lang=
"less"
>
.text-color{
.text-color{
padding: 2px;
padding: 2px 8px;
margin: 6px;
margin: 6px 6px 6px 0px;
border-radius: 4px;
border-radius: 12px;
font-size: 13px;
border: 2px solid rgb(170, 167, 167);
}
}
</
style
>
</
style
>
\ No newline at end of file
app_web/src/components/dropdown-list/dropdown-list.vue
浏览文件 @
450ad6fe
...
@@ -170,10 +170,20 @@ export default class DropDownList extends Vue {
...
@@ -170,10 +170,20 @@ export default class DropDownList extends Vue {
/**
/**
* 属性类型
* 属性类型
* @type {string}
*
* @type {'string' | 'number'}
* @memberof DropDownList
* @memberof DropDownList
*/
*/
@
Prop
()
public
valueType
?:
string
;
@
Prop
({
default
:
'string'
})
public
valueType
!
:
'string'
|
'number'
;
/**
* 选择实际值
*
* @type {*}
* @memberof DropDownList
*/
public
value
:
any
=
null
;
/**
/**
* 计算属性(当前值)
* 计算属性(当前值)
...
@@ -186,7 +196,7 @@ export default class DropDownList extends Vue {
...
@@ -186,7 +196,7 @@ export default class DropDownList extends Vue {
val
=
tempVal
.
length
>
0
?
tempVal
[
0
].
value
:
null
;
val
=
tempVal
.
length
>
0
?
tempVal
[
0
].
value
:
null
;
}
}
const
type
:
string
=
this
.
$util
.
typeOf
(
val
);
const
type
:
string
=
this
.
$util
.
typeOf
(
val
);
val
=
Object
.
is
(
type
,
'null'
)
||
Object
.
is
(
type
,
'undefined'
)
?
undefined
:
val
;
val
=
Object
.
is
(
type
,
'null'
)
||
Object
.
is
(
type
,
'undefined'
)
?
null
:
val
;
this
.
$emit
(
'change'
,
val
);
this
.
$emit
(
'change'
,
val
);
}
}
...
@@ -204,7 +214,7 @@ export default class DropDownList extends Vue {
...
@@ -204,7 +214,7 @@ export default class DropDownList extends Vue {
})
})
return
JSON
.
stringify
([
result
]);
return
JSON
.
stringify
([
result
]);
}
}
return
this
.
itemV
alue
;
return
this
.
v
alue
;
}
}
/**
/**
...
@@ -263,10 +273,12 @@ export default class DropDownList extends Vue {
...
@@ -263,10 +273,12 @@ export default class DropDownList extends Vue {
this
.
formStateEvent
=
this
.
formState
.
subscribe
(({
type
,
data
})
=>
{
this
.
formStateEvent
=
this
.
formState
.
subscribe
(({
type
,
data
})
=>
{
if
(
Object
.
is
(
'load'
,
type
))
{
if
(
Object
.
is
(
'load'
,
type
))
{
this
.
loadData
();
this
.
loadData
();
this
.
readyValue
();
}
}
});
});
}
}
this
.
loadData
();
this
.
loadData
();
this
.
readyValue
();
}
}
/**
/**
...
@@ -299,6 +311,29 @@ export default class DropDownList extends Vue {
...
@@ -299,6 +311,29 @@ export default class DropDownList extends Vue {
}
}
}
}
/**
* 准备值
*
* @memberof DropDownList
*/
public
readyValue
()
{
if
(
this
.
itemValue
==
null
)
{
this
.
value
=
null
;
return
;
}
if
(
this
.
$util
.
typeOf
(
this
.
itemValue
)
===
this
.
valueType
)
{
this
.
value
=
this
.
itemValue
;
}
else
if
(
this
.
valueType
===
'number'
)
{
if
(
this
.
itemValue
.
indexOf
(
'.'
)
===
-
1
)
{
this
.
value
=
parseInt
(
this
.
itemValue
);
}
else
{
this
.
value
=
parseFloat
(
this
.
itemValue
);
}
}
else
{
this
.
value
=
this
.
itemValue
.
toString
();
}
}
/**
/**
* 下拉点击事件
* 下拉点击事件
*
*
...
@@ -331,15 +366,14 @@ export default class DropDownList extends Vue {
...
@@ -331,15 +366,14 @@ export default class DropDownList extends Vue {
* @memberof DropDownList
* @memberof DropDownList
*/
*/
public
formatCodeList
(
items
:
Array
<
any
>
){
public
formatCodeList
(
items
:
Array
<
any
>
){
let
matching
:
boolean
=
tru
e
;
let
matching
:
boolean
=
fals
e
;
this
.
items
=
[];
this
.
items
=
[];
try
{
try
{
if
(
this
.
valueType
){
items
.
forEach
((
item
:
any
)
=>
{
items
.
forEach
((
item
:
any
)
=>
{
const
type
=
this
.
$util
.
typeOf
(
item
.
value
);
const
type
=
this
.
$util
.
typeOf
(
item
.
value
);
if
(
type
!=
this
.
valueType
){
if
(
type
!=
this
.
valueType
){
matching
=
fals
e
;
matching
=
tru
e
;
if
(
type
==
'number'
){
if
(
type
=
==
'number'
){
item
.
value
=
item
.
value
.
toString
();
item
.
value
=
item
.
value
.
toString
();
}
else
{
}
else
{
if
(
item
.
value
.
indexOf
(
'.'
)
==
-
1
){
if
(
item
.
value
.
indexOf
(
'.'
)
==
-
1
){
...
@@ -351,12 +385,10 @@ export default class DropDownList extends Vue {
...
@@ -351,12 +385,10 @@ export default class DropDownList extends Vue {
}
}
this
.
items
.
push
(
item
);
this
.
items
.
push
(
item
);
});
});
if
(
!
matching
){
if
(
matching
){
console
.
warn
(
`代码表
${
this
.
tag
}
值类型和属性类型不匹配,已自动强制转换,请修正代码表值类型和属性类型匹配`
);
console
.
warn
(
`代码表
${
this
.
tag
}
值类型和属性类型不匹配,已自动强制转换,请修正代码表值类型和属性类型匹配`
);
}
}
}
else
{
this
.
items
=
items
;
}
}
catch
(
error
){
}
catch
(
error
){
console
.
warn
(
'代码表值类型和属性类型不匹配,自动强制转换异常,请修正代码表值类型和属性类型匹配'
);
console
.
warn
(
'代码表值类型和属性类型不匹配,自动强制转换异常,请修正代码表值类型和属性类型匹配'
);
}
}
...
...
app_web/src/locale/index.ts
浏览文件 @
450ad6fe
...
@@ -10,7 +10,7 @@ import iviewZhCnLocale from 'view-design/dist/locale/zh-CN';
...
@@ -10,7 +10,7 @@ import iviewZhCnLocale from 'view-design/dist/locale/zh-CN';
import
elementZhLocale
from
'element-ui/lib/locale/lang/zh-CN'
;
import
elementZhLocale
from
'element-ui/lib/locale/lang/zh-CN'
;
const
messages
=
{
const
messages
=
{
'zh-CN'
:
Object
.
assign
(
iviewZhCnLocale
,
elementZhLocale
,
zhCn
),
'zh-CN'
:
Object
.
assign
(
iviewZhCnLocale
,
elementZhLocale
,
zhCn
()
),
};
};
...
...
app_web/src/locale/lang/en-US-base.ts
0 → 100644
浏览文件 @
450ad6fe
import
jobslog_en_US
from
'@locale/lanres/entities/jobs-log/jobs-log_en_US'
;
import
jobsregistry_en_US
from
'@locale/lanres/entities/jobs-registry/jobs-registry_en_US'
;
import
jobsinfo_en_US
from
'@locale/lanres/entities/jobs-info/jobs-info_en_US'
;
import
jobslock_en_US
from
'@locale/lanres/entities/jobs-lock/jobs-lock_en_US'
;
import
components_en_US
from
'@locale/lanres/components/components_en_US'
;
import
codelist_en_US
from
'@locale/lanres/codelist/codelist_en_US'
;
import
userCustom_en_US
from
'@locale/lanres/userCustom/userCustom_en_US'
;
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getAppLocale
(){
const
data
:
any
=
{
app
:
{
commonWords
:{
error
:
"Error"
,
success
:
"Success"
,
ok
:
"OK"
,
cancel
:
"Cancel"
,
save
:
"Save"
,
codeNotExist
:
'Code list does not exist'
,
reqException
:
"Request exception"
,
sysException
:
"System abnormality"
,
warning
:
"Warning"
,
wrong
:
"Error"
,
rulesException
:
"Abnormal value check rule"
,
saveSuccess
:
"Saved successfully"
,
saveFailed
:
"Save failed"
,
deleteSuccess
:
"Successfully deleted!"
,
deleteError
:
"Failed to delete"
,
delDataFail
:
"Failed to delete data"
,
noData
:
"No data"
,
startsuccess
:
"Start successful"
,
loadmore
:
"Load more"
,
nomore
:
"No more"
,
other
:
"other"
,
valueNotEmpty
:
"The value cannot be null"
,
},
local
:{
new
:
"New"
,
add
:
"Add"
,
},
gridpage
:
{
choicecolumns
:
"Choice columns"
,
refresh
:
"refresh"
,
show
:
"Show"
,
records
:
"records"
,
totle
:
"totle"
,
valueVail
:
"Value cannot be empty"
,
group
:
"Group"
,
other
:
"Other"
,
notConfig
:
{
fetchAction
:
"The view table fetchaction parameter is not configured"
,
removeAction
:
"The view table removeaction parameter is not configured"
,
createAction
:
"The view table createaction parameter is not configured"
,
updateAction
:
"The view table updateaction parameter is not configured"
,
loaddraftAction
:
"The view table loadtrafaction parameter is not configured"
,
},
data
:
"Data"
,
delDataFail
:
"Failed to delete data"
,
delSuccess
:
"Delete successfully!"
,
confirmDel
:
"Are you sure you want to delete"
,
notRecoverable
:
"delete will not be recoverable?"
,
notBatch
:
"Batch addition not implemented"
,
grid
:
"Grid"
,
exportFail
:
"Data export failed"
,
sum
:
"Total"
,
formitemFailed
:
"Form item update failed"
,
},
list
:
{
notConfig
:
{
fetchAction
:
"View list fetchAction parameter is not configured"
,
removeAction
:
"View table removeAction parameter is not configured"
,
createAction
:
"View list createAction parameter is not configured"
,
updateAction
:
"View list updateAction parameter is not configured"
,
},
confirmDel
:
"Are you sure you want to delete"
,
notRecoverable
:
"delete will not be recoverable?"
,
},
listExpBar
:
{
title
:
"List navigation bar"
,
},
wfExpBar
:
{
title
:
"Process navigation bar"
,
},
calendarExpBar
:{
title
:
"Calendar navigation bar"
,
},
treeExpBar
:
{
title
:
"Tree view navigation bar"
,
},
portlet
:
{
noExtensions
:
"No extensions"
,
},
tabpage
:
{
sureclosetip
:
{
title
:
"Close warning"
,
content
:
"Form data Changed, are sure close?"
,
},
closeall
:
"Close all"
,
closeother
:
"Close other"
,
},
fileUpload
:
{
caption
:
"Upload"
,
},
searchButton
:
{
search
:
"Search"
,
reset
:
"Reset"
,
},
calendar
:{
today
:
"today"
,
month
:
"month"
,
week
:
"week"
,
day
:
"day"
,
list
:
"list"
,
dateSelectModalTitle
:
"select the time you wanted"
,
gotoDate
:
"goto"
,
from
:
"From"
,
to
:
"To"
,
},
// 非实体视图
views
:
{
taskindexview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"ibizlab"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"task"
,
null
),
},
},
utilview
:{
importview
:
"Import Data"
,
warning
:
"warning"
,
info
:
"Please configure the data import item"
},
menus
:
{
taskindexview
:
{
menuitem3
:
commonLogic
.
appcommonhandle
(
"注册"
,
null
),
menuitem1
:
commonLogic
.
appcommonhandle
(
"任务"
,
null
),
menuitem2
:
commonLogic
.
appcommonhandle
(
"日志"
,
null
),
},
},
formpage
:{
error
:
"Error"
,
desc1
:
"Operation failed, failed to find current form item"
,
desc2
:
"Can't continue"
,
notconfig
:
{
loadaction
:
"View form loadAction parameter is not configured"
,
loaddraftaction
:
"View form loaddraftAction parameter is not configured"
,
actionname
:
"View form actionName parameter is not configured"
,
removeaction
:
"View form removeAction parameter is not configured"
,
},
saveerror
:
"Error saving data"
,
savecontent
:
"The data is inconsistent. The background data may have been modified. Do you want to reload the data?"
,
valuecheckex
:
"Value rule check exception"
,
savesuccess
:
"Saved successfully!"
,
deletesuccess
:
"Successfully deleted!"
,
workflow
:
{
starterror
:
"Workflow started successfully"
,
startsuccess
:
"Workflow failed to start"
,
submiterror
:
"Workflow submission failed"
,
submitsuccess
:
"Workflow submitted successfully"
,
},
updateerror
:
"Form item update failed"
,
},
gridBar
:
{
title
:
"Table navigation bar"
,
},
multiEditView
:
{
notConfig
:
{
fetchAction
:
"View multi-edit view panel fetchAction parameter is not configured"
,
loaddraftAction
:
"View multi-edit view panel loaddraftAction parameter is not configured"
,
},
},
dataViewExpBar
:
{
title
:
"Card view navigation bar"
,
},
kanban
:
{
notConfig
:
{
fetchAction
:
"View list fetchAction parameter is not configured"
,
removeAction
:
"View table removeAction parameter is not configured"
,
},
delete1
:
"Confirm to delete "
,
delete2
:
"the delete operation will be unrecoverable!"
,
fold
:
"fold"
,
unfold
:
"upfold"
,
},
dashBoard
:
{
handleClick
:
{
title
:
"Panel design"
,
},
},
dataView
:
{
sum
:
"total"
,
data
:
"data"
,
},
chart
:
{
undefined
:
"Undefined"
,
quarter
:
"Quarter"
,
year
:
"Year"
,
},
searchForm
:
{
notConfig
:
{
loadAction
:
"View search form loadAction parameter is not configured"
,
loaddraftAction
:
"View search form loaddraftAction parameter is not configured"
,
},
custom
:
"Store custom queries"
,
title
:
"Name"
,
},
wizardPanel
:
{
back
:
"Back"
,
next
:
"Next"
,
complete
:
"Complete"
,
preactionmessage
:
"The calculation of the previous behavior is not configured"
},
viewLayoutPanel
:
{
appLogoutView
:
{
prompt1
:
"Dear customer, you have successfully exited the system, after"
,
prompt2
:
"seconds, we will jump to the"
,
logingPage
:
"login page"
,
},
appWfstepTraceView
:
{
title
:
"Application process processing record view"
,
},
appWfstepDataView
:
{
title
:
"Application process tracking view"
,
},
appLoginView
:
{
username
:
"Username"
,
password
:
"Password"
,
login
:
"Login"
,
},
},
},
entities
:
{
jobslog
:
jobslog_en_US
(),
jobsregistry
:
jobsregistry_en_US
(),
jobsinfo
:
jobsinfo_en_US
(),
jobslock
:
jobslock_en_US
(),
},
components
:
components_en_US
(),
codelist
:
codelist_en_US
(),
userCustom
:
userCustom_en_US
(),
};
return
data
;
}
export
default
getAppLocale
;
\ No newline at end of file
app_web/src/locale/lang/en-US.ts
浏览文件 @
450ad6fe
import
jobslog_en_US
from
'@locale/lanres/entities/jobs-log/jobs-log_en_US'
;
import
app_en_US_Base
from
'./en-US-base'
;
import
jobsregistry_en_US
from
'@locale/lanres/entities/jobs-registry/jobs-registry_en_US'
;
import
jobsinfo_en_US
from
'@locale/lanres/entities/jobs-info/jobs-info_en_US'
;
import
jobslock_en_US
from
'@locale/lanres/entities/jobs-lock/jobs-lock_en_US'
;
import
components_en_US
from
'@locale/lanres/components/components_en_US'
;
import
codelist_en_US
from
'@locale/lanres/codelist/codelist_en_US'
;
import
userCustom_en_US
from
'@locale/lanres/userCustom/userCustom_en_US'
;
export
default
{
function
getLocaleResource
(){
app
:
{
const
app_en_US_OwnData
=
{};
commonWords
:{
const
targetData
=
Object
.
assign
(
app_en_US_Base
(),
app_en_US_OwnData
);
error
:
"Error"
,
return
targetData
;
success
:
"Success"
,
}
ok
:
"OK"
,
cancel
:
"Cancel"
,
export
default
getLocaleResource
;
save
:
"Save"
,
\ No newline at end of file
codeNotExist
:
'Code list does not exist'
,
reqException
:
"Request exception"
,
sysException
:
"System abnormality"
,
warning
:
"Warning"
,
wrong
:
"Error"
,
rulesException
:
"Abnormal value check rule"
,
saveSuccess
:
"Saved successfully"
,
saveFailed
:
"Save failed"
,
deleteSuccess
:
"Successfully deleted!"
,
deleteError
:
"Failed to delete"
,
delDataFail
:
"Failed to delete data"
,
noData
:
"No data"
,
startsuccess
:
"Start successful"
,
loadmore
:
"Load more"
,
nomore
:
"No more"
,
other
:
"other"
},
local
:{
new
:
"New"
,
add
:
"Add"
,
},
gridpage
:
{
choicecolumns
:
"Choice columns"
,
refresh
:
"refresh"
,
show
:
"Show"
,
records
:
"records"
,
totle
:
"totle"
,
valueVail
:
"Value cannot be empty"
,
group
:
"Group"
,
other
:
"Other"
,
notConfig
:
{
fetchAction
:
"The view table fetchaction parameter is not configured"
,
removeAction
:
"The view table removeaction parameter is not configured"
,
createAction
:
"The view table createaction parameter is not configured"
,
updateAction
:
"The view table updateaction parameter is not configured"
,
loaddraftAction
:
"The view table loadtrafaction parameter is not configured"
,
},
data
:
"Data"
,
delDataFail
:
"Failed to delete data"
,
delSuccess
:
"Delete successfully!"
,
confirmDel
:
"Are you sure you want to delete"
,
notRecoverable
:
"delete will not be recoverable?"
,
notBatch
:
"Batch addition not implemented"
,
grid
:
"Grid"
,
exportFail
:
"Data export failed"
,
sum
:
"Total"
,
formitemFailed
:
"Form item update failed"
,
},
list
:
{
notConfig
:
{
fetchAction
:
"View list fetchAction parameter is not configured"
,
removeAction
:
"View table removeAction parameter is not configured"
,
createAction
:
"View list createAction parameter is not configured"
,
updateAction
:
"View list updateAction parameter is not configured"
,
},
confirmDel
:
"Are you sure you want to delete"
,
notRecoverable
:
"delete will not be recoverable?"
,
},
listExpBar
:
{
title
:
"List navigation bar"
,
},
wfExpBar
:
{
title
:
"Process navigation bar"
,
},
calendarExpBar
:{
title
:
"Calendar navigation bar"
,
},
treeExpBar
:
{
title
:
"Tree view navigation bar"
,
},
portlet
:
{
noExtensions
:
"No extensions"
,
},
tabpage
:
{
sureclosetip
:
{
title
:
"Close warning"
,
content
:
"Form data Changed, are sure close?"
,
},
closeall
:
"Close all"
,
closeother
:
"Close other"
,
},
fileUpload
:
{
caption
:
"Upload"
,
},
searchButton
:
{
search
:
"Search"
,
reset
:
"Reset"
,
},
calendar
:{
today
:
"today"
,
month
:
"month"
,
week
:
"week"
,
day
:
"day"
,
list
:
"list"
,
dateSelectModalTitle
:
"select the time you wanted"
,
gotoDate
:
"goto"
,
from
:
"From"
,
to
:
"To"
,
},
// 非实体视图
views
:
{
taskindexview
:
{
caption
:
"ibizlab"
,
title
:
"task"
,
},
},
utilview
:{
importview
:
"Import Data"
,
warning
:
"warning"
,
info
:
"Please configure the data import item"
},
menus
:
{
taskindexview
:
{
menuitem3
:
"注册"
,
menuitem1
:
"任务"
,
menuitem2
:
"日志"
,
},
},
formpage
:{
error
:
"Error"
,
desc1
:
"Operation failed, failed to find current form item"
,
desc2
:
"Can't continue"
,
notconfig
:
{
loadaction
:
"View form loadAction parameter is not configured"
,
loaddraftaction
:
"View form loaddraftAction parameter is not configured"
,
actionname
:
"View form actionName parameter is not configured"
,
removeaction
:
"View form removeAction parameter is not configured"
,
},
saveerror
:
"Error saving data"
,
savecontent
:
"The data is inconsistent. The background data may have been modified. Do you want to reload the data?"
,
valuecheckex
:
"Value rule check exception"
,
savesuccess
:
"Saved successfully!"
,
deletesuccess
:
"Successfully deleted!"
,
workflow
:
{
starterror
:
"Workflow started successfully"
,
startsuccess
:
"Workflow failed to start"
,
submiterror
:
"Workflow submission failed"
,
submitsuccess
:
"Workflow submitted successfully"
,
},
updateerror
:
"Form item update failed"
,
},
gridBar
:
{
title
:
"Table navigation bar"
,
},
multiEditView
:
{
notConfig
:
{
fetchAction
:
"View multi-edit view panel fetchAction parameter is not configured"
,
loaddraftAction
:
"View multi-edit view panel loaddraftAction parameter is not configured"
,
},
},
dataViewExpBar
:
{
title
:
"Card view navigation bar"
,
},
kanban
:
{
notConfig
:
{
fetchAction
:
"View list fetchAction parameter is not configured"
,
removeAction
:
"View table removeAction parameter is not configured"
,
},
delete1
:
"Confirm to delete "
,
delete2
:
"the delete operation will be unrecoverable!"
,
},
dashBoard
:
{
handleClick
:
{
title
:
"Panel design"
,
},
},
dataView
:
{
sum
:
"total"
,
data
:
"data"
,
},
chart
:
{
undefined
:
"Undefined"
,
quarter
:
"Quarter"
,
year
:
"Year"
,
},
searchForm
:
{
notConfig
:
{
loadAction
:
"View search form loadAction parameter is not configured"
,
loaddraftAction
:
"View search form loaddraftAction parameter is not configured"
,
},
custom
:
"Store custom queries"
,
title
:
"Name"
,
},
wizardPanel
:
{
back
:
"Back"
,
next
:
"Next"
,
complete
:
"Complete"
,
preactionmessage
:
"The calculation of the previous behavior is not configured"
},
viewLayoutPanel
:
{
appLogoutView
:
{
prompt1
:
"Dear customer, you have successfully exited the system, after"
,
prompt2
:
"seconds, we will jump to the"
,
logingPage
:
"login page"
,
},
appWfstepTraceView
:
{
title
:
"Application process processing record view"
,
},
appWfstepDataView
:
{
title
:
"Application process tracking view"
,
},
appLoginView
:
{
username
:
"Username"
,
password
:
"Password"
,
login
:
"Login"
,
},
},
},
entities
:
{
jobslog
:
jobslog_en_US
,
jobsregistry
:
jobsregistry_en_US
,
jobsinfo
:
jobsinfo_en_US
,
jobslock
:
jobslock_en_US
,
},
components
:
components_en_US
,
codelist
:
codelist_en_US
,
userCustom
:
userCustom_en_US
,
};
\ No newline at end of file
app_web/src/locale/lang/zh-CN-base.ts
0 → 100644
浏览文件 @
450ad6fe
import
jobslog_zh_CN
from
'@locale/lanres/entities/jobs-log/jobs-log_zh_CN'
;
import
jobsregistry_zh_CN
from
'@locale/lanres/entities/jobs-registry/jobs-registry_zh_CN'
;
import
jobsinfo_zh_CN
from
'@locale/lanres/entities/jobs-info/jobs-info_zh_CN'
;
import
jobslock_zh_CN
from
'@locale/lanres/entities/jobs-lock/jobs-lock_zh_CN'
;
import
components_zh_CN
from
'@locale/lanres/components/components_zh_CN'
;
import
codelist_zh_CN
from
'@locale/lanres/codelist/codelist_zh_CN'
;
import
userCustom_zh_CN
from
'@locale/lanres/userCustom/userCustom_zh_CN'
;
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getAppLocale
(){
const
data
:
any
=
{
app
:
{
commonWords
:{
error
:
"失败"
,
success
:
"成功"
,
ok
:
"确认"
,
cancel
:
"取消"
,
save
:
"保存"
,
codeNotExist
:
"代码表不存在"
,
reqException
:
"请求异常"
,
sysException
:
"系统异常"
,
warning
:
"警告"
,
wrong
:
"错误"
,
rulesException
:
"值规则校验异常"
,
saveSuccess
:
"保存成功"
,
saveFailed
:
"保存失败"
,
deleteSuccess
:
"删除成功"
,
deleteError
:
"删除失败"
,
delDataFail
:
"删除数据失败"
,
noData
:
"暂无数据"
,
startsuccess
:
"启动成功"
,
loadmore
:
"加载更多"
,
nomore
:
"没有更多了"
,
other
:
"其他"
,
valueNotEmpty
:
"值不能为空"
,
},
local
:{
new
:
"新建"
,
add
:
"增加"
,
},
gridpage
:
{
choicecolumns
:
"选择列"
,
refresh
:
"刷新"
,
show
:
"显示"
,
records
:
"条"
,
totle
:
"共"
,
valueVail
:
"值不能为空"
,
group
:
"分组"
,
other
:
"其他"
,
notConfig
:
{
fetchAction
:
"视图表格fetchAction参数未配置"
,
removeAction
:
"视图表格removeAction参数未配置"
,
createAction
:
"视图表格createAction参数未配置"
,
updateAction
:
"视图表格updateAction参数未配置"
,
loaddraftAction
:
"视图表格loaddraftAction参数未配置"
,
},
data
:
"数据"
,
delDataFail
:
"删除数据失败"
,
delSuccess
:
"删除成功!"
,
confirmDel
:
"确认要删除"
,
notRecoverable
:
"删除操作将不可恢复?"
,
notBatch
:
"批量添加未实现"
,
grid
:
"表"
,
exportFail
:
"数据导出失败"
,
sum
:
"合计"
,
formitemFailed
:
"表单项更新失败"
,
},
list
:
{
notConfig
:
{
fetchAction
:
"视图列表fetchAction参数未配置"
,
removeAction
:
"视图表格removeAction参数未配置"
,
createAction
:
"视图列表createAction参数未配置"
,
updateAction
:
"视图列表updateAction参数未配置"
,
},
confirmDel
:
"确认要删除"
,
notRecoverable
:
"删除操作将不可恢复?"
,
},
listExpBar
:
{
title
:
"列表导航栏"
,
},
wfExpBar
:
{
title
:
"流程导航栏"
,
},
calendarExpBar
:{
title
:
"日历导航栏"
,
},
treeExpBar
:
{
title
:
"树视图导航栏"
,
},
portlet
:
{
noExtensions
:
"无扩展插件"
,
},
tabpage
:
{
sureclosetip
:
{
title
:
"关闭提醒"
,
content
:
"表单数据已经修改,确定要关闭?"
,
},
closeall
:
"关闭所有"
,
closeother
:
"关闭其他"
,
},
fileUpload
:
{
caption
:
"上传"
,
},
searchButton
:
{
search
:
"搜索"
,
reset
:
"重置"
,
},
calendar
:{
today
:
"今天"
,
month
:
"月"
,
week
:
"周"
,
day
:
"天"
,
list
:
"列"
,
dateSelectModalTitle
:
"选择要跳转的时间"
,
gotoDate
:
"跳转"
,
from
:
"从"
,
to
:
"至"
,
},
// 非实体视图
views
:
{
taskindexview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"ibizlab"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"task"
,
null
),
},
},
utilview
:{
importview
:
"导入数据"
,
warning
:
"警告"
,
info
:
"请配置数据导入项"
},
menus
:
{
taskindexview
:
{
menuitem3
:
commonLogic
.
appcommonhandle
(
"注册"
,
null
),
menuitem1
:
commonLogic
.
appcommonhandle
(
"任务"
,
null
),
menuitem2
:
commonLogic
.
appcommonhandle
(
"日志"
,
null
),
},
},
formpage
:{
desc1
:
"操作失败,未能找到当前表单项"
,
desc2
:
"无法继续操作"
,
notconfig
:
{
loadaction
:
"视图表单loadAction参数未配置"
,
loaddraftaction
:
"视图表单loaddraftAction参数未配置"
,
actionname
:
"视图表单'+actionName+'参数未配置"
,
removeaction
:
"视图表单removeAction参数未配置"
,
},
saveerror
:
"保存数据发生错误"
,
savecontent
:
"数据不一致,可能后台数据已经被修改,是否要重新加载数据?"
,
valuecheckex
:
"值规则校验异常"
,
savesuccess
:
"保存成功!"
,
deletesuccess
:
"删除成功!"
,
workflow
:
{
starterror
:
"工作流启动失败"
,
startsuccess
:
"工作流启动成功"
,
submiterror
:
"工作流提交失败"
,
submitsuccess
:
"工作流提交成功"
,
},
updateerror
:
"表单项更新失败"
,
},
gridBar
:
{
title
:
"表格导航栏"
,
},
multiEditView
:
{
notConfig
:
{
fetchAction
:
"视图多编辑视图面板fetchAction参数未配置"
,
loaddraftAction
:
"视图多编辑视图面板loaddraftAction参数未配置"
,
},
},
dataViewExpBar
:
{
title
:
"卡片视图导航栏"
,
},
kanban
:
{
notConfig
:
{
fetchAction
:
"视图列表fetchAction参数未配置"
,
removeAction
:
"视图表格removeAction参数未配置"
,
},
delete1
:
"确认要删除 "
,
delete2
:
"删除操作将不可恢复?"
,
fold
:
"折叠"
,
unfold
:
"展开"
,
},
dashBoard
:
{
handleClick
:
{
title
:
"面板设计"
,
},
},
dataView
:
{
sum
:
"共"
,
data
:
"条数据"
,
},
chart
:
{
undefined
:
"未定义"
,
quarter
:
"季度"
,
year
:
"年"
,
},
searchForm
:
{
notConfig
:
{
loadAction
:
"视图搜索表单loadAction参数未配置"
,
loaddraftAction
:
"视图搜索表单loaddraftAction参数未配置"
,
},
custom
:
"存储自定义查询"
,
title
:
"名称"
,
},
wizardPanel
:
{
back
:
"上一步"
,
next
:
"下一步"
,
complete
:
"完成"
,
preactionmessage
:
"未配置计算上一步行为"
},
viewLayoutPanel
:
{
appLogoutView
:
{
prompt1
:
"尊敬的客户您好,您已成功退出系统,将在"
,
prompt2
:
"秒后跳转至"
,
logingPage
:
"登录页"
,
},
appWfstepTraceView
:
{
title
:
"应用流程处理记录视图"
,
},
appWfstepDataView
:
{
title
:
"应用流程跟踪视图"
,
},
appLoginView
:
{
username
:
"用户名"
,
password
:
"密码"
,
login
:
"登录"
,
},
},
},
entities
:
{
jobslog
:
jobslog_zh_CN
(),
jobsregistry
:
jobsregistry_zh_CN
(),
jobsinfo
:
jobsinfo_zh_CN
(),
jobslock
:
jobslock_zh_CN
(),
},
components
:
components_zh_CN
(),
codelist
:
codelist_zh_CN
(),
userCustom
:
userCustom_zh_CN
(),
};
return
data
;
}
export
default
getAppLocale
;
\ No newline at end of file
app_web/src/locale/lang/zh-CN.ts
浏览文件 @
450ad6fe
import
jobslog_zh_CN
from
'@locale/lanres/entities/jobs-log/jobs-log_zh_CN'
;
import
app_zh_CN_Base
from
'./zh-CN-base'
;
import
jobsregistry_zh_CN
from
'@locale/lanres/entities/jobs-registry/jobs-registry_zh_CN'
;
import
jobsinfo_zh_CN
from
'@locale/lanres/entities/jobs-info/jobs-info_zh_CN'
;
import
jobslock_zh_CN
from
'@locale/lanres/entities/jobs-lock/jobs-lock_zh_CN'
;
import
components_zh_CN
from
'@locale/lanres/components/components_zh_CN'
;
import
codelist_zh_CN
from
'@locale/lanres/codelist/codelist_zh_CN'
;
import
userCustom_zh_CN
from
'@locale/lanres/userCustom/userCustom_zh_CN'
;
export
default
{
function
getLocaleResource
(){
app
:
{
const
app_zh_CN_OwnData
=
{};
commonWords
:{
const
targetData
=
Object
.
assign
(
app_zh_CN_Base
(),
app_zh_CN_OwnData
);
error
:
"失败"
,
return
targetData
;
success
:
"成功"
,
}
ok
:
"确认"
,
cancel
:
"取消"
,
export
default
getLocaleResource
;
save
:
"保存"
,
\ No newline at end of file
codeNotExist
:
"代码表不存在"
,
reqException
:
"请求异常"
,
sysException
:
"系统异常"
,
warning
:
"警告"
,
wrong
:
"错误"
,
rulesException
:
"值规则校验异常"
,
saveSuccess
:
"保存成功"
,
saveFailed
:
"保存失败"
,
deleteSuccess
:
"删除成功"
,
deleteError
:
"删除失败"
,
delDataFail
:
"删除数据失败"
,
noData
:
"暂无数据"
,
startsuccess
:
"启动成功"
,
loadmore
:
"加载更多"
,
nomore
:
"没有更多了"
,
other
:
"其他"
},
local
:{
new
:
"新建"
,
add
:
"增加"
,
},
gridpage
:
{
choicecolumns
:
"选择列"
,
refresh
:
"刷新"
,
show
:
"显示"
,
records
:
"条"
,
totle
:
"共"
,
valueVail
:
"值不能为空"
,
group
:
"分组"
,
other
:
"其他"
,
notConfig
:
{
fetchAction
:
"视图表格fetchAction参数未配置"
,
removeAction
:
"视图表格removeAction参数未配置"
,
createAction
:
"视图表格createAction参数未配置"
,
updateAction
:
"视图表格updateAction参数未配置"
,
loaddraftAction
:
"视图表格loaddraftAction参数未配置"
,
},
data
:
"数据"
,
delDataFail
:
"删除数据失败"
,
delSuccess
:
"删除成功!"
,
confirmDel
:
"确认要删除"
,
notRecoverable
:
"删除操作将不可恢复?"
,
notBatch
:
"批量添加未实现"
,
grid
:
"表"
,
exportFail
:
"数据导出失败"
,
sum
:
"合计"
,
formitemFailed
:
"表单项更新失败"
,
},
list
:
{
notConfig
:
{
fetchAction
:
"视图列表fetchAction参数未配置"
,
removeAction
:
"视图表格removeAction参数未配置"
,
createAction
:
"视图列表createAction参数未配置"
,
updateAction
:
"视图列表updateAction参数未配置"
,
},
confirmDel
:
"确认要删除"
,
notRecoverable
:
"删除操作将不可恢复?"
,
},
listExpBar
:
{
title
:
"列表导航栏"
,
},
wfExpBar
:
{
title
:
"流程导航栏"
,
},
calendarExpBar
:{
title
:
"日历导航栏"
,
},
treeExpBar
:
{
title
:
"树视图导航栏"
,
},
portlet
:
{
noExtensions
:
"无扩展插件"
,
},
tabpage
:
{
sureclosetip
:
{
title
:
"关闭提醒"
,
content
:
"表单数据已经修改,确定要关闭?"
,
},
closeall
:
"关闭所有"
,
closeother
:
"关闭其他"
,
},
fileUpload
:
{
caption
:
"上传"
,
},
searchButton
:
{
search
:
"搜索"
,
reset
:
"重置"
,
},
calendar
:{
today
:
"今天"
,
month
:
"月"
,
week
:
"周"
,
day
:
"天"
,
list
:
"列"
,
dateSelectModalTitle
:
"选择要跳转的时间"
,
gotoDate
:
"跳转"
,
from
:
"从"
,
to
:
"至"
,
},
// 非实体视图
views
:
{
taskindexview
:
{
caption
:
"ibizlab"
,
title
:
"task"
,
},
},
utilview
:{
importview
:
"导入数据"
,
warning
:
"警告"
,
info
:
"请配置数据导入项"
},
menus
:
{
taskindexview
:
{
menuitem3
:
"注册"
,
menuitem1
:
"任务"
,
menuitem2
:
"日志"
,
},
},
formpage
:{
desc1
:
"操作失败,未能找到当前表单项"
,
desc2
:
"无法继续操作"
,
notconfig
:
{
loadaction
:
"视图表单loadAction参数未配置"
,
loaddraftaction
:
"视图表单loaddraftAction参数未配置"
,
actionname
:
"视图表单'+actionName+'参数未配置"
,
removeaction
:
"视图表单removeAction参数未配置"
,
},
saveerror
:
"保存数据发生错误"
,
savecontent
:
"数据不一致,可能后台数据已经被修改,是否要重新加载数据?"
,
valuecheckex
:
"值规则校验异常"
,
savesuccess
:
"保存成功!"
,
deletesuccess
:
"删除成功!"
,
workflow
:
{
starterror
:
"工作流启动失败"
,
startsuccess
:
"工作流启动成功"
,
submiterror
:
"工作流提交失败"
,
submitsuccess
:
"工作流提交成功"
,
},
updateerror
:
"表单项更新失败"
,
},
gridBar
:
{
title
:
"表格导航栏"
,
},
multiEditView
:
{
notConfig
:
{
fetchAction
:
"视图多编辑视图面板fetchAction参数未配置"
,
loaddraftAction
:
"视图多编辑视图面板loaddraftAction参数未配置"
,
},
},
dataViewExpBar
:
{
title
:
"卡片视图导航栏"
,
},
kanban
:
{
notConfig
:
{
fetchAction
:
"视图列表fetchAction参数未配置"
,
removeAction
:
"视图表格removeAction参数未配置"
,
},
delete1
:
"确认要删除 "
,
delete2
:
"删除操作将不可恢复?"
,
},
dashBoard
:
{
handleClick
:
{
title
:
"面板设计"
,
},
},
dataView
:
{
sum
:
"共"
,
data
:
"条数据"
,
},
chart
:
{
undefined
:
"未定义"
,
quarter
:
"季度"
,
year
:
"年"
,
},
searchForm
:
{
notConfig
:
{
loadAction
:
"视图搜索表单loadAction参数未配置"
,
loaddraftAction
:
"视图搜索表单loaddraftAction参数未配置"
,
},
custom
:
"存储自定义查询"
,
title
:
"名称"
,
},
wizardPanel
:
{
back
:
"上一步"
,
next
:
"下一步"
,
complete
:
"完成"
,
preactionmessage
:
"未配置计算上一步行为"
},
viewLayoutPanel
:
{
appLogoutView
:
{
prompt1
:
"尊敬的客户您好,您已成功退出系统,将在"
,
prompt2
:
"秒后跳转至"
,
logingPage
:
"登录页"
,
},
appWfstepTraceView
:
{
title
:
"应用流程处理记录视图"
,
},
appWfstepDataView
:
{
title
:
"应用流程跟踪视图"
,
},
appLoginView
:
{
username
:
"用户名"
,
password
:
"密码"
,
login
:
"登录"
,
},
},
},
entities
:
{
jobslog
:
jobslog_zh_CN
,
jobsregistry
:
jobsregistry_zh_CN
,
jobsinfo
:
jobsinfo_zh_CN
,
jobslock
:
jobslock_zh_CN
,
},
components
:
components_zh_CN
,
codelist
:
codelist_zh_CN
,
userCustom
:
userCustom_zh_CN
,
};
\ No newline at end of file
app_web/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
450ad6fe
export
default
{
import
codelist_en_US_Base
from
'./codelist_en_US_base'
;
CodeListJobStatus
:
{
"0"
:
"ENABLED"
,
function
getLocaleResource
(){
"1"
:
"DISABLED"
,
const
codelist_en_US_OwnData
=
{};
"empty"
:
""
const
targetData
=
Object
.
assign
(
codelist_en_US_Base
(),
codelist_en_US_OwnData
);
},
return
targetData
;
};
}
\ No newline at end of file
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/codelist/codelist_en_US_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
CodeListJobStatus
:
{
"0"
:
commonLogic
.
appcommonhandle
(
"ENABLED"
,
null
),
"1"
:
commonLogic
.
appcommonhandle
(
"DISABLED"
,
null
),
"empty"
:
commonLogic
.
appcommonhandle
(
""
,
null
)
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
450ad6fe
export
default
{
import
codelist_zh_CN_Base
from
'./codelist_zh_CN_base'
;
CodeListJobStatus
:
{
"0"
:
"ENABLED"
,
function
getLocaleResource
(){
"1"
:
"DISABLED"
,
const
codelist_zh_CN_OwnData
=
{};
"empty"
:
""
,
const
targetData
=
Object
.
assign
(
codelist_zh_CN_Base
(),
codelist_zh_CN_OwnData
);
},
return
targetData
;
};
}
\ No newline at end of file
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/codelist/codelist_zh_CN_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
CodeListJobStatus
:
{
"0"
:
commonLogic
.
appcommonhandle
(
"ENABLED"
,
null
),
"1"
:
commonLogic
.
appcommonhandle
(
"DISABLED"
,
null
),
"empty"
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/components/components_en_US.ts
浏览文件 @
450ad6fe
export
default
{
import
components_en_US_Base
from
'./components_en_US_base'
;
"404"
:
{
errorText1
:
'sorry,the page you visited is not exist!'
,
function
getLocaleResource
(){
errorText2
:
'The page you visited is not exist,please return to'
,
const
components_en_US_OwnData
=
{};
indexPage
:
'home page'
,
const
targetData
=
Object
.
assign
(
components_en_US_Base
(),
components_en_US_OwnData
);
continue
:
'to continue browsing'
,
return
targetData
;
},
}
"500"
:
{
export
default
getLocaleResource
;
errorText1
:
"sorry,there's something wrong with the server!"
,
\ No newline at end of file
errorText2
:
"There's something wrong with the server,please return to"
,
indexPage
:
'home page'
,
continue
:
'to continue browsing'
,
},
appOrgSector
:{
successSwitch
:
'The switch was successful'
,
errorSwitch
:
'The switchover failed'
,
},
appAutocomplete
:
{
error
:
'Error'
,
miss
:
'Missing parameter '
,
requestException
:
'Request Exception!'
,
},
appBuild
:
{
custom
:
'Customize'
,
},
appCheckBox
:
{
notExist
:
'codelist is not existed'
,
},
appColumnLink
:
{
error
:
'error'
,
valueItemException
:
"value item exception"
,
rowDataException
:
"table row data exception"
,
},
appColumnRender
:
{
select
:
'please select...'
,
unsupported
:
'unsupported'
,
},
appDashboardDesign
:
{
global
:
'Global'
,
},
appDataUploadView
:
{
"viewtitle"
:
"AppDataUploadView"
,
"selectfile"
:
"Select File"
,
"uploadserver"
:
"Upload Server"
,
"datatemplate"
:
"Download Import Data Template"
,
"dataid"
:
"Data ID is "
,
"read"
:
" read Successful"
,
"importing"
:
"Importing"
,
"completed"
:
"Import Completed"
,
"confirm"
:
"OK"
,
"datatemp"
:
"Data Template"
,
"importfailed"
:
"Import Failed"
},
appDebugActions
:
{
button
:
'Open Configuration Mode'
,
},
appExportExcel
:
{
total
:
'All'
,
max
:
'At Most'
,
row
:
'Lines'
,
currentPage
:
'Current Page'
,
desc
:
'Please enter the start page'
,
desc1
:
'Please enter a valid start page'
,
},
appFileUpload
:
{
preview
:
'preview'
,
uploadText
:
'Drag files here,or <em>Click</em> to upload'
,
fileTypeErrorTitle
:
'File type incorrect'
,
fileTypeErrorInfo
:
'Please select files with picture types,such as JPEG,GIF,PNG,BMP'
,
},
appFormDRUIPart
:
{
blockUITipInfo
:
'Please save the major data first'
,
viewLoadComp
:
'After the multi data view is loaded, the subsequent form item update will be triggered'
,
save
:
'Relationship data save complete'
,
change
:
'Relationship data value change'
,
change1
:
'View data changes'
,
loadComp
:
'View loading complete'
,
},
appHeaderMenus
:
{
ibizlab
:{
title
:
'iBizLab'
,
},
publishProject
:{
title
:
'Publish Project'
,
},
ibizstudio
:{
title
:
'Model Design Tools'
,
},
ibizbbs
:{
title
:
'iBizBBS'
,
},
},
appMpicker
:
{
error
:
'Error'
,
miss
:
'Missing parameter '
,
requestException
:
'Request Exception!'
,
},
appPicker
:
{
error
:
'Error'
,
miss
:
'Missing parameter '
,
requestException
:
'Request Exception!'
,
newAndEdit
:
'Create And Edit...'
,
systemException
:
'System Error!'
,
valueitemException
:
'valueitem Error!'
,
formdataException
:
'formdata Error!'
,
},
appPickerSelectView
:
{
error
:
'Error'
,
valueitemException
:
'valueitem Error!'
,
formdataException
:
'formdata Error!'
,
placeholder
:
'Please select...'
,
},
appPortalDesign
:
{
customPortal
:
'Custom portal'
,
save
:
'Save'
,
},
appRangDate
:
{
placeholder
:
'Please select time...'
,
from
:
'from'
,
daystart
:
'00:00:00 to'
,
dayend
:
'24:00:00'
,
},
appRangeEditor
:
{
placeholder
:
'Please select time...'
,
input
:
'Please input...'
,
},
appStudioAction
:
{
configTitle
:
'Enter the configuration of current view'
,
configButton
:
'Configuration'
,
issueTitle
:
'Create issues of current view'
,
issueButton
:
'Create issues'
,
},
appTreePicker
:
{
placeholder
:
'please select...'
,
},
dateRange
:
{
startText
:
'Insurance period : From'
,
endText
:
'24:00:00'
,
startPlaceholder
:
'Begin Date'
,
rangeSeparatorr
:
' 00:00:00 To'
,
endPlaceholder
:
'End Dat4e'
,
},
dropDownList
:
{
placeholder
:
'please select...'
,
},
dropDownListDynamic
:
{
placeholder
:
'please select...'
,
},
dropDownListMpicker
:
{
placeholder
:
'please select...'
,
},
login
:
{
error
:
'Error'
,
caption
:
'Welcome to login'
,
placeholder1
:
'User name'
,
placeholder2
:
'Password'
,
name
:
'Login'
,
reset
:
'Reset'
,
other
:
'Other login methods'
,
tip
:
'Enter username and password'
,
warning1
:
'QQ authorization login not supported'
,
warning2
:
'Wechat authorized login not supported'
,
loginname
:
{
placeholder
:
'Username'
,
message
:
'The username cannot be empty'
,
},
password
:
{
placeholder
:
'Password'
,
message
:
'The password cannot be empty'
,
},
loginfailed
:
'Login failed'
,
},
appUser
:
{
name
:
'System'
,
logout
:
'Logout'
,
surelogout
:
'Are you sure logout?'
,
changepwd
:
"Change Password"
,
},
appTheme
:
{
caption
:
{
theme
:
'Theme'
,
font
:
'Font family'
,
},
fontFamilys
:
{
MicrosoftYaHei
:
'Microsoft YaHei'
,
SimHei
:
'SimHei'
,
YouYuan
:
'YouYuan'
,
},
},
appFormGroup
:
{
hide
:
'hide'
,
showMore
:
'show more'
,
},
appUpdatePassword
:
{
oldPwd
:
'Original password'
,
newPwd
:
'New password'
,
confirmPwd
:
'Confirm password'
,
sure
:
'Confirm modification'
,
oldPwdErr
:
'The original password cannot be empty!'
,
newPwdErr
:
'New password cannot be empty!'
,
confirmPwdErr
:
'The two input passwords are inconsistent!'
,
},
appAddressSelection
:
{
loadDataFail
:
'City data loading failed'
},
appGroupSelect
:{
groupSelect
:
'Group selection'
,
},
appImageUpload
:{
uploadFail
:
'Upload failed'
},
appOrgSelect
:{
loadFail
:
'Failed to load data'
},
appTransfer
:{
title1
:
'Not selected'
,
title2
:
'Selected'
,
},
appWFApproval
:{
commit
:
'Commit'
,
wait
:
'Waiting'
,
handle
:
'Handle'
,
placeholder
:
'Please enter the content'
,
end
:
'End'
},
contextMenuDrag
:{
allApp
:
'All applications'
,
noFind
:
'The app was not found'
},
filterMode
:{
placeholder
:
'Conditional logic'
,
},
filterTree
:{
title1
:
'Add condition'
,
title2
:
'Add group'
,
placeholder
:
'Attribute'
,
},
iBizGroupPicker
:{
ok
:
'Ok'
,
cancel
:
'Cancel'
,
},
iBizGroupSelect
:{
groupSelect
:
'Group selection'
},
tabPageExp
:{
more
:
'More'
,
},
uploadFile
:{
imgMsg
:
'Drag the picture here to replace it'
,
localUpload
:
'Local upload'
,
or
:
'Or'
,
imgMsg1
:
'Select from stock'
},
lockScren
:{
title
:
'Set the password lock screen'
,
label
:
'password'
,
message
:
'The lock screen password cannot be empty'
,
placeholder
:
'Please enter the lock screen password'
,
placeholder1
:
'Please enter your login password'
,
message1
:
'The unlock password is wrong. Please reenter it'
,
promptInformation
:
'Do you want to quit the system? Do you want to continue?'
,
prompt
:
'prompt'
,
confirmButtonText
:
'determine'
,
cancelButtonText
:
'cancel'
,
},
cronEditor
:
{
label
:
{
second
:
'Second'
,
minute
:
'Minute'
,
hour
:
'Hour'
,
day
:
'Day'
,
week
:
'Week'
,
month
:
'Month'
,
year
:
'Year'
,
},
public
:
{
specify
:
'Specify'
,
notSpecify
:
'Not specify'
,
cycle
:
'Cycle'
,
from
:
'From'
,
to
:
'to'
,
loop
:
'Loop'
,
every
:
'Every'
,
once
:
'execute once'
,
},
second
:
'second'
,
minute
:
'minute'
,
hour
:
{
title
:
'hour'
,
everyHour
:
'Every hour'
,
hourStart
:
"o'clock start, every "
,
onceAHour
:
"o'clock to execute once."
,
},
day
:
{
title
:
'day'
,
daily
:
'Every day'
,
workDay
:
'Working day'
,
dayStart
:
'rd start, every '
,
onceADay
:
'rd to execute once'
,
thisMonth
:
'this month'
,
lastWorkDay
:
'rd, Recent working day'
,
lastDayOfMonth
:
'Last day of the month'
,
},
month
:
{
title
:
'month'
,
everyMonth
:
'Every month'
,
monthStart
:
' month start, every'
,
onceAMonth
:
' month to execute once'
,
},
week
:
{
title
:
'week'
,
everyWeek
:
'Every week'
,
from
:
''
,
to
:
'from weekday'
,
start
:
'start, every'
,
onceADay
:
'days to execute once'
,
specifyWeek
:
'Specify week'
,
weekOfMonth
:
'this month'
,
weekWeek
:
'week, weekday'
,
lastOfMonth
:
'Last of the month'
,
week
:
'weekday'
,
},
year
:
{
title
:
'year'
,
everyYear
:
'Every year'
,
},
message
:
{
error1
:
'Date and day of the week cannot be "not specified" at the same time'
,
error2
:
'Both the date and the day of the week must be "not specified"'
,
},
},
appMessagePopover
:
{
loadMore
:
'Load more'
,
noMore
:
'No more'
},
diskFileUpload
:{
fileDrag
:
'Drag the file here, or'
,
clickUpload
:
'Click on the upload'
,
load
:
'Load'
,
preview
:
'preview'
,
edit
:
'Edit'
,
delete
:
'Delete'
,
clues
:
'Individual file sizes do not exceed'
,
clues1
:
'Documents not exceeding'
,
getFileFailure
:
'Failed to get file list'
,
loadFailure
:
'Upload file failed'
,
loadFailure1
:
'Upload failed, individual file cannot exceed'
,
downloadFile
:
'Download file failed'
,
downloadFile1
:
'Download file failed, not get file!'
,
deleteFile
:
'This action will permanently delete the file. Do you want to continue?'
,
deleteFilePrompt
:
'Prompt'
,
true
:
'True'
,
false
:
'False'
,
deleteFileFailure
:
'File deletion failed'
,
updateFailure
:
'Batch update file failed'
,
},
diskImageUpload
:{
preview
:
'Preview'
,
OCRdiscern
:
'OCRdiscern'
,
load
:
'Load'
,
delete
:
'Delete'
,
getImageFailure
:
'Failed to get list of images'
,
loadImageFailure
:
'Failed to download thumbnails'
,
loadImageFailure1
:
'Failed to download thumbnail, failed to get file!'
,
loadImageFailure2
:
'Download image failed'
,
loadImageFailure3
:
'Download picture failed, no picture found!'
,
ImageIdNone
:
'Picture ID does not exist!'
,
uploadImageFailure
:
'Failed to upload image'
,
uploadImageFailure1
:
"Upload failed, only support 'GIF, JPG, PNG, BMP' format images!"
,
uploadFailure
:
'Upload failed, individual image must not exceed'
,
notImageUrl
:
'The image URL does not exist'
,
deleteFile
:
'This action will permanently delete the file. Do you want to continue?'
,
deleteFilePrompt
:
'Prompt'
,
true
:
'True'
,
false
:
'False'
,
deleteImageFailure
:
'Image deletion failed'
,
updateFailure
:
'Batch update file failed'
,
},
appMapPosition
:
{
submit
:
'Submit'
,
title
:
'Please select address'
},
appSortBar
:
{
title
:
'Sort'
},
appAfterTime
:{
minutesAgo
:
'minutes ago'
,
hoursAgo
:
'hours ago'
,
dayAgo
:
'days ago'
,
monthsAgo
:
'months ago'
,
yearsAgo
:
'years ago'
}
};
\ No newline at end of file
app_web/src/locale/lanres/components/components_en_US_base.ts
0 → 100644
浏览文件 @
450ad6fe
function
getLocaleResourceBase
(){
const
data
:
any
=
{
"404"
:
{
errorText1
:
'sorry,the page you visited is not exist!'
,
errorText2
:
'The page you visited is not exist,please return to'
,
indexPage
:
'home page'
,
continue
:
'to continue browsing'
,
},
"500"
:
{
errorText1
:
"sorry,there's something wrong with the server!"
,
errorText2
:
"There's something wrong with the server,please return to"
,
indexPage
:
'home page'
,
continue
:
'to continue browsing'
,
},
appOrgSector
:{
successSwitch
:
'The switch was successful'
,
errorSwitch
:
'The switchover failed'
,
},
appAutocomplete
:
{
error
:
'Error'
,
miss
:
'Missing parameter '
,
requestException
:
'Request Exception!'
,
},
appBuild
:
{
custom
:
'Customize'
,
},
appCheckBox
:
{
notExist
:
'codelist is not existed'
,
},
appColumnLink
:
{
error
:
'error'
,
valueItemException
:
"value item exception"
,
rowDataException
:
"table row data exception"
,
},
appColumnRender
:
{
select
:
'please select...'
,
unsupported
:
'unsupported'
,
},
appDashboardDesign
:
{
global
:
'Global'
,
},
appDataUploadView
:
{
"viewtitle"
:
"AppDataUploadView"
,
"selectfile"
:
"Select File"
,
"uploadserver"
:
"Upload Server"
,
"datatemplate"
:
"Download Import Data Template"
,
"dataid"
:
"Data ID is "
,
"read"
:
" read Successful"
,
"importing"
:
"Importing"
,
"completed"
:
"Import Completed"
,
"confirm"
:
"OK"
,
"datatemp"
:
"Data Template"
,
"importfailed"
:
"Import Failed"
},
appDebugActions
:
{
button
:
'Open Configuration Mode'
,
},
appExportExcel
:
{
total
:
'All'
,
max
:
'At Most'
,
row
:
'Lines'
,
currentPage
:
'Current Page'
,
desc
:
'Please enter the start page'
,
desc1
:
'Please enter a valid start page'
,
},
appFileUpload
:
{
preview
:
'preview'
,
uploadText
:
'Drag files here,or <em>Click</em> to upload'
,
fileTypeErrorTitle
:
'File type incorrect'
,
fileTypeErrorInfo
:
'Please select files with picture types,such as JPEG,GIF,PNG,BMP'
,
},
appFormDRUIPart
:
{
blockUITipInfo
:
'Please save the major data first'
,
viewLoadComp
:
'After the multi data view is loaded, the subsequent form item update will be triggered'
,
save
:
'Relationship data save complete'
,
change
:
'Relationship data value change'
,
change1
:
'View data changes'
,
loadComp
:
'View loading complete'
,
},
appHeaderMenus
:
{
ibizlab
:{
title
:
'iBizLab'
,
},
publishProject
:{
title
:
'Publish Project'
,
},
ibizstudio
:{
title
:
'Model Design Tools'
,
},
ibizbbs
:{
title
:
'iBizBBS'
,
},
},
appMpicker
:
{
error
:
'Error'
,
miss
:
'Missing parameter '
,
requestException
:
'Request Exception!'
,
},
appPicker
:
{
error
:
'Error'
,
miss
:
'Missing parameter '
,
requestException
:
'Request Exception!'
,
newAndEdit
:
'Create And Edit...'
,
systemException
:
'System Error!'
,
valueitemException
:
'valueitem Error!'
,
formdataException
:
'formdata Error!'
,
},
appPickerSelectView
:
{
error
:
'Error'
,
valueitemException
:
'valueitem Error!'
,
formdataException
:
'formdata Error!'
,
placeholder
:
'Please select...'
,
},
appPortalDesign
:
{
customPortal
:
'Custom portal'
,
save
:
'Save'
,
},
appRangDate
:
{
placeholder
:
'Please select time...'
,
from
:
'from'
,
daystart
:
'00:00:00 to'
,
dayend
:
'24:00:00'
,
},
appRangeEditor
:
{
placeholder
:
'Please select time...'
,
input
:
'Please input...'
,
},
appStudioAction
:
{
configTitle
:
'Enter the configuration of current view'
,
configButton
:
'Configuration'
,
issueTitle
:
'Create issues of current view'
,
issueButton
:
'Create issues'
,
},
appTreePicker
:
{
placeholder
:
'please select...'
,
},
dateRange
:
{
startText
:
'Insurance period : From'
,
endText
:
'24:00:00'
,
startPlaceholder
:
'Begin Date'
,
rangeSeparatorr
:
' 00:00:00 To'
,
endPlaceholder
:
'End Dat4e'
,
},
dropDownList
:
{
placeholder
:
'please select...'
,
},
dropDownListDynamic
:
{
placeholder
:
'please select...'
,
},
dropDownListMpicker
:
{
placeholder
:
'please select...'
,
},
login
:
{
error
:
'Error'
,
caption
:
'Welcome to login'
,
placeholder1
:
'User name'
,
placeholder2
:
'Password'
,
name
:
'Login'
,
reset
:
'Reset'
,
other
:
'Other login methods'
,
tip
:
'Enter username and password'
,
warning1
:
'QQ authorization login not supported'
,
warning2
:
'Wechat authorized login not supported'
,
loginname
:
{
placeholder
:
'Username'
,
message
:
'The username cannot be empty'
,
},
password
:
{
placeholder
:
'Password'
,
message
:
'The password cannot be empty'
,
},
loginfailed
:
'Login failed'
,
},
appUser
:
{
name
:
'System'
,
logout
:
'Logout'
,
surelogout
:
'Are you sure logout?'
,
changepwd
:
"Change Password"
,
},
appTheme
:
{
caption
:
{
theme
:
'Theme'
,
font
:
'Font family'
,
},
fontFamilys
:
{
MicrosoftYaHei
:
'Microsoft YaHei'
,
SimHei
:
'SimHei'
,
YouYuan
:
'YouYuan'
,
},
},
appFormGroup
:
{
hide
:
'hide'
,
showMore
:
'show more'
,
},
appUpdatePassword
:
{
oldPwd
:
'Original password'
,
newPwd
:
'New password'
,
confirmPwd
:
'Confirm password'
,
sure
:
'Confirm modification'
,
oldPwdErr
:
'The original password cannot be empty!'
,
newPwdErr
:
'New password cannot be empty!'
,
confirmPwdErr
:
'The two input passwords are inconsistent!'
,
},
appAddressSelection
:
{
loadDataFail
:
'City data loading failed'
},
appGroupSelect
:{
groupSelect
:
'Group selection'
,
},
appImageUpload
:{
uploadFail
:
'Upload failed'
},
appOrgSelect
:{
loadFail
:
'Failed to load data'
},
appTransfer
:{
title1
:
'Not selected'
,
title2
:
'Selected'
,
},
appWFApproval
:{
commit
:
'Commit'
,
wait
:
'Waiting'
,
handle
:
'Handle'
,
placeholder
:
'Please enter the content'
,
end
:
'End'
},
contextMenuDrag
:{
allApp
:
'All applications'
,
noFind
:
'The app was not found'
},
filterMode
:{
placeholder
:
'Conditional logic'
,
},
filterTree
:{
title1
:
'Add condition'
,
title2
:
'Add group'
,
placeholder
:
'Attribute'
,
},
iBizGroupPicker
:{
ok
:
'Ok'
,
cancel
:
'Cancel'
,
},
iBizGroupSelect
:{
groupSelect
:
'Group selection'
},
tabPageExp
:{
more
:
'More'
,
},
uploadFile
:{
imgMsg
:
'Drag the picture here to replace it'
,
localUpload
:
'Local upload'
,
or
:
'Or'
,
imgMsg1
:
'Select from stock'
},
lockScren
:{
title
:
'Set the password lock screen'
,
label
:
'password'
,
message
:
'The lock screen password cannot be empty'
,
placeholder
:
'Please enter the lock screen password'
,
placeholder1
:
'Please enter your login password'
,
message1
:
'The unlock password is wrong. Please reenter it'
,
promptInformation
:
'Do you want to quit the system? Do you want to continue?'
,
prompt
:
'prompt'
,
confirmButtonText
:
'determine'
,
cancelButtonText
:
'cancel'
,
},
cronEditor
:
{
label
:
{
second
:
'Second'
,
minute
:
'Minute'
,
hour
:
'Hour'
,
day
:
'Day'
,
week
:
'Week'
,
month
:
'Month'
,
year
:
'Year'
,
},
public
:
{
specify
:
'Specify'
,
notSpecify
:
'Not specify'
,
cycle
:
'Cycle'
,
from
:
'From'
,
to
:
'to'
,
loop
:
'Loop'
,
every
:
'Every'
,
once
:
'execute once'
,
},
second
:
'second'
,
minute
:
'minute'
,
hour
:
{
title
:
'hour'
,
everyHour
:
'Every hour'
,
hourStart
:
"o'clock start, every "
,
onceAHour
:
"o'clock to execute once."
,
},
day
:
{
title
:
'day'
,
daily
:
'Every day'
,
workDay
:
'Working day'
,
dayStart
:
'rd start, every '
,
onceADay
:
'rd to execute once'
,
thisMonth
:
'this month'
,
lastWorkDay
:
'rd, Recent working day'
,
lastDayOfMonth
:
'Last day of the month'
,
},
month
:
{
title
:
'month'
,
everyMonth
:
'Every month'
,
monthStart
:
' month start, every'
,
onceAMonth
:
' month to execute once'
,
},
week
:
{
title
:
'week'
,
everyWeek
:
'Every week'
,
from
:
''
,
to
:
'from weekday'
,
start
:
'start, every'
,
onceADay
:
'days to execute once'
,
specifyWeek
:
'Specify week'
,
weekOfMonth
:
'this month'
,
weekWeek
:
'week, weekday'
,
lastOfMonth
:
'Last of the month'
,
week
:
'weekday'
,
},
year
:
{
title
:
'year'
,
everyYear
:
'Every year'
,
},
message
:
{
error1
:
'Date and day of the week cannot be "not specified" at the same time'
,
error2
:
'Both the date and the day of the week must be "not specified"'
,
},
},
appMessagePopover
:
{
loadMore
:
'Load more'
,
noMore
:
'No more'
},
diskFileUpload
:{
fileDrag
:
'Drag the file here, or'
,
clickUpload
:
'Click on the upload'
,
load
:
'Load'
,
preview
:
'preview'
,
edit
:
'Edit'
,
delete
:
'Delete'
,
clues
:
'Individual file sizes do not exceed'
,
clues1
:
'Documents not exceeding'
,
getFileFailure
:
'Failed to get file list'
,
loadFailure
:
'Upload file failed'
,
loadFailure1
:
'Upload failed, individual file cannot exceed'
,
downloadFile
:
'Download file failed'
,
downloadFile1
:
'Download file failed, not get file!'
,
deleteFile
:
'This action will permanently delete the file. Do you want to continue?'
,
deleteFilePrompt
:
'Prompt'
,
true
:
'True'
,
false
:
'False'
,
deleteFileFailure
:
'File deletion failed'
,
updateFailure
:
'Batch update file failed'
,
},
diskImageUpload
:{
preview
:
'Preview'
,
OCRdiscern
:
'OCRdiscern'
,
load
:
'Load'
,
delete
:
'Delete'
,
getImageFailure
:
'Failed to get list of images'
,
loadImageFailure
:
'Failed to download thumbnails'
,
loadImageFailure1
:
'Failed to download thumbnail, failed to get file!'
,
loadImageFailure2
:
'Download image failed'
,
loadImageFailure3
:
'Download picture failed, no picture found!'
,
ImageIdNone
:
'Picture ID does not exist!'
,
uploadImageFailure
:
'Failed to upload image'
,
uploadImageFailure1
:
"Upload failed, only support 'GIF, JPG, PNG, BMP' format images!"
,
uploadFailure
:
'Upload failed, individual image must not exceed'
,
notImageUrl
:
'The image URL does not exist'
,
deleteFile
:
'This action will permanently delete the file. Do you want to continue?'
,
deleteFilePrompt
:
'Prompt'
,
true
:
'True'
,
false
:
'False'
,
deleteImageFailure
:
'Image deletion failed'
,
updateFailure
:
'Batch update file failed'
,
},
appMapPosition
:
{
submit
:
'Submit'
,
title
:
'Please select address'
},
appSortBar
:
{
title
:
'Sort'
},
appAfterTime
:{
minutesAgo
:
'minutes ago'
,
hoursAgo
:
'hours ago'
,
dayAgo
:
'days ago'
,
monthsAgo
:
'months ago'
,
yearsAgo
:
'years ago'
}
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/components/components_zh_CN.ts
浏览文件 @
450ad6fe
export
default
{
import
components_zh_CN_Base
from
'./components_zh_CN_base'
;
"404"
:
{
errorText1
:
'抱歉,您访问的页面不存在!'
,
function
getLocaleResource
(){
errorText2
:
'您要找的页面不存在,请返回'
,
const
components_zh_CN_OwnData
=
{};
indexPage
:
'首页'
,
const
targetData
=
Object
.
assign
(
components_zh_CN_Base
(),
components_zh_CN_OwnData
);
continue
:
'继续浏览'
,
return
targetData
;
},
}
"500"
:
{
export
default
getLocaleResource
;
errorText1
:
'抱歉,服务器出错了!'
,
\ No newline at end of file
errorText2
:
'服务器出错了,请返回 '
,
indexPage
:
'首页'
,
continue
:
'继续浏览'
,
},
appOrgSector
:{
successSwitch
:
'切换成功'
,
errorSwitch
:
'切换失败'
,
},
appAutocomplete
:
{
error
:
'错误'
,
miss
:
'缺少参数'
,
requestException
:
'请求异常!'
,
},
appBuild
:
{
custom
:
'定制'
,
},
appCheckBox
:
{
notExist
:
'代码表不存在'
,
},
appColumnLink
:
{
error
:
'错误'
,
valueItemException
:
"值项异常"
,
rowDataException
:
"表格行数据异常"
,
},
appColumnRender
:
{
select
:
'请选择...'
,
unsupported
:
'不支持'
,
},
appDashboardDesign
:
{
global
:
'全局'
,
},
appDataUploadView
:
{
"viewtitle"
:
"应用数据导入视图"
,
"selectfile"
:
"选取文件"
,
"uploadserver"
:
"上传服务器"
,
"datatemplate"
:
"下载导入数据模板"
,
"dataid"
:
"数据标识为"
,
"read"
:
"读取成功"
,
"importing"
:
"导入中"
,
"completed"
:
"导入完成"
,
"confirm"
:
"确认"
,
"datatemp"
:
"导入数据模板"
,
"importfailed"
:
"导入失败"
},
appDebugActions
:{
button
:
'开启配置模式'
,
},
appExportExcel
:
{
total
:
'全部'
,
max
:
'最大'
,
row
:
'行'
,
currentPage
:
'当前页'
,
desc
:
'请输入起始页'
,
desc1
:
'请输入有效的起始页'
,
},
appFileUpload
:
{
preview
:
'查看'
,
uploadText
:
'将文件拖到此处,或<em>点击上传</em>'
,
uploadError
:
'上传失败'
,
fileTypeErrorTitle
:
'文件类型错误'
,
fileTypeErrorInfo
:
'请选择图片类型的文件,如JPEG,GIF,PNG,BMP'
,
},
appFormDRUIPart
:
{
blockUITipInfo
:
'请先保存主数据'
,
viewLoadComp
:
'多数据视图加载完成,触发后续表单项更新'
,
save
:
'关系数据保存完成'
,
change
:
'关系数据值变化'
,
change1
:
'视图数据变化'
,
loadComp
:
'视图加载完成'
,
},
appHeaderMenus
:
{
ibizlab
:{
title
:
'iBiz开放平台'
,
},
publishProject
:{
title
:
'项目文件'
,
},
ibizstudio
:{
title
:
'模型设计工具'
,
},
ibizbbs
:{
title
:
'iBiz论坛'
,
},
},
appMpicker
:
{
error
:
'错误'
,
miss
:
'缺少参数'
,
requestException
:
'请求异常!'
,
},
appPicker
:
{
error
:
'错误'
,
miss
:
'缺少参数'
,
requestException
:
'请求异常!'
,
newAndEdit
:
'创建并编辑...'
,
systemException
:
'系统异常!'
,
valueitemException
:
'值项异常!'
,
formdataException
:
'表单数据异常!'
,
},
appPickerSelectView
:
{
error
:
'错误'
,
valueitemException
:
'值项异常!'
,
formdataException
:
'表单数据异常!'
,
placeholder
:
'请选择...'
,
},
appPortalDesign
:
{
customPortal
:
'自定义门户'
,
save
:
'保存'
,
},
appRangDate
:
{
placeholder
:
'请选择时间...'
,
from
:
'自'
,
daystart
:
'日 0 时 起 至'
,
dayend
:
'日 24 时 止'
,
},
appRangeEditor
:
{
placeholder
:
'请选择时间...'
,
input
:
'请输入...'
,
},
appStudioAction
:
{
configTitle
:
'进入当前视图配置界面'
,
configButton
:
'配置'
,
issueTitle
:
'建立当前界面的issues'
,
issueButton
:
'新建issues'
,
},
appTreePicker
:
{
placeholder
:
'请选择...'
,
},
dateRange
:
{
startText
:
'保险期限 : 自'
,
endText
:
'日 24 时 止'
,
startPlaceholder
:
'开始日期'
,
rangeSeparatorr
:
' 0 时起 至'
,
endPlaceholder
:
'结束日期'
,
},
dropDownList
:
{
placeholder
:
'请选择...'
,
},
dropDownListDynamic
:
{
placeholder
:
'请选择...'
,
},
dropDownListMpicker
:
{
placeholder
:
'请选择...'
,
},
login
:
{
error
:
'错误'
,
caption
:
'欢迎登录'
,
placeholder1
:
'用户名'
,
placeholder2
:
'密码'
,
name
:
'登录'
,
reset
:
'重置'
,
other
:
'其他登录方式'
,
tip
:
'输入用户名和密码'
,
warning1
:
'qq授权登录暂未支持'
,
warning2
:
'微信授权登录暂未支持'
,
loginname
:
{
placeholder
:
'请输入用户名'
,
message
:
'用户名不能为空'
,
},
password
:
{
placeholder
:
'请输入密码'
,
message
:
'密码不能为空'
,
},
loginfailed
:
'登录失败'
,
},
appUser
:
{
name
:
'系统管理员'
,
logout
:
'退出登录'
,
surelogout
:
'确认要退出登录?'
,
changepwd
:
"修改密码"
,
},
appTheme
:
{
caption
:
{
theme
:
'主题'
,
font
:
'字体'
,
},
fontFamilys
:
{
MicrosoftYaHei
:
'微软雅黑'
,
SimHei
:
'黑体'
,
YouYuan
:
'幼圆'
,
},
},
appFormGroup
:
{
hide
:
'隐藏字段'
,
showMore
:
'显示更多字段'
,
},
appUpdatePassword
:
{
oldPwd
:
'原密码'
,
newPwd
:
'新密码'
,
confirmPwd
:
'确认密码'
,
sure
:
'确认修改'
,
oldPwdErr
:
'原密码不能为空!'
,
newPwdErr
:
'新密码不能为空!'
,
confirmPwdErr
:
'两次输入密码不一致!'
,
},
appAddressSelection
:
{
loadDataFail
:
'城市数据加载失败'
},
appGroupSelect
:{
groupSelect
:
'分组选择'
,
},
appImageUpload
:{
uploadFail
:
'上传失败'
},
appOrgSelect
:{
loadFail
:
'加载数据失败'
},
appTransfer
:{
title1
:
'未选择'
,
title2
:
'已选择'
,
},
appWFApproval
:{
commit
:
'提交'
,
wait
:
'等待'
,
handle
:
'处理'
,
placeholder
:
'请输入内容'
,
end
:
'结束'
},
contextMenuDrag
:{
allApp
:
'全部应用'
,
noFind
:
'未找到该应用'
},
filterMode
:{
placeholder
:
'条件逻辑'
,
},
filterTree
:{
title1
:
'添加条件'
,
title2
:
'添加组'
,
placeholder
:
'属性'
,
},
iBizGroupPicker
:{
ok
:
'确认'
,
cancel
:
'取消'
,
},
iBizGroupSelect
:{
groupSelect
:
'分组选择'
},
tabPageExp
:{
more
:
'更多'
,
},
uploadFile
:{
imgMsg
:
'将图片拖到这里替换'
,
localUpload
:
'本地上传'
,
or
:
'或'
,
imgMsg1
:
'从素材库选择'
},
lockScren
:{
title
:
'设置锁屏密码'
,
label
:
'锁屏密码'
,
message
:
'锁屏密码不能为空'
,
placeholder
:
'请输入锁屏密码'
,
placeholder1
:
'请输入登录密码'
,
message1
:
'解锁密码错误,请重新输入'
,
promptInformation
:
'是否退出系统, 是否继续?'
,
prompt
:
'提示'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
},
cronEditor
:
{
label
:
{
second
:
'秒'
,
minute
:
'分'
,
hour
:
'时'
,
day
:
'日'
,
week
:
'周'
,
month
:
'月'
,
year
:
'年'
,
},
public
:
{
specify
:
'指定'
,
notSpecify
:
'不指定'
,
cycle
:
'周期'
,
from
:
'从'
,
to
:
'至'
,
loop
:
'循环'
,
every
:
'每'
,
once
:
'执行一次'
,
},
second
:
'秒'
,
minute
:
'分'
,
hour
:
{
title
:
'时'
,
everyHour
:
'每时'
,
hourStart
:
'时开始,每'
,
onceAHour
:
'时执行一次'
,
},
day
:
{
title
:
'日'
,
daily
:
'每日'
,
workDay
:
'工作日'
,
dayStart
:
'日开始,每'
,
onceADay
:
'日执行一次'
,
thisMonth
:
'本月'
,
lastWorkDay
:
'号,最近的工作日'
,
lastDayOfMonth
:
'本月最后一天'
,
},
month
:
{
title
:
'月'
,
everyMonth
:
'每月'
,
monthStart
:
'月开始,每'
,
onceAMonth
:
'月执行一次'
,
},
week
:
{
title
:
'周'
,
everyWeek
:
'每周'
,
from
:
'从星期'
,
to
:
'至星期'
,
start
:
'开始,每'
,
onceADay
:
'天执行一次'
,
specifyWeek
:
'指定周'
,
weekOfMonth
:
'本月第'
,
weekWeek
:
'周,星期'
,
lastOfMonth
:
'本月最后一个'
,
week
:
'星期'
,
},
year
:
{
title
:
'年'
,
everyYear
:
'每年'
,
},
message
:
{
error1
:
'日期与星期不可以同时为“不指定”'
,
error2
:
'日期与星期必须有一个为“不指定”'
,
},
},
appMessagePopover
:
{
loadMore
:
'加载更多'
,
noMore
:
'没有更多了'
},
diskFileUpload
:{
fileDrag
:
'将文件拖到此处,或'
,
clickUpload
:
'点击上传'
,
load
:
'下载'
,
preview
:
'预览'
,
edit
:
'编辑'
,
delete
:
'删除'
,
clues
:
'单个文件大小不超过'
,
clues1
:
'文件不超过'
,
getFileFailure
:
'获取文件列表失败'
,
loadFailure
:
'上传文件失败'
,
loadFailure1
:
'上传失败,单个文件不得超过'
,
downloadFile
:
'下载文件失败'
,
downloadFile1
:
'下载文件失败,未获取到文件!'
,
deleteFile
:
'此操作将永久删除该文件, 是否继续?'
,
deleteFilePrompt
:
'提示'
,
true
:
'确定'
,
false
:
'取消'
,
deleteFileFailure
:
'删除文件失败'
,
updateFailure
:
'批量更新文件失败'
,
},
diskImageUpload
:{
preview
:
'预览'
,
OCRdiscern
:
'ORC识别'
,
load
:
'下载'
,
delete
:
'删除'
,
getImageFailure
:
'获取图片列表失败'
,
loadImageFailure
:
'下载缩略图失败'
,
loadImageFailure1
:
'下载缩略图失败,未获取到文件!'
,
loadImageFailure2
:
'下载图片失败'
,
loadImageFailure3
:
'下载图片失败,未找到图片!'
,
ImageIdNone
:
'图片id不存在!'
,
uploadImageFailure
:
'上传图片失败'
,
uploadImageFailure1
:
'上传失败,仅支持'gif,jpg,png,bmp'格式的图片!'
,
uploadFailure
:
'上传失败,单个图片不得超过'
,
notImageUrl
:
'图片url不存在'
,
deleteFile
:
'此操作将永久删除该文件, 是否继续?'
,
deleteFilePrompt
:
'提示'
,
true
:
'确定'
,
false
:
'取消'
,
deleteImageFailure
:
'删除图片失败'
,
updateFailure
:
'批量更新文件失败'
,
},
appMapPosition
:
{
submit
:
'确认'
,
title
:
'请选择地址'
},
appSortBar
:
{
title
:
'排序'
},
appAfterTime
:{
minutesAgo
:
'分钟前'
,
hoursAgo
:
'小时前'
,
dayAgo
:
'天前'
,
monthsAgo
:
'月前'
,
yearsAgo
:
'年前'
}
};
\ No newline at end of file
app_web/src/locale/lanres/components/components_zh_CN_base.ts
0 → 100644
浏览文件 @
450ad6fe
function
getLocaleResourceBase
(){
const
data
:
any
=
{
"404"
:
{
errorText1
:
'抱歉,您访问的页面不存在!'
,
errorText2
:
'您要找的页面不存在,请返回'
,
indexPage
:
'首页'
,
continue
:
'继续浏览'
,
},
"500"
:
{
errorText1
:
'抱歉,服务器出错了!'
,
errorText2
:
'服务器出错了,请返回 '
,
indexPage
:
'首页'
,
continue
:
'继续浏览'
,
},
appOrgSector
:{
successSwitch
:
'切换成功'
,
errorSwitch
:
'切换失败'
,
},
appAutocomplete
:
{
error
:
'错误'
,
miss
:
'缺少参数'
,
requestException
:
'请求异常!'
,
},
appBuild
:
{
custom
:
'定制'
,
},
appCheckBox
:
{
notExist
:
'代码表不存在'
,
},
appColumnLink
:
{
error
:
'错误'
,
valueItemException
:
"值项异常"
,
rowDataException
:
"表格行数据异常"
,
},
appColumnRender
:
{
select
:
'请选择...'
,
unsupported
:
'不支持'
,
},
appDashboardDesign
:
{
global
:
'全局'
,
},
appDataUploadView
:
{
"viewtitle"
:
"应用数据导入视图"
,
"selectfile"
:
"选取文件"
,
"uploadserver"
:
"上传服务器"
,
"datatemplate"
:
"下载导入数据模板"
,
"dataid"
:
"数据标识为"
,
"read"
:
"读取成功"
,
"importing"
:
"导入中"
,
"completed"
:
"导入完成"
,
"confirm"
:
"确认"
,
"datatemp"
:
"导入数据模板"
,
"importfailed"
:
"导入失败"
},
appDebugActions
:{
button
:
'开启配置模式'
,
},
appExportExcel
:
{
total
:
'全部'
,
max
:
'最大'
,
row
:
'行'
,
currentPage
:
'当前页'
,
desc
:
'请输入起始页'
,
desc1
:
'请输入有效的起始页'
,
},
appFileUpload
:
{
preview
:
'查看'
,
uploadText
:
'将文件拖到此处,或<em>点击上传</em>'
,
uploadError
:
'上传失败'
,
fileTypeErrorTitle
:
'文件类型错误'
,
fileTypeErrorInfo
:
'请选择图片类型的文件,如JPEG,GIF,PNG,BMP'
,
},
appFormDRUIPart
:
{
blockUITipInfo
:
'请先保存主数据'
,
viewLoadComp
:
'多数据视图加载完成,触发后续表单项更新'
,
save
:
'关系数据保存完成'
,
change
:
'关系数据值变化'
,
change1
:
'视图数据变化'
,
loadComp
:
'视图加载完成'
,
},
appHeaderMenus
:
{
ibizlab
:{
title
:
'iBiz开放平台'
,
},
publishProject
:{
title
:
'项目文件'
,
},
ibizstudio
:{
title
:
'模型设计工具'
,
},
ibizbbs
:{
title
:
'iBiz论坛'
,
},
},
appMpicker
:
{
error
:
'错误'
,
miss
:
'缺少参数'
,
requestException
:
'请求异常!'
,
},
appPicker
:
{
error
:
'错误'
,
miss
:
'缺少参数'
,
requestException
:
'请求异常!'
,
newAndEdit
:
'创建并编辑...'
,
systemException
:
'系统异常!'
,
valueitemException
:
'值项异常!'
,
formdataException
:
'表单数据异常!'
,
},
appPickerSelectView
:
{
error
:
'错误'
,
valueitemException
:
'值项异常!'
,
formdataException
:
'表单数据异常!'
,
placeholder
:
'请选择...'
,
},
appPortalDesign
:
{
customPortal
:
'自定义门户'
,
save
:
'保存'
,
},
appRangDate
:
{
placeholder
:
'请选择时间...'
,
from
:
'自'
,
daystart
:
'日 0 时 起 至'
,
dayend
:
'日 24 时 止'
,
},
appRangeEditor
:
{
placeholder
:
'请选择时间...'
,
input
:
'请输入...'
,
},
appStudioAction
:
{
configTitle
:
'进入当前视图配置界面'
,
configButton
:
'配置'
,
issueTitle
:
'建立当前界面的issues'
,
issueButton
:
'新建issues'
,
},
appTreePicker
:
{
placeholder
:
'请选择...'
,
},
dateRange
:
{
startText
:
'保险期限 : 自'
,
endText
:
'日 24 时 止'
,
startPlaceholder
:
'开始日期'
,
rangeSeparatorr
:
' 0 时起 至'
,
endPlaceholder
:
'结束日期'
,
},
dropDownList
:
{
placeholder
:
'请选择...'
,
},
dropDownListDynamic
:
{
placeholder
:
'请选择...'
,
},
dropDownListMpicker
:
{
placeholder
:
'请选择...'
,
},
login
:
{
error
:
'错误'
,
caption
:
'欢迎登录'
,
placeholder1
:
'用户名'
,
placeholder2
:
'密码'
,
name
:
'登录'
,
reset
:
'重置'
,
other
:
'其他登录方式'
,
tip
:
'输入用户名和密码'
,
warning1
:
'qq授权登录暂未支持'
,
warning2
:
'微信授权登录暂未支持'
,
loginname
:
{
placeholder
:
'请输入用户名'
,
message
:
'用户名不能为空'
,
},
password
:
{
placeholder
:
'请输入密码'
,
message
:
'密码不能为空'
,
},
loginfailed
:
'登录失败'
,
},
appUser
:
{
name
:
'系统管理员'
,
logout
:
'退出登录'
,
surelogout
:
'确认要退出登录?'
,
changepwd
:
"修改密码"
,
},
appTheme
:
{
caption
:
{
theme
:
'主题'
,
font
:
'字体'
,
},
fontFamilys
:
{
MicrosoftYaHei
:
'微软雅黑'
,
SimHei
:
'黑体'
,
YouYuan
:
'幼圆'
,
},
},
appFormGroup
:
{
hide
:
'隐藏字段'
,
showMore
:
'显示更多字段'
,
},
appUpdatePassword
:
{
oldPwd
:
'原密码'
,
newPwd
:
'新密码'
,
confirmPwd
:
'确认密码'
,
sure
:
'确认修改'
,
oldPwdErr
:
'原密码不能为空!'
,
newPwdErr
:
'新密码不能为空!'
,
confirmPwdErr
:
'两次输入密码不一致!'
,
},
appAddressSelection
:
{
loadDataFail
:
'城市数据加载失败'
},
appGroupSelect
:{
groupSelect
:
'分组选择'
,
},
appImageUpload
:{
uploadFail
:
'上传失败'
},
appOrgSelect
:{
loadFail
:
'加载数据失败'
},
appTransfer
:{
title1
:
'未选择'
,
title2
:
'已选择'
,
},
appWFApproval
:{
commit
:
'提交'
,
wait
:
'等待'
,
handle
:
'处理'
,
placeholder
:
'请输入内容'
,
end
:
'结束'
},
contextMenuDrag
:{
allApp
:
'全部应用'
,
noFind
:
'未找到该应用'
},
filterMode
:{
placeholder
:
'条件逻辑'
,
},
filterTree
:{
title1
:
'添加条件'
,
title2
:
'添加组'
,
placeholder
:
'属性'
,
},
iBizGroupPicker
:{
ok
:
'确认'
,
cancel
:
'取消'
,
},
iBizGroupSelect
:{
groupSelect
:
'分组选择'
},
tabPageExp
:{
more
:
'更多'
,
},
uploadFile
:{
imgMsg
:
'将图片拖到这里替换'
,
localUpload
:
'本地上传'
,
or
:
'或'
,
imgMsg1
:
'从素材库选择'
},
lockScren
:{
title
:
'设置锁屏密码'
,
label
:
'锁屏密码'
,
message
:
'锁屏密码不能为空'
,
placeholder
:
'请输入锁屏密码'
,
placeholder1
:
'请输入登录密码'
,
message1
:
'解锁密码错误,请重新输入'
,
promptInformation
:
'是否退出系统, 是否继续?'
,
prompt
:
'提示'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
},
cronEditor
:
{
label
:
{
second
:
'秒'
,
minute
:
'分'
,
hour
:
'时'
,
day
:
'日'
,
week
:
'周'
,
month
:
'月'
,
year
:
'年'
,
},
public
:
{
specify
:
'指定'
,
notSpecify
:
'不指定'
,
cycle
:
'周期'
,
from
:
'从'
,
to
:
'至'
,
loop
:
'循环'
,
every
:
'每'
,
once
:
'执行一次'
,
},
second
:
'秒'
,
minute
:
'分'
,
hour
:
{
title
:
'时'
,
everyHour
:
'每时'
,
hourStart
:
'时开始,每'
,
onceAHour
:
'时执行一次'
,
},
day
:
{
title
:
'日'
,
daily
:
'每日'
,
workDay
:
'工作日'
,
dayStart
:
'日开始,每'
,
onceADay
:
'日执行一次'
,
thisMonth
:
'本月'
,
lastWorkDay
:
'号,最近的工作日'
,
lastDayOfMonth
:
'本月最后一天'
,
},
month
:
{
title
:
'月'
,
everyMonth
:
'每月'
,
monthStart
:
'月开始,每'
,
onceAMonth
:
'月执行一次'
,
},
week
:
{
title
:
'周'
,
everyWeek
:
'每周'
,
from
:
'从星期'
,
to
:
'至星期'
,
start
:
'开始,每'
,
onceADay
:
'天执行一次'
,
specifyWeek
:
'指定周'
,
weekOfMonth
:
'本月第'
,
weekWeek
:
'周,星期'
,
lastOfMonth
:
'本月最后一个'
,
week
:
'星期'
,
},
year
:
{
title
:
'年'
,
everyYear
:
'每年'
,
},
message
:
{
error1
:
'日期与星期不可以同时为“不指定”'
,
error2
:
'日期与星期必须有一个为“不指定”'
,
},
},
appMessagePopover
:
{
loadMore
:
'加载更多'
,
noMore
:
'没有更多了'
},
diskFileUpload
:{
fileDrag
:
'将文件拖到此处,或'
,
clickUpload
:
'点击上传'
,
load
:
'下载'
,
preview
:
'预览'
,
edit
:
'编辑'
,
delete
:
'删除'
,
clues
:
'单个文件大小不超过'
,
clues1
:
'文件不超过'
,
getFileFailure
:
'获取文件列表失败'
,
loadFailure
:
'上传文件失败'
,
loadFailure1
:
'上传失败,单个文件不得超过'
,
downloadFile
:
'下载文件失败'
,
downloadFile1
:
'下载文件失败,未获取到文件!'
,
deleteFile
:
'此操作将永久删除该文件, 是否继续?'
,
deleteFilePrompt
:
'提示'
,
true
:
'确定'
,
false
:
'取消'
,
deleteFileFailure
:
'删除文件失败'
,
updateFailure
:
'批量更新文件失败'
,
},
diskImageUpload
:{
preview
:
'预览'
,
OCRdiscern
:
'ORC识别'
,
load
:
'下载'
,
delete
:
'删除'
,
getImageFailure
:
'获取图片列表失败'
,
loadImageFailure
:
'下载缩略图失败'
,
loadImageFailure1
:
'下载缩略图失败,未获取到文件!'
,
loadImageFailure2
:
'下载图片失败'
,
loadImageFailure3
:
'下载图片失败,未找到图片!'
,
ImageIdNone
:
'图片id不存在!'
,
uploadImageFailure
:
'上传图片失败'
,
uploadImageFailure1
:
'上传失败,仅支持'gif,jpg,png,bmp'格式的图片!'
,
uploadFailure
:
'上传失败,单个图片不得超过'
,
notImageUrl
:
'图片url不存在'
,
deleteFile
:
'此操作将永久删除该文件, 是否继续?'
,
deleteFilePrompt
:
'提示'
,
true
:
'确定'
,
false
:
'取消'
,
deleteImageFailure
:
'删除图片失败'
,
updateFailure
:
'批量更新文件失败'
,
},
appMapPosition
:
{
submit
:
'确认'
,
title
:
'请选择地址'
},
appSortBar
:
{
title
:
'排序'
},
appAfterTime
:{
minutesAgo
:
'分钟前'
,
hoursAgo
:
'小时前'
,
dayAgo
:
'天前'
,
monthsAgo
:
'月前'
,
yearsAgo
:
'年前'
}
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-info/jobs-info_en_US.ts
浏览文件 @
450ad6fe
import
JobsInfo_en_US_Base
from
'./jobs-info_en_US_base'
;
export
default
{
function
getLocaleResource
(){
fields
:
{
const
JobsInfo_en_US_OwnData
=
{};
id
:
"主键ID"
,
const
targetData
=
Object
.
assign
(
JobsInfo_en_US_Base
(),
JobsInfo_en_US_OwnData
);
tenant_id
:
"租户ID"
,
return
targetData
;
app
:
"服务名"
,
}
cron
:
"任务执行CRON"
,
handler
:
"执行器任务HANDLER"
,
export
default
getLocaleResource
;
param
:
"执行器任务参数"
,
\ No newline at end of file
timeout
:
"任务执行超时时间(秒)"
,
fail_retry_count
:
"失败重试次数"
,
last_time
:
"上次调度时间"
,
next_time
:
"下次调度时间"
,
author
:
"所有者"
,
remark
:
"备注"
,
status
:
"状态"
,
update_time
:
"更新时间"
,
create_time
:
"创建时间"
,
},
views
:
{
editview
:
{
caption
:
"任务信息"
,
title
:
"任务信息编辑视图"
,
},
gridview
:
{
caption
:
"任务信息"
,
title
:
"任务信息表格视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"任务信息基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
srfkey
:
"主键ID"
,
srfmajortext
:
"执行器任务HANDLER"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
app
:
"服务名"
,
handler
:
"执行器任务HANDLER"
,
cron
:
"任务执行CRON"
,
param
:
"执行器任务参数"
,
last_time
:
"上次调度时间"
,
next_time
:
"下次调度时间"
,
timeout
:
"任务执行超时时间(秒)"
,
fail_retry_count
:
"失败重试次数"
,
author
:
"所有者"
,
remark
:
"备注"
,
status
:
"状态"
,
tenant_id
:
"租户ID"
,
create_time
:
"创建时间"
,
update_time
:
"更新时间"
,
id
:
"主键ID"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
"主键ID"
,
app
:
"服务名"
,
handler
:
"执行器任务HANDLER"
,
cron
:
"任务执行CRON"
,
last_time
:
"上次调度时间"
,
next_time
:
"下次调度时间"
,
status
:
"状态"
,
timeout
:
"任务执行超时时间(秒)"
,
update_time
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_app_like
:
"服务名(文本包含(%))"
,
n_handler_like
:
"执行器任务HANDLER(文本包含(%))"
,
n_status_eq
:
"状态(等于(=))"
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
deuiaction1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"启动"
,
tip
:
"启动"
,
},
deuiaction2
:
{
caption
:
"停止"
,
tip
:
"停止"
,
},
deuiaction3
:
{
caption
:
"执行"
,
tip
:
"执行"
,
},
deuiaction4
:
{
caption
:
"New"
,
tip
:
"New"
,
},
deuiaction5
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
deuiaction6
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
deuiaction7
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
};
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-info/jobs-info_en_US_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
views
:
{
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务信息编辑视图"
,
null
),
},
gridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务信息表格视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"任务信息基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_app_like
:
commonLogic
.
appcommonhandle
(
"服务名(文本包含(%))"
,
null
),
n_handler_like
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER(文本包含(%))"
,
null
),
n_status_eq
:
commonLogic
.
appcommonhandle
(
"状态(等于(=))"
,
null
),
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
},
},
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"启动"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"启动"
,
null
),
},
deuiaction2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"停止"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"停止"
,
null
),
},
deuiaction3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"执行"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"执行"
,
null
),
},
deuiaction4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
},
deuiaction5
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Edit"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Edit {0}"
,
null
),
},
deuiaction6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Remove"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Remove {0}"
,
null
),
},
deuiaction7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Filter"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Filter"
,
null
),
},
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-info/jobs-info_zh_CN.ts
浏览文件 @
450ad6fe
export
default
{
import
JobsInfo_zh_CN_Base
from
'./jobs-info_zh_CN_base'
;
fields
:
{
id
:
"主键ID"
,
function
getLocaleResource
(){
tenant_id
:
"租户ID"
,
const
JobsInfo_zh_CN_OwnData
=
{};
app
:
"服务名"
,
const
targetData
=
Object
.
assign
(
JobsInfo_zh_CN_Base
(),
JobsInfo_zh_CN_OwnData
);
cron
:
"任务执行CRON"
,
return
targetData
;
handler
:
"执行器任务HANDLER"
,
}
param
:
"执行器任务参数"
,
timeout
:
"任务执行超时时间(秒)"
,
export
default
getLocaleResource
;
fail_retry_count
:
"失败重试次数"
,
\ No newline at end of file
last_time
:
"上次调度时间"
,
next_time
:
"下次调度时间"
,
author
:
"所有者"
,
remark
:
"备注"
,
status
:
"状态"
,
update_time
:
"更新时间"
,
create_time
:
"创建时间"
,
},
views
:
{
editview
:
{
caption
:
"任务信息"
,
title
:
"任务信息编辑视图"
,
},
gridview
:
{
caption
:
"任务信息"
,
title
:
"任务信息表格视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"任务信息基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
srfkey
:
"主键ID"
,
srfmajortext
:
"执行器任务HANDLER"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
app
:
"服务名"
,
handler
:
"执行器任务HANDLER"
,
cron
:
"任务执行CRON"
,
param
:
"执行器任务参数"
,
last_time
:
"上次调度时间"
,
next_time
:
"下次调度时间"
,
timeout
:
"任务执行超时时间(秒)"
,
fail_retry_count
:
"失败重试次数"
,
author
:
"所有者"
,
remark
:
"备注"
,
status
:
"状态"
,
tenant_id
:
"租户ID"
,
create_time
:
"创建时间"
,
update_time
:
"更新时间"
,
id
:
"主键ID"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
"主键ID"
,
app
:
"服务名"
,
handler
:
"执行器任务HANDLER"
,
cron
:
"任务执行CRON"
,
last_time
:
"上次调度时间"
,
next_time
:
"下次调度时间"
,
status
:
"状态"
,
timeout
:
"任务执行超时时间(秒)"
,
update_time
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_app_like
:
"服务名(文本包含(%))"
,
n_handler_like
:
"执行器任务HANDLER(文本包含(%))"
,
n_status_eq
:
"状态(等于(=))"
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
deuiaction1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"启动"
,
tip
:
"启动"
,
},
deuiaction2
:
{
caption
:
"停止"
,
tip
:
"停止"
,
},
deuiaction3
:
{
caption
:
"执行"
,
tip
:
"执行"
,
},
deuiaction4
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
deuiaction5
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
deuiaction6
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
deuiaction7
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
},
};
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-info/jobs-info_zh_CN_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
views
:
{
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务信息编辑视图"
,
null
),
},
gridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务信息表格视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"任务信息基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_app_like
:
commonLogic
.
appcommonhandle
(
"服务名(文本包含(%))"
,
null
),
n_handler_like
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER(文本包含(%))"
,
null
),
n_status_eq
:
commonLogic
.
appcommonhandle
(
"状态(等于(=))"
,
null
),
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
},
},
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"启动"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"启动"
,
null
),
},
deuiaction2
:
{
caption
:
commonLogic
.
appcommonhandle
(
"停止"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"停止"
,
null
),
},
deuiaction3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"执行"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"执行"
,
null
),
},
deuiaction4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
deuiaction5
:
{
caption
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
},
deuiaction6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
deuiaction7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
},
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-lock/jobs-lock_en_US.ts
浏览文件 @
450ad6fe
import
JobsLock_en_US_Base
from
'./jobs-lock_en_US_base'
;
export
default
{
function
getLocaleResource
(){
fields
:
{
const
JobsLock_en_US_OwnData
=
{};
id
:
"主键ID"
,
const
targetData
=
Object
.
assign
(
JobsLock_en_US_Base
(),
JobsLock_en_US_OwnData
);
name
:
"名称"
,
return
targetData
;
owner
:
"持有者"
,
}
create_time
:
"创建时间"
,
},
export
default
getLocaleResource
;
};
\ No newline at end of file
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-lock/jobs-lock_en_US_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
name
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
owner
:
commonLogic
.
appcommonhandle
(
"持有者"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-lock/jobs-lock_zh_CN.ts
浏览文件 @
450ad6fe
export
default
{
import
JobsLock_zh_CN_Base
from
'./jobs-lock_zh_CN_base'
;
fields
:
{
id
:
"主键ID"
,
function
getLocaleResource
(){
name
:
"名称"
,
const
JobsLock_zh_CN_OwnData
=
{};
owner
:
"持有者"
,
const
targetData
=
Object
.
assign
(
JobsLock_zh_CN_Base
(),
JobsLock_zh_CN_OwnData
);
create_time
:
"创建时间"
,
return
targetData
;
},
}
};
\ No newline at end of file
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-lock/jobs-lock_zh_CN_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
name
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
owner
:
commonLogic
.
appcommonhandle
(
"持有者"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-log/jobs-log_en_US.ts
浏览文件 @
450ad6fe
import
JobsLog_en_US_Base
from
'./jobs-log_en_US_base'
;
export
default
{
function
getLocaleResource
(){
fields
:
{
const
JobsLog_en_US_OwnData
=
{};
id
:
"主键ID"
,
const
targetData
=
Object
.
assign
(
JobsLog_en_US_Base
(),
JobsLog_en_US_OwnData
);
job_id
:
"任务ID"
,
return
targetData
;
address
:
"执行地址"
,
}
handler
:
"执行器任务HANDLER"
,
param
:
"执行器任务参数"
,
export
default
getLocaleResource
;
fail_retry_count
:
"失败重试次数"
,
\ No newline at end of file
trigger_code
:
"触发器调度返回码"
,
trigger_type
:
"触发器调度类型"
,
trigger_msg
:
"触发器调度信息"
,
create_time
:
"创建时间"
,
},
views
:
{
gridview
:
{
caption
:
"任务调度日志"
,
title
:
"任务调度日志表格视图"
,
},
editview
:
{
caption
:
"任务调度日志"
,
title
:
"任务调度日志编辑视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"任务调度日志基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
srfkey
:
"主键ID"
,
srfmajortext
:
"执行器任务HANDLER"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
job_id
:
"任务ID"
,
handler
:
"执行器任务HANDLER"
,
param
:
"执行器任务参数"
,
fail_retry_count
:
"失败重试次数"
,
trigger_code
:
"触发器调度返回码"
,
trigger_type
:
"触发器调度类型"
,
trigger_msg
:
"触发器调度信息"
,
address
:
"执行地址"
,
create_time
:
"创建时间"
,
id
:
"主键ID"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
"主键ID"
,
job_id
:
"任务ID"
,
handler
:
"执行器任务HANDLER"
,
address
:
"执行地址"
,
trigger_code
:
"触发器调度返回码"
,
trigger_type
:
"触发器调度类型"
,
fail_retry_count
:
"失败重试次数"
,
create_time
:
"创建时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_job_id_eq
:
"任务ID(等于(=))"
,
n_handler_like
:
"执行器任务HANDLER(文本包含(%))"
,
n_trigger_code_eq
:
"触发器调度返回码(等于(=))"
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-log/jobs-log_en_US_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
job_id
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
trigger_code
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码"
,
null
),
trigger_type
:
commonLogic
.
appcommonhandle
(
"触发器调度类型"
,
null
),
trigger_msg
:
commonLogic
.
appcommonhandle
(
"触发器调度信息"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
views
:
{
gridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务调度日志"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务调度日志表格视图"
,
null
),
},
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务调度日志"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务调度日志编辑视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"任务调度日志基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
job_id
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
trigger_code
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码"
,
null
),
trigger_type
:
commonLogic
.
appcommonhandle
(
"触发器调度类型"
,
null
),
trigger_msg
:
commonLogic
.
appcommonhandle
(
"触发器调度信息"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
job_id
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
trigger_code
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码"
,
null
),
trigger_type
:
commonLogic
.
appcommonhandle
(
"触发器调度类型"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_job_id_eq
:
commonLogic
.
appcommonhandle
(
"任务ID(等于(=))"
,
null
),
n_handler_like
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER(文本包含(%))"
,
null
),
n_trigger_code_eq
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码(等于(=))"
,
null
),
},
uiactions
:
{
},
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-log/jobs-log_zh_CN.ts
浏览文件 @
450ad6fe
export
default
{
import
JobsLog_zh_CN_Base
from
'./jobs-log_zh_CN_base'
;
fields
:
{
id
:
"主键ID"
,
function
getLocaleResource
(){
job_id
:
"任务ID"
,
const
JobsLog_zh_CN_OwnData
=
{};
address
:
"执行地址"
,
const
targetData
=
Object
.
assign
(
JobsLog_zh_CN_Base
(),
JobsLog_zh_CN_OwnData
);
handler
:
"执行器任务HANDLER"
,
return
targetData
;
param
:
"执行器任务参数"
,
}
fail_retry_count
:
"失败重试次数"
,
trigger_code
:
"触发器调度返回码"
,
export
default
getLocaleResource
;
trigger_type
:
"触发器调度类型"
,
\ No newline at end of file
trigger_msg
:
"触发器调度信息"
,
create_time
:
"创建时间"
,
},
views
:
{
gridview
:
{
caption
:
"任务调度日志"
,
title
:
"任务调度日志表格视图"
,
},
editview
:
{
caption
:
"任务调度日志"
,
title
:
"任务调度日志编辑视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"任务调度日志基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
srfkey
:
"主键ID"
,
srfmajortext
:
"执行器任务HANDLER"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
job_id
:
"任务ID"
,
handler
:
"执行器任务HANDLER"
,
param
:
"执行器任务参数"
,
fail_retry_count
:
"失败重试次数"
,
trigger_code
:
"触发器调度返回码"
,
trigger_type
:
"触发器调度类型"
,
trigger_msg
:
"触发器调度信息"
,
address
:
"执行地址"
,
create_time
:
"创建时间"
,
id
:
"主键ID"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
"主键ID"
,
job_id
:
"任务ID"
,
handler
:
"执行器任务HANDLER"
,
address
:
"执行地址"
,
trigger_code
:
"触发器调度返回码"
,
trigger_type
:
"触发器调度类型"
,
fail_retry_count
:
"失败重试次数"
,
create_time
:
"创建时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_job_id_eq
:
"任务ID(等于(=))"
,
n_handler_like
:
"执行器任务HANDLER(文本包含(%))"
,
n_trigger_code_eq
:
"触发器调度返回码(等于(=))"
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-log/jobs-log_zh_CN_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
job_id
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
trigger_code
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码"
,
null
),
trigger_type
:
commonLogic
.
appcommonhandle
(
"触发器调度类型"
,
null
),
trigger_msg
:
commonLogic
.
appcommonhandle
(
"触发器调度信息"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
views
:
{
gridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务调度日志"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务调度日志表格视图"
,
null
),
},
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务调度日志"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务调度日志编辑视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"任务调度日志基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
job_id
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
trigger_code
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码"
,
null
),
trigger_type
:
commonLogic
.
appcommonhandle
(
"触发器调度类型"
,
null
),
trigger_msg
:
commonLogic
.
appcommonhandle
(
"触发器调度信息"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
job_id
:
commonLogic
.
appcommonhandle
(
"任务ID"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
trigger_code
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码"
,
null
),
trigger_type
:
commonLogic
.
appcommonhandle
(
"触发器调度类型"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_job_id_eq
:
commonLogic
.
appcommonhandle
(
"任务ID(等于(=))"
,
null
),
n_handler_like
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER(文本包含(%))"
,
null
),
n_trigger_code_eq
:
commonLogic
.
appcommonhandle
(
"触发器调度返回码(等于(=))"
,
null
),
},
uiactions
:
{
},
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-registry/jobs-registry_en_US.ts
浏览文件 @
450ad6fe
import
JobsRegistry_en_US_Base
from
'./jobs-registry_en_US_base'
;
export
default
{
function
getLocaleResource
(){
fields
:
{
const
JobsRegistry_en_US_OwnData
=
{};
id
:
"主键ID"
,
const
targetData
=
Object
.
assign
(
JobsRegistry_en_US_Base
(),
JobsRegistry_en_US_OwnData
);
app
:
"服务名"
,
return
targetData
;
address
:
"执行地址"
,
}
status
:
"状态"
,
update_time
:
"更新时间"
,
export
default
getLocaleResource
;
},
\ No newline at end of file
views
:
{
gridview
:
{
caption
:
"任务注册信息"
,
title
:
"任务注册信息表格视图"
,
},
editview
:
{
caption
:
"任务注册信息"
,
title
:
"任务注册信息编辑视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"任务注册信息基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
srfkey
:
"主键ID"
,
srfmajortext
:
"服务名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
app
:
"服务名"
,
address
:
"执行地址"
,
status
:
"状态"
,
id
:
"主键ID"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
"主键ID"
,
app
:
"服务名"
,
address
:
"执行地址"
,
status
:
"状态"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_app_like
:
"服务名(文本包含(%))"
,
n_status_eq
:
"状态(等于(=))"
,
},
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
deuiaction1
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
deuiaction1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
};
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-registry/jobs-registry_en_US_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
views
:
{
gridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务注册信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务注册信息表格视图"
,
null
),
},
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务注册信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务注册信息编辑视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"任务注册信息基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_app_like
:
commonLogic
.
appcommonhandle
(
"服务名(文本包含(%))"
,
null
),
n_status_eq
:
commonLogic
.
appcommonhandle
(
"状态(等于(=))"
,
null
),
},
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
},
tbitem4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Edit"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Edit {0}"
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Remove"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Remove {0}"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Filter"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Filter"
,
null
),
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
},
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-registry/jobs-registry_zh_CN.ts
浏览文件 @
450ad6fe
export
default
{
import
JobsRegistry_zh_CN_Base
from
'./jobs-registry_zh_CN_base'
;
fields
:
{
id
:
"主键ID"
,
function
getLocaleResource
(){
app
:
"服务名"
,
const
JobsRegistry_zh_CN_OwnData
=
{};
address
:
"执行地址"
,
const
targetData
=
Object
.
assign
(
JobsRegistry_zh_CN_Base
(),
JobsRegistry_zh_CN_OwnData
);
status
:
"状态"
,
return
targetData
;
update_time
:
"更新时间"
,
}
},
views
:
{
export
default
getLocaleResource
;
gridview
:
{
\ No newline at end of file
caption
:
"任务注册信息"
,
title
:
"任务注册信息表格视图"
,
},
editview
:
{
caption
:
"任务注册信息"
,
title
:
"任务注册信息编辑视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"任务注册信息基本信息"
,
formpage1
:
"基本信息"
,
srforikey
:
""
,
srfkey
:
"主键ID"
,
srfmajortext
:
"服务名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
app
:
"服务名"
,
address
:
"执行地址"
,
status
:
"状态"
,
id
:
"主键ID"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
"主键ID"
,
app
:
"服务名"
,
address
:
"执行地址"
,
status
:
"状态"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_app_like
:
"服务名(文本包含(%))"
,
n_status_eq
:
"状态(等于(=))"
,
},
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem8
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
deuiaction1
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
deuiaction1
:
{
caption
:
"关闭"
,
tip
:
"关闭"
,
},
},
};
\ No newline at end of file
app_web/src/locale/lanres/entities/jobs-registry/jobs-registry_zh_CN_base.ts
0 → 100644
浏览文件 @
450ad6fe
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
views
:
{
gridview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务注册信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务注册信息表格视图"
,
null
),
},
editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"任务注册信息"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"任务注册信息编辑视图"
,
null
),
},
},
main_form
:
{
details
:
{
group1
:
commonLogic
.
appcommonhandle
(
"任务注册信息基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
address
:
commonLogic
.
appcommonhandle
(
"执行地址"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_app_like
:
commonLogic
.
appcommonhandle
(
"服务名(文本包含(%))"
,
null
),
n_status_eq
:
commonLogic
.
appcommonhandle
(
"状态(等于(=))"
,
null
),
},
uiactions
:
{
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
tbitem4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
},
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"关闭"
,
null
),
},
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/userCustom/userCustom_en_US.ts
浏览文件 @
450ad6fe
// 用户自定义语言资源 英文
// 用户自定义语言资源 英文
export
default
{
function
getLocaleResource
(){
const
data
:
any
=
{};
return
data
;
};
}
\ No newline at end of file
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/userCustom/userCustom_zh_CN.ts
浏览文件 @
450ad6fe
// 用户自定义语言资源 中文
// 用户自定义语言资源 中文
export
default
{
function
getLocaleResource
(){
const
data
:
any
=
{};
return
data
;
};
}
\ No newline at end of file
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/logic/common/common-logic-base.ts
0 → 100644
浏览文件 @
450ad6fe
export
default
{
/**
* 应用通用显示处理
* @param param1 显示文本
* @param param2 多语言对象
*/
appcommonhandle
:
function
(
param1
:
any
,
param2
:
any
){
return
param1
;
}
}
\ No newline at end of file
app_web/src/locale/logic/common/common-logic.ts
0 → 100644
浏览文件 @
450ad6fe
import
CommonLogicBase
from
'./common-logic-base'
;
const
CommonLogicOwnData
=
{};
const
targetData
=
Object
.
assign
(
CommonLogicBase
,
CommonLogicOwnData
);
export
default
targetData
;
\ No newline at end of file
app_web/src/locale/logic/custom/common-logic.ts
0 → 100644
浏览文件 @
450ad6fe
export
default
{
}
\ No newline at end of file
app_web/src/pages/task/jobs-info-edit-view/jobs-info-edit-view-base.vue
浏览文件 @
450ad6fe
...
@@ -763,8 +763,8 @@ export default class JobsInfoEditViewBase extends Vue {
...
@@ -763,8 +763,8 @@ export default class JobsInfoEditViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
...
...
app_web/src/pages/task/jobs-info-grid-view/jobs-info-grid-view-base.vue
浏览文件 @
450ad6fe
...
@@ -1166,7 +1166,7 @@ export default class JobsInfoGridViewBase extends Vue {
...
@@ -1166,7 +1166,7 @@ export default class JobsInfoGridViewBase extends Vue {
if
(
args
.
length
>
0
)
{
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
jobsinfo
:
args
[
0
].
jobsinfo
})
Object
.
assign
(
data
,
{
jobsinfo
:
args
[
0
].
jobsinfo
})
}
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
_this
.
opendata
([{
...
data
}],
args
,
params
,
$event
,
xData
);
}
else
{
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
...
@@ -1217,8 +1217,8 @@ export default class JobsInfoGridViewBase extends Vue {
...
@@ -1217,8 +1217,8 @@ export default class JobsInfoGridViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
...
...
app_web/src/pages/task/jobs-log-edit-view/jobs-log-edit-view-base.vue
浏览文件 @
450ad6fe
...
@@ -616,8 +616,8 @@ export default class JobsLogEditViewBase extends Vue {
...
@@ -616,8 +616,8 @@ export default class JobsLogEditViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
...
...
app_web/src/pages/task/jobs-log-grid-view/jobs-log-grid-view-base.vue
浏览文件 @
450ad6fe
...
@@ -829,8 +829,8 @@ export default class JobsLogGridViewBase extends Vue {
...
@@ -829,8 +829,8 @@ export default class JobsLogGridViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
...
...
app_web/src/pages/task/jobs-registry-edit-view/jobs-registry-edit-view-base.vue
浏览文件 @
450ad6fe
...
@@ -763,8 +763,8 @@ export default class JobsRegistryEditViewBase extends Vue {
...
@@ -763,8 +763,8 @@ export default class JobsRegistryEditViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
...
...
app_web/src/pages/task/jobs-registry-grid-view/jobs-registry-grid-view-base.vue
浏览文件 @
450ad6fe
...
@@ -1074,7 +1074,7 @@ export default class JobsRegistryGridViewBase extends Vue {
...
@@ -1074,7 +1074,7 @@ export default class JobsRegistryGridViewBase extends Vue {
if
(
args
.
length
>
0
)
{
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
jobsregistry
:
args
[
0
].
jobsregistry
})
Object
.
assign
(
data
,
{
jobsregistry
:
args
[
0
].
jobsregistry
})
}
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
_this
.
opendata
([{
...
data
}],
args
,
params
,
$event
,
xData
);
}
else
{
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
...
@@ -1100,7 +1100,7 @@ export default class JobsRegistryGridViewBase extends Vue {
...
@@ -1100,7 +1100,7 @@ export default class JobsRegistryGridViewBase extends Vue {
if
(
args
.
length
>
0
)
{
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
jobsregistry
:
args
[
0
].
jobsregistry
})
Object
.
assign
(
data
,
{
jobsregistry
:
args
[
0
].
jobsregistry
})
}
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
_this
.
opendata
([{
...
data
}],
args
,
params
,
$event
,
xData
);
}
else
{
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
}
...
@@ -1151,8 +1151,8 @@ export default class JobsRegistryGridViewBase extends Vue {
...
@@ -1151,8 +1151,8 @@ export default class JobsRegistryGridViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
...
...
app_web/src/pages/task/task-index-view/task-index-view-base.vue
浏览文件 @
450ad6fe
...
@@ -548,8 +548,8 @@ export default class TaskIndexViewBase extends Vue {
...
@@ -548,8 +548,8 @@ export default class TaskIndexViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
}
...
...
app_web/src/service/jobs-info/jobs-info-service-base.ts
浏览文件 @
450ad6fe
...
@@ -167,6 +167,20 @@ export default class JobsInfoServiceBase extends EntityService {
...
@@ -167,6 +167,20 @@ export default class JobsInfoServiceBase extends EntityService {
return
res
;
return
res
;
}
}
/**
* ExecuteBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof JobsInfoServiceBase
*/
public
async
ExecuteBatch
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
await
Http
.
getInstance
().
post
(
`/jobsinfo/executebatch`
,
tempData
,
isloading
);
}
/**
/**
* Save接口方法
* Save接口方法
*
*
...
...
app_web/src/uiservice/jobs-info/jobs-info-ui-service-base.ts
浏览文件 @
450ad6fe
...
@@ -146,9 +146,26 @@ export default class JobsInfoUIServiceBase extends UIService {
...
@@ -146,9 +146,26 @@ export default class JobsInfoUIServiceBase extends UIService {
}
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
if
(
Object
.
is
(
actionTarget
,
"MULTIKEY"
)){
let
tempDataArray
:
Array
<
any
>
=
[];
if
((
_args
.
length
>
1
)
&&
(
Object
.
keys
(
data
).
length
>
0
)){
for
(
let
i
=
0
;
i
<
_args
.
length
;
i
++
){
let
tempObject
:
any
=
{};
Object
.
keys
(
data
).
forEach
((
key
:
string
)
=>
{
Object
.
assign
(
tempObject
,{[
key
]:
data
[
key
].
split
(
','
)[
i
]});
})
tempDataArray
.
push
(
tempObject
);
}
}
else
{
tempDataArray
.
push
(
data
);
}
data
=
tempDataArray
;
}
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
if
(
!
Object
.
is
(
actionTarget
,
"MULTIKEY"
)){
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
data
,
parentObj
);
}
Object
.
assign
(
context
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
// 直接调实体服务需要转换的数据
// 直接调实体服务需要转换的数据
if
(
context
&&
context
.
srfsessionid
){
if
(
context
&&
context
.
srfsessionid
){
...
@@ -210,9 +227,26 @@ export default class JobsInfoUIServiceBase extends UIService {
...
@@ -210,9 +227,26 @@ export default class JobsInfoUIServiceBase extends UIService {
}
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
if
(
Object
.
is
(
actionTarget
,
"MULTIKEY"
)){
let
tempDataArray
:
Array
<
any
>
=
[];
if
((
_args
.
length
>
1
)
&&
(
Object
.
keys
(
data
).
length
>
0
)){
for
(
let
i
=
0
;
i
<
_args
.
length
;
i
++
){
let
tempObject
:
any
=
{};
Object
.
keys
(
data
).
forEach
((
key
:
string
)
=>
{
Object
.
assign
(
tempObject
,{[
key
]:
data
[
key
].
split
(
','
)[
i
]});
})
tempDataArray
.
push
(
tempObject
);
}
}
else
{
tempDataArray
.
push
(
data
);
}
data
=
tempDataArray
;
}
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
if
(
!
Object
.
is
(
actionTarget
,
"MULTIKEY"
)){
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
data
,
parentObj
);
}
Object
.
assign
(
context
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
// 直接调实体服务需要转换的数据
// 直接调实体服务需要转换的数据
if
(
context
&&
context
.
srfsessionid
){
if
(
context
&&
context
.
srfsessionid
){
...
@@ -274,9 +308,26 @@ export default class JobsInfoUIServiceBase extends UIService {
...
@@ -274,9 +308,26 @@ export default class JobsInfoUIServiceBase extends UIService {
}
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
if
(
Object
.
is
(
actionTarget
,
"MULTIKEY"
)){
let
tempDataArray
:
Array
<
any
>
=
[];
if
((
_args
.
length
>
1
)
&&
(
Object
.
keys
(
data
).
length
>
0
)){
for
(
let
i
=
0
;
i
<
_args
.
length
;
i
++
){
let
tempObject
:
any
=
{};
Object
.
keys
(
data
).
forEach
((
key
:
string
)
=>
{
Object
.
assign
(
tempObject
,{[
key
]:
data
[
key
].
split
(
','
)[
i
]});
})
tempDataArray
.
push
(
tempObject
);
}
}
else
{
tempDataArray
.
push
(
data
);
}
data
=
tempDataArray
;
}
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
if
(
!
Object
.
is
(
actionTarget
,
"MULTIKEY"
)){
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
data
,
parentObj
);
}
Object
.
assign
(
context
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
// 直接调实体服务需要转换的数据
// 直接调实体服务需要转换的数据
if
(
context
&&
context
.
srfsessionid
){
if
(
context
&&
context
.
srfsessionid
){
...
...
app_web/src/utils/types/app-popover.d.ts
浏览文件 @
450ad6fe
...
@@ -37,7 +37,7 @@ export declare interface AppPopover {
...
@@ -37,7 +37,7 @@ export declare interface AppPopover {
* @param {number} [height]
* @param {number} [height]
* @memberof AppPopover
* @memberof AppPopover
*/
*/
openPopover
(
event
:
MouseEvent
,
content
:
(
h
:
CreateElement
)
=>
any
,
title
?:
string
,
position
?:
PopperJs
.
Placement
,
isAutoClose
?:
boolean
,
width
?:
number
,
height
?:
number
):
void
;
openPopover
(
event
:
MouseEvent
,
content
:
(
h
:
CreateElement
)
=>
any
,
position
?:
PopperJs
.
Placement
,
isAutoClose
?:
boolean
,
width
?:
number
,
height
?:
number
):
void
;
/**
/**
* 销毁popper(带回填数据)
* 销毁popper(带回填数据)
*
*
...
...
app_web/src/widgets/jobs-info/main-form/main-form-base.vue
浏览文件 @
450ad6fe
...
@@ -723,8 +723,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -723,8 +723,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
deRules
:
any
=
{
public
deRules
(){
};
return
{
}
}
/**
/**
* 校验属性值规则
* 校验属性值规则
...
@@ -733,7 +735,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -733,7 +735,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @param {{ name: string }} { name }
* @memberof MainBase
* @memberof MainBase
*/
*/
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
()
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
let
falg
:
any
=
{
infoMessage
:
""
};
let
falg
:
any
=
{
infoMessage
:
""
};
if
(
!
rule
[
name
]){
if
(
!
rule
[
name
]){
return
falg
;
return
falg
;
...
@@ -1485,7 +1487,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1485,7 +1487,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
afterCreated
(){
public
afterCreated
(){
if
(
this
.
isautoload
){
if
(
this
.
isautoload
){
this
.
autoLoad
({
srfkey
:
this
.
context
.
documentcenter
});
this
.
autoLoad
({
srfkey
:
this
.
context
.
jobsinfo
});
}
}
if
(
this
.
viewState
)
{
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
...
...
app_web/src/widgets/jobs-info/main-grid/main-grid-base.vue
浏览文件 @
450ad6fe
...
@@ -345,7 +345,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -345,7 +345,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
A
ctionModel
:
any
=
{
public
a
ctionModel
:
any
=
{
};
};
/**
/**
...
@@ -841,7 +841,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -841,7 +841,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
getActionState
(
data
:
any
){
public
getActionState
(
data
:
any
){
let
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
A
ctionModel
));
let
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
a
ctionModel
));
let
targetData
:
any
=
this
.
transformData
(
data
);
let
targetData
:
any
=
this
.
transformData
(
data
);
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
return
tempActionModel
;
...
@@ -865,8 +865,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -865,8 +865,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
deRules
:
any
=
{
public
deRules
(){
return
{
};
};
}
/**
/**
* 值规则集合
* 值规则集合
...
@@ -874,12 +876,14 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -874,12 +876,14 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
rules
:
any
=
{
public
rules
(){
return
{
srfkey
:
[
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'主键ID 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
`
${
this
.
$t
(
'entities.jobsinfo.main_grid.columns.srfkey'
)}${
this
.
$t
(
'app.commonWords.valueNotEmpty'
)}
`
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'主键ID 值不能为空'
,
trigger
:
'blur'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
`
${
this
.
$t
(
'entities.jobsinfo.main_grid.columns.srfkey'
)}${
this
.
$t
(
'app.commonWords.valueNotEmpty'
)}
`
,
trigger
:
'blur'
},
],
],
}
}
}
/**
/**
* 表格行编辑项校验
* 表格行编辑项校验
...
@@ -893,7 +897,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -893,7 +897,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
validate
(
property
:
string
,
data
:
any
,
rowIndex
:
number
):
Promise
<
any
>
{
public
validate
(
property
:
string
,
data
:
any
,
rowIndex
:
number
):
Promise
<
any
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$util
.
validateItem
(
property
,
data
,
this
.
rules
).
then
(()
=>
{
this
.
$util
.
validateItem
(
property
,
data
,
this
.
rules
()
).
then
(()
=>
{
this
.
gridItemsModel
[
rowIndex
][
property
].
setError
(
null
);
this
.
gridItemsModel
[
rowIndex
][
property
].
setError
(
null
);
resolve
(
true
);
resolve
(
true
);
}).
catch
(({
errors
,
fields
})
=>
{
}).
catch
(({
errors
,
fields
})
=>
{
...
@@ -917,7 +921,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -917,7 +921,7 @@ export default class MainBase extends Vue implements ControlInterface {
let
tempMessage
:
string
=
''
;
let
tempMessage
:
string
=
''
;
index
++
;
index
++
;
if
(
item
.
rowDataState
===
"create"
||
item
.
rowDataState
===
"update"
)
{
if
(
item
.
rowDataState
===
"create"
||
item
.
rowDataState
===
"update"
)
{
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
;
tempMessage
=
tempMessage
+
'<p>'
+
this
.
gridItemsModel
[
index
][
property
].
error
+
'<p>'
;
tempMessage
=
tempMessage
+
'<p>'
+
this
.
gridItemsModel
[
index
][
property
].
error
+
'<p>'
;
...
@@ -953,6 +957,11 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -953,6 +957,11 @@ export default class MainBase extends Vue implements ControlInterface {
const
sort
:
string
=
this
.
minorSortPSDEF
+
","
+
this
.
minorSortDir
;
const
sort
:
string
=
this
.
minorSortPSDEF
+
","
+
this
.
minorSortDir
;
Object
.
assign
(
page
,
{
sort
:
sort
});
Object
.
assign
(
page
,
{
sort
:
sort
});
}
}
//清空selections
if
(
this
.
selections
&&
this
.
selections
.
length
>
0
)
{
this
.
selections
=
[];
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
}
Object
.
assign
(
arg
,
page
);
Object
.
assign
(
arg
,
page
);
const
parentdata
:
any
=
{};
const
parentdata
:
any
=
{};
this
.
$emit
(
'beforeload'
,
parentdata
);
this
.
$emit
(
'beforeload'
,
parentdata
);
...
@@ -972,7 +981,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -972,7 +981,7 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
totalrow
=
response
.
total
;
this
.
totalrow
=
response
.
total
;
this
.
items
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
items
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
// 清空selections,gridItemsModel
// 清空selections,gridItemsModel
//this.selections = [];
//
this.selections = [];
this
.
gridItemsModel
=
[];
this
.
gridItemsModel
=
[];
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())});
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())});
this
.
items
.
forEach
((
item
:
any
)
=>
{
this
.
items
.
forEach
((
item
:
any
)
=>
{
...
@@ -1508,6 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1508,6 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
return
codelist
;
return
codelist
;
}
}
/**
/**
* 根据分组代码表绘制分组列表
* 根据分组代码表绘制分组列表
*
*
...
@@ -1528,13 +1538,12 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1528,13 +1538,12 @@ export default class MainBase extends Vue implements ControlInterface {
let
children
:
Array
<
any
>
=
[];
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
j
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
j
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
if
(
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
])){
if
(
Object
.
is
(
group
.
label
,
arr
[
0
].
label
)){
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
}
}
}
else
if
(
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
])){
}
else
if
(
Object
.
is
(
group
.
value
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
...
@@ -1560,10 +1569,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1560,10 +1569,9 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
items
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
let
i
:
number
=
0
;
let
i
:
number
=
0
;
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
arr
[
0
].
label
));
}
else
{
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
]));
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
]));
}
else
{
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
value
,
item
[
this
.
groupAppField
]));
}
}
if
(
i
<
0
){
if
(
i
<
0
){
item
.
groupById
=
Number
((
allGroup
.
length
+
1
)
*
100
+
(
index
+
1
)
*
1
);
item
.
groupById
=
Number
((
allGroup
.
length
+
1
)
*
100
+
(
index
+
1
)
*
1
);
...
@@ -1610,17 +1618,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1610,17 +1618,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
isEnableGroup
)
return
;
if
(
!
this
.
isEnableGroup
)
return
;
// 分组
// 分组
let
allGroup
:
Array
<
any
>
=
[];
let
allGroup
:
Array
<
any
>
=
[];
let
allGroupField
:
Array
<
any
>
=
[];
allGroupField
=
this
.
getGroupCodelist
(
this
.
groupAppFieldCodelistType
,
this
.
groupAppFieldCodelistTag
);
this
.
items
.
forEach
((
item
:
any
)
=>
{
this
.
items
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
hasOwnProperty
(
this
.
groupAppField
)){
if
(
item
.
hasOwnProperty
(
this
.
groupAppField
)){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
allGroup
.
push
(
arr
[
0
].
label
);
}
else
{
allGroup
.
push
(
item
[
this
.
groupAppField
]);
allGroup
.
push
(
item
[
this
.
groupAppField
]);
}
}
}
});
});
let
groupTree
:
Array
<
any
>
=
[];
let
groupTree
:
Array
<
any
>
=
[];
allGroup
=
[...
new
Set
(
allGroup
)];
allGroup
=
[...
new
Set
(
allGroup
)];
...
@@ -1631,14 +1632,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1631,14 +1632,7 @@ export default class MainBase extends Vue implements ControlInterface {
allGroup
.
forEach
((
group
:
any
,
groupIndex
:
number
)
=>
{
allGroup
.
forEach
((
group
:
any
,
groupIndex
:
number
)
=>
{
let
children
:
Array
<
any
>
=
[];
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
itemIndex
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
itemIndex
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
Object
.
is
(
group
,
item
[
this
.
groupAppField
])){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
if
(
Object
.
is
(
group
,
arr
[
0
].
label
)){
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
group
=
''
;
children
.
push
(
item
);
}
}
else
if
(
Object
.
is
(
group
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
...
@@ -2342,7 +2336,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2342,7 +2336,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @param {{ name: string }} { name }
* @memberof MainBase
* @memberof MainBase
*/
*/
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
,
op
:
string
=
"AND"
,
value
:
any
)
:{
isPast
:
boolean
}{
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
()
,
op
:
string
=
"AND"
,
value
:
any
)
:{
isPast
:
boolean
}{
let
falg
:
any
=
{};
let
falg
:
any
=
{};
if
(
!
rule
||
!
rule
[
name
]){
if
(
!
rule
||
!
rule
[
name
]){
return
falg
;
return
falg
;
...
...
app_web/src/widgets/jobs-log/main-form/main-form-base.vue
浏览文件 @
450ad6fe
...
@@ -618,8 +618,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -618,8 +618,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
deRules
:
any
=
{
public
deRules
(){
};
return
{
}
}
/**
/**
* 校验属性值规则
* 校验属性值规则
...
@@ -628,7 +630,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -628,7 +630,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @param {{ name: string }} { name }
* @memberof MainBase
* @memberof MainBase
*/
*/
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
()
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
let
falg
:
any
=
{
infoMessage
:
""
};
let
falg
:
any
=
{
infoMessage
:
""
};
if
(
!
rule
[
name
]){
if
(
!
rule
[
name
]){
return
falg
;
return
falg
;
...
@@ -1305,7 +1307,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1305,7 +1307,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
afterCreated
(){
public
afterCreated
(){
if
(
this
.
isautoload
){
if
(
this
.
isautoload
){
this
.
autoLoad
({
srfkey
:
this
.
context
.
documentcenter
});
this
.
autoLoad
({
srfkey
:
this
.
context
.
jobslog
});
}
}
if
(
this
.
viewState
)
{
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
...
...
app_web/src/widgets/jobs-log/main-grid/main-grid-base.vue
浏览文件 @
450ad6fe
...
@@ -331,7 +331,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -331,7 +331,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
A
ctionModel
:
any
=
{
public
a
ctionModel
:
any
=
{
};
};
/**
/**
...
@@ -818,7 +818,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -818,7 +818,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
getActionState
(
data
:
any
){
public
getActionState
(
data
:
any
){
let
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
A
ctionModel
));
let
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
a
ctionModel
));
let
targetData
:
any
=
this
.
transformData
(
data
);
let
targetData
:
any
=
this
.
transformData
(
data
);
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
return
tempActionModel
;
...
@@ -842,8 +842,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -842,8 +842,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
deRules
:
any
=
{
public
deRules
(){
return
{
};
};
}
/**
/**
* 值规则集合
* 值规则集合
...
@@ -851,12 +853,14 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -851,12 +853,14 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
rules
:
any
=
{
public
rules
(){
return
{
srfkey
:
[
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'主键ID 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
`
${
this
.
$t
(
'entities.jobslog.main_grid.columns.srfkey'
)}${
this
.
$t
(
'app.commonWords.valueNotEmpty'
)}
`
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'主键ID 值不能为空'
,
trigger
:
'blur'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
`
${
this
.
$t
(
'entities.jobslog.main_grid.columns.srfkey'
)}${
this
.
$t
(
'app.commonWords.valueNotEmpty'
)}
`
,
trigger
:
'blur'
},
],
],
}
}
}
/**
/**
* 表格行编辑项校验
* 表格行编辑项校验
...
@@ -870,7 +874,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -870,7 +874,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
validate
(
property
:
string
,
data
:
any
,
rowIndex
:
number
):
Promise
<
any
>
{
public
validate
(
property
:
string
,
data
:
any
,
rowIndex
:
number
):
Promise
<
any
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$util
.
validateItem
(
property
,
data
,
this
.
rules
).
then
(()
=>
{
this
.
$util
.
validateItem
(
property
,
data
,
this
.
rules
()
).
then
(()
=>
{
this
.
gridItemsModel
[
rowIndex
][
property
].
setError
(
null
);
this
.
gridItemsModel
[
rowIndex
][
property
].
setError
(
null
);
resolve
(
true
);
resolve
(
true
);
}).
catch
(({
errors
,
fields
})
=>
{
}).
catch
(({
errors
,
fields
})
=>
{
...
@@ -894,7 +898,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -894,7 +898,7 @@ export default class MainBase extends Vue implements ControlInterface {
let
tempMessage
:
string
=
''
;
let
tempMessage
:
string
=
''
;
index
++
;
index
++
;
if
(
item
.
rowDataState
===
"create"
||
item
.
rowDataState
===
"update"
)
{
if
(
item
.
rowDataState
===
"create"
||
item
.
rowDataState
===
"update"
)
{
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
;
tempMessage
=
tempMessage
+
'<p>'
+
this
.
gridItemsModel
[
index
][
property
].
error
+
'<p>'
;
tempMessage
=
tempMessage
+
'<p>'
+
this
.
gridItemsModel
[
index
][
property
].
error
+
'<p>'
;
...
@@ -930,6 +934,11 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -930,6 +934,11 @@ export default class MainBase extends Vue implements ControlInterface {
const
sort
:
string
=
this
.
minorSortPSDEF
+
","
+
this
.
minorSortDir
;
const
sort
:
string
=
this
.
minorSortPSDEF
+
","
+
this
.
minorSortDir
;
Object
.
assign
(
page
,
{
sort
:
sort
});
Object
.
assign
(
page
,
{
sort
:
sort
});
}
}
//清空selections
if
(
this
.
selections
&&
this
.
selections
.
length
>
0
)
{
this
.
selections
=
[];
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
}
Object
.
assign
(
arg
,
page
);
Object
.
assign
(
arg
,
page
);
const
parentdata
:
any
=
{};
const
parentdata
:
any
=
{};
this
.
$emit
(
'beforeload'
,
parentdata
);
this
.
$emit
(
'beforeload'
,
parentdata
);
...
@@ -949,7 +958,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -949,7 +958,7 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
totalrow
=
response
.
total
;
this
.
totalrow
=
response
.
total
;
this
.
items
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
items
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
// 清空selections,gridItemsModel
// 清空selections,gridItemsModel
//this.selections = [];
//
this.selections = [];
this
.
gridItemsModel
=
[];
this
.
gridItemsModel
=
[];
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())});
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())});
this
.
items
.
forEach
((
item
:
any
)
=>
{
this
.
items
.
forEach
((
item
:
any
)
=>
{
...
@@ -1477,6 +1486,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1477,6 +1486,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
return
codelist
;
return
codelist
;
}
}
/**
/**
* 根据分组代码表绘制分组列表
* 根据分组代码表绘制分组列表
*
*
...
@@ -1497,13 +1507,12 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1497,13 +1507,12 @@ export default class MainBase extends Vue implements ControlInterface {
let
children
:
Array
<
any
>
=
[];
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
j
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
j
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
if
(
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
])){
if
(
Object
.
is
(
group
.
label
,
arr
[
0
].
label
)){
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
}
}
}
else
if
(
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
])){
}
else
if
(
Object
.
is
(
group
.
value
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
...
@@ -1528,10 +1537,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1528,10 +1537,9 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
items
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
let
i
:
number
=
0
;
let
i
:
number
=
0
;
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
arr
[
0
].
label
));
}
else
{
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
]));
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
]));
}
else
{
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
value
,
item
[
this
.
groupAppField
]));
}
}
if
(
i
<
0
){
if
(
i
<
0
){
item
.
groupById
=
Number
((
allGroup
.
length
+
1
)
*
100
+
(
index
+
1
)
*
1
);
item
.
groupById
=
Number
((
allGroup
.
length
+
1
)
*
100
+
(
index
+
1
)
*
1
);
...
@@ -1577,17 +1585,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1577,17 +1585,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
isEnableGroup
)
return
;
if
(
!
this
.
isEnableGroup
)
return
;
// 分组
// 分组
let
allGroup
:
Array
<
any
>
=
[];
let
allGroup
:
Array
<
any
>
=
[];
let
allGroupField
:
Array
<
any
>
=
[];
allGroupField
=
this
.
getGroupCodelist
(
this
.
groupAppFieldCodelistType
,
this
.
groupAppFieldCodelistTag
);
this
.
items
.
forEach
((
item
:
any
)
=>
{
this
.
items
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
hasOwnProperty
(
this
.
groupAppField
)){
if
(
item
.
hasOwnProperty
(
this
.
groupAppField
)){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
allGroup
.
push
(
arr
[
0
].
label
);
}
else
{
allGroup
.
push
(
item
[
this
.
groupAppField
]);
allGroup
.
push
(
item
[
this
.
groupAppField
]);
}
}
}
});
});
let
groupTree
:
Array
<
any
>
=
[];
let
groupTree
:
Array
<
any
>
=
[];
allGroup
=
[...
new
Set
(
allGroup
)];
allGroup
=
[...
new
Set
(
allGroup
)];
...
@@ -1598,14 +1599,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1598,14 +1599,7 @@ export default class MainBase extends Vue implements ControlInterface {
allGroup
.
forEach
((
group
:
any
,
groupIndex
:
number
)
=>
{
allGroup
.
forEach
((
group
:
any
,
groupIndex
:
number
)
=>
{
let
children
:
Array
<
any
>
=
[];
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
itemIndex
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
itemIndex
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
Object
.
is
(
group
,
item
[
this
.
groupAppField
])){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
if
(
Object
.
is
(
group
,
arr
[
0
].
label
)){
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
group
=
''
;
children
.
push
(
item
);
}
}
else
if
(
Object
.
is
(
group
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
...
@@ -2308,7 +2302,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2308,7 +2302,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @param {{ name: string }} { name }
* @memberof MainBase
* @memberof MainBase
*/
*/
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
,
op
:
string
=
"AND"
,
value
:
any
)
:{
isPast
:
boolean
}{
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
()
,
op
:
string
=
"AND"
,
value
:
any
)
:{
isPast
:
boolean
}{
let
falg
:
any
=
{};
let
falg
:
any
=
{};
if
(
!
rule
||
!
rule
[
name
]){
if
(
!
rule
||
!
rule
[
name
]){
return
falg
;
return
falg
;
...
...
app_web/src/widgets/jobs-registry/main-form/main-form-base.vue
浏览文件 @
450ad6fe
...
@@ -529,8 +529,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -529,8 +529,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
deRules
:
any
=
{
public
deRules
(){
};
return
{
}
}
/**
/**
* 校验属性值规则
* 校验属性值规则
...
@@ -539,7 +541,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -539,7 +541,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @param {{ name: string }} { name }
* @memberof MainBase
* @memberof MainBase
*/
*/
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
()
,
op
:
string
=
"AND"
)
:{
isPast
:
boolean
,
infoMessage
:
string
}{
let
falg
:
any
=
{
infoMessage
:
""
};
let
falg
:
any
=
{
infoMessage
:
""
};
if
(
!
rule
[
name
]){
if
(
!
rule
[
name
]){
return
falg
;
return
falg
;
...
@@ -1126,7 +1128,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1126,7 +1128,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
afterCreated
(){
public
afterCreated
(){
if
(
this
.
isautoload
){
if
(
this
.
isautoload
){
this
.
autoLoad
({
srfkey
:
this
.
context
.
documentcenter
});
this
.
autoLoad
({
srfkey
:
this
.
context
.
jobsregistry
});
}
}
if
(
this
.
viewState
)
{
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
...
...
app_web/src/widgets/jobs-registry/main-grid/main-grid-base.vue
浏览文件 @
450ad6fe
...
@@ -285,7 +285,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -285,7 +285,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
A
ctionModel
:
any
=
{
public
a
ctionModel
:
any
=
{
};
};
/**
/**
...
@@ -736,7 +736,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -736,7 +736,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
getActionState
(
data
:
any
){
public
getActionState
(
data
:
any
){
let
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
A
ctionModel
));
let
tempActionModel
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
a
ctionModel
));
let
targetData
:
any
=
this
.
transformData
(
data
);
let
targetData
:
any
=
this
.
transformData
(
data
);
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
return
tempActionModel
;
...
@@ -760,8 +760,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -760,8 +760,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
deRules
:
any
=
{
public
deRules
(){
return
{
};
};
}
/**
/**
* 值规则集合
* 值规则集合
...
@@ -769,12 +771,14 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -769,12 +771,14 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @type {*}
* @memberof MainBase
* @memberof MainBase
*/
*/
public
rules
:
any
=
{
public
rules
(){
return
{
srfkey
:
[
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'主键ID 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
`
${
this
.
$t
(
'entities.jobsregistry.main_grid.columns.srfkey'
)}${
this
.
$t
(
'app.commonWords.valueNotEmpty'
)}
`
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'主键ID 值不能为空'
,
trigger
:
'blur'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
`
${
this
.
$t
(
'entities.jobsregistry.main_grid.columns.srfkey'
)}${
this
.
$t
(
'app.commonWords.valueNotEmpty'
)}
`
,
trigger
:
'blur'
},
],
],
}
}
}
/**
/**
* 表格行编辑项校验
* 表格行编辑项校验
...
@@ -788,7 +792,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -788,7 +792,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
validate
(
property
:
string
,
data
:
any
,
rowIndex
:
number
):
Promise
<
any
>
{
public
validate
(
property
:
string
,
data
:
any
,
rowIndex
:
number
):
Promise
<
any
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$util
.
validateItem
(
property
,
data
,
this
.
rules
).
then
(()
=>
{
this
.
$util
.
validateItem
(
property
,
data
,
this
.
rules
()
).
then
(()
=>
{
this
.
gridItemsModel
[
rowIndex
][
property
].
setError
(
null
);
this
.
gridItemsModel
[
rowIndex
][
property
].
setError
(
null
);
resolve
(
true
);
resolve
(
true
);
}).
catch
(({
errors
,
fields
})
=>
{
}).
catch
(({
errors
,
fields
})
=>
{
...
@@ -812,7 +816,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -812,7 +816,7 @@ export default class MainBase extends Vue implements ControlInterface {
let
tempMessage
:
string
=
''
;
let
tempMessage
:
string
=
''
;
index
++
;
index
++
;
if
(
item
.
rowDataState
===
"create"
||
item
.
rowDataState
===
"update"
)
{
if
(
item
.
rowDataState
===
"create"
||
item
.
rowDataState
===
"update"
)
{
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
;
tempMessage
=
tempMessage
+
'<p>'
+
this
.
gridItemsModel
[
index
][
property
].
error
+
'<p>'
;
tempMessage
=
tempMessage
+
'<p>'
+
this
.
gridItemsModel
[
index
][
property
].
error
+
'<p>'
;
...
@@ -848,6 +852,11 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -848,6 +852,11 @@ export default class MainBase extends Vue implements ControlInterface {
const
sort
:
string
=
this
.
minorSortPSDEF
+
","
+
this
.
minorSortDir
;
const
sort
:
string
=
this
.
minorSortPSDEF
+
","
+
this
.
minorSortDir
;
Object
.
assign
(
page
,
{
sort
:
sort
});
Object
.
assign
(
page
,
{
sort
:
sort
});
}
}
//清空selections
if
(
this
.
selections
&&
this
.
selections
.
length
>
0
)
{
this
.
selections
=
[];
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
}
Object
.
assign
(
arg
,
page
);
Object
.
assign
(
arg
,
page
);
const
parentdata
:
any
=
{};
const
parentdata
:
any
=
{};
this
.
$emit
(
'beforeload'
,
parentdata
);
this
.
$emit
(
'beforeload'
,
parentdata
);
...
@@ -867,7 +876,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -867,7 +876,7 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
totalrow
=
response
.
total
;
this
.
totalrow
=
response
.
total
;
this
.
items
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
items
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
// 清空selections,gridItemsModel
// 清空selections,gridItemsModel
//this.selections = [];
//
this.selections = [];
this
.
gridItemsModel
=
[];
this
.
gridItemsModel
=
[];
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())});
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())});
this
.
items
.
forEach
((
item
:
any
)
=>
{
this
.
items
.
forEach
((
item
:
any
)
=>
{
...
@@ -1403,6 +1412,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1403,6 +1412,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
return
codelist
;
return
codelist
;
}
}
/**
/**
* 根据分组代码表绘制分组列表
* 根据分组代码表绘制分组列表
*
*
...
@@ -1423,13 +1433,12 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1423,13 +1433,12 @@ export default class MainBase extends Vue implements ControlInterface {
let
children
:
Array
<
any
>
=
[];
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
j
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
j
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
if
(
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
])){
if
(
Object
.
is
(
group
.
label
,
arr
[
0
].
label
)){
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
}
}
}
else
if
(
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
])){
}
else
if
(
Object
.
is
(
group
.
value
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
...
@@ -1450,10 +1459,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1450,10 +1459,9 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
items
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
let
i
:
number
=
0
;
let
i
:
number
=
0
;
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
arr
[
0
].
label
));
}
else
{
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
]));
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
]));
}
else
{
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
value
,
item
[
this
.
groupAppField
]));
}
}
if
(
i
<
0
){
if
(
i
<
0
){
item
.
groupById
=
Number
((
allGroup
.
length
+
1
)
*
100
+
(
index
+
1
)
*
1
);
item
.
groupById
=
Number
((
allGroup
.
length
+
1
)
*
100
+
(
index
+
1
)
*
1
);
...
@@ -1495,17 +1503,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1495,17 +1503,10 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
isEnableGroup
)
return
;
if
(
!
this
.
isEnableGroup
)
return
;
// 分组
// 分组
let
allGroup
:
Array
<
any
>
=
[];
let
allGroup
:
Array
<
any
>
=
[];
let
allGroupField
:
Array
<
any
>
=
[];
allGroupField
=
this
.
getGroupCodelist
(
this
.
groupAppFieldCodelistType
,
this
.
groupAppFieldCodelistTag
);
this
.
items
.
forEach
((
item
:
any
)
=>
{
this
.
items
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
hasOwnProperty
(
this
.
groupAppField
)){
if
(
item
.
hasOwnProperty
(
this
.
groupAppField
)){
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
allGroup
.
push
(
arr
[
0
].
label
);
}
else
{
allGroup
.
push
(
item
[
this
.
groupAppField
]);
allGroup
.
push
(
item
[
this
.
groupAppField
]);
}
}
}
});
});
let
groupTree
:
Array
<
any
>
=
[];
let
groupTree
:
Array
<
any
>
=
[];
allGroup
=
[...
new
Set
(
allGroup
)];
allGroup
=
[...
new
Set
(
allGroup
)];
...
@@ -1516,14 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1516,14 +1517,7 @@ export default class MainBase extends Vue implements ControlInterface {
allGroup
.
forEach
((
group
:
any
,
groupIndex
:
number
)
=>
{
allGroup
.
forEach
((
group
:
any
,
groupIndex
:
number
)
=>
{
let
children
:
Array
<
any
>
=
[];
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
itemIndex
:
number
)
=>
{
this
.
items
.
forEach
((
item
:
any
,
itemIndex
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
if
(
Object
.
is
(
group
,
item
[
this
.
groupAppField
])){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
if
(
Object
.
is
(
group
,
arr
[
0
].
label
)){
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
group
=
''
;
children
.
push
(
item
);
}
}
else
if
(
Object
.
is
(
group
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
group
=
''
;
item
.
group
=
''
;
children
.
push
(
item
);
children
.
push
(
item
);
...
@@ -2222,7 +2216,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2222,7 +2216,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @param {{ name: string }} { name }
* @memberof MainBase
* @memberof MainBase
*/
*/
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
,
op
:
string
=
"AND"
,
value
:
any
)
:{
isPast
:
boolean
}{
public
verifyDeRules
(
name
:
string
,
rule
:
any
=
this
.
deRules
()
,
op
:
string
=
"AND"
,
value
:
any
)
:{
isPast
:
boolean
}{
let
falg
:
any
=
{};
let
falg
:
any
=
{};
if
(
!
rule
||
!
rule
[
name
]){
if
(
!
rule
||
!
rule
[
name
]){
return
falg
;
return
falg
;
...
...
app_web/yarn.lock
浏览文件 @
450ad6fe
因为 它太大了无法显示 源差异 。您可以改为
查看blob
。
ibztask-core/src/main/java/cn/ibizlab/core/task/service/IJobsInfoService.java
浏览文件 @
450ad6fe
...
@@ -35,6 +35,7 @@ public interface IJobsInfoService extends IService<JobsInfo> {
...
@@ -35,6 +35,7 @@ public interface IJobsInfoService extends IService<JobsInfo> {
JobsInfo
getDraft
(
JobsInfo
et
);
JobsInfo
getDraft
(
JobsInfo
et
);
boolean
checkKey
(
JobsInfo
et
);
boolean
checkKey
(
JobsInfo
et
);
JobsInfo
execute
(
JobsInfo
et
);
JobsInfo
execute
(
JobsInfo
et
);
boolean
executeBatch
(
List
<
JobsInfo
>
etList
);
boolean
save
(
JobsInfo
et
);
boolean
save
(
JobsInfo
et
);
void
saveBatch
(
List
<
JobsInfo
>
list
);
void
saveBatch
(
List
<
JobsInfo
>
list
);
JobsInfo
start
(
JobsInfo
et
);
JobsInfo
start
(
JobsInfo
et
);
...
...
ibztask-core/src/main/java/cn/ibizlab/core/task/service/impl/JobsInfoServiceImpl.java
浏览文件 @
450ad6fe
...
@@ -125,6 +125,15 @@ public class JobsInfoServiceImpl extends ServiceImpl<JobsInfoMapper, JobsInfo> i
...
@@ -125,6 +125,15 @@ public class JobsInfoServiceImpl extends ServiceImpl<JobsInfoMapper, JobsInfo> i
return
et
;
return
et
;
}
}
@Override
@Transactional
public
boolean
executeBatch
(
List
<
JobsInfo
>
etList
)
{
for
(
JobsInfo
et
:
etList
)
{
execute
(
et
);
}
return
true
;
}
@Override
@Override
@Transactional
@Transactional
public
boolean
save
(
JobsInfo
et
)
{
public
boolean
save
(
JobsInfo
et
)
{
...
@@ -160,17 +169,17 @@ public class JobsInfoServiceImpl extends ServiceImpl<JobsInfoMapper, JobsInfo> i
...
@@ -160,17 +169,17 @@ public class JobsInfoServiceImpl extends ServiceImpl<JobsInfoMapper, JobsInfo> i
@Override
@Override
@Transactional
@Transactional
public
JobsInfo
start
(
JobsInfo
et
)
{
public
JobsInfo
start
(
JobsInfo
et
)
{
et
.
set
(
"Last_time"
,
"0"
);
et
.
set
(
"Status"
,
"0"
);
et
.
set
(
"Status"
,
"0"
);
et
.
set
(
"Last_time"
,
"0"
);
update
(
et
);
update
(
et
);
return
et
;
return
et
;
}
}
@Override
@Override
@Transactional
@Transactional
public
JobsInfo
stop
(
JobsInfo
et
)
{
public
JobsInfo
stop
(
JobsInfo
et
)
{
et
.
set
(
"Next_time"
,
"0"
);
et
.
set
(
"Last_time"
,
"0"
);
et
.
set
(
"Last_time"
,
"0"
);
et
.
set
(
"Status"
,
"1"
);
et
.
set
(
"Status"
,
"1"
);
et
.
set
(
"Next_time"
,
"0"
);
update
(
et
);
update
(
et
);
return
et
;
return
et
;
}
}
...
...
ibztask-dependencies/pom.xml
浏览文件 @
450ad6fe
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<spring-cloud-openfeign.version>
2.2.1.RELEASE
</spring-cloud-openfeign.version>
<spring-cloud-openfeign.version>
2.2.1.RELEASE
</spring-cloud-openfeign.version>
<!-- Alibaba Druid -->
<!-- Alibaba Druid -->
<alibaba-druid.version>
1.1.
16
</alibaba-druid.version>
<alibaba-druid.version>
1.1.
21
</alibaba-druid.version>
<!-- Mybatis Plus -->
<!-- Mybatis Plus -->
<mybatis-plus.version>
3.3.1
</mybatis-plus.version>
<mybatis-plus.version>
3.3.1
</mybatis-plus.version>
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<!-- 阿里seata分布式事务 -->
<!-- 阿里seata分布式事务 -->
<alibaba-seata.version>
1.3.0
</alibaba-seata.version>
<alibaba-seata.version>
1.3.0
</alibaba-seata.version>
<oracle.version>
1
1.2.0.3
</oracle.version>
<oracle.version>
1
9.8.0.0
</oracle.version>
<postgresql.version>
42.2.6
</postgresql.version>
<postgresql.version>
42.2.6
</postgresql.version>
</properties>
</properties>
...
@@ -327,8 +327,13 @@
...
@@ -327,8 +327,13 @@
<!-- Oracle驱动包 -->
<!-- Oracle驱动包 -->
<dependency>
<dependency>
<groupId>
com.oracle
</groupId>
<groupId>
com.oracle.database.jdbc
</groupId>
<artifactId>
ojdbc6
</artifactId>
<artifactId>
ojdbc8
</artifactId>
<version>
${oracle.version}
</version>
</dependency>
<dependency>
<groupId>
com.oracle.database.nls
</groupId>
<artifactId>
orai18n
</artifactId>
<version>
${oracle.version}
</version>
<version>
${oracle.version}
</version>
</dependency>
</dependency>
<!-- PostgreSQL驱动包 -->
<!-- PostgreSQL驱动包 -->
...
...
ibztask-provider/ibztask-provider-api/src/main/java/cn/ibizlab/api/rest/JobsInfoResource.java
浏览文件 @
450ad6fe
...
@@ -130,6 +130,12 @@ public class JobsInfoResource {
...
@@ -130,6 +130,12 @@ public class JobsInfoResource {
jobsinfodto
=
jobsinfoMapping
.
toDto
(
domain
);
jobsinfodto
=
jobsinfoMapping
.
toDto
(
domain
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
jobsinfodto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
jobsinfodto
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibztask-JobsInfo-Execute-all')"
)
@ApiOperation
(
value
=
"批量处理[执行]"
,
tags
=
{
"任务信息"
},
notes
=
"批量处理[执行]"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/jobsinfos/{jobsinfo_id}/executebatch"
)
public
ResponseEntity
<
Boolean
>
executeBatch
(
@RequestBody
List
<
JobsInfoDTO
>
jobsinfodtos
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
jobsinfoService
.
executeBatch
(
jobsinfoMapping
.
toDomain
(
jobsinfodtos
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibztask-JobsInfo-Save-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibztask-JobsInfo-Save-all')"
)
@ApiOperation
(
value
=
"保存任务信息"
,
tags
=
{
"任务信息"
},
notes
=
"保存任务信息"
)
@ApiOperation
(
value
=
"保存任务信息"
,
tags
=
{
"任务信息"
},
notes
=
"保存任务信息"
)
...
...
ibztask-util/src/main/java/cn/ibizlab/util/security/AuthorizationTokenFilter.java
浏览文件 @
450ad6fe
...
@@ -20,10 +20,7 @@ import javax.servlet.ServletException;
...
@@ -20,10 +20,7 @@ import javax.servlet.ServletException;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.Arrays
;
import
java.util.*
;
import
java.util.HashSet
;
import
java.util.Iterator
;
import
java.util.Set
;
@Slf4j
@Slf4j
@Component
@Component
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录