Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
66cdfe0b
提交
66cdfe0b
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
kuaikuai 发布系统代码 [后台服务,演示应用]
上级
82953857
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
106 行增加
和
131 行删除
+106
-131
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+4
-6
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+4
-6
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+83
-104
guide-view-form-form-model.ts
...izbook/guide-view-form-form/guide-view-form-form-model.ts
+15
-15
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
66cdfe0b
...
...
@@ -250,8 +250,6 @@ export default {
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -261,11 +259,11 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizbookid
:
"图书标识"
,
author
:
"图书作者"
,
booknumber
:
"图书数量"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
66cdfe0b
...
...
@@ -249,8 +249,6 @@ export default {
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -260,11 +258,11 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizbookid
:
"图书标识"
,
author
:
"图书作者"
,
booknumber
:
"图书数量"
,
press
:
"图书出版社"
,
price
:
"图书价格"
,
},
uiactions
:
{
},
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
66cdfe0b
...
...
@@ -2,17 +2,7 @@
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'wizardpanel_form_FirstForm'
id=
'ibizbook_guideviewform'
style=
""
@
on-validate=
"formItemValidate"
>
<input
style=
"display:none;"
/>
<row
>
<tabs
:animated=
"false"
name=
'guideviewform'
:value=
"detailsModel.wizardpanel_form_FirstForm.activiedPage"
@
on-click=
"detailsModel.wizardpanel_form_FirstForm.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'guideviewform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.guideviewform_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.guideviewform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.ibizbookname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
...
...
@@ -29,61 +19,59 @@
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'guideviewform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.guideviewform_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.guideviewform_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.guideviewform_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>
<i-col
v-show=
"detailsModel.author.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'author'
:itemRules=
"this.rules().author"
class=
''
:caption=
"$t('entities.ibizbook.guideviewform_form.details.author')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.author.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.author"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.author.disabled"
type=
'text'
style=
""
>
</input-box>
</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.guideviewform_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>
<i-col
v-show=
"detailsModel.booknumber.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'booknumber'
:itemRules=
"this.rules().booknumber"
class=
''
:caption=
"$t('entities.ibizbook.guideviewform_form.details.booknumber')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.booknumber.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.booknumber"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.booknumber.disabled"
type=
'number'
style=
""
>
</input-box>
</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.guideviewform_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>
<i-col
v-show=
"detailsModel.press.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'press'
:itemRules=
"this.rules().press"
class=
''
:caption=
"$t('entities.ibizbook.guideviewform_form.details.press')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.press.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.press"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.press.disabled"
type=
'text'
style=
""
>
</input-box>
</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.guideviewform_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>
<i-col
v-show=
"detailsModel.price.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'price'
:itemRules=
"this.rules().price"
class=
''
:caption=
"$t('entities.ibizbook.guideviewform_form.details.price')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.price.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.price"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.price.disabled"
type=
'number'
:precision=
"2"
style=
""
>
</input-box>
</app-form-item>
...
...
@@ -95,8 +83,6 @@ tag='SysOperator' codelistType='DYNAMIC' :data="data" :context="context" :viewpa
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
</
template
>
...
...
@@ -491,11 +477,11 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
srfdeid
:
null
,
srfsourcekey
:
null
,
ibizbookname
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
ibizbookid
:
null
,
author
:
null
,
booknumber
:
null
,
press
:
null
,
price
:
null
,
ibizbook
:
null
,
};
...
...
@@ -551,21 +537,21 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizbookname
.
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'
},
author
:
[
{
required
:
this
.
detailsModel
.
author
.
required
,
type
:
'string'
,
message
:
'图书作者
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
author
.
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'
},
booknumber
:
[
{
required
:
this
.
detailsModel
.
booknumber
.
required
,
type
:
'number'
,
message
:
'图书数量
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
booknumber
.
required
,
type
:
'number'
,
message
:
'图书数量
值不能为空'
,
trigger
:
'blur'
},
],
updateman
:
[
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人
值不能为空'
,
trigger
:
'blur'
},
press
:
[
{
required
:
this
.
detailsModel
.
press
.
required
,
type
:
'string'
,
message
:
'图书出版社
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
press
.
required
,
type
:
'string'
,
message
:
'图书出版社
值不能为空'
,
trigger
:
'blur'
},
],
updatedat
e
:
[
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间
值不能为空'
,
trigger
:
'blur'
},
pric
e
:
[
{
required
:
this
.
detailsModel
.
price
.
required
,
type
:
'number'
,
message
:
'图书价格
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
price
.
required
,
type
:
'number'
,
message
:
'图书价格
值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -675,10 +661,6 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
group1
:
new
FormGroupPanelModel
({
caption
:
'图书基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.guideviewform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
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.guideviewform_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
})
,
...
...
@@ -698,17 +680,16 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
,
ibizbookname
:
new
FormItemModel
({
caption
:
'图书名称'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookname'
,
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
})
ibizbookid
:
new
FormItemModel
({
caption
:
'图书标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookid
'
,
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
})
author
:
new
FormItemModel
({
caption
:
'图书作者'
,
detailType
:
'FORMITEM'
,
name
:
'author
'
,
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
})
booknumber
:
new
FormItemModel
({
caption
:
'图书数量'
,
detailType
:
'FORMITEM'
,
name
:
'booknumber
'
,
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
})
press
:
new
FormItemModel
({
caption
:
'图书出版社'
,
detailType
:
'FORMITEM'
,
name
:
'press
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizbookid
:
new
FormItemModel
({
caption
:
'图书标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookid
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
price
:
new
FormItemModel
({
caption
:
'图书价格'
,
detailType
:
'FORMITEM'
,
name
:
'price
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
wizardpanel_form_FirstForm
:
new
FormTabPanelModel
({
caption
:
'wizardpanel_form_FirstForm'
,
detailType
:
'TABPANEL'
,
name
:
'wizardpanel_form_FirstForm'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
};
/**
...
...
@@ -820,63 +801,63 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性
createman
值
* 监控表单属性
ibizbookid
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideViewFormBase
*/
@
Watch
(
'data.
createman
'
)
on
Createman
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
createman
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
ibizbookid
'
)
on
Ibizbookid
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizbookid
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性
createdate
值
* 监控表单属性
author
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideViewFormBase
*/
@
Watch
(
'data.
createdate
'
)
on
Createdate
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
createdate
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
author
'
)
on
Author
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
author
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性
updateman
值
* 监控表单属性
booknumber
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideViewFormBase
*/
@
Watch
(
'data.
updateman
'
)
on
Updateman
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
updateman
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
booknumber
'
)
on
Booknumber
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
booknumber
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性
updatedate
值
* 监控表单属性
press
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideViewFormBase
*/
@
Watch
(
'data.
updatedate
'
)
on
Updatedate
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
updatedate
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
press
'
)
on
Press
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
press
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性
ibizbookid
值
* 监控表单属性
price
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideViewFormBase
*/
@
Watch
(
'data.
ibizbookid
'
)
on
Ibizbookid
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizbookid
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
price
'
)
on
Price
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
price
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
...
...
@@ -949,8 +930,6 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
}
/**
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-model.ts
浏览文件 @
66cdfe0b
...
...
@@ -61,29 +61,29 @@ export default class GuideViewFormModel {
dataType
:
'TEXT'
,
},
{
name
:
'
createman
'
,
prop
:
'
createman
'
,
dataType
:
'
TEXT
'
,
name
:
'
ibizbookid
'
,
prop
:
'
ibizbookid
'
,
dataType
:
'
GUID
'
,
},
{
name
:
'
createdate
'
,
prop
:
'
createdate
'
,
dataType
:
'
DATETIME
'
,
name
:
'
author
'
,
prop
:
'
author
'
,
dataType
:
'
TEXT
'
,
},
{
name
:
'
updateman
'
,
prop
:
'
updateman
'
,
dataType
:
'
TEX
T'
,
name
:
'
booknumber
'
,
prop
:
'
booknumber
'
,
dataType
:
'
IN
T'
,
},
{
name
:
'
updatedate
'
,
prop
:
'
updatedate
'
,
dataType
:
'
DATETIME
'
,
name
:
'
press
'
,
prop
:
'
press
'
,
dataType
:
'
TEXT
'
,
},
{
name
:
'
ibizbookid
'
,
prop
:
'
ibizbookid
'
,
dataType
:
'
GUID
'
,
name
:
'
price
'
,
prop
:
'
price
'
,
dataType
:
'
FLOAT
'
,
},
{
name
:
'ibizbook'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录