提交 03212c8a 编写于 作者: ibizdev's avatar ibizdev

ShineKOT 发布系统代码 [后台服务,演示应用]

上级 d7253c9a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import IBIZBOOKPANELBase from './ibizbookpanel-calendar-base.vue'; import IBIZBOOKPANELBase from './ibizbookpanel-calendar-base.vue';
import layout_item1layoutpanel from '@widgets/ibizbook/usr4-panel/usr4-panel.vue'; import layout_item1layoutpanel from '@widgets/ibizbook/item1layoutpanel-panel/item1layoutpanel-panel.vue';
@Component({ @Component({
components: { components: {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<app-panel-field <app-panel-field
name='field2' name='field2'
labelPos='LEFT' labelPos='LEFT'
caption="作者" caption="借出日期"
:isEmptyCaption="false" :isEmptyCaption="false"
:error='detailsModel.field2.error' :error='detailsModel.field2.error'
:data='data' :data='data'
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<app-panel-field <app-panel-field
name='field3' name='field3'
labelPos='LEFT' labelPos='LEFT'
caption="出版社" caption="归还日期"
:isEmptyCaption="false" :isEmptyCaption="false"
:error='detailsModel.field3.error' :error='detailsModel.field3.error'
:data='data' :data='data'
...@@ -300,9 +300,9 @@ export default class Item1layoutpanelBase extends Vue implements ControlInterfac ...@@ -300,9 +300,9 @@ export default class Item1layoutpanelBase extends Vue implements ControlInterfac
public detailsModel: any = { public detailsModel: any = {
field1: new PanelFieldModel({ caption: '图书名', itemType: 'FIELD',visible: true, disabled: false, name: 'field1', panel: this }) field1: new PanelFieldModel({ caption: '图书名', itemType: 'FIELD',visible: true, disabled: false, name: 'field1', panel: this })
, ,
field2: new PanelFieldModel({ caption: '作者', itemType: 'FIELD',visible: true, disabled: false, name: 'field2', panel: this }) field2: new PanelFieldModel({ caption: '借出日期', itemType: 'FIELD',visible: true, disabled: false, name: 'field2', panel: this })
, ,
field3: new PanelFieldModel({ caption: '出版社', itemType: 'FIELD',visible: true, disabled: false, name: 'field3', panel: this }) field3: new PanelFieldModel({ caption: '归还日期', itemType: 'FIELD',visible: true, disabled: false, name: 'field3', panel: this })
, ,
container1: new PanelContainerModel({ caption: '', itemType: 'CONTAINER',visible: true, disabled: false, name: 'container1', panel: this }) container1: new PanelContainerModel({ caption: '', itemType: 'CONTAINER',visible: true, disabled: false, name: 'container1', panel: this })
, ,
...@@ -320,12 +320,12 @@ export default class Item1layoutpanelBase extends Vue implements ControlInterfac ...@@ -320,12 +320,12 @@ export default class Item1layoutpanelBase extends Vue implements ControlInterfac
{ required: false, type: 'string', message: '图书名 值不能为空'} { required: false, type: 'string', message: '图书名 值不能为空'}
], ],
field2:[ field2:[
{ required: false, type: 'string', message: '作者 值不能为空'}, { required: false, type: 'string', message: '借出日期 值不能为空'},
{ required: false, type: 'string', message: '作者 值不能为空'} { required: false, type: 'string', message: '借出日期 值不能为空'}
], ],
field3:[ field3:[
{ required: false, type: 'string', message: '出版社 值不能为空'}, { required: false, type: 'string', message: '归还日期 值不能为空'},
{ required: false, type: 'string', message: '出版社 值不能为空'} { required: false, type: 'string', message: '归还日期 值不能为空'}
], ],
}; };
......
...@@ -16,15 +16,15 @@ export default class Item1layoutpanelModel { ...@@ -16,15 +16,15 @@ export default class Item1layoutpanelModel {
return [ return [
{ {
name: 'field1', name: 'field1',
prop: 'ibizbookname' prop: 'title'
}, },
{ {
name: 'field2', name: 'field2',
prop: 'author' prop: 'start'
}, },
{ {
name: 'field3', name: 'field3',
prop: 'press' prop: 'end'
} }
] ]
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册