Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzdisk
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzdisk
提交
9de50384
提交
9de50384
编写于
12月 21, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码 [ibz-disk,存储]
上级
e2d58d5d
变更
44
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
44 个修改的文件
包含
7397 行增加
和
6126 行删除
+7397
-6126
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
+234
-0
en-US.ts
app_web/src/locale/lang/en-US.ts
+8
-225
zh-CN-base.ts
app_web/src/locale/lang/zh-CN-base.ts
+233
-0
zh-CN.ts
app_web/src/locale/lang/zh-CN.ts
+8
-224
codelist_en_US.ts
app_web/src/locale/lanres/codelist/codelist_en_US.ts
+8
-5
codelist_en_US_base.ts
app_web/src/locale/lanres/codelist/codelist_en_US_base.ts
+11
-0
codelist_zh_CN.ts
app_web/src/locale/lanres/codelist/codelist_zh_CN.ts
+9
-5
codelist_zh_CN_base.ts
app_web/src/locale/lanres/codelist/codelist_zh_CN_base.ts
+11
-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
sdfile_en_US.ts
app_web/src/locale/lanres/entities/sdfile/sdfile_en_US.ts
+8
-207
sdfile_en_US_base.ts
...eb/src/locale/lanres/entities/sdfile/sdfile_en_US_base.ts
+214
-0
sdfile_zh_CN.ts
app_web/src/locale/lanres/entities/sdfile/sdfile_zh_CN.ts
+9
-207
sdfile_zh_CN_base.ts
...eb/src/locale/lanres/entities/sdfile/sdfile_zh_CN_base.ts
+213
-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
sdfile-edit-view-base.vue
...src/pages/disk/sdfile-edit-view/sdfile-edit-view-base.vue
+3
-3
sdfile-grid-view-base.vue
...src/pages/disk/sdfile-grid-view/sdfile-grid-view-base.vue
+5
-5
sdindex-view-base.vue
app_web/src/pages/disk/sdindex-view/sdindex-view-base.vue
+2
-2
app-popover.d.ts
app_web/src/utils/types/app-popover.d.ts
+1
-1
main-form-base.vue
app_web/src/widgets/sdfile/main-form/main-form-base.vue
+6
-4
main-grid-base.vue
app_web/src/widgets/sdfile/main-grid/main-grid-base.vue
+29
-35
yarn.lock
app_web/yarn.lock
+5418
-4321
config.xml
config.xml
+0
-5
webApplication.java
...-app-web/src/main/java/cn/ibizlab/web/webApplication.java
+1
-0
DevBootApplication.java
...isk-boot/src/main/java/cn/ibizlab/DevBootApplication.java
+1
-0
SDFileMapper.java
...c/main/java/cn/ibizlab/core/disk/mapper/SDFileMapper.java
+1
-0
pom.xml
ibzdisk-dependencies/pom.xml
+14
-4
Dockerfile
...-provider/ibzdisk-provider-api/src/main/docker/Dockerfile
+1
-1
ibzdisk-provider-api.yaml
...sk-provider-api/src/main/docker/ibzdisk-provider-api.yaml
+1
-15
ibzdiskapiApplication.java
...i/src/main/java/cn/ibizlab/api/ibzdiskapiApplication.java
+1
-0
LiquibaseProp.java
...l/src/main/java/cn/ibizlab/util/domain/LiquibaseProp.java
+1
-1
AuthorizationTokenFilter.java
...va/cn/ibizlab/util/security/AuthorizationTokenFilter.java
+1
-4
application-sys.yml
ibzdisk-util/src/main/resources/application-sys.yml
+37
-19
未找到文件。
app_web/package.json
浏览文件 @
9de50384
...
...
@@ -42,7 +42,7 @@
"vue-class-component"
:
"^7.0.2"
,
"vue-grid-layout"
:
"^2.3.7"
,
"vue-i18n"
:
"^8.15.3"
,
"vue-property-decorator"
:
"^
8.3.0
"
,
"vue-property-decorator"
:
"^
9.1.2
"
,
"vue-router"
:
"^3.1.3"
,
"vuex"
:
"^3.1.2"
,
"xlsx"
:
"^0.15.6"
...
...
@@ -53,10 +53,8 @@
"@types/mockjs"
:
"^1.0.2"
,
"@types/qs"
:
"^6.9.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-typescript"
:
"^4.1.0"
,
"@vue/cli-plugin-unit-jest"
:
"^4.1.0"
,
"@vue/cli-plugin-vuex"
:
"^4.1.0"
,
"@vue/cli-service"
:
"^4.1.0"
,
"@vue/test-utils"
:
"1.0.0-beta.29"
,
...
...
app_web/src/app-register.ts
浏览文件 @
9de50384
...
...
@@ -108,6 +108,7 @@ import Loadding from './directive/loadding/loadding';
import
AppColorSpan
from
'./components/app-color-span/app-color-span.vue'
;
import
AppColorPicker
from
'./components/app-color-picker/app-color-picker.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
...
...
app_web/src/components/app-color-span/app-color-span.vue
浏览文件 @
9de50384
...
...
@@ -3,7 +3,7 @@
<span
v-if=
"color"
:style=
"
{ color:textColor }">
{{
text
?
text
:
'---'
}}
</span>
<template
v-else
>
<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
:
'---'
}}
</span>
</
template
>
...
...
@@ -58,7 +58,7 @@ export default class AppColorSpan extends Vue {
* @type {any}
* @memberof AppColorSpan
*/
@
Prop
()
public
localContext
!
:
any
;
@
Prop
()
public
localContext
?
:
any
;
/**
* 局部导航参数
...
...
@@ -66,7 +66,7 @@ export default class AppColorSpan extends Vue {
* @type {any}
* @memberof AppColorSpan
*/
@
Prop
()
public
localParam
!
:
any
;
@
Prop
()
public
localParam
?
:
any
;
/**
* 视图上下文
...
...
@@ -74,7 +74,7 @@ export default class AppColorSpan extends Vue {
* @type {*}
* @memberof AppColorSpan
*/
@
Prop
()
public
context
!
:
any
;
@
Prop
()
public
context
?
:
any
;
/**
* 视图参数
...
...
@@ -82,8 +82,7 @@ export default class AppColorSpan extends Vue {
* @type {*}
* @memberof AppColorSpan
*/
@
Prop
()
public
viewparams
!
:
any
;
@
Prop
()
public
viewparams
?:
any
;
/**
* 颜色标识
...
...
@@ -91,8 +90,7 @@ export default class AppColorSpan extends Vue {
* @type {*}
* @memberof AppColorSpan
*/
@
Prop
()
color
:
any
;
@
Prop
()
color
?:
any
;
/**
* 颜色
...
...
@@ -156,8 +154,10 @@ export default class AppColorSpan extends Vue {
<
style
lang=
"less"
>
.text-color{
padding: 2px;
margin: 6px;
border-radius: 4px;
padding: 2px 8px;
margin: 6px 6px 6px 0px;
border-radius: 12px;
font-size: 13px;
border: 2px solid rgb(170, 167, 167);
}
</
style
>
\ No newline at end of file
app_web/src/components/dropdown-list/dropdown-list.vue
浏览文件 @
9de50384
...
...
@@ -170,10 +170,20 @@ export default class DropDownList extends Vue {
/**
* 属性类型
* @type {string}
*
* @type {'string' | 'number'}
* @memberof DropDownList
*/
@
Prop
({
default
:
'string'
})
public
valueType
!
:
'string'
|
'number'
;
/**
* 选择实际值
*
* @type {*}
* @memberof DropDownList
*/
@
Prop
()
public
valueType
?:
string
;
public
value
:
any
=
null
;
/**
* 计算属性(当前值)
...
...
@@ -186,7 +196,7 @@ export default class DropDownList extends Vue {
val
=
tempVal
.
length
>
0
?
tempVal
[
0
].
value
:
null
;
}
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
);
}
...
...
@@ -204,7 +214,7 @@ export default class DropDownList extends Vue {
})
return
JSON
.
stringify
([
result
]);
}
return
this
.
itemV
alue
;
return
this
.
v
alue
;
}
/**
...
...
@@ -263,10 +273,12 @@ export default class DropDownList extends Vue {
this
.
formStateEvent
=
this
.
formState
.
subscribe
(({
type
,
data
})
=>
{
if
(
Object
.
is
(
'load'
,
type
))
{
this
.
loadData
();
this
.
readyValue
();
}
});
}
this
.
loadData
();
this
.
readyValue
();
}
/**
...
...
@@ -298,6 +310,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,32 +366,29 @@ export default class DropDownList extends Vue {
* @memberof DropDownList
*/
public
formatCodeList
(
items
:
Array
<
any
>
){
let
matching
:
boolean
=
tru
e
;
let
matching
:
boolean
=
fals
e
;
this
.
items
=
[];
try
{
if
(
this
.
valueType
){
items
.
forEach
((
item
:
any
)
=>
{
const
type
=
this
.
$util
.
typeOf
(
item
.
value
);
if
(
type
!=
this
.
valueType
){
matching
=
false
;
if
(
type
==
'number'
){
item
.
value
=
item
.
value
.
toString
();
items
.
forEach
((
item
:
any
)
=>
{
const
type
=
this
.
$util
.
typeOf
(
item
.
value
);
if
(
type
!=
this
.
valueType
){
matching
=
true
;
if
(
type
===
'number'
){
item
.
value
=
item
.
value
.
toString
();
}
else
{
if
(
item
.
value
.
indexOf
(
'.'
)
==
-
1
){
item
.
value
=
parseInt
(
item
.
value
);
}
else
{
if
(
item
.
value
.
indexOf
(
'.'
)
==
-
1
){
item
.
value
=
parseInt
(
item
.
value
);
}
else
{
item
.
value
=
parseFloat
(
item
.
value
);
}
item
.
value
=
parseFloat
(
item
.
value
);
}
}
this
.
items
.
push
(
item
);
});
if
(
!
matching
){
console
.
warn
(
`代码表
${
this
.
tag
}
值类型和属性类型不匹配,已自动强制转换,请修正代码表值类型和属性类型匹配`
);
}
}
else
{
this
.
items
=
items
;
this
.
items
.
push
(
item
);
});
if
(
matching
){
console
.
warn
(
`代码表
${
this
.
tag
}
值类型和属性类型不匹配,已自动强制转换,请修正代码表值类型和属性类型匹配`
);
}
}
catch
(
error
){
console
.
warn
(
'代码表值类型和属性类型不匹配,自动强制转换异常,请修正代码表值类型和属性类型匹配'
);
}
...
...
app_web/src/locale/index.ts
浏览文件 @
9de50384
...
...
@@ -10,7 +10,7 @@ import iviewZhCnLocale from 'view-design/dist/locale/zh-CN';
import
elementZhLocale
from
'element-ui/lib/locale/lang/zh-CN'
;
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
浏览文件 @
9de50384
import
sdfile_en_US
from
'@locale/lanres/entities/sdfile/sdfile_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
:
{
sdindexview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"ibizlab-disk"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"ibizlab-disk"
,
null
),
},
},
utilview
:{
importview
:
"Import Data"
,
warning
:
"warning"
,
info
:
"Please configure the data import item"
},
menus
:
{
sdindexview
:
{
menuitem1
:
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
:
{
sdfile
:
sdfile_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
浏览文件 @
9de50384
import
sdfile_en_US
from
'@locale/lanres/entities/sdfile/sdfile_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
app_en_US_Base
from
'./en-US-base'
;
export
default
{
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"
},
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
:
{
sdindexview
:
{
caption
:
"ibizlab-disk"
,
title
:
"ibizlab-disk"
,
},
},
utilview
:{
importview
:
"Import Data"
,
warning
:
"warning"
,
info
:
"Please configure the data import item"
},
menus
:
{
sdindexview
:
{
menuitem1
:
"文件"
,
},
},
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
:
{
sdfile
:
sdfile_en_US
,
},
components
:
components_en_US
,
codelist
:
codelist_en_US
,
userCustom
:
userCustom_en_US
,
};
\ No newline at end of file
function
getLocaleResource
(){
const
app_en_US_OwnData
=
{};
const
targetData
=
Object
.
assign
(
app_en_US_Base
(),
app_en_US_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lang/zh-CN-base.ts
0 → 100644
浏览文件 @
9de50384
import
sdfile_zh_CN
from
'@locale/lanres/entities/sdfile/sdfile_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
:
{
sdindexview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"ibizlab-disk"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"ibizlab-disk"
,
null
),
},
},
utilview
:{
importview
:
"导入数据"
,
warning
:
"警告"
,
info
:
"请配置数据导入项"
},
menus
:
{
sdindexview
:
{
menuitem1
:
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
:
{
sdfile
:
sdfile_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
浏览文件 @
9de50384
import
sdfile_zh_CN
from
'@locale/lanres/entities/sdfile/sdfile_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
app_zh_CN_Base
from
'./zh-CN-base'
;
export
default
{
app
:
{
commonWords
:{
error
:
"失败"
,
success
:
"成功"
,
ok
:
"确认"
,
cancel
:
"取消"
,
save
:
"保存"
,
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
:
{
sdindexview
:
{
caption
:
"ibizlab-disk"
,
title
:
"ibizlab-disk"
,
},
},
utilview
:{
importview
:
"导入数据"
,
warning
:
"警告"
,
info
:
"请配置数据导入项"
},
menus
:
{
sdindexview
:
{
menuitem1
:
"文件"
,
},
},
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
:
{
sdfile
:
sdfile_zh_CN
,
},
components
:
components_zh_CN
,
codelist
:
codelist_zh_CN
,
userCustom
:
userCustom_zh_CN
,
};
\ No newline at end of file
function
getLocaleResource
(){
const
app_zh_CN_OwnData
=
{};
const
targetData
=
Object
.
assign
(
app_zh_CN_Base
(),
app_zh_CN_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
9de50384
export
default
{
SysOperator
:
{
"empty"
:
""
,
},
};
\ No newline at end of file
import
codelist_en_US_Base
from
'./codelist_en_US_base'
;
function
getLocaleResource
(){
const
codelist_en_US_OwnData
=
{};
const
targetData
=
Object
.
assign
(
codelist_en_US_Base
(),
codelist_en_US_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/codelist/codelist_en_US_base.ts
0 → 100644
浏览文件 @
9de50384
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
SysOperator
:
{
"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
浏览文件 @
9de50384
export
default
{
SysOperator
:
{
"empty"
:
""
,
},
};
\ No newline at end of file
import
codelist_zh_CN_Base
from
'./codelist_zh_CN_base'
;
function
getLocaleResource
(){
const
codelist_zh_CN_OwnData
=
{};
const
targetData
=
Object
.
assign
(
codelist_zh_CN_Base
(),
codelist_zh_CN_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/codelist/codelist_zh_CN_base.ts
0 → 100644
浏览文件 @
9de50384
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
SysOperator
:
{
"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
浏览文件 @
9de50384
此差异已折叠。
点击以展开。
app_web/src/locale/lanres/components/components_en_US_base.ts
0 → 100644
浏览文件 @
9de50384
此差异已折叠。
点击以展开。
app_web/src/locale/lanres/components/components_zh_CN.ts
浏览文件 @
9de50384
此差异已折叠。
点击以展开。
app_web/src/locale/lanres/components/components_zh_CN_base.ts
0 → 100644
浏览文件 @
9de50384
此差异已折叠。
点击以展开。
app_web/src/locale/lanres/entities/sdfile/sdfile_en_US.ts
浏览文件 @
9de50384
import
SDFile_en_US_Base
from
'./sdfile_en_US_base'
;
export
default
{
fields
:
{
id
:
"标识"
,
name
:
"名称"
,
file_path
:
"路径"
,
folder
:
"特定目录"
,
file_size
:
"文件大小"
,
extension
:
"扩展名"
,
owner_type
:
"所属类型"
,
owner_id
:
"所属主体"
,
memo
:
"备注"
,
digest_code
:
"签名"
,
createman
:
"创建人"
,
createdate
:
"创建日期"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
views
:
{
editview
:
{
caption
:
"文件"
,
title
:
"文件编辑视图"
,
},
gridview
:
{
caption
:
"文件"
,
title
:
"文件表格视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"文件基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"标识"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
filename
:
"名称"
,
filepath
:
"路径"
,
filesize
:
"文件大小"
,
fileext
:
"扩展名"
,
folder
:
"特定目录"
,
digestcode
:
"签名"
,
ownerid
:
"所属主体"
,
ownertype
:
"所属类型"
,
memo
:
"备注"
,
createman
:
"创建人"
,
createdate
:
"创建日期"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
fileid
:
"标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
fileid
:
"标识"
,
filename
:
"名称"
,
filepath
:
"路径"
,
filesize
:
"文件大小"
,
fileext
:
"扩展名"
,
folder
:
"特定目录"
,
ownertype
:
"所属类型"
,
ownerid
:
"所属主体"
,
createdate
:
"创建日期"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_filename_like
:
"名称(文本包含(%))"
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem16
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem23
:
{
caption
:
"第一个记录"
,
tip
:
"第一个记录"
,
},
tbitem24
:
{
caption
:
"上一个记录"
,
tip
:
"上一个记录"
,
},
tbitem25
:
{
caption
:
"下一个记录"
,
tip
:
"下一个记录"
,
},
tbitem26
:
{
caption
:
"最后一个记录"
,
tip
:
"最后一个记录"
,
},
tbitem21
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem22
:
{
caption
:
"Help"
,
tip
:
"Help"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
},
tbitem6
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"Remove"
,
tip
:
"Remove {0}"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"Export"
,
tip
:
"Export {0} Data To Excel"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem16
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem21
:
{
caption
:
"Export Data Model"
,
tip
:
"导出数据模型"
,
},
tbitem23
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
tbitem17
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"Filter"
,
tip
:
"Filter"
,
},
tbitem18
:
{
caption
:
"Help"
,
tip
:
"Help"
,
},
},
};
\ No newline at end of file
function
getLocaleResource
(){
const
SDFile_en_US_OwnData
=
{};
const
targetData
=
Object
.
assign
(
SDFile_en_US_Base
(),
SDFile_en_US_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/entities/sdfile/sdfile_en_US_base.ts
0 → 100644
浏览文件 @
9de50384
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
name
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
file_path
:
commonLogic
.
appcommonhandle
(
"路径"
,
null
),
folder
:
commonLogic
.
appcommonhandle
(
"特定目录"
,
null
),
file_size
:
commonLogic
.
appcommonhandle
(
"文件大小"
,
null
),
extension
:
commonLogic
.
appcommonhandle
(
"扩展名"
,
null
),
owner_type
:
commonLogic
.
appcommonhandle
(
"所属类型"
,
null
),
owner_id
:
commonLogic
.
appcommonhandle
(
"所属主体"
,
null
),
memo
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
digest_code
:
commonLogic
.
appcommonhandle
(
"签名"
,
null
),
createman
:
commonLogic
.
appcommonhandle
(
"创建人"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"创建日期"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
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
),
srfupdatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
filename
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
filepath
:
commonLogic
.
appcommonhandle
(
"路径"
,
null
),
filesize
:
commonLogic
.
appcommonhandle
(
"文件大小"
,
null
),
fileext
:
commonLogic
.
appcommonhandle
(
"扩展名"
,
null
),
folder
:
commonLogic
.
appcommonhandle
(
"特定目录"
,
null
),
digestcode
:
commonLogic
.
appcommonhandle
(
"签名"
,
null
),
ownerid
:
commonLogic
.
appcommonhandle
(
"所属主体"
,
null
),
ownertype
:
commonLogic
.
appcommonhandle
(
"所属类型"
,
null
),
memo
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
createman
:
commonLogic
.
appcommonhandle
(
"创建人"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"创建日期"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
fileid
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
fileid
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
filename
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
filepath
:
commonLogic
.
appcommonhandle
(
"路径"
,
null
),
filesize
:
commonLogic
.
appcommonhandle
(
"文件大小"
,
null
),
fileext
:
commonLogic
.
appcommonhandle
(
"扩展名"
,
null
),
folder
:
commonLogic
.
appcommonhandle
(
"特定目录"
,
null
),
ownertype
:
commonLogic
.
appcommonhandle
(
"所属类型"
,
null
),
ownerid
:
commonLogic
.
appcommonhandle
(
"所属主体"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"创建日期"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_filename_like
:
commonLogic
.
appcommonhandle
(
"名称(文本包含(%))"
,
null
),
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
},
tbitem4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save And New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save And New"
,
null
),
},
tbitem5
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save And Close"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save And Close Window"
,
null
),
},
tbitem6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Remove And Close"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Remove And Close Window"
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem12
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
},
tbitem13
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem14
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Copy"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Copy {0}"
,
null
),
},
tbitem16
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem23
:
{
caption
:
commonLogic
.
appcommonhandle
(
"第一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"第一个记录"
,
null
),
},
tbitem24
:
{
caption
:
commonLogic
.
appcommonhandle
(
"上一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"上一个记录"
,
null
),
},
tbitem25
:
{
caption
:
commonLogic
.
appcommonhandle
(
"下一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"下一个记录"
,
null
),
},
tbitem26
:
{
caption
:
commonLogic
.
appcommonhandle
(
"最后一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"最后一个记录"
,
null
),
},
tbitem21
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem22
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Help"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Help"
,
null
),
},
},
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
),
},
tbitem6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Copy"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Copy {0}"
,
null
),
},
tbitem7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Remove"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Remove {0}"
,
null
),
},
tbitem9
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem13
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Export"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Export {0} Data To Excel"
,
null
),
},
tbitem10
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem16
:
{
caption
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
},
tbitem21
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Export Data Model"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"导出数据模型"
,
null
),
},
tbitem23
:
{
caption
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
},
tbitem17
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem19
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Filter"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Filter"
,
null
),
},
tbitem18
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Help"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Help"
,
null
),
},
},
};
return
data
;
}
export
default
getLocaleResourceBase
;
\ No newline at end of file
app_web/src/locale/lanres/entities/sdfile/sdfile_zh_CN.ts
浏览文件 @
9de50384
export
default
{
fields
:
{
id
:
"标识"
,
name
:
"名称"
,
file_path
:
"路径"
,
folder
:
"特定目录"
,
file_size
:
"文件大小"
,
extension
:
"扩展名"
,
owner_type
:
"所属类型"
,
owner_id
:
"所属主体"
,
memo
:
"备注"
,
digest_code
:
"签名"
,
createman
:
"创建人"
,
createdate
:
"创建日期"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
views
:
{
editview
:
{
caption
:
"文件"
,
title
:
"文件编辑视图"
,
},
gridview
:
{
caption
:
"文件"
,
title
:
"文件表格视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"文件基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"标识"
,
srfmajortext
:
"名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
filename
:
"名称"
,
filepath
:
"路径"
,
filesize
:
"文件大小"
,
fileext
:
"扩展名"
,
folder
:
"特定目录"
,
digestcode
:
"签名"
,
ownerid
:
"所属主体"
,
ownertype
:
"所属类型"
,
memo
:
"备注"
,
createman
:
"创建人"
,
createdate
:
"创建日期"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
fileid
:
"标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
fileid
:
"标识"
,
filename
:
"名称"
,
filepath
:
"路径"
,
filesize
:
"文件大小"
,
fileext
:
"扩展名"
,
folder
:
"特定目录"
,
ownertype
:
"所属类型"
,
ownerid
:
"所属主体"
,
createdate
:
"创建日期"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
n_filename_like
:
"名称(文本包含(%))"
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem4
:
{
caption
:
"保存并新建"
,
tip
:
"保存并新建"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem16
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem23
:
{
caption
:
"第一个记录"
,
tip
:
"第一个记录"
,
},
tbitem24
:
{
caption
:
"上一个记录"
,
tip
:
"上一个记录"
,
},
tbitem25
:
{
caption
:
"下一个记录"
,
tip
:
"下一个记录"
,
},
tbitem26
:
{
caption
:
"最后一个记录"
,
tip
:
"最后一个记录"
,
},
tbitem21
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem22
:
{
caption
:
"帮助"
,
tip
:
"帮助"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"拷贝"
,
tip
:
"拷贝"
,
},
tbitem7
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem8
:
{
caption
:
"删除"
,
tip
:
"删除"
,
},
tbitem9
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem13
:
{
caption
:
"导出"
,
tip
:
"导出"
,
},
tbitem10
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem16
:
{
caption
:
"其它"
,
tip
:
"其它"
,
},
tbitem21
:
{
caption
:
"导出数据模型"
,
tip
:
"导出数据模型"
,
},
tbitem23
:
{
caption
:
"数据导入"
,
tip
:
"数据导入"
,
},
tbitem17
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem19
:
{
caption
:
"过滤"
,
tip
:
"过滤"
,
},
tbitem18
:
{
caption
:
"帮助"
,
tip
:
"帮助"
,
},
},
};
\ No newline at end of file
import
SDFile_zh_CN_Base
from
'./sdfile_zh_CN_base'
;
function
getLocaleResource
(){
const
SDFile_zh_CN_OwnData
=
{};
const
targetData
=
Object
.
assign
(
SDFile_zh_CN_Base
(),
SDFile_zh_CN_OwnData
);
return
targetData
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/entities/sdfile/sdfile_zh_CN_base.ts
0 → 100644
浏览文件 @
9de50384
import
commonLogic
from
'@/locale/logic/common/common-logic'
;
function
getLocaleResourceBase
(){
const
data
:
any
=
{
fields
:
{
id
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
name
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
file_path
:
commonLogic
.
appcommonhandle
(
"路径"
,
null
),
folder
:
commonLogic
.
appcommonhandle
(
"特定目录"
,
null
),
file_size
:
commonLogic
.
appcommonhandle
(
"文件大小"
,
null
),
extension
:
commonLogic
.
appcommonhandle
(
"扩展名"
,
null
),
owner_type
:
commonLogic
.
appcommonhandle
(
"所属类型"
,
null
),
owner_id
:
commonLogic
.
appcommonhandle
(
"所属主体"
,
null
),
memo
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
digest_code
:
commonLogic
.
appcommonhandle
(
"签名"
,
null
),
createman
:
commonLogic
.
appcommonhandle
(
"创建人"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"创建日期"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
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
),
srfupdatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
srfmajortext
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
srftempmode
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfuf
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
filename
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
filepath
:
commonLogic
.
appcommonhandle
(
"路径"
,
null
),
filesize
:
commonLogic
.
appcommonhandle
(
"文件大小"
,
null
),
fileext
:
commonLogic
.
appcommonhandle
(
"扩展名"
,
null
),
folder
:
commonLogic
.
appcommonhandle
(
"特定目录"
,
null
),
digestcode
:
commonLogic
.
appcommonhandle
(
"签名"
,
null
),
ownerid
:
commonLogic
.
appcommonhandle
(
"所属主体"
,
null
),
ownertype
:
commonLogic
.
appcommonhandle
(
"所属类型"
,
null
),
memo
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
createman
:
commonLogic
.
appcommonhandle
(
"创建人"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"创建日期"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
fileid
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
fileid
:
commonLogic
.
appcommonhandle
(
"标识"
,
null
),
filename
:
commonLogic
.
appcommonhandle
(
"名称"
,
null
),
filepath
:
commonLogic
.
appcommonhandle
(
"路径"
,
null
),
filesize
:
commonLogic
.
appcommonhandle
(
"文件大小"
,
null
),
fileext
:
commonLogic
.
appcommonhandle
(
"扩展名"
,
null
),
folder
:
commonLogic
.
appcommonhandle
(
"特定目录"
,
null
),
ownertype
:
commonLogic
.
appcommonhandle
(
"所属类型"
,
null
),
ownerid
:
commonLogic
.
appcommonhandle
(
"所属主体"
,
null
),
createdate
:
commonLogic
.
appcommonhandle
(
"创建日期"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
commonLogic
.
appcommonhandle
(
"常规条件"
,
null
),
n_filename_like
:
commonLogic
.
appcommonhandle
(
"名称(文本包含(%))"
,
null
),
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
},
tbitem4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存并新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存并新建"
,
null
),
},
tbitem5
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
},
tbitem6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"删除并关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"删除并关闭"
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem12
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
tbitem13
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem14
:
{
caption
:
commonLogic
.
appcommonhandle
(
"拷贝"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"拷贝"
,
null
),
},
tbitem16
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem23
:
{
caption
:
commonLogic
.
appcommonhandle
(
"第一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"第一个记录"
,
null
),
},
tbitem24
:
{
caption
:
commonLogic
.
appcommonhandle
(
"上一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"上一个记录"
,
null
),
},
tbitem25
:
{
caption
:
commonLogic
.
appcommonhandle
(
"下一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"下一个记录"
,
null
),
},
tbitem26
:
{
caption
:
commonLogic
.
appcommonhandle
(
"最后一个记录"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"最后一个记录"
,
null
),
},
tbitem21
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem22
:
{
caption
:
commonLogic
.
appcommonhandle
(
"帮助"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"帮助"
,
null
),
},
},
gridviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
tbitem4
:
{
caption
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"编辑"
,
null
),
},
tbitem6
:
{
caption
:
commonLogic
.
appcommonhandle
(
"拷贝"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"拷贝"
,
null
),
},
tbitem7
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem8
:
{
caption
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"删除"
,
null
),
},
tbitem9
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem13
:
{
caption
:
commonLogic
.
appcommonhandle
(
"导出"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"导出"
,
null
),
},
tbitem10
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem16
:
{
caption
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"其它"
,
null
),
},
tbitem21
:
{
caption
:
commonLogic
.
appcommonhandle
(
"导出数据模型"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"导出数据模型"
,
null
),
},
tbitem23
:
{
caption
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"数据导入"
,
null
),
},
tbitem17
:
{
caption
:
commonLogic
.
appcommonhandle
(
"-"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
""
,
null
),
},
tbitem19
:
{
caption
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"过滤"
,
null
),
},
tbitem18
:
{
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
浏览文件 @
9de50384
// 用户自定义语言资源 英文
export
default
{
};
\ No newline at end of file
function
getLocaleResource
(){
const
data
:
any
=
{};
return
data
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/lanres/userCustom/userCustom_zh_CN.ts
浏览文件 @
9de50384
// 用户自定义语言资源 中文
export
default
{
};
\ No newline at end of file
function
getLocaleResource
(){
const
data
:
any
=
{};
return
data
;
}
export
default
getLocaleResource
;
\ No newline at end of file
app_web/src/locale/logic/common/common-logic-base.ts
0 → 100644
浏览文件 @
9de50384
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
浏览文件 @
9de50384
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
浏览文件 @
9de50384
export
default
{
}
\ No newline at end of file
app_web/src/pages/disk/sdfile-edit-view/sdfile-edit-view-base.vue
浏览文件 @
9de50384
...
...
@@ -1396,7 +1396,7 @@ export default class SDFileEditViewBase extends Vue {
}
if
(
!
params
)
params
=
{};
Object
.
assign
(
params
,{
copymode
:
true
});
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
_this
.
opendata
([{
...
data
}],
args
,
params
,
$event
,
xData
);
}
else
{
Object
.
assign
(
this
.
viewparams
,{
copymode
:
true
});
}
...
...
@@ -1569,8 +1569,8 @@ export default class SDFileEditViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
...
...
app_web/src/pages/disk/sdfile-grid-view/sdfile-grid-view-base.vue
浏览文件 @
9de50384
...
...
@@ -1394,7 +1394,7 @@ export default class SDFileGridViewBase extends Vue {
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
sdfile
:
args
[
0
].
sdfile
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
_this
.
opendata
([{
...
data
}],
args
,
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
...
...
@@ -1420,7 +1420,7 @@ export default class SDFileGridViewBase extends Vue {
if
(
args
.
length
>
0
)
{
Object
.
assign
(
data
,
{
sdfile
:
args
[
0
].
sdfile
})
}
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
_this
.
opendata
([{
...
data
}],
args
,
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'opendata 视图处理逻辑不存在,请添加!'
});
}
...
...
@@ -1448,7 +1448,7 @@ export default class SDFileGridViewBase extends Vue {
}
if
(
!
params
)
params
=
{};
Object
.
assign
(
params
,{
copymode
:
true
});
_this
.
opendata
([{
...
data
}],
params
,
$event
,
xData
);
_this
.
opendata
([{
...
data
}],
args
,
params
,
$event
,
xData
);
}
else
{
Object
.
assign
(
this
.
viewparams
,{
copymode
:
true
});
}
...
...
@@ -1617,8 +1617,8 @@ export default class SDFileGridViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
...
...
app_web/src/pages/disk/sdindex-view/sdindex-view-base.vue
浏览文件 @
9de50384
...
...
@@ -548,8 +548,8 @@ export default class SDIndexViewBase extends Vue {
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
[
args
]);
_view
.
$emit
(
'close'
,
[
args
]);
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:
[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
...
...
app_web/src/utils/types/app-popover.d.ts
浏览文件 @
9de50384
...
...
@@ -37,7 +37,7 @@ export declare interface AppPopover {
* @param {number} [height]
* @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(带回填数据)
*
...
...
app_web/src/widgets/sdfile/main-form/main-form-base.vue
浏览文件 @
9de50384
...
...
@@ -697,8 +697,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @memberof MainBase
*/
public
deRules
:
any
=
{
};
public
deRules
(){
return
{
}
}
/**
* 校验属性值规则
...
...
@@ -707,7 +709,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @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
:
""
};
if
(
!
rule
[
name
]){
return
falg
;
...
...
@@ -1459,7 +1461,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
afterCreated
(){
if
(
this
.
isautoload
){
this
.
autoLoad
({
srfkey
:
this
.
context
.
documentcenter
});
this
.
autoLoad
({
srfkey
:
this
.
context
.
sdfile
});
}
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
...
...
app_web/src/widgets/sdfile/main-grid/main-grid-base.vue
浏览文件 @
9de50384
...
...
@@ -355,7 +355,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @memberof MainBase
*/
public
A
ctionModel
:
any
=
{
public
a
ctionModel
:
any
=
{
};
/**
...
...
@@ -860,7 +860,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
*/
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
);
ViewTool
.
calcActionItemAuthState
(
targetData
,
tempActionModel
,
this
.
appUIService
);
return
tempActionModel
;
...
...
@@ -884,8 +884,10 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @memberof MainBase
*/
public
deRules
:
any
=
{
};
public
deRules
(){
return
{
};
}
/**
* 值规则集合
...
...
@@ -893,11 +895,13 @@ export default class MainBase extends Vue implements ControlInterface {
* @type {*}
* @memberof MainBase
*/
public
rules
:
any
=
{
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'标识 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
'标识 值不能为空'
,
trigger
:
'blur'
},
],
public
rules
(){
return
{
srfkey
:
[
{
required
:
false
,
validator
:
(
rule
:
any
,
value
:
any
,
callback
:
any
)
=>
{
return
(
rule
.
required
&&
(
value
===
null
||
value
===
undefined
||
value
===
""
))
?
false
:
true
;},
message
:
`
${
this
.
$t
(
'entities.sdfile.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
:
`
${
this
.
$t
(
'entities.sdfile.main_grid.columns.srfkey'
)}${
this
.
$t
(
'app.commonWords.valueNotEmpty'
)}
`
,
trigger
:
'blur'
},
],
}
}
/**
...
...
@@ -912,7 +916,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
validate
(
property
:
string
,
data
:
any
,
rowIndex
:
number
):
Promise
<
any
>
{
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
);
resolve
(
true
);
}).
catch
(({
errors
,
fields
})
=>
{
...
...
@@ -936,7 +940,7 @@ export default class MainBase extends Vue implements ControlInterface {
let
tempMessage
:
string
=
''
;
index
++
;
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
))
{
validateState
=
false
;
tempMessage
=
tempMessage
+
'<p>'
+
this
.
gridItemsModel
[
index
][
property
].
error
+
'<p>'
;
...
...
@@ -972,6 +976,11 @@ export default class MainBase extends Vue implements ControlInterface {
const
sort
:
string
=
this
.
minorSortPSDEF
+
","
+
this
.
minorSortDir
;
Object
.
assign
(
page
,
{
sort
:
sort
});
}
//清空selections
if
(
this
.
selections
&&
this
.
selections
.
length
>
0
)
{
this
.
selections
=
[];
this
.
$emit
(
'selectionchange'
,
this
.
selections
);
}
Object
.
assign
(
arg
,
page
);
const
parentdata
:
any
=
{};
this
.
$emit
(
'beforeload'
,
parentdata
);
...
...
@@ -991,7 +1000,7 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
totalrow
=
response
.
total
;
this
.
items
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
// 清空selections,gridItemsModel
//this.selections = [];
//
this.selections = [];
this
.
gridItemsModel
=
[];
this
.
items
.
forEach
(()
=>
{
this
.
gridItemsModel
.
push
(
this
.
getGridRowModel
())});
this
.
items
.
forEach
((
item
:
any
)
=>
{
...
...
@@ -1519,6 +1528,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
return
codelist
;
}
/**
* 根据分组代码表绘制分组列表
*
...
...
@@ -1539,13 +1549,12 @@ export default class MainBase extends Vue implements ControlInterface {
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
j
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
const
arr
:
Array
<
any
>
=
allGroupField
.
filter
((
field
:
any
)
=>
{
return
field
.
value
==
item
[
this
.
groupAppField
]});
if
(
Object
.
is
(
group
.
label
,
arr
[
0
].
label
)){
if
(
Object
.
is
(
group
.
label
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
i
+
1
)
*
100
+
(
j
+
1
)
*
1
);
item
.
group
=
''
;
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
.
group
=
''
;
children
.
push
(
item
);
...
...
@@ -1572,10 +1581,9 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
items
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
let
i
:
number
=
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
]));
}
else
{
i
=
allGroup
.
findIndex
((
group
:
any
)
=>
Object
.
is
(
group
.
value
,
item
[
this
.
groupAppField
]));
}
if
(
i
<
0
){
item
.
groupById
=
Number
((
allGroup
.
length
+
1
)
*
100
+
(
index
+
1
)
*
1
);
...
...
@@ -1623,16 +1631,9 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
isEnableGroup
)
return
;
// 分组
let
allGroup
:
Array
<
any
>
=
[];
let
allGroupField
:
Array
<
any
>
=
[];
allGroupField
=
this
.
getGroupCodelist
(
this
.
groupAppFieldCodelistType
,
this
.
groupAppFieldCodelistTag
);
this
.
items
.
forEach
((
item
:
any
)
=>
{
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
>
=
[];
...
...
@@ -1644,14 +1645,7 @@ export default class MainBase extends Vue implements ControlInterface {
allGroup
.
forEach
((
group
:
any
,
groupIndex
:
number
)
=>
{
let
children
:
Array
<
any
>
=
[];
this
.
items
.
forEach
((
item
:
any
,
itemIndex
:
number
)
=>
{
if
(
allGroupField
&&
allGroupField
.
length
>
0
){
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
])){
if
(
Object
.
is
(
group
,
item
[
this
.
groupAppField
])){
item
.
groupById
=
Number
((
groupIndex
+
1
)
*
100
+
(
itemIndex
+
1
)
*
1
);
item
.
group
=
''
;
children
.
push
(
item
);
...
...
@@ -2356,7 +2350,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {{ name: string }} { name }
* @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
=
{};
if
(
!
rule
||
!
rule
[
name
]){
return
falg
;
...
...
app_web/yarn.lock
浏览文件 @
9de50384
此差异已折叠。
点击以展开。
config.xml
浏览文件 @
9de50384
...
...
@@ -37,11 +37,6 @@
git clone -b master $para2 ibzdisk/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzdisk/
mvn clean package -Papi
cd ibzdisk-provider/ibzdisk-provider-api
mvn -Papi docker:build
mvn -Papi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzdisk-provider-api.yaml ibzlab-rt --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
...
...
ibzdisk-app/ibzdisk-app-web/src/main/java/cn/ibizlab/web/webApplication.java
浏览文件 @
9de50384
...
...
@@ -29,6 +29,7 @@ import java.util.List;
@MapperScan
(
"cn.ibizlab.*.mapper"
)
@SpringBootApplication
(
exclude
=
{
org
.
springframework
.
boot
.
autoconfigure
.
security
.
servlet
.
SecurityAutoConfiguration
.
class
,
com
.
alibaba
.
druid
.
spring
.
boot
.
autoconfigure
.
DruidDataSourceAutoConfigure
.
class
})
public
class
webApplication
extends
WebMvcConfigurerAdapter
{
...
...
ibzdisk-boot/src/main/java/cn/ibizlab/DevBootApplication.java
浏览文件 @
9de50384
...
...
@@ -23,6 +23,7 @@ import org.springframework.beans.factory.annotation.Autowired;
@EnableTransactionManagement
@EnableFeignClients
(
basePackages
=
{
"cn.ibizlab"
})
@SpringBootApplication
(
exclude
=
{
com
.
alibaba
.
druid
.
spring
.
boot
.
autoconfigure
.
DruidDataSourceAutoConfigure
.
class
})
@ComponentScan
(
basePackages
=
{
"cn.ibizlab"
}
// ,excludeFilters = {
...
...
ibzdisk-core/src/main/java/cn/ibizlab/core/disk/mapper/SDFileMapper.java
浏览文件 @
9de50384
...
...
@@ -17,6 +17,7 @@ import java.io.Serializable;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.alibaba.fastjson.JSONObject
;
@com
.
baomidou
.
dynamic
.
datasource
.
annotation
.
DS
(
"db2"
)
public
interface
SDFileMapper
extends
BaseMapper
<
SDFile
>
{
Page
<
SDFile
>
searchDefault
(
IPage
page
,
@Param
(
"srf"
)
SDFileSearchContext
context
,
@Param
(
"ew"
)
Wrapper
<
SDFile
>
wrapper
);
...
...
ibzdisk-dependencies/pom.xml
浏览文件 @
9de50384
...
...
@@ -25,7 +25,7 @@
<spring-cloud-openfeign.version>
2.2.1.RELEASE
</spring-cloud-openfeign.version>
<!-- Alibaba Druid -->
<alibaba-druid.version>
1.1.
16
</alibaba-druid.version>
<alibaba-druid.version>
1.1.
21
</alibaba-druid.version>
<!-- Mybatis Plus -->
<mybatis-plus.version>
3.3.1
</mybatis-plus.version>
...
...
@@ -86,7 +86,7 @@
<!-- 阿里seata分布式事务 -->
<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>
</properties>
...
...
@@ -327,8 +327,13 @@
<!-- Oracle驱动包 -->
<dependency>
<groupId>
com.oracle
</groupId>
<artifactId>
ojdbc6
</artifactId>
<groupId>
com.oracle.database.jdbc
</groupId>
<artifactId>
ojdbc8
</artifactId>
<version>
${oracle.version}
</version>
</dependency>
<dependency>
<groupId>
com.oracle.database.nls
</groupId>
<artifactId>
orai18n
</artifactId>
<version>
${oracle.version}
</version>
</dependency>
<!-- PostgreSQL驱动包 -->
...
...
@@ -343,6 +348,11 @@
<artifactId>
mysql-connector-java
</artifactId>
</dependency>
<!-- mp动态数据源 -->
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
dynamic-datasource-spring-boot-starter
</artifactId>
</dependency>
...
...
ibzdisk-provider/ibzdisk-provider-api/src/main/docker/Dockerfile
浏览文件 @
9de50384
...
...
@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzdisk-provider-api.jar
EXPOSE
40006
EXPOSE
8081
ADD
ibzdisk-provider-api.jar /ibzdisk-provider-api.jar
ibzdisk-provider/ibzdisk-provider-api/src/main/docker/ibzdisk-provider-api.yaml
浏览文件 @
9de50384
...
...
@@ -3,23 +3,9 @@ services:
ibzdisk-provider-api
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzdisk-provider-api:latest
ports
:
-
"
40006:40006
"
-
"
8081:8081
"
networks
:
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=40006
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.100.243:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_A_5d9d78509
-
SPRING_DATASOURCE_PASSWORD=@6dEfb3@
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
-
NACOS=172.16.100.243:8848
-
SPRING_CLOUD_NACOS_DISCOVERY_GROUP=ibizdev
deploy
:
resources
:
limits
:
...
...
ibzdisk-provider/ibzdisk-provider-api/src/main/java/cn/ibizlab/api/ibzdiskapiApplication.java
浏览文件 @
9de50384
...
...
@@ -33,6 +33,7 @@ import java.util.List;
@SpringBootApplication
(
exclude
=
{
org
.
springframework
.
boot
.
autoconfigure
.
security
.
servlet
.
SecurityAutoConfiguration
.
class
,
org
.
springframework
.
boot
.
autoconfigure
.
mongo
.
MongoAutoConfiguration
.
class
,
com
.
alibaba
.
druid
.
spring
.
boot
.
autoconfigure
.
DruidDataSourceAutoConfigure
.
class
})
@Import
({
org
.
springframework
.
cloud
.
openfeign
.
FeignClientsConfiguration
.
class
...
...
ibzdisk-util/src/main/java/cn/ibizlab/util/domain/LiquibaseProp.java
浏览文件 @
9de50384
...
...
@@ -6,7 +6,7 @@ import org.springframework.stereotype.Component;
@Data
@Component
@ConfigurationProperties
(
prefix
=
"spring.datasource"
)
@ConfigurationProperties
(
prefix
=
"spring.datasource
.dynamic.datasource.master
"
)
public
class
LiquibaseProp
{
private
String
url
;
...
...
ibzdisk-util/src/main/java/cn/ibizlab/util/security/AuthorizationTokenFilter.java
浏览文件 @
9de50384
...
...
@@ -20,10 +20,7 @@ import javax.servlet.ServletException;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.util.Arrays
;
import
java.util.HashSet
;
import
java.util.Iterator
;
import
java.util.Set
;
import
java.util.*
;
@Slf4j
@Component
...
...
ibzdisk-util/src/main/resources/application-sys.yml
浏览文件 @
9de50384
...
...
@@ -25,27 +25,45 @@ spring:
password
:
'
@6dEfb3@'
url
:
jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
driver-class-name
:
com.mysql.jdbc.Driver
filters
:
stat,wall,log4j2
#配置初始化大小/最小/最大
initial-size
:
1
min-idle
:
1
max-active
:
20
#获取连接等待超时时间
max-wait
:
60000
#间隔多久进行一次检测,检测需要关闭的空闲连接
time-between-eviction-runs-millis
:
60000
#一个连接在池中最小生存的时间
min-evictable-idle-time-millis
:
300000
validation-query
:
SELECT 1 FROM DUAL
test-while-idle
:
true
test-on-borrow
:
false
test-on-return
:
false
#打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
pool-prepared-statements
:
false
max-pool-prepared-statement-per-connection-size
:
20
isSyncDBSchema
:
false
defaultSchema
:
a_A_5d9d78509
conf
:
classpath:liquibase/master.xml
dynamic
:
druid
:
#以下是全局默认值,可以全局更改
filters
:
stat,wall,log4j2
#配置初始化大小/最小/最大
initial-size
:
1
min-idle
:
1
max-active
:
20
#获取连接等待超时时间
max-wait
:
60000
#间隔多久进行一次检测,检测需要关闭的空闲连接
time-between-eviction-runs-millis
:
60000
#一个连接在池中最小生存的时间
min-evictable-idle-time-millis
:
300000
validation-query
:
SELECT 1 FROM DUAL
test-while-idle
:
true
test-on-borrow
:
false
test-on-return
:
false
#打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
pool-prepared-statements
:
false
max-pool-prepared-statement-per-connection-size
:
20
datasource
:
master
:
username
:
${spring.datasource.username}
password
:
${spring.datasource.password}
url
:
${spring.datasource.url}
driver-class-name
:
${spring.datasource.driver-class-name}
conf
:
classpath:liquibase/master.xml
isSyncDBSchema
:
${spring.datasource.isSyncDBSchema}
defaultSchema
:
${spring.datasource.defaultSchema}
db2
:
username
:
${spring.datasource.username}
password
:
${spring.datasource.password}
url
:
${spring.datasource.url}
driver-class-name
:
${spring.datasource.driver-class-name}
conf
:
classpath:liquibase/master.xml
isSyncDBSchema
:
${spring.datasource.isSyncDBSchema}
defaultSchema
:
${spring.datasource.defaultSchema}
#Mybatis-plus配置
mybatis-plus
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录