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

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

上级 ee47cf20
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<Icon type="md-arrow-dropdown" /> <Icon type="md-arrow-dropdown" />
</span> </span>
</i-col> </i-col>
<i-col :class="getsortClass('ibizbookname')" @click.native="sortClick('ibizbookname')"> <i-col :class="getsortClass('press')" @click.native="sortClick('press')">
<span class="sort-field-text">{{$t('entities.ibizbook.fields.ibizbookname')}}</span> <span class="sort-field-text">{{$t('entities.ibizbook.fields.press')}}</span>
<span class="caret-wrapper"> <span class="caret-wrapper">
<Icon type="md-arrow-dropup" /> <Icon type="md-arrow-dropup" />
<Icon type="md-arrow-dropdown" /> <Icon type="md-arrow-dropdown" />
......
...@@ -20,8 +20,8 @@ export default class Usr4Model { ...@@ -20,8 +20,8 @@ export default class Usr4Model {
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
name: 'ibizbookname', name: 'press',
prop: 'ibizbookname', prop: 'press',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,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'
...@@ -276,7 +276,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -276,7 +276,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
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 })
, ,
}; };
...@@ -292,8 +292,8 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -292,8 +292,8 @@ export default class Usr4Base extends Vue implements ControlInterface {
{ 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: '出版社 值不能为空'}
], ],
}; };
......
...@@ -20,7 +20,7 @@ export default class Usr4Model { ...@@ -20,7 +20,7 @@ export default class Usr4Model {
}, },
{ {
name: 'field2', name: 'field2',
prop: 'ibizbookname' prop: 'press'
} }
] ]
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册