Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
87a65f50
提交
87a65f50
编写于
11月 13, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ibiz4j 发布系统代码 [ibiz-rt,ibizlab-runtime]
上级
b3fd298f
变更
13
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
321 行增加
和
1 行删除
+321
-1
sys-open-access_en_US.ts
.../lanres/entities/sys-open-access/sys-open-access_en_US.ts
+6
-0
sys-open-access_zh_CN.ts
.../lanres/entities/sys-open-access/sys-open-access_zh_CN.ts
+6
-0
sys-team-member_en_US.ts
.../lanres/entities/sys-team-member/sys-team-member_en_US.ts
+2
-0
sys-team-member_zh_CN.ts
.../lanres/entities/sys-team-member/sys-team-member_zh_CN.ts
+2
-0
main-form-base.vue
.../src/widgets/sys-open-access/main-form/main-form-base.vue
+129
-0
main-form-model.ts
.../src/widgets/sys-open-access/main-form/main-form-model.ts
+20
-0
main-grid-base.vue
.../src/widgets/sys-team-member/main-grid/main-grid-base.vue
+23
-1
main-grid-model.ts
.../src/widgets/sys-team-member/main-grid/main-grid-model.ts
+5
-0
SysTeamMember.java
...rc/main/java/cn/ibizlab/core/ou/domain/SysTeamMember.java
+7
-0
SysOpenAccess.java
...c/main/java/cn/ibizlab/core/uaa/domain/SysOpenAccess.java
+32
-0
ibzrt.json
ibzrt-core/src/main/resources/sysmodel/ibzrt.json
+46
-0
SysOpenAccessDTO.java
...pi/src/main/java/cn/ibizlab/api/dto/SysOpenAccessDTO.java
+34
-0
SysTeamMemberDTO.java
...pi/src/main/java/cn/ibizlab/api/dto/SysTeamMemberDTO.java
+9
-0
未找到文件。
app_Web/src/locale/lanres/entities/sys-open-access/sys-open-access_en_US.ts
浏览文件 @
87a65f50
...
@@ -11,6 +11,8 @@ export default {
...
@@ -11,6 +11,8 @@ export default {
expires_time
:
"管理账号token过期时间"
,
expires_time
:
"管理账号token过期时间"
,
disabled
:
"是否禁用"
,
disabled
:
"是否禁用"
,
redirect_uri
:
"RedirectURI"
,
redirect_uri
:
"RedirectURI"
,
notify_url
:
"NotifyUrl"
,
agent_id
:
"AGENT_ID"
,
},
},
views
:
{
views
:
{
gridview
:
{
gridview
:
{
...
@@ -39,6 +41,10 @@ export default {
...
@@ -39,6 +41,10 @@ export default {
secret_key
:
"SecretKey(AppSecret)"
,
secret_key
:
"SecretKey(AppSecret)"
,
redirect_uri
:
"RedirectURI"
,
redirect_uri
:
"RedirectURI"
,
region_id
:
"RegionId"
,
region_id
:
"RegionId"
,
access_token
:
"管理账号token"
,
expires_time
:
"管理账号token过期时间"
,
notify_url
:
"NotifyUrl"
,
agent_id
:
"AGENT_ID"
,
disabled
:
"是否禁用"
,
disabled
:
"是否禁用"
,
accessid
:
"开放平台接入标识"
,
accessid
:
"开放平台接入标识"
,
},
},
...
...
app_Web/src/locale/lanres/entities/sys-open-access/sys-open-access_zh_CN.ts
浏览文件 @
87a65f50
...
@@ -10,6 +10,8 @@ export default {
...
@@ -10,6 +10,8 @@ export default {
expires_time
:
"管理账号token过期时间"
,
expires_time
:
"管理账号token过期时间"
,
disabled
:
"是否禁用"
,
disabled
:
"是否禁用"
,
redirect_uri
:
"RedirectURI"
,
redirect_uri
:
"RedirectURI"
,
notify_url
:
"NotifyUrl"
,
agent_id
:
"AGENT_ID"
,
},
},
views
:
{
views
:
{
gridview
:
{
gridview
:
{
...
@@ -38,6 +40,10 @@ export default {
...
@@ -38,6 +40,10 @@ export default {
secret_key
:
"SecretKey(AppSecret)"
,
secret_key
:
"SecretKey(AppSecret)"
,
redirect_uri
:
"RedirectURI"
,
redirect_uri
:
"RedirectURI"
,
region_id
:
"RegionId"
,
region_id
:
"RegionId"
,
access_token
:
"管理账号token"
,
expires_time
:
"管理账号token过期时间"
,
notify_url
:
"NotifyUrl"
,
agent_id
:
"AGENT_ID"
,
disabled
:
"是否禁用"
,
disabled
:
"是否禁用"
,
accessid
:
"开放平台接入标识"
,
accessid
:
"开放平台接入标识"
,
},
},
...
...
app_Web/src/locale/lanres/entities/sys-team-member/sys-team-member_en_US.ts
浏览文件 @
87a65f50
...
@@ -9,6 +9,7 @@ export default {
...
@@ -9,6 +9,7 @@ export default {
postid
:
"岗位标识"
,
postid
:
"岗位标识"
,
postname
:
"岗位"
,
postname
:
"岗位"
,
domains
:
"区属"
,
domains
:
"区属"
,
username
:
"登录名"
,
},
},
views
:
{
views
:
{
gridview
:
{
gridview
:
{
...
@@ -45,6 +46,7 @@ export default {
...
@@ -45,6 +46,7 @@ export default {
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
personname
:
"姓名"
,
personname
:
"姓名"
,
username
:
"登录名"
,
postname
:
"岗位"
,
postname
:
"岗位"
,
userid
:
"用户标识"
,
userid
:
"用户标识"
,
postid
:
"岗位标识"
,
postid
:
"岗位标识"
,
...
...
app_Web/src/locale/lanres/entities/sys-team-member/sys-team-member_zh_CN.ts
浏览文件 @
87a65f50
...
@@ -8,6 +8,7 @@ export default {
...
@@ -8,6 +8,7 @@ export default {
postid
:
"岗位标识"
,
postid
:
"岗位标识"
,
postname
:
"岗位"
,
postname
:
"岗位"
,
domains
:
"区属"
,
domains
:
"区属"
,
username
:
"登录名"
,
},
},
views
:
{
views
:
{
gridview
:
{
gridview
:
{
...
@@ -44,6 +45,7 @@ export default {
...
@@ -44,6 +45,7 @@ export default {
main_grid
:
{
main_grid
:
{
columns
:
{
columns
:
{
personname
:
"姓名"
,
personname
:
"姓名"
,
username
:
"登录名"
,
postname
:
"岗位"
,
postname
:
"岗位"
,
userid
:
"用户标识"
,
userid
:
"用户标识"
,
postid
:
"岗位标识"
,
postid
:
"岗位标识"
,
...
...
app_Web/src/widgets/sys-open-access/main-form/main-form-base.vue
浏览文件 @
87a65f50
...
@@ -88,6 +88,55 @@
...
@@ -88,6 +88,55 @@
</app-form-item>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.access_token.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'access_token'
:itemRules=
"this.rules().access_token"
class=
''
:caption=
"$t('entities.sysopenaccess.main_form.details.access_token')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.access_token.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.access_token"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.access_token.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.expires_time.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'expires_time'
:itemRules=
"this.rules().expires_time"
class=
''
:caption=
"$t('entities.sysopenaccess.main_form.details.expires_time')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.expires_time.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"datetime"
:transfer=
"true"
format=
"yyyy-MM-dd HH:mm:ss"
placeholder=
"请选择时间..."
:value=
"data.expires_time"
:disabled=
"detailsModel.expires_time.disabled"
style=
"min-width: 150px; width:160px;"
@
on-change=
"(val1, val2) =>
{ this.data.expires_time = val1 }">
</date-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.notify_url.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'notify_url'
:itemRules=
"this.rules().notify_url"
class=
''
:caption=
"$t('entities.sysopenaccess.main_form.details.notify_url')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.notify_url.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.notify_url"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.notify_url.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.agent_id.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'agent_id'
:itemRules=
"this.rules().agent_id"
class=
''
:caption=
"$t('entities.sysopenaccess.main_form.details.agent_id')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.agent_id.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.agent_id"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.agent_id.disabled"
type=
'number'
style=
""
>
</input-box>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.disabled.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.disabled.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'disabled'
:itemRules=
"this.rules().disabled"
class=
''
:caption=
"$t('entities.sysopenaccess.main_form.details.disabled')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.disabled.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'disabled'
:itemRules=
"this.rules().disabled"
class=
''
:caption=
"$t('entities.sysopenaccess.main_form.details.disabled')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.disabled.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
@@ -507,6 +556,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -507,6 +556,10 @@ export default class MainBase extends Vue implements ControlInterface {
secret_key
:
null
,
secret_key
:
null
,
redirect_uri
:
null
,
redirect_uri
:
null
,
region_id
:
null
,
region_id
:
null
,
access_token
:
null
,
expires_time
:
null
,
notify_url
:
null
,
agent_id
:
null
,
disabled
:
null
,
disabled
:
null
,
accessid
:
null
,
accessid
:
null
,
sysopenaccess
:
null
,
sysopenaccess
:
null
,
...
@@ -584,6 +637,22 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -584,6 +637,22 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
region_id
.
required
,
type
:
'string'
,
message
:
'RegionId 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
region_id
.
required
,
type
:
'string'
,
message
:
'RegionId 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
region_id
.
required
,
type
:
'string'
,
message
:
'RegionId 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
region_id
.
required
,
type
:
'string'
,
message
:
'RegionId 值不能为空'
,
trigger
:
'blur'
},
],
],
access_token
:
[
{
required
:
this
.
detailsModel
.
access_token
.
required
,
type
:
'string'
,
message
:
'管理账号token 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
access_token
.
required
,
type
:
'string'
,
message
:
'管理账号token 值不能为空'
,
trigger
:
'blur'
},
],
expires_time
:
[
{
required
:
this
.
detailsModel
.
expires_time
.
required
,
type
:
'string'
,
message
:
'管理账号token过期时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
expires_time
.
required
,
type
:
'string'
,
message
:
'管理账号token过期时间 值不能为空'
,
trigger
:
'blur'
},
],
notify_url
:
[
{
required
:
this
.
detailsModel
.
notify_url
.
required
,
type
:
'string'
,
message
:
'NotifyUrl 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
notify_url
.
required
,
type
:
'string'
,
message
:
'NotifyUrl 值不能为空'
,
trigger
:
'blur'
},
],
agent_id
:
[
{
required
:
this
.
detailsModel
.
agent_id
.
required
,
type
:
'number'
,
message
:
'AGENT_ID 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
agent_id
.
required
,
type
:
'number'
,
message
:
'AGENT_ID 值不能为空'
,
trigger
:
'blur'
},
],
disabled
:
[
disabled
:
[
{
required
:
this
.
detailsModel
.
disabled
.
required
,
type
:
'number'
,
message
:
'是否禁用 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
disabled
.
required
,
type
:
'number'
,
message
:
'是否禁用 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
disabled
.
required
,
type
:
'number'
,
message
:
'是否禁用 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
disabled
.
required
,
type
:
'number'
,
message
:
'是否禁用 值不能为空'
,
trigger
:
'blur'
},
...
@@ -716,6 +785,14 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -716,6 +785,14 @@ export default class MainBase extends Vue implements ControlInterface {
redirect_uri
:
new
FormItemModel
({
caption
:
'RedirectURI'
,
detailType
:
'FORMITEM'
,
name
:
'redirect_uri'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
redirect_uri
:
new
FormItemModel
({
caption
:
'RedirectURI'
,
detailType
:
'FORMITEM'
,
name
:
'redirect_uri'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
region_id
:
new
FormItemModel
({
caption
:
'RegionId'
,
detailType
:
'FORMITEM'
,
name
:
'region_id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
region_id
:
new
FormItemModel
({
caption
:
'RegionId'
,
detailType
:
'FORMITEM'
,
name
:
'region_id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
access_token
:
new
FormItemModel
({
caption
:
'管理账号token'
,
detailType
:
'FORMITEM'
,
name
:
'access_token'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
expires_time
:
new
FormItemModel
({
caption
:
'管理账号token过期时间'
,
detailType
:
'FORMITEM'
,
name
:
'expires_time'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
notify_url
:
new
FormItemModel
({
caption
:
'NotifyUrl'
,
detailType
:
'FORMITEM'
,
name
:
'notify_url'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
agent_id
:
new
FormItemModel
({
caption
:
'AGENT_ID'
,
detailType
:
'FORMITEM'
,
name
:
'agent_id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
disabled
:
new
FormItemModel
({
caption
:
'是否禁用'
,
detailType
:
'FORMITEM'
,
name
:
'disabled'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
disabled
:
new
FormItemModel
({
caption
:
'是否禁用'
,
detailType
:
'FORMITEM'
,
name
:
'disabled'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
...
@@ -879,6 +956,54 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -879,6 +956,54 @@ export default class MainBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'region_id'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'region_id'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
* 监控表单属性 access_token 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.access_token'
)
onAccess_tokenChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'access_token'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 expires_time 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.expires_time'
)
onExpires_timeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'expires_time'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 notify_url 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.notify_url'
)
onNotify_urlChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'notify_url'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 agent_id 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.agent_id'
)
onAgent_idChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'agent_id'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
/**
* 监控表单属性 disabled 值
* 监控表单属性 disabled 值
*
*
...
@@ -972,6 +1097,10 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -972,6 +1097,10 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
...
...
app_Web/src/widgets/sys-open-access/main-form/main-form-model.ts
浏览文件 @
87a65f50
...
@@ -80,6 +80,26 @@ export default class MainModel {
...
@@ -80,6 +80,26 @@ export default class MainModel {
prop
:
'region_id'
,
prop
:
'region_id'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
name
:
'access_token'
,
prop
:
'access_token'
,
dataType
:
'TEXT'
,
},
{
name
:
'expires_time'
,
prop
:
'expires_time'
,
dataType
:
'DATETIME'
,
},
{
name
:
'notify_url'
,
prop
:
'notify_url'
,
dataType
:
'TEXT'
,
},
{
name
:
'agent_id'
,
prop
:
'agent_id'
,
dataType
:
'BIGINT'
,
},
{
{
name
:
'disabled'
,
name
:
'disabled'
,
prop
:
'disabled'
,
prop
:
'disabled'
,
...
...
app_Web/src/widgets/sys-team-member/main-grid/main-grid-base.vue
浏览文件 @
87a65f50
...
@@ -62,6 +62,18 @@
...
@@ -62,6 +62,18 @@
</template>
</template>
</el-table-column>
</el-table-column>
</template>
</template>
<
template
v-if=
"getColumnState('username')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'username'"
:label=
"$t('entities.systeammember.main_grid.columns.username')"
:width=
"200"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<span
class=
"column-header "
>
{{
$t
(
'entities.systeammember.main_grid.columns.username'
)
}}
</span>
</
template
>
<
template
v-slot=
"{row,column,$index}"
>
<span>
{{
row
.
username
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"getColumnState('postname')"
>
<
template
v-if=
"getColumnState('postname')"
>
<el-table-column
show-overflow-tooltip
:prop=
"'postname'"
:label=
"$t('entities.systeammember.main_grid.columns.postname')"
:width=
"250"
:align=
"'left'"
:sortable=
"'custom'"
>
<el-table-column
show-overflow-tooltip
:prop=
"'postname'"
:label=
"$t('entities.systeammember.main_grid.columns.postname')"
:width=
"250"
:align=
"'left'"
:sortable=
"'custom'"
>
<template
v-slot:header=
"
{column}">
<template
v-slot:header=
"
{column}">
...
@@ -725,6 +737,15 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -725,6 +737,15 @@ export default class MainBase extends Vue implements ControlInterface {
isEnableRowEdit
:
true
,
isEnableRowEdit
:
true
,
enableCond
:
3
,
enableCond
:
3
,
},
},
{
name
:
'username'
,
label
:
'登录名'
,
langtag
:
'entities.systeammember.main_grid.columns.username'
,
show
:
true
,
unit
:
'PX'
,
isEnableRowEdit
:
false
,
enableCond
:
3
,
},
{
{
name
:
'postname'
,
name
:
'postname'
,
label
:
'岗位'
,
label
:
'岗位'
,
...
@@ -1427,7 +1448,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1427,7 +1448,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
public
arraySpanMethod
({
row
,
column
,
rowIndex
,
columnIndex
}
:
any
)
{
let
allColumns
:
Array
<
any
>
=
[
'personname'
,
'postname'
,
'userid'
,
'postid'
];
let
allColumns
:
Array
<
any
>
=
[
'personname'
,
'
username'
,
'
postname'
,
'userid'
,
'postid'
];
if
(
row
&&
row
.
children
&&
row
.
children
.
length
>
0
)
{
if
(
row
&&
row
.
children
&&
row
.
children
.
length
>
0
)
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
if
(
columnIndex
==
(
this
.
isSingleSelect
?
0
:
1
))
{
return
[
1
,
allColumns
.
length
+
1
];
return
[
1
,
allColumns
.
length
+
1
];
...
@@ -1471,6 +1492,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1471,6 +1492,7 @@ export default class MainBase extends Vue implements ControlInterface {
groupById
:
Number
((
groupIndex
+
1
)
*
10
),
groupById
:
Number
((
groupIndex
+
1
)
*
10
),
group
:
group
,
group
:
group
,
personname
:
''
,
personname
:
''
,
username
:
''
,
postname
:
''
,
postname
:
''
,
userid
:
''
,
userid
:
''
,
postid
:
''
,
postid
:
''
,
...
...
app_Web/src/widgets/sys-team-member/main-grid/main-grid-model.ts
浏览文件 @
87a65f50
...
@@ -32,6 +32,11 @@ export default class MainModel {
...
@@ -32,6 +32,11 @@ export default class MainModel {
dataType
:
'PICKUP'
,
dataType
:
'PICKUP'
,
isEditable
:
true
isEditable
:
true
},
},
{
name
:
'username'
,
prop
:
'username'
,
dataType
:
'PICKUPDATA'
,
},
{
{
name
:
'teamid'
,
name
:
'teamid'
,
prop
:
'teamid'
,
prop
:
'teamid'
,
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/ou/domain/SysTeamMember.java
浏览文件 @
87a65f50
...
@@ -90,6 +90,13 @@ public class SysTeamMember extends EntityClient implements Serializable {
...
@@ -90,6 +90,13 @@ public class SysTeamMember extends EntityClient implements Serializable {
@JsonProperty
(
"domains"
)
@JsonProperty
(
"domains"
)
private
String
domains
;
private
String
domains
;
/**
* 登录名
*/
@JSONField
(
name
=
"username"
)
@JsonProperty
(
"username"
)
private
String
username
;
/**
/**
*
*
...
...
ibzrt-core/src/main/java/cn/ibizlab/core/uaa/domain/SysOpenAccess.java
浏览文件 @
87a65f50
...
@@ -114,6 +114,22 @@ public class SysOpenAccess extends EntityClient implements Serializable {
...
@@ -114,6 +114,22 @@ public class SysOpenAccess extends EntityClient implements Serializable {
@JsonProperty
(
"redirect_uri"
)
@JsonProperty
(
"redirect_uri"
)
private
String
redirectUri
;
private
String
redirectUri
;
/**
* NotifyUrl
*/
@DEField
(
name
=
"notify_url"
)
@JSONField
(
name
=
"notify_url"
)
@JsonProperty
(
"notify_url"
)
private
String
notifyUrl
;
/**
* AGENT_ID
*/
@DEField
(
name
=
"agent_id"
)
@JSONField
(
name
=
"agent_id"
)
@JsonProperty
(
"agent_id"
)
private
Long
agentId
;
...
@@ -200,6 +216,22 @@ public class SysOpenAccess extends EntityClient implements Serializable {
...
@@ -200,6 +216,22 @@ public class SysOpenAccess extends EntityClient implements Serializable {
this
.
modify
(
"redirect_uri"
,
redirectUri
);
this
.
modify
(
"redirect_uri"
,
redirectUri
);
}
}
/**
* 设置 [NotifyUrl]
*/
public
void
setNotifyUrl
(
String
notifyUrl
)
{
this
.
notifyUrl
=
notifyUrl
;
this
.
modify
(
"notify_url"
,
notifyUrl
);
}
/**
* 设置 [AGENT_ID]
*/
public
void
setAgentId
(
Long
agentId
)
{
this
.
agentId
=
agentId
;
this
.
modify
(
"agent_id"
,
agentId
);
}
/**
/**
* 复制当前对象数据到目标对象(粘贴重置)
* 复制当前对象数据到目标对象(粘贴重置)
* @param targetEntity 目标数据对象
* @param targetEntity 目标数据对象
...
...
ibzrt-core/src/main/resources/sysmodel/ibzrt.json
浏览文件 @
87a65f50
...
@@ -2600,6 +2600,34 @@
...
@@ -2600,6 +2600,34 @@
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
11
,
"show_order"
:
11
,
"major_field"
:
0
"major_field"
:
0
},
{
"fieldname"
:
"NOTIFY_URL"
,
"codename"
:
"Notify_url"
,
"field_logic_name"
:
"NotifyUrl"
,
"entity_name"
:
"SysOpenAccess"
,
"field_type"
:
"TEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
500
,
"key_field"
:
0
,
"show_order"
:
12
,
"major_field"
:
0
},
{
"fieldname"
:
"AGENT_ID"
,
"codename"
:
"Agent_id"
,
"field_logic_name"
:
"AGENT_ID"
,
"entity_name"
:
"SysOpenAccess"
,
"field_type"
:
"BIGINT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"BIGINT"
,
"data_length"
:
20
,
"key_field"
:
0
,
"show_order"
:
13
,
"major_field"
:
0
}
}
],
],
"subEntitys"
:[
"subEntitys"
:[
...
@@ -3702,6 +3730,24 @@
...
@@ -3702,6 +3730,24 @@
"key_field"
:
0
,
"key_field"
:
0
,
"show_order"
:
8
,
"show_order"
:
8
,
"major_field"
:
0
"major_field"
:
0
},
{
"fieldname"
:
"USERNAME"
,
"codename"
:
"UserName"
,
"field_logic_name"
:
"登录名"
,
"entity_name"
:
"SysTeamMember"
,
"ref_de"
:
"SYS_EMP"
,
"ref_field_name"
:
"USERNAME"
,
"relation_name"
:
"DER1N_SYS_TEAMMEMBER_SYS_EMP_USERID"
,
"relation_codename"
:
"Emp"
,
"field_type"
:
"PICKUPDATA"
,
"nullable"
:
1
,
"physical_field"
:
0
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
100
,
"key_field"
:
0
,
"show_order"
:
9
,
"major_field"
:
0
}
}
],
],
"subEntitys"
:[
"subEntitys"
:[
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/dto/SysOpenAccessDTO.java
浏览文件 @
87a65f50
...
@@ -118,6 +118,24 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
...
@@ -118,6 +118,24 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
500
,
message
=
"内容长度必须小于等于[500]"
)
@Size
(
min
=
0
,
max
=
500
,
message
=
"内容长度必须小于等于[500]"
)
private
String
redirectUri
;
private
String
redirectUri
;
/**
* 属性 [NOTIFY_URL]
*
*/
@JSONField
(
name
=
"notify_url"
)
@JsonProperty
(
"notify_url"
)
@Size
(
min
=
0
,
max
=
500
,
message
=
"内容长度必须小于等于[500]"
)
private
String
notifyUrl
;
/**
* 属性 [AGENT_ID]
*
*/
@JSONField
(
name
=
"agent_id"
)
@JsonProperty
(
"agent_id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
agentId
;
/**
/**
* 设置 [ACCESSNAME]
* 设置 [ACCESSNAME]
...
@@ -191,6 +209,22 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
...
@@ -191,6 +209,22 @@ public class SysOpenAccessDTO extends DTOBase implements Serializable {
this
.
modify
(
"redirect_uri"
,
redirectUri
);
this
.
modify
(
"redirect_uri"
,
redirectUri
);
}
}
/**
* 设置 [NOTIFY_URL]
*/
public
void
setNotifyUrl
(
String
notifyUrl
){
this
.
notifyUrl
=
notifyUrl
;
this
.
modify
(
"notify_url"
,
notifyUrl
);
}
/**
* 设置 [AGENT_ID]
*/
public
void
setAgentId
(
Long
agentId
){
this
.
agentId
=
agentId
;
this
.
modify
(
"agent_id"
,
agentId
);
}
}
}
...
...
ibzrt-provider/ibzrt-provider-api/src/main/java/cn/ibizlab/api/dto/SysTeamMemberDTO.java
浏览文件 @
87a65f50
...
@@ -105,6 +105,15 @@ public class SysTeamMemberDTO extends DTOBase implements Serializable {
...
@@ -105,6 +105,15 @@ public class SysTeamMemberDTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
domains
;
private
String
domains
;
/**
* 属性 [USERNAME]
*
*/
@JSONField
(
name
=
"username"
)
@JsonProperty
(
"username"
)
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
username
;
/**
/**
* 设置 [TEAMID]
* 设置 [TEAMID]
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录