Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
979d1730
提交
979d1730
编写于
6月 24, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 部署微服务应用
上级
2674a240
变更
28
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
28 个修改的文件
包含
781 行增加
和
28 行删除
+781
-28
ibzdepartment_en_US.ts
...cale/lanres/entities/ibzdepartment/ibzdepartment_en_US.ts
+6
-2
ibzdepartment_zh_CN.ts
...cale/lanres/entities/ibzdepartment/ibzdepartment_zh_CN.ts
+6
-2
ibzdept-member_en_US.ts
...le/lanres/entities/ibzdept-member/ibzdept-member_en_US.ts
+4
-0
ibzdept-member_zh_CN.ts
...le/lanres/entities/ibzdept-member/ibzdept-member_zh_CN.ts
+4
-0
ibzemployee_en_US.ts
...c/locale/lanres/entities/ibzemployee/ibzemployee_en_US.ts
+6
-2
ibzemployee_zh_CN.ts
...c/locale/lanres/entities/ibzemployee/ibzemployee_zh_CN.ts
+6
-2
ibzorganization_en_US.ts
.../lanres/entities/ibzorganization/ibzorganization_en_US.ts
+6
-2
ibzorganization_zh_CN.ts
.../lanres/entities/ibzorganization/ibzorganization_zh_CN.ts
+6
-2
ibzpost_en_US.ts
app_web/src/locale/lanres/entities/ibzpost/ibzpost_en_US.ts
+4
-0
ibzpost_zh_CN.ts
app_web/src/locale/lanres/entities/ibzpost/ibzpost_zh_CN.ts
+4
-0
ibzteam-member_en_US.ts
...le/lanres/entities/ibzteam-member/ibzteam-member_en_US.ts
+4
-0
ibzteam-member_zh_CN.ts
...le/lanres/entities/ibzteam-member/ibzteam-member_zh_CN.ts
+4
-0
ibzteam_en_US.ts
app_web/src/locale/lanres/entities/ibzteam/ibzteam_en_US.ts
+4
-0
ibzteam_zh_CN.ts
app_web/src/locale/lanres/entities/ibzteam/ibzteam_zh_CN.ts
+4
-0
ibzdepartment-grid-view-base.vue
.../ibzdepartment-grid-view/ibzdepartment-grid-view-base.vue
+61
-1
ibzdept-member-grid-view-base.vue
...bzdept-member-grid-view/ibzdept-member-grid-view-base.vue
+60
-0
ibzemployee-grid-view-base.vue
...s/ou/ibzemployee-grid-view/ibzemployee-grid-view-base.vue
+61
-1
ibzorganization-grid-view-base.vue
...organization-grid-view/ibzorganization-grid-view-base.vue
+61
-1
ibzpost-grid-view-base.vue
...src/pages/ou/ibzpost-grid-view/ibzpost-grid-view-base.vue
+60
-0
ibzteam-grid-view-base.vue
...src/pages/ou/ibzteam-grid-view/ibzteam-grid-view-base.vue
+60
-0
ibzteam-member-grid-view-base.vue
...bzteam-member-grid-view/ibzteam-member-grid-view-base.vue
+60
-0
ibzdepartment-ui-service-base.ts
.../uiservice/ibzdepartment/ibzdepartment-ui-service-base.ts
+1
-1
ibzemployee-ui-service-base.ts
.../src/uiservice/ibzemployee/ibzemployee-ui-service-base.ts
+1
-1
ibzorganization-ui-service-base.ts
...ervice/ibzorganization/ibzorganization-ui-service-base.ts
+1
-1
config.xml
config.xml
+5
-0
Dockerfile
ibzou-app/ibzou-app-web/src/main/docker/Dockerfile
+1
-1
ibzou-app-web.yaml
ibzou-app/ibzou-app-web/src/main/docker/ibzou-app-web.yaml
+14
-1
h2_table.xml
ibzou-core/src/main/resources/liquibase/h2_table.xml
+267
-8
未找到文件。
app_web/src/locale/lanres/entities/ibzdepartment/ibzdepartment_en_US.ts
浏览文件 @
979d1730
...
@@ -209,13 +209,17 @@ export default {
...
@@ -209,13 +209,17 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem1_opennewcreateview
:
{
tbitem1_opennewcreateview
:
{
caption
:
"新建"
,
caption
:
"
快速
新建"
,
tip
:
"新建"
,
tip
:
"
快速
新建"
,
},
},
tbitem2
:
{
tbitem2
:
{
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
...
...
app_web/src/locale/lanres/entities/ibzdepartment/ibzdepartment_zh_CN.ts
浏览文件 @
979d1730
...
@@ -208,13 +208,17 @@ export default {
...
@@ -208,13 +208,17 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem1_opennewcreateview
:
{
tbitem1_opennewcreateview
:
{
caption
:
"新建"
,
caption
:
"
快速
新建"
,
tip
:
"新建"
,
tip
:
"
快速
新建"
,
},
},
tbitem2
:
{
tbitem2
:
{
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_web/src/locale/lanres/entities/ibzdept-member/ibzdept-member_en_US.ts
浏览文件 @
979d1730
...
@@ -50,6 +50,10 @@ export default {
...
@@ -50,6 +50,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
...
...
app_web/src/locale/lanres/entities/ibzdept-member/ibzdept-member_zh_CN.ts
浏览文件 @
979d1730
...
@@ -49,6 +49,10 @@ export default {
...
@@ -49,6 +49,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_web/src/locale/lanres/entities/ibzemployee/ibzemployee_en_US.ts
浏览文件 @
979d1730
...
@@ -260,13 +260,17 @@ export default {
...
@@ -260,13 +260,17 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem1_opennewcreateview
:
{
tbitem1_opennewcreateview
:
{
caption
:
"新建"
,
caption
:
"
快速
新建"
,
tip
:
"新建"
,
tip
:
"
快速
新建"
,
},
},
tbitem2
:
{
tbitem2
:
{
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
...
...
app_web/src/locale/lanres/entities/ibzemployee/ibzemployee_zh_CN.ts
浏览文件 @
979d1730
...
@@ -259,13 +259,17 @@ export default {
...
@@ -259,13 +259,17 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem1_opennewcreateview
:
{
tbitem1_opennewcreateview
:
{
caption
:
"新建"
,
caption
:
"
快速
新建"
,
tip
:
"新建"
,
tip
:
"
快速
新建"
,
},
},
tbitem2
:
{
tbitem2
:
{
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_web/src/locale/lanres/entities/ibzorganization/ibzorganization_en_US.ts
浏览文件 @
979d1730
...
@@ -138,13 +138,17 @@ export default {
...
@@ -138,13 +138,17 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem1_opennewcreateview
:
{
tbitem1_opennewcreateview
:
{
caption
:
"新建"
,
caption
:
"
快速
新建"
,
tip
:
"新建"
,
tip
:
"
快速
新建"
,
},
},
tbitem2
:
{
tbitem2
:
{
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
...
...
app_web/src/locale/lanres/entities/ibzorganization/ibzorganization_zh_CN.ts
浏览文件 @
979d1730
...
@@ -137,13 +137,17 @@ export default {
...
@@ -137,13 +137,17 @@ export default {
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
tbitem1_opennewcreateview
:
{
tbitem1_opennewcreateview
:
{
caption
:
"新建"
,
caption
:
"
快速
新建"
,
tip
:
"新建"
,
tip
:
"
快速
新建"
,
},
},
tbitem2
:
{
tbitem2
:
{
caption
:
"-"
,
caption
:
"-"
,
tip
:
""
,
tip
:
""
,
},
},
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_web/src/locale/lanres/entities/ibzpost/ibzpost_en_US.ts
浏览文件 @
979d1730
...
@@ -62,6 +62,10 @@ export default {
...
@@ -62,6 +62,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
...
...
app_web/src/locale/lanres/entities/ibzpost/ibzpost_zh_CN.ts
浏览文件 @
979d1730
...
@@ -61,6 +61,10 @@ export default {
...
@@ -61,6 +61,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_web/src/locale/lanres/entities/ibzteam-member/ibzteam-member_en_US.ts
浏览文件 @
979d1730
...
@@ -59,6 +59,10 @@ export default {
...
@@ -59,6 +59,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
...
...
app_web/src/locale/lanres/entities/ibzteam-member/ibzteam-member_zh_CN.ts
浏览文件 @
979d1730
...
@@ -58,6 +58,10 @@ export default {
...
@@ -58,6 +58,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_web/src/locale/lanres/entities/ibzteam/ibzteam_en_US.ts
浏览文件 @
979d1730
...
@@ -53,6 +53,10 @@ export default {
...
@@ -53,6 +53,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"Edit"
,
caption
:
"Edit"
,
tip
:
"Edit {0}"
,
tip
:
"Edit {0}"
,
...
...
app_web/src/locale/lanres/entities/ibzteam/ibzteam_zh_CN.ts
浏览文件 @
979d1730
...
@@ -52,6 +52,10 @@ export default {
...
@@ -52,6 +52,10 @@ export default {
},
},
},
},
gridviewtoolbar_toolbar
:
{
gridviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
"新建"
,
tip
:
"新建"
,
},
tbitem4
:
{
tbitem4
:
{
caption
:
"编辑"
,
caption
:
"编辑"
,
tip
:
"编辑"
,
tip
:
"编辑"
,
...
...
app_web/src/pages/ou/ibzdepartment-grid-view/ibzdepartment-grid-view-base.vue
浏览文件 @
979d1730
...
@@ -17,6 +17,13 @@
...
@@ -17,6 +17,13 @@
<div
slot=
'content'
>
{{
$t
(
'entities.ibzdepartment.gridviewtoolbar_toolbar.tbitem1_opennewcreateview.tip'
)
}}
</div>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzdepartment.gridviewtoolbar_toolbar.tbitem1_opennewcreateview.tip'
)
}}
</div>
</tooltip>
</tooltip>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzdepartment.gridviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzdepartment.gridviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzdepartment.gridviewtoolbar_toolbar.tbitem4.caption'
)
}}
</span>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzdepartment.gridviewtoolbar_toolbar.tbitem4.caption'
)
}}
</span>
...
@@ -302,9 +309,11 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -302,9 +309,11 @@ export default class IBZDepartmentGridViewBase extends Vue {
* @memberof IBZDepartmentGridView
* @memberof IBZDepartmentGridView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
tbitem1_opennewcreateview
:
{
name
:
'tbitem1_opennewcreateview'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenNewCreateView'
,
target
:
'NONE'
}
},
tbitem1_opennewcreateview
:
{
name
:
'tbitem1_opennewcreateview'
,
caption
:
'
快速
新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenNewCreateView'
,
target
:
'NONE'
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
...
@@ -637,6 +646,9 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -637,6 +646,9 @@ export default class IBZDepartmentGridViewBase extends Vue {
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_opennewcreateview'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_opennewcreateview'
))
{
this
.
toolbar_tbitem1_opennewcreateview_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem1_opennewcreateview_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
...
@@ -793,6 +805,34 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -793,6 +805,34 @@ export default class IBZDepartmentGridViewBase extends Vue {
curUIService
.
IBZDepartment_OpenNewCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZDepartment"
);
curUIService
.
IBZDepartment_OpenNewCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZDepartment"
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZDepartment"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -1151,6 +1191,26 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -1151,6 +1191,26 @@ export default class IBZDepartmentGridViewBase extends Vue {
}
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBZDepartmentGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_web/src/pages/ou/ibzdept-member-grid-view/ibzdept-member-grid-view-base.vue
浏览文件 @
979d1730
...
@@ -8,6 +8,13 @@
...
@@ -8,6 +8,13 @@
<div
style=
'margin-bottom: 6px;'
>
<div
style=
'margin-bottom: 6px;'
>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzdeptmember.gridviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzdeptmember.gridviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
...
@@ -269,6 +276,8 @@ export default class IBZDeptMemberGridViewBase extends Vue {
...
@@ -269,6 +276,8 @@ export default class IBZDeptMemberGridViewBase extends Vue {
* @memberof IBZDeptMemberGridView
* @memberof IBZDeptMemberGridView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
...
@@ -594,6 +603,9 @@ export default class IBZDeptMemberGridViewBase extends Vue {
...
@@ -594,6 +603,9 @@ export default class IBZDeptMemberGridViewBase extends Vue {
* @memberof IBZDeptMemberGridViewBase
* @memberof IBZDeptMemberGridViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
...
@@ -685,6 +697,34 @@ export default class IBZDeptMemberGridViewBase extends Vue {
...
@@ -685,6 +697,34 @@ export default class IBZDeptMemberGridViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZDeptMember"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -1048,6 +1088,26 @@ export default class IBZDeptMemberGridViewBase extends Vue {
...
@@ -1048,6 +1088,26 @@ export default class IBZDeptMemberGridViewBase extends Vue {
}
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBZDeptMemberGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_web/src/pages/ou/ibzemployee-grid-view/ibzemployee-grid-view-base.vue
浏览文件 @
979d1730
...
@@ -17,6 +17,13 @@
...
@@ -17,6 +17,13 @@
<div
slot=
'content'
>
{{
$t
(
'entities.ibzemployee.gridviewtoolbar_toolbar.tbitem1_opennewcreateview.tip'
)
}}
</div>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzemployee.gridviewtoolbar_toolbar.tbitem1_opennewcreateview.tip'
)
}}
</div>
</tooltip>
</tooltip>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzemployee.gridviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzemployee.gridviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzemployee.gridviewtoolbar_toolbar.tbitem4.caption'
)
}}
</span>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzemployee.gridviewtoolbar_toolbar.tbitem4.caption'
)
}}
</span>
...
@@ -309,9 +316,11 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -309,9 +316,11 @@ export default class IBZEmployeeGridViewBase extends Vue {
* @memberof IBZEmployeeGridView
* @memberof IBZEmployeeGridView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
tbitem1_opennewcreateview
:
{
name
:
'tbitem1_opennewcreateview'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenNewCreateView'
,
target
:
'NONE'
}
},
tbitem1_opennewcreateview
:
{
name
:
'tbitem1_opennewcreateview'
,
caption
:
'
快速
新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenNewCreateView'
,
target
:
'NONE'
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
...
@@ -647,6 +656,9 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -647,6 +656,9 @@ export default class IBZEmployeeGridViewBase extends Vue {
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_opennewcreateview'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_opennewcreateview'
))
{
this
.
toolbar_tbitem1_opennewcreateview_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem1_opennewcreateview_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
...
@@ -806,6 +818,34 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -806,6 +818,34 @@ export default class IBZEmployeeGridViewBase extends Vue {
curUIService
.
IBZEmployee_OpenNewCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZEmployee"
);
curUIService
.
IBZEmployee_OpenNewCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZEmployee"
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZEmployee"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -1193,6 +1233,26 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -1193,6 +1233,26 @@ export default class IBZEmployeeGridViewBase extends Vue {
}
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBZEmployeeGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_web/src/pages/ou/ibzorganization-grid-view/ibzorganization-grid-view-base.vue
浏览文件 @
979d1730
...
@@ -20,6 +20,13 @@
...
@@ -20,6 +20,13 @@
<div
slot=
'content'
>
{{
$t
(
'entities.ibzorganization.gridviewtoolbar_toolbar.tbitem1_opennewcreateview.tip'
)
}}
</div>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzorganization.gridviewtoolbar_toolbar.tbitem1_opennewcreateview.tip'
)
}}
</div>
</tooltip>
</tooltip>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzorganization.gridviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzorganization.gridviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzorganization.gridviewtoolbar_toolbar.tbitem4.caption'
)
}}
</span>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzorganization.gridviewtoolbar_toolbar.tbitem4.caption'
)
}}
</span>
...
@@ -305,9 +312,11 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -305,9 +312,11 @@ export default class IBZOrganizationGridViewBase extends Vue {
* @memberof IBZOrganizationGridView
* @memberof IBZOrganizationGridView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
tbitem1_opennewcreateview
:
{
name
:
'tbitem1_opennewcreateview'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenNewCreateView'
,
target
:
'NONE'
}
},
tbitem1_opennewcreateview
:
{
name
:
'tbitem1_opennewcreateview'
,
caption
:
'
快速
新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenNewCreateView'
,
target
:
'NONE'
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
tbitem2
:
{
name
:
'tbitem2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
...
@@ -640,6 +649,9 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -640,6 +649,9 @@ export default class IBZOrganizationGridViewBase extends Vue {
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_opennewcreateview'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem1_opennewcreateview'
))
{
this
.
toolbar_tbitem1_opennewcreateview_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem1_opennewcreateview_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
...
@@ -796,6 +808,34 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -796,6 +808,34 @@ export default class IBZOrganizationGridViewBase extends Vue {
curUIService
.
IBZOrganization_OpenNewCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZOrganization"
);
curUIService
.
IBZOrganization_OpenNewCreateView
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZOrganization"
);
}
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZOrganization"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -1144,6 +1184,26 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -1144,6 +1184,26 @@ export default class IBZOrganizationGridViewBase extends Vue {
}
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBZOrganizationGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_web/src/pages/ou/ibzpost-grid-view/ibzpost-grid-view-base.vue
浏览文件 @
979d1730
...
@@ -12,6 +12,13 @@
...
@@ -12,6 +12,13 @@
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"岗位名称"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"岗位名称"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzpost.gridviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzpost.gridviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
...
@@ -297,6 +304,8 @@ export default class IBZPostGridViewBase extends Vue {
...
@@ -297,6 +304,8 @@ export default class IBZPostGridViewBase extends Vue {
* @memberof IBZPostGridView
* @memberof IBZPostGridView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
...
@@ -626,6 +635,9 @@ export default class IBZPostGridViewBase extends Vue {
...
@@ -626,6 +635,9 @@ export default class IBZPostGridViewBase extends Vue {
* @memberof IBZPostGridViewBase
* @memberof IBZPostGridViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
...
@@ -753,6 +765,34 @@ export default class IBZPostGridViewBase extends Vue {
...
@@ -753,6 +765,34 @@ export default class IBZPostGridViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZPost"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -1075,6 +1115,26 @@ export default class IBZPostGridViewBase extends Vue {
...
@@ -1075,6 +1115,26 @@ export default class IBZPostGridViewBase extends Vue {
}
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBZPostGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_web/src/pages/ou/ibzteam-grid-view/ibzteam-grid-view-base.vue
浏览文件 @
979d1730
...
@@ -12,6 +12,13 @@
...
@@ -12,6 +12,13 @@
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"组名称"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"组名称"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzteam.gridviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzteam.gridviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
...
@@ -297,6 +304,8 @@ export default class IBZTeamGridViewBase extends Vue {
...
@@ -297,6 +304,8 @@ export default class IBZTeamGridViewBase extends Vue {
* @memberof IBZTeamGridView
* @memberof IBZTeamGridView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
...
@@ -626,6 +635,9 @@ export default class IBZTeamGridViewBase extends Vue {
...
@@ -626,6 +635,9 @@ export default class IBZTeamGridViewBase extends Vue {
* @memberof IBZTeamGridViewBase
* @memberof IBZTeamGridViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
...
@@ -753,6 +765,34 @@ export default class IBZTeamGridViewBase extends Vue {
...
@@ -753,6 +765,34 @@ export default class IBZTeamGridViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZTeam"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -1075,6 +1115,26 @@ export default class IBZTeamGridViewBase extends Vue {
...
@@ -1075,6 +1115,26 @@ export default class IBZTeamGridViewBase extends Vue {
}
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBZTeamGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_web/src/pages/ou/ibzteam-member-grid-view/ibzteam-member-grid-view-base.vue
浏览文件 @
979d1730
...
@@ -12,6 +12,13 @@
...
@@ -12,6 +12,13 @@
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"姓名"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"姓名"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibzteammember.gridviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibzteammember.gridviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i-button
v-show=
"toolBarModels.tbitem4.visabled"
:disabled=
"toolBarModels.tbitem4.disabled"
class=
''
@
click=
"toolbar_click(
{ tag: 'tbitem4' }, $event)">
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
...
@@ -297,6 +304,8 @@ export default class IBZTeamMemberGridViewBase extends Vue {
...
@@ -297,6 +304,8 @@ export default class IBZTeamMemberGridViewBase extends Vue {
* @memberof IBZTeamMemberGridView
* @memberof IBZTeamMemberGridView
*/
*/
public
toolBarModels
:
any
=
{
public
toolBarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem4
:
{
name
:
'tbitem4'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
tbitem6
:
{
name
:
'tbitem6'
,
caption
:
'拷贝'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Copy'
,
target
:
'SINGLEKEY'
}
},
...
@@ -626,6 +635,9 @@ export default class IBZTeamMemberGridViewBase extends Vue {
...
@@ -626,6 +635,9 @@ export default class IBZTeamMemberGridViewBase extends Vue {
* @memberof IBZTeamMemberGridViewBase
* @memberof IBZTeamMemberGridViewBase
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
...
@@ -753,6 +765,34 @@ export default class IBZTeamMemberGridViewBase extends Vue {
...
@@ -753,6 +765,34 @@ export default class IBZTeamMemberGridViewBase extends Vue {
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
grid
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBZTeamMember"
);
}
/**
/**
* 逻辑事件
* 逻辑事件
*
*
...
@@ -1100,6 +1140,26 @@ export default class IBZTeamMemberGridViewBase extends Vue {
...
@@ -1100,6 +1140,26 @@ export default class IBZTeamMemberGridViewBase extends Vue {
}
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBZTeamMemberGridViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
/**
* 编辑
* 编辑
*
*
...
...
app_web/src/uiservice/ibzdepartment/ibzdepartment-ui-service-base.ts
浏览文件 @
979d1730
...
@@ -166,7 +166,7 @@ export default class IBZDepartmentUIServiceBase extends UIService {
...
@@ -166,7 +166,7 @@ export default class IBZDepartmentUIServiceBase extends UIService {
}
}
/**
/**
* 新建
*
快速
新建
*
*
* @param {any[]} args 当前数据
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {any} context 行为附加上下文
...
...
app_web/src/uiservice/ibzemployee/ibzemployee-ui-service-base.ts
浏览文件 @
979d1730
...
@@ -230,7 +230,7 @@ export default class IBZEmployeeUIServiceBase extends UIService {
...
@@ -230,7 +230,7 @@ export default class IBZEmployeeUIServiceBase extends UIService {
}
}
/**
/**
* 新建
*
快速
新建
*
*
* @param {any[]} args 当前数据
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {any} context 行为附加上下文
...
...
app_web/src/uiservice/ibzorganization/ibzorganization-ui-service-base.ts
浏览文件 @
979d1730
...
@@ -96,7 +96,7 @@ export default class IBZOrganizationUIServiceBase extends UIService {
...
@@ -96,7 +96,7 @@ export default class IBZOrganizationUIServiceBase extends UIService {
}
}
/**
/**
* 新建
*
快速
新建
*
*
* @param {any[]} args 当前数据
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {any} context 行为附加上下文
...
...
config.xml
浏览文件 @
979d1730
...
@@ -37,6 +37,11 @@
...
@@ -37,6 +37,11 @@
git clone -b master $para2 ibzou/
git clone -b master $para2 ibzou/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzou/
cd ibzou/
mvn clean package -Pweb
cd ibzou-app/ibzou-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzou-app-web.yaml ibzlab-rt --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
ibzou-app/ibzou-app-web/src/main/docker/Dockerfile
浏览文件 @
979d1730
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzou-app-web.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzou-app-web.jar
EXPOSE
8080
EXPOSE
30001
ADD
ibzou-app-web.jar /ibzou-app-web.jar
ADD
ibzou-app-web.jar /ibzou-app-web.jar
ibzou-app/ibzou-app-web/src/main/docker/ibzou-app-web.yaml
浏览文件 @
979d1730
...
@@ -3,9 +3,22 @@ services:
...
@@ -3,9 +3,22 @@ services:
ibzou-app-web
:
ibzou-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzou-app-web:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzou-app-web:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
30001:30001
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=30001
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.102.211: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
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
-
NACOS=172.16.102.211:8848
deploy
:
deploy
:
resources
:
resources
:
limits
:
limits
:
...
...
ibzou-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
979d1730
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录