Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
96e38a73
提交
96e38a73
编写于
11月 26, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
1486f37d
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
9 行增加
和
219 行删除
+9
-219
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+2
-8
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+2
-8
inter-func-form-form-base.vue
...izbook/inter-func-form-form/inter-func-form-form-base.vue
+3
-22
inter-func-form-form-service.ts
...book/inter-func-form-form/inter-func-form-form-service.ts
+0
-1
rules-form-form-base.vue
...widgets/ibizbook/rules-form-form/rules-form-form-base.vue
+2
-160
rules-form-form-model.ts
...widgets/ibizbook/rules-form-form/rules-form-form-model.ts
+0
-20
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
96e38a73
...
@@ -170,10 +170,8 @@ export default {
...
@@ -170,10 +170,8 @@ export default {
},
},
rulesform_form
:
{
rulesform_form
:
{
details
:
{
details
:
{
group1
:
"
图书基本信息
"
,
group1
:
"
编辑表单值规则
"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
srfkey
:
"图书标识"
,
...
@@ -193,17 +191,13 @@ export default {
...
@@ -193,17 +191,13 @@ export default {
icon
:
"图标"
,
icon
:
"图标"
,
returntime
:
"归还日期"
,
returntime
:
"归还日期"
,
lendouttime
:
"借出日期"
,
lendouttime
:
"借出日期"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
},
},
interfuncform_form
:
{
interfuncform_form
:
{
details
:
{
details
:
{
group1
:
"
图书基本信息
"
,
group1
:
"
编辑表单内置功能
"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
formpage2
:
"其它"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
96e38a73
...
@@ -169,10 +169,8 @@ export default {
...
@@ -169,10 +169,8 @@ export default {
},
},
rulesform_form
:
{
rulesform_form
:
{
details
:
{
details
:
{
group1
:
"
图书基本信息
"
,
group1
:
"
编辑表单值规则
"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
srfkey
:
"图书标识"
,
...
@@ -192,17 +190,13 @@ export default {
...
@@ -192,17 +190,13 @@ export default {
icon
:
"图标"
,
icon
:
"图标"
,
returntime
:
"归还日期"
,
returntime
:
"归还日期"
,
lendouttime
:
"借出日期"
,
lendouttime
:
"借出日期"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
},
uiactions
:
{
uiactions
:
{
},
},
},
},
interfuncform_form
:
{
interfuncform_form
:
{
details
:
{
details
:
{
group1
:
"
图书基本信息
"
,
group1
:
"
编辑表单内置功能
"
,
formpage1
:
"基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
formpage2
:
"其它"
,
...
...
app_Web/src/widgets/ibizbook/inter-func-form-form/inter-func-form-form-base.vue
浏览文件 @
96e38a73
...
@@ -15,21 +15,7 @@
...
@@ -15,21 +15,7 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.group1.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.ibizbook.interfuncform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<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.ibizbook.interfuncform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<row>
<i-col
v-show=
"detailsModel.ibizbookid.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.ibizbookname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'ibizbookid'
:itemRules=
"this.rules().ibizbookid"
class=
''
:caption=
"$t('entities.ibizbook.interfuncform_form.details.ibizbookid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizbookid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.ibizbookid"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.ibizbookid.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ibizbookname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'ibizbookname'
:itemRules=
"this.rules().ibizbookname"
class=
''
:caption=
"$t('entities.ibizbook.interfuncform_form.details.ibizbookname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizbookname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-form-item
name=
'ibizbookname'
:itemRules=
"this.rules().ibizbookname"
class=
''
:caption=
"$t('entities.ibizbook.interfuncform_form.details.ibizbookname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizbookname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
<input-box
v-model=
"data.ibizbookname"
v-model=
"data.ibizbookname"
...
@@ -390,7 +376,7 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
...
@@ -390,7 +376,7 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
* @type {string}
* @type {string}
* @memberof InterFuncFormBase
* @memberof InterFuncFormBase
*/
*/
public
formKeyItemName
:
string
=
'
ibizbookid
'
;
public
formKeyItemName
:
string
=
''
;
/**
/**
* 是否自动加载
* 是否自动加载
...
@@ -684,10 +670,6 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
...
@@ -684,10 +670,6 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
*/
*/
public
rules
()
:
any
{
public
rules
()
:
any
{
return
{
return
{
ibizbookid
:
[
{
required
:
this
.
detailsModel
.
ibizbookid
.
required
,
type
:
'string'
,
message
:
'图书标识 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizbookid
.
required
,
type
:
'string'
,
message
:
'图书标识 值不能为空'
,
trigger
:
'blur'
},
],
ibizbookname
:
[
ibizbookname
:
[
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'blur'
},
...
@@ -849,7 +831,7 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
...
@@ -849,7 +831,7 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
* @memberof InterFuncFormBase
* @memberof InterFuncFormBase
*/
*/
public
detailsModel
:
any
=
{
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'
图书基本信息
'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.interfuncform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
group1
:
new
FormGroupPanelModel
({
caption
:
'
编辑表单内置功能
'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.interfuncform_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
})
,
,
...
@@ -1724,7 +1706,6 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
...
@@ -1724,7 +1706,6 @@ export default class InterFuncFormBase extends Vue implements ControlInterface {
const
data
=
response
.
data
;
const
data
=
response
.
data
;
this
.
resetDraftFormStates
();
this
.
resetDraftFormStates
();
this
.
onFormLoad
(
data
,
'loadDraft'
);
this
.
onFormLoad
(
data
,
'loadDraft'
);
this
.
data
.
ibizbookid
=
null
;
data
.
ibizbook
=
null
;
data
.
ibizbook
=
null
;
this
.
$emit
(
'load'
,
data
);
this
.
$emit
(
'load'
,
data
);
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
...
app_Web/src/widgets/ibizbook/inter-func-form-form/inter-func-form-form-service.ts
浏览文件 @
96e38a73
...
@@ -172,7 +172,6 @@ export default class InterFuncFormService extends ControlService {
...
@@ -172,7 +172,6 @@ export default class InterFuncFormService extends ControlService {
@
Errorlog
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
isWorkflow
?:
boolean
):
Promise
<
any
>
{
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
isWorkflow
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
Object
.
assign
(
Data
,{
ibizbookid
:
data
.
ibizbookid
,
srffrontuf
:
'1'
});
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
...
...
app_Web/src/widgets/ibizbook/rules-form-form/rules-form-form-base.vue
浏览文件 @
96e38a73
...
@@ -2,16 +2,6 @@
...
@@ -2,16 +2,6 @@
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'ibizbook_rulesform'
style=
""
@
on-validate=
"formItemValidate"
>
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'ibizbook_rulesform'
style=
""
@
on-validate=
"formItemValidate"
>
<input
style=
"display:none;"
/>
<input
style=
"display:none;"
/>
<row
>
<row
>
<tabs
:animated=
"false"
name=
'rulesform'
:value=
"detailsModel.form.activiedPage"
@
on-click=
"detailsModel.form.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'rulesform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.rulesform_form.details.formpage1')
])
}">
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<i-col
v-show=
"detailsModel.group1.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.ibizbook.rulesform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<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.ibizbook.rulesform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<row>
...
@@ -150,67 +140,6 @@
...
@@ -150,67 +140,6 @@
</i-col>
</i-col>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'rulesform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.rulesform_form.details.formpage2')
])
}">
<i-col
v-show=
"detailsModel.group2.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group2.manageContainerStatus"
:isManageContainer=
"detailsModel.group2.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group2')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizbook.rulesform_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.createman.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'createman'
:itemRules=
"this.rules().createman"
class=
''
:caption=
"$t('entities.ibizbook.rulesform_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createman'
:value=
"data.createman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.createdate.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'createdate'
:itemRules=
"this.rules().createdate"
class=
''
:caption=
"$t('entities.ibizbook.rulesform_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createdate'
:value=
"data.createdate"
dataType=
"DATETIME"
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.updateman.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'updateman'
:itemRules=
"this.rules().updateman"
class=
''
:caption=
"$t('entities.ibizbook.rulesform_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updateman'
:value=
"data.updateman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.updatedate.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'updatedate'
:itemRules=
"this.rules().updatedate"
class=
''
:caption=
"$t('entities.ibizbook.rulesform_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updatedate'
:value=
"data.updatedate"
dataType=
"DATETIME"
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>
</tab-pane>
</tabs>
</row>
</row>
</i-form>
</i-form>
</
template
>
</
template
>
...
@@ -615,10 +544,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
...
@@ -615,10 +544,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
icon
:
null
,
icon
:
null
,
returntime
:
null
,
returntime
:
null
,
lendouttime
:
null
,
lendouttime
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
ibizbook
:
null
,
ibizbook
:
null
,
};
};
...
@@ -710,22 +635,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
...
@@ -710,22 +635,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
lendouttime
.
required
,
type
:
'string'
,
message
:
'借出日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
lendouttime
.
required
,
type
:
'string'
,
message
:
'借出日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
lendouttime
.
required
,
type
:
'string'
,
message
:
'借出日期 值不能为空'
,
trigger
:
'blur'
},
{
required
:
this
.
detailsModel
.
lendouttime
.
required
,
type
:
'string'
,
message
:
'借出日期 值不能为空'
,
trigger
:
'blur'
},
],
],
createman
:
[
{
required
:
this
.
detailsModel
.
createman
.
required
,
type
:
'string'
,
message
:
'建立人 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
createman
.
required
,
type
:
'string'
,
message
:
'建立人 值不能为空'
,
trigger
:
'blur'
},
],
createdate
:
[
{
required
:
this
.
detailsModel
.
createdate
.
required
,
type
:
'string'
,
message
:
'建立时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
createdate
.
required
,
type
:
'string'
,
message
:
'建立时间 值不能为空'
,
trigger
:
'blur'
},
],
updateman
:
[
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人 值不能为空'
,
trigger
:
'blur'
},
],
updatedate
:
[
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'blur'
},
],
}
}
}
}
...
@@ -831,13 +740,9 @@ export default class RulesFormBase extends Vue implements ControlInterface {
...
@@ -831,13 +740,9 @@ export default class RulesFormBase extends Vue implements ControlInterface {
* @memberof RulesFormBase
* @memberof RulesFormBase
*/
*/
public
detailsModel
:
any
=
{
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'
图书基本信息
'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.rulesform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
group1
:
new
FormGroupPanelModel
({
caption
:
'
编辑表单值规则
'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.rulesform_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
})
,
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.rulesform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
,
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
,
...
@@ -877,15 +782,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
...
@@ -877,15 +782,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
,
,
lendouttime
:
new
FormItemModel
({
caption
:
'借出日期'
,
detailType
:
'FORMITEM'
,
name
:
'lendouttime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
lendouttime
:
new
FormItemModel
({
caption
:
'借出日期'
,
detailType
:
'FORMITEM'
,
name
:
'lendouttime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
,
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
updateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
form
:
new
FormTabPanelModel
({
caption
:
'form'
,
detailType
:
'TABPANEL'
,
name
:
'form'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
};
/**
/**
...
@@ -1116,54 +1012,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
...
@@ -1116,54 +1012,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'lendouttime'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
this
.
formDataChange
({
name
:
'lendouttime'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
}
/**
* 监控表单属性 createman 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof RulesFormBase
*/
@
Watch
(
'data.createman'
)
onCreatemanChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'createman'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 createdate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof RulesFormBase
*/
@
Watch
(
'data.createdate'
)
onCreatedateChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'createdate'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 updateman 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof RulesFormBase
*/
@
Watch
(
'data.updateman'
)
onUpdatemanChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'updateman'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 updatedate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof RulesFormBase
*/
@
Watch
(
'data.updatedate'
)
onUpdatedateChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'updatedate'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
/**
* 显示更多模式切换操作
* 显示更多模式切换操作
...
@@ -1232,12 +1080,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
...
@@ -1232,12 +1080,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
...
...
app_Web/src/widgets/ibizbook/rules-form-form/rules-form-form-model.ts
浏览文件 @
96e38a73
...
@@ -110,26 +110,6 @@ export default class RulesFormModel {
...
@@ -110,26 +110,6 @@ export default class RulesFormModel {
prop
:
'lendouttime'
,
prop
:
'lendouttime'
,
dataType
:
'DATE'
,
dataType
:
'DATE'
,
},
},
{
name
:
'createman'
,
prop
:
'createman'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
{
name
:
'ibizbook'
,
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录