Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibztask
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibztask
提交
bd451c9d
提交
bd451c9d
编写于
1月 31, 2024
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_xuhui 发布系统代码 [ibiz-task,任务调度]
上级
3112cf9b
变更
5
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
269 行增加
和
227 行删除
+269
-227
jobs-info_BO_CN_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_BO_CN_base.ts
+12
-9
jobs-info_en_US_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_en_US_base.ts
+12
-9
jobs-info_zh_CN_base.ts
.../locale/lanres/entities/jobs-info/jobs-info_zh_CN_base.ts
+12
-9
main-form-base.vue
app_web/src/widgets/jobs-info/main-form/main-form-base.vue
+203
-170
main-form-model.ts
app_web/src/widgets/jobs-info/main-form/main-form-model.ts
+30
-30
未找到文件。
app_web/src/locale/lanres/entities/jobs-info/jobs-info_BO_CN_base.ts
浏览文件 @
bd451c9d
...
@@ -33,8 +33,11 @@ function getLocaleResourceBase(){
...
@@ -33,8 +33,11 @@ function getLocaleResourceBase(){
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
grouppanel2
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
grouppanel3
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
grouppanel4
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
druipart1
:
commonLogic
.
appcommonhandle
(
""
,
null
),
druipart1
:
commonLogic
.
appcommonhandle
(
""
,
null
),
group
1
:
commonLogic
.
appcommonhandle
(
"任务信息基本信息
"
,
null
),
group
panel1
:
commonLogic
.
appcommonhandle
(
"分组面板
"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
...
@@ -44,19 +47,19 @@ function getLocaleResourceBase(){
...
@@ -44,19 +47,19 @@ function getLocaleResourceBase(){
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间
"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注
"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间
"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数
"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/jobs-info/jobs-info_en_US_base.ts
浏览文件 @
bd451c9d
...
@@ -33,8 +33,11 @@ function getLocaleResourceBase(){
...
@@ -33,8 +33,11 @@ function getLocaleResourceBase(){
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
grouppanel2
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
grouppanel3
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
grouppanel4
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
druipart1
:
commonLogic
.
appcommonhandle
(
""
,
null
),
druipart1
:
commonLogic
.
appcommonhandle
(
""
,
null
),
group
1
:
commonLogic
.
appcommonhandle
(
"任务信息基本信息
"
,
null
),
group
panel1
:
commonLogic
.
appcommonhandle
(
"分组面板
"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
...
@@ -44,19 +47,19 @@ function getLocaleResourceBase(){
...
@@ -44,19 +47,19 @@ function getLocaleResourceBase(){
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间
"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注
"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间
"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数
"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/locale/lanres/entities/jobs-info/jobs-info_zh_CN_base.ts
浏览文件 @
bd451c9d
...
@@ -33,8 +33,11 @@ function getLocaleResourceBase(){
...
@@ -33,8 +33,11 @@ function getLocaleResourceBase(){
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
grouppanel2
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
grouppanel3
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
grouppanel4
:
commonLogic
.
appcommonhandle
(
"分组面板"
,
null
),
druipart1
:
commonLogic
.
appcommonhandle
(
""
,
null
),
druipart1
:
commonLogic
.
appcommonhandle
(
""
,
null
),
group
1
:
commonLogic
.
appcommonhandle
(
"任务信息基本信息
"
,
null
),
group
panel1
:
commonLogic
.
appcommonhandle
(
"分组面板
"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
formpage1
:
commonLogic
.
appcommonhandle
(
"基本信息"
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srforikey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
srfkey
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
...
@@ -44,19 +47,19 @@ function getLocaleResourceBase(){
...
@@ -44,19 +47,19 @@ function getLocaleResourceBase(){
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfdeid
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
srfsourcekey
:
commonLogic
.
appcommonhandle
(
""
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
app
:
commonLogic
.
appcommonhandle
(
"服务名"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
last_time
:
commonLogic
.
appcommonhandle
(
"上次调度时间"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间"
,
null
),
handler
:
commonLogic
.
appcommonhandle
(
"执行器任务HANDLER"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
next_time
:
commonLogic
.
appcommonhandle
(
"下次调度时间"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
cron
:
commonLogic
.
appcommonhandle
(
"任务执行CRON"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
timeout
:
commonLogic
.
appcommonhandle
(
"任务执行超时时间(秒)"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
fail_retry_count
:
commonLogic
.
appcommonhandle
(
"失败重试次数"
,
null
),
author
:
commonLogic
.
appcommonhandle
(
"所有者"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注"
,
null
),
status
:
commonLogic
.
appcommonhandle
(
"状态"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
tenant_id
:
commonLogic
.
appcommonhandle
(
"租户ID"
,
null
),
create_time
:
commonLogic
.
appcommonhandle
(
"创建时间
"
,
null
),
remark
:
commonLogic
.
appcommonhandle
(
"备注
"
,
null
),
update_time
:
commonLogic
.
appcommonhandle
(
"更新时间
"
,
null
),
param
:
commonLogic
.
appcommonhandle
(
"执行器任务参数
"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
id
:
commonLogic
.
appcommonhandle
(
"主键ID"
,
null
),
},
},
uiactions
:
{
uiactions
:
{
...
...
app_web/src/widgets/jobs-info/main-form/main-form-base.vue
浏览文件 @
bd451c9d
...
@@ -2,8 +2,11 @@
...
@@ -2,8 +2,11 @@
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'jobsinfo_main'
style=
""
@
on-validate=
"formItemValidate"
>
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'jobsinfo_main'
style=
""
@
on-validate=
"formItemValidate"
>
<input
style=
"display:none;"
/>
<input
style=
"display:none;"
/>
<row
>
<row
>
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.grouppanel1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group1.manageContainerStatus"
:isManageContainer=
"detailsModel.group1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.jobsinfo.main_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.grouppanel1.manageContainerStatus"
:isManageContainer=
"detailsModel.grouppanel1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('grouppanel1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.jobsinfo.main_form.details.grouppanel1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.grouppanel2.visible"
:style=
"
{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.grouppanel2.manageContainerStatus"
:isManageContainer=
"detailsModel.grouppanel2.isManageContainer"
@
managecontainerclick=
"manageContainerClick('grouppanel2')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.jobsinfo.main_form.details.grouppanel2')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<row>
<i-col
v-show=
"detailsModel.app.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.app.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'app'
:itemRules=
"this.rules().app"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.app')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.app.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'app'
:itemRules=
"this.rules().app"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.app')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.app.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
@@ -19,27 +22,27 @@
...
@@ -19,27 +22,27 @@
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.
handler
.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.
last_time
.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'
handler'
:itemRules=
"this.rules().handler"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.handler')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.handler
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'
last_time'
:itemRules=
"this.rules().last_time"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.last_time')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.last_time
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<input-box
v-model=
"data.
handler
"
v-model=
"data.
last_time
"
@
enter=
"onEnter($event)"
@
enter=
"onEnter($event)"
unit=
""
unit=
""
:disabled=
"detailsModel.
handler
.disabled"
:disabled=
"detailsModel.
last_time
.disabled"
type=
'
text
'
type=
'
number
'
style=
""
>
style=
""
>
</input-box>
</input-box>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.
cron
.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.
author
.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'
cron'
:itemRules=
"this.rules().cron"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.cron')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.cron
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'
author'
:itemRules=
"this.rules().author"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.author')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.author
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<input-box
v-model=
"data.
cron
"
v-model=
"data.
author
"
@
enter=
"onEnter($event)"
@
enter=
"onEnter($event)"
unit=
""
unit=
""
:disabled=
"detailsModel.
cron
.disabled"
:disabled=
"detailsModel.
author
.disabled"
type=
'text'
type=
'text'
style=
""
>
style=
""
>
</input-box>
</input-box>
...
@@ -47,21 +50,32 @@
...
@@ -47,21 +50,32 @@
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.param.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.create_time.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'param'
:itemRules=
"this.rules().param"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.param')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.param.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'create_time'
:itemRules=
"this.rules().create_time"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.create_time')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.create_time.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.param"
:textareaId=
"this.$util.createUUID()"
:disabled=
"detailsModel.param.disabled"
type=
'textarea'
textareaStyle=
"height:200px;"
></input-box>
<app-span
name=
'create_time'
:value=
"data.create_time"
dataType=
"DATETIME"
unitName=
""
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.last_time.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'last_time'
:itemRules=
"this.rules().last_time"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.last_time')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.last_time.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
</row>
</app-form-group>
</i-col>
<i-col
v-show=
"detailsModel.grouppanel3.visible"
:style=
"
{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.grouppanel3.manageContainerStatus"
:isManageContainer=
"detailsModel.grouppanel3.isManageContainer"
@
managecontainerclick=
"manageContainerClick('grouppanel3')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel3.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.jobsinfo.main_form.details.grouppanel3')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.handler.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'handler'
:itemRules=
"this.rules().handler"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.handler')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.handler.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<input-box
v-model=
"data.
last_time
"
v-model=
"data.
handler
"
@
enter=
"onEnter($event)"
@
enter=
"onEnter($event)"
unit=
""
unit=
""
:disabled=
"detailsModel.
last_time
.disabled"
:disabled=
"detailsModel.
handler
.disabled"
type=
'
number
'
type=
'
text
'
style=
""
>
style=
""
>
</input-box>
</input-box>
...
@@ -81,6 +95,59 @@
...
@@ -81,6 +95,59 @@
</app-form-item>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.status.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'status'
:itemRules=
"this.rules().status"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.status')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.status.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.status"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"formState"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.status.disabled"
valueType="number"
tag='CodeListJobStatus'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.update_time.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'update_time'
:itemRules=
"this.rules().update_time"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.update_time')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.update_time.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'update_time'
:value=
"data.update_time"
dataType=
"DATETIME"
unitName=
""
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
<i-col
v-show=
"detailsModel.grouppanel4.visible"
:style=
"
{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.grouppanel4.manageContainerStatus"
:isManageContainer=
"detailsModel.grouppanel4.isManageContainer"
@
managecontainerclick=
"manageContainerClick('grouppanel4')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel4.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.jobsinfo.main_form.details.grouppanel4')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.cron.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'cron'
:itemRules=
"this.rules().cron"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.cron')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.cron.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.cron"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.cron.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.timeout.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.timeout.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'timeout'
:itemRules=
"this.rules().timeout"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.timeout')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.timeout.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'timeout'
:itemRules=
"this.rules().timeout"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.timeout')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.timeout.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
@@ -110,19 +177,24 @@
...
@@ -110,19 +177,24 @@
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.
author
.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.
tenant_id
.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'
author'
:itemRules=
"this.rules().author"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.author')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.author
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'
tenant_id'
:itemRules=
"this.rules().tenant_id"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.tenant_id')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.tenant_id
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<input-box
v-model=
"data.
author
"
v-model=
"data.
tenant_id
"
@
enter=
"onEnter($event)"
@
enter=
"onEnter($event)"
unit=
""
unit=
""
:disabled=
"detailsModel.
author
.disabled"
:disabled=
"detailsModel.
tenant_id
.disabled"
type=
'text'
type=
'text'
style=
""
>
style=
""
>
</input-box>
</input-box>
</app-form-item>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.remark.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.remark.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'remark'
:itemRules=
"this.rules().remark"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.remark')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.remark.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'remark'
:itemRules=
"this.rules().remark"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.remark')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.remark.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
...
@@ -138,62 +210,14 @@
...
@@ -138,62 +210,14 @@
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.status.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.param.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'status'
:itemRules=
"this.rules().status"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.status')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.status.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'param'
:itemRules=
"this.rules().param"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.param')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.param.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.param"
:textareaId=
"this.$util.createUUID()"
:disabled=
"detailsModel.param.disabled"
type=
'textarea'
textareaStyle=
"height:200px;"
></input-box>
<dropdown-list
v-model=
"data.status"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"formState"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.status.disabled"
valueType="number"
tag='CodeListJobStatus'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.tenant_id.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'tenant_id'
:itemRules=
"this.rules().tenant_id"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.tenant_id')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.tenant_id.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.tenant_id"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.tenant_id.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.create_time.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'create_time'
:itemRules=
"this.rules().create_time"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.create_time')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.create_time.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'create_time'
:value=
"data.create_time"
dataType=
"DATETIME"
unitName=
""
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.update_time.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'update_time'
:itemRules=
"this.rules().update_time"
class=
''
:caption=
"$t('entities.jobsinfo.main_form.details.update_time')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.update_time.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'update_time'
:value=
"data.update_time"
dataType=
"DATETIME"
unitName=
""
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.druipart1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.druipart1.visible"
:style=
"
{
'height': '500px !important',
}" :lg="{ span: 24, offset: 0 }">
<app-form-druipart
<app-form-druipart
:formState=
"formState"
:formState=
"formState"
...
@@ -215,7 +239,7 @@
...
@@ -215,7 +239,7 @@
tempMode='0'
tempMode='0'
:data="JSON.stringify(this.data)"
:data="JSON.stringify(this.data)"
@drdatasaved="drdatasaved($event)"
@drdatasaved="drdatasaved($event)"
style=";overflow: auto;">
style="
height:500px
;overflow: auto;">
</app-form-druipart>
</app-form-druipart>
</i-col>
</i-col>
...
@@ -628,19 +652,19 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -628,19 +652,19 @@ export default class MainBase extends Vue implements ControlInterface {
srfdeid
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
srfsourcekey
:
null
,
app
:
null
,
app
:
null
,
handler
:
null
,
cron
:
null
,
param
:
null
,
last_time
:
null
,
last_time
:
null
,
author
:
null
,
create_time
:
null
,
handler
:
null
,
next_time
:
null
,
next_time
:
null
,
status
:
null
,
update_time
:
null
,
cron
:
null
,
timeout
:
null
,
timeout
:
null
,
fail_retry_count
:
null
,
fail_retry_count
:
null
,
author
:
null
,
remark
:
null
,
status
:
null
,
tenant_id
:
null
,
tenant_id
:
null
,
create_time
:
null
,
remark
:
null
,
update_time
:
null
,
param
:
null
,
id
:
null
,
id
:
null
,
jobsinfo
:
null
,
jobsinfo
:
null
,
};
};
...
@@ -697,26 +721,38 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -697,26 +721,38 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
app
.
required
,
type
:
'string'
,
message
:
'服务名 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
app
.
required
,
type
:
'string'
,
message
:
'服务名 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
app
.
required
,
type
:
'string'
,
message
:
'服务名 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
app
.
required
,
type
:
'string'
,
message
:
'服务名 值不能为空'
,
trigger
:
'blur'
},
],
],
handler
:
[
{
required
:
this
.
detailsModel
.
handler
.
required
,
type
:
'string'
,
message
:
'执行器任务HANDLER 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
handler
.
required
,
type
:
'string'
,
message
:
'执行器任务HANDLER 值不能为空'
,
trigger
:
'blur'
},
],
cron
:
[
{
required
:
this
.
detailsModel
.
cron
.
required
,
type
:
'string'
,
message
:
'任务执行CRON 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
cron
.
required
,
type
:
'string'
,
message
:
'任务执行CRON 值不能为空'
,
trigger
:
'blur'
},
],
param
:
[
{
required
:
this
.
detailsModel
.
param
.
required
,
type
:
'string'
,
message
:
'执行器任务参数 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
param
.
required
,
type
:
'string'
,
message
:
'执行器任务参数 值不能为空'
,
trigger
:
'blur'
},
],
last_time
:
[
last_time
:
[
{
required
:
this
.
detailsModel
.
last_time
.
required
,
type
:
'number'
,
message
:
'上次调度时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
last_time
.
required
,
type
:
'number'
,
message
:
'上次调度时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
last_time
.
required
,
type
:
'number'
,
message
:
'上次调度时间 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
last_time
.
required
,
type
:
'number'
,
message
:
'上次调度时间 值不能为空'
,
trigger
:
'blur'
},
],
],
author
:
[
{
required
:
this
.
detailsModel
.
author
.
required
,
type
:
'string'
,
message
:
'所有者 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
author
.
required
,
type
:
'string'
,
message
:
'所有者 值不能为空'
,
trigger
:
'blur'
},
],
create_time
:
[
{
required
:
this
.
detailsModel
.
create_time
.
required
,
type
:
'string'
,
message
:
'创建时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
create_time
.
required
,
type
:
'string'
,
message
:
'创建时间 值不能为空'
,
trigger
:
'blur'
},
],
handler
:
[
{
required
:
this
.
detailsModel
.
handler
.
required
,
type
:
'string'
,
message
:
'执行器任务HANDLER 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
handler
.
required
,
type
:
'string'
,
message
:
'执行器任务HANDLER 值不能为空'
,
trigger
:
'blur'
},
],
next_time
:
[
next_time
:
[
{
required
:
this
.
detailsModel
.
next_time
.
required
,
type
:
'number'
,
message
:
'下次调度时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
next_time
.
required
,
type
:
'number'
,
message
:
'下次调度时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
next_time
.
required
,
type
:
'number'
,
message
:
'下次调度时间 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
next_time
.
required
,
type
:
'number'
,
message
:
'下次调度时间 值不能为空'
,
trigger
:
'blur'
},
],
],
status
:
[
{
required
:
this
.
detailsModel
.
status
.
required
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
status
.
required
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'blur'
},
],
update_time
:
[
{
required
:
this
.
detailsModel
.
update_time
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
update_time
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'blur'
},
],
cron
:
[
{
required
:
this
.
detailsModel
.
cron
.
required
,
type
:
'string'
,
message
:
'任务执行CRON 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
cron
.
required
,
type
:
'string'
,
message
:
'任务执行CRON 值不能为空'
,
trigger
:
'blur'
},
],
timeout
:
[
timeout
:
[
{
required
:
this
.
detailsModel
.
timeout
.
required
,
type
:
'number'
,
message
:
'任务执行超时时间(秒) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
timeout
.
required
,
type
:
'number'
,
message
:
'任务执行超时时间(秒) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
timeout
.
required
,
type
:
'number'
,
message
:
'任务执行超时时间(秒) 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
timeout
.
required
,
type
:
'number'
,
message
:
'任务执行超时时间(秒) 值不能为空'
,
trigger
:
'blur'
},
...
@@ -725,29 +761,17 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -725,29 +761,17 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
fail_retry_count
.
required
,
type
:
'number'
,
message
:
'失败重试次数 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
fail_retry_count
.
required
,
type
:
'number'
,
message
:
'失败重试次数 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
fail_retry_count
.
required
,
type
:
'number'
,
message
:
'失败重试次数 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
fail_retry_count
.
required
,
type
:
'number'
,
message
:
'失败重试次数 值不能为空'
,
trigger
:
'blur'
},
],
],
author
:
[
{
required
:
this
.
detailsModel
.
author
.
required
,
type
:
'string'
,
message
:
'所有者 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
author
.
required
,
type
:
'string'
,
message
:
'所有者 值不能为空'
,
trigger
:
'blur'
},
],
remark
:
[
{
required
:
this
.
detailsModel
.
remark
.
required
,
type
:
'string'
,
message
:
'备注 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
remark
.
required
,
type
:
'string'
,
message
:
'备注 值不能为空'
,
trigger
:
'blur'
},
],
status
:
[
{
required
:
this
.
detailsModel
.
status
.
required
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
status
.
required
,
type
:
'number'
,
message
:
'状态 值不能为空'
,
trigger
:
'blur'
},
],
tenant_id
:
[
tenant_id
:
[
{
required
:
this
.
detailsModel
.
tenant_id
.
required
,
type
:
'string'
,
message
:
'租户ID 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
tenant_id
.
required
,
type
:
'string'
,
message
:
'租户ID 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
tenant_id
.
required
,
type
:
'string'
,
message
:
'租户ID 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
tenant_id
.
required
,
type
:
'string'
,
message
:
'租户ID 值不能为空'
,
trigger
:
'blur'
},
],
],
create_time
:
[
remark
:
[
{
required
:
this
.
detailsModel
.
create_time
.
required
,
type
:
'string'
,
message
:
'创建时间
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
remark
.
required
,
type
:
'string'
,
message
:
'备注
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
create_time
.
required
,
type
:
'string'
,
message
:
'创建时间
值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
remark
.
required
,
type
:
'string'
,
message
:
'备注
值不能为空'
,
trigger
:
'blur'
},
],
],
update_time
:
[
param
:
[
{
required
:
this
.
detailsModel
.
update_time
.
required
,
type
:
'string'
,
message
:
'更新时间
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
param
.
required
,
type
:
'string'
,
message
:
'执行器任务参数
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
update_time
.
required
,
type
:
'string'
,
message
:
'更新时间
值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
param
.
required
,
type
:
'string'
,
message
:
'执行器任务参数
值不能为空'
,
trigger
:
'blur'
},
],
],
}
}
}
}
...
@@ -856,9 +880,15 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -856,9 +880,15 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase
* @memberof MainBase
*/
*/
public
detailsModel
:
any
=
{
public
detailsModel
:
any
=
{
grouppanel2
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel2'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.jobsinfo.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
grouppanel3
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel3'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.jobsinfo.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
grouppanel4
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel4'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.jobsinfo.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
druipart1
:
new
FormDRUIPartModel
({
caption
:
''
,
detailType
:
'DRUIPART'
,
name
:
'druipart1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
druipart1
:
new
FormDRUIPartModel
({
caption
:
''
,
detailType
:
'DRUIPART'
,
name
:
'druipart1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
,
group
1
:
new
FormGroupPanelModel
({
caption
:
'任务信息基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group
1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.jobsinfo.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
group
panel1
:
new
FormGroupPanelModel
({
caption
:
'分组面板'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel
1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.jobsinfo.main_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
,
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
,
...
@@ -878,31 +908,31 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -878,31 +908,31 @@ export default class MainBase extends Vue implements ControlInterface {
,
,
app
:
new
FormItemModel
({
caption
:
'服务名'
,
detailType
:
'FORMITEM'
,
name
:
'app'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
app
:
new
FormItemModel
({
caption
:
'服务名'
,
detailType
:
'FORMITEM'
,
name
:
'app'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
,
handler
:
new
FormItemModel
({
caption
:
'执行器任务HANDLER'
,
detailType
:
'FORMITEM'
,
name
:
'handler'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
fals
e
,
disabled
:
false
,
enableCond
:
3
})
last_time
:
new
FormItemModel
({
caption
:
'上次调度时间'
,
detailType
:
'FORMITEM'
,
name
:
'last_time'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
tru
e
,
disabled
:
false
,
enableCond
:
3
})
,
,
cron
:
new
FormItemModel
({
caption
:
'任务执行CRON'
,
detailType
:
'FORMITEM'
,
name
:
'cron'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
tru
e
,
disabled
:
false
,
enableCond
:
3
})
author
:
new
FormItemModel
({
caption
:
'所有者'
,
detailType
:
'FORMITEM'
,
name
:
'author'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
fals
e
,
disabled
:
false
,
enableCond
:
3
})
,
,
param
:
new
FormItemModel
({
caption
:
'执行器任务参数'
,
detailType
:
'FORMITEM'
,
name
:
'param
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
create_time
:
new
FormItemModel
({
caption
:
'创建时间'
,
detailType
:
'FORMITEM'
,
name
:
'create_time
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
last_time
:
new
FormItemModel
({
caption
:
'上次调度时间'
,
detailType
:
'FORMITEM'
,
name
:
'last_time'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
tru
e
,
disabled
:
false
,
enableCond
:
3
})
handler
:
new
FormItemModel
({
caption
:
'执行器任务HANDLER'
,
detailType
:
'FORMITEM'
,
name
:
'handler'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
fals
e
,
disabled
:
false
,
enableCond
:
3
})
,
,
next_time
:
new
FormItemModel
({
caption
:
'下次调度时间'
,
detailType
:
'FORMITEM'
,
name
:
'next_time'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
next_time
:
new
FormItemModel
({
caption
:
'下次调度时间'
,
detailType
:
'FORMITEM'
,
name
:
'next_time'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
,
timeout
:
new
FormItemModel
({
caption
:
'任务执行超时时间(秒)'
,
detailType
:
'FORMITEM'
,
name
:
'timeout
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
status
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'status
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
,
fail_retry_count
:
new
FormItemModel
({
caption
:
'失败重试次数'
,
detailType
:
'FORMITEM'
,
name
:
'fail_retry_count'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
tru
e
,
disabled
:
false
,
enableCond
:
3
})
update_time
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'update_time'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
fals
e
,
disabled
:
false
,
enableCond
:
3
})
,
,
author
:
new
FormItemModel
({
caption
:
'所有者'
,
detailType
:
'FORMITEM'
,
name
:
'author'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
fals
e
,
disabled
:
false
,
enableCond
:
3
})
cron
:
new
FormItemModel
({
caption
:
'任务执行CRON'
,
detailType
:
'FORMITEM'
,
name
:
'cron'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
tru
e
,
disabled
:
false
,
enableCond
:
3
})
,
,
remark
:
new
FormItemModel
({
caption
:
'备注'
,
detailType
:
'FORMITEM'
,
name
:
'remark'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
fals
e
,
disabled
:
false
,
enableCond
:
3
})
timeout
:
new
FormItemModel
({
caption
:
'任务执行超时时间(秒)'
,
detailType
:
'FORMITEM'
,
name
:
'timeout'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
tru
e
,
disabled
:
false
,
enableCond
:
3
})
,
,
status
:
new
FormItemModel
({
caption
:
'状态'
,
detailType
:
'FORMITEM'
,
name
:
'status
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
fail_retry_count
:
new
FormItemModel
({
caption
:
'失败重试次数'
,
detailType
:
'FORMITEM'
,
name
:
'fail_retry_count
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
,
tenant_id
:
new
FormItemModel
({
caption
:
'租户ID'
,
detailType
:
'FORMITEM'
,
name
:
'tenant_id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
tenant_id
:
new
FormItemModel
({
caption
:
'租户ID'
,
detailType
:
'FORMITEM'
,
name
:
'tenant_id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
create_time
:
new
FormItemModel
({
caption
:
'创建时间'
,
detailType
:
'FORMITEM'
,
name
:
'create_time
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
remark
:
new
FormItemModel
({
caption
:
'备注'
,
detailType
:
'FORMITEM'
,
name
:
'remark
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
update_time
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'update_time
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
param
:
new
FormItemModel
({
caption
:
'执行器任务参数'
,
detailType
:
'FORMITEM'
,
name
:
'param
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
id
:
new
FormItemModel
({
caption
:
'主键ID'
,
detailType
:
'FORMITEM'
,
name
:
'id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
id
:
new
FormItemModel
({
caption
:
'主键ID'
,
detailType
:
'FORMITEM'
,
name
:
'id'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
...
@@ -1005,51 +1035,51 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1005,51 +1035,51 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
/**
/**
* 监控表单属性
handler
值
* 监控表单属性
last_time
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
handler
'
)
@
Watch
(
'data.
last_time
'
)
on
Handler
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Last_time
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
handler
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
last_time
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
cron
值
* 监控表单属性
author
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
cron
'
)
@
Watch
(
'data.
author
'
)
on
Cron
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Author
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
cron
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
author
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
param
值
* 监控表单属性
create_time
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
param
'
)
@
Watch
(
'data.
create_time
'
)
on
Param
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Create_time
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
param
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
create_time
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
last_time
值
* 监控表单属性
handler
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
last_time
'
)
@
Watch
(
'data.
handler
'
)
on
Last_time
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Handler
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
last_time
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
handler
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
...
@@ -1065,63 +1095,63 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1065,63 +1095,63 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
/**
/**
* 监控表单属性
timeout
值
* 监控表单属性
status
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
timeout
'
)
@
Watch
(
'data.
status
'
)
on
Timeout
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Status
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
timeout
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
status
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
fail_retry_count
值
* 监控表单属性
update_time
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
fail_retry_count
'
)
@
Watch
(
'data.
update_time
'
)
on
Fail_retry_count
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Update_time
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
fail_retry_count
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
update_time
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
author
值
* 监控表单属性
cron
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
author
'
)
@
Watch
(
'data.
cron
'
)
on
Author
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Cron
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
author
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
cron
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
remark
值
* 监控表单属性
timeout
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
remark
'
)
@
Watch
(
'data.
timeout
'
)
on
Remark
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Timeout
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
remark
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
timeout
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
status
值
* 监控表单属性
fail_retry_count
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
status
'
)
@
Watch
(
'data.
fail_retry_count
'
)
on
Status
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Fail_retry_count
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
status
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
fail_retry_count
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
...
@@ -1137,27 +1167,27 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1137,27 +1167,27 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
/**
/**
* 监控表单属性
create_time
值
* 监控表单属性
remark
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
create_time
'
)
@
Watch
(
'data.
remark
'
)
on
Create_time
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Remark
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
create_time
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
remark
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
* 监控表单属性
update_time
值
* 监控表单属性
param
值
*
*
* @param {*} newVal
* @param {*} newVal
* @param {*} oldVal
* @param {*} oldVal
* @memberof MainBase
* @memberof MainBase
*/
*/
@
Watch
(
'data.
update_time
'
)
@
Watch
(
'data.
param
'
)
on
Update_time
Change
(
newVal
:
any
,
oldVal
:
any
)
{
on
Param
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
update_time
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'
param
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
/**
...
@@ -1247,6 +1277,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1247,6 +1277,9 @@ export default class MainBase extends Vue implements ControlInterface {
...
...
app_web/src/widgets/jobs-info/main-form/main-form-model.ts
浏览文件 @
bd451c9d
...
@@ -56,30 +56,45 @@ export default class MainModel {
...
@@ -56,30 +56,45 @@ export default class MainModel {
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
{
name
:
'
handler
'
,
name
:
'
last_time
'
,
prop
:
'
handler
'
,
prop
:
'
last_time
'
,
dataType
:
'
TEX
T'
,
dataType
:
'
BIGIN
T'
,
},
},
{
{
name
:
'
cron
'
,
name
:
'
author
'
,
prop
:
'
cron
'
,
prop
:
'
author
'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
{
name
:
'
param
'
,
name
:
'
create_time
'
,
prop
:
'
param
'
,
prop
:
'
create_time
'
,
dataType
:
'
TEXT
'
,
dataType
:
'
DATETIME
'
,
},
},
{
{
name
:
'
last_time
'
,
name
:
'
handler
'
,
prop
:
'
last_time
'
,
prop
:
'
handler
'
,
dataType
:
'
BIGIN
T'
,
dataType
:
'
TEX
T'
,
},
},
{
{
name
:
'next_time'
,
name
:
'next_time'
,
prop
:
'next_time'
,
prop
:
'next_time'
,
dataType
:
'BIGINT'
,
dataType
:
'BIGINT'
,
},
},
{
name
:
'status'
,
prop
:
'status'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'update_time'
,
prop
:
'update_time'
,
dataType
:
'DATETIME'
,
},
{
name
:
'cron'
,
prop
:
'cron'
,
dataType
:
'TEXT'
,
},
{
{
name
:
'timeout'
,
name
:
'timeout'
,
prop
:
'timeout'
,
prop
:
'timeout'
,
...
@@ -91,8 +106,8 @@ export default class MainModel {
...
@@ -91,8 +106,8 @@ export default class MainModel {
dataType
:
'INT'
,
dataType
:
'INT'
,
},
},
{
{
name
:
'
author
'
,
name
:
'
tenant_id
'
,
prop
:
'
author
'
,
prop
:
'
tenant_id
'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
{
...
@@ -101,25 +116,10 @@ export default class MainModel {
...
@@ -101,25 +116,10 @@ export default class MainModel {
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
{
name
:
'status'
,
name
:
'param'
,
prop
:
'status'
,
prop
:
'param'
,
dataType
:
'NSCODELIST'
,
},
{
name
:
'tenant_id'
,
prop
:
'tenant_id'
,
dataType
:
'TEXT'
,
dataType
:
'TEXT'
,
},
},
{
name
:
'create_time'
,
prop
:
'create_time'
,
dataType
:
'DATETIME'
,
},
{
name
:
'update_time'
,
prop
:
'update_time'
,
dataType
:
'DATETIME'
,
},
{
{
name
:
'id'
,
name
:
'id'
,
prop
:
'id'
,
prop
:
'id'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录