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

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

上级 1aff7372
......@@ -14,11 +14,6 @@ export default class HasPanelKanBanModel {
*/
public getDataItems(): any[] {
return [
{
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'author',
prop: 'author',
......@@ -39,11 +34,21 @@ export default class HasPanelKanBanModel {
prop: 'icon',
dataType: 'TEXT',
},
{
name: 'srfdescription',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfdate',
prop: 'lendouttime',
dataType: 'DATE',
},
{
name: 'srfmstag',
},
......
<template>
<row class="app-layoutpanel " style="width:100%;height:100%;">
<i-col v-show="detailsModel.container1.visible" :md="{ span: 24, offset: 0 }" class="app-layoutpanel-container" style="width:;height:100%;">
<i-col v-show="detailsModel.container1.visible" :md="{ span: 24, offset: 0 }" class="app-layoutpanel-container kanban-card" style="width:;height:100%;">
<row style="height:100%;">
<i-col v-show="detailsModel.srfmajortext.visible" :md="{ span: 12, offset: 3 }" :lg="{ span: 12, offset: 3 }" style="" class="app-layoutpanel-field">
<div class="item-field">
<app-panel-field
name='srfmajortext'
labelPos='LEFT'
caption=""
:isEmptyCaption="false"
:error='detailsModel.srfmajortext.error'
:data='data'
:value='data.srfmajortext'
:itemRules="rules.srfmajortext">
<app-span :value="data.srfmajortext" name="srfmajortext" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""> </app-span>
</app-panel-field>
</div>
</i-col>
<i-col v-show="detailsModel.author.visible" :md="{ span: 9, offset: 0 }" :lg="{ span: 9, offset: 0 }" style="" class="app-layoutpanel-field">
<div class="item-field">
<app-panel-field
name='author'
labelPos='LEFT'
caption=""
:isEmptyCaption="false"
:error='detailsModel.author.error'
:data='data'
:value='data.author'
:itemRules="rules.author">
<app-span :value="data.author" name="author" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""> </app-span>
</app-panel-field>
</div>
</i-col>
<i-col v-show="detailsModel.srfsubtext.visible" :md="{ span: 24, offset: 0 }" style="" class="app-layoutpanel-field">
<div class="item-field">
<app-panel-field
name='srfsubtext'
labelPos='LEFT'
caption=""
:isEmptyCaption="false"
:error='detailsModel.srfsubtext.error'
:data='data'
:value='data.srfsubtext'
:itemRules="rules.srfsubtext">
<app-span :value="data.srfsubtext" name="srfsubtext" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""> </app-span>
</app-panel-field>
</div>
</i-col>
</row>
</i-col>
</row>
......@@ -306,12 +246,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
* @memberof HasPanelKanBanBase
*/
public detailsModel: any = {
srfmajortext: new PanelFieldModel({ caption: '', itemType: 'FIELD',visible: true, disabled: false, name: 'srfmajortext', panel: this })
,
author: new PanelFieldModel({ caption: '', itemType: 'FIELD',visible: true, disabled: false, name: 'author', panel: this })
,
srfsubtext: new PanelFieldModel({ caption: '', itemType: 'FIELD',visible: true, disabled: false, name: 'srfsubtext', panel: this })
,
container1: new PanelContainerModel({ caption: '', itemType: 'CONTAINER',visible: true, disabled: false, name: 'container1', panel: this })
,
};
......@@ -323,18 +257,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
* @memberof HasPanelKanBanBase
*/
public rules:any={
srfmajortext:[
{ required: false, type: 'string', message: ' 值不能为空'},
{ required: false, type: 'string', message: ' 值不能为空'}
],
author:[
{ required: false, type: 'string', message: ' 值不能为空'},
{ required: false, type: 'string', message: ' 值不能为空'}
],
srfsubtext:[
{ required: false, type: 'string', message: ' 值不能为空'},
{ required: false, type: 'string', message: ' 值不能为空'}
],
};
/**
......@@ -513,9 +435,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
public panelLogic({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }): void {
}
}
......
......@@ -14,18 +14,6 @@ export default class HasPanelKanBanModel {
*/
public getDataItems(): any[] {
return [
{
name: 'srfmajortext',
prop: 'srfmajortext'
},
{
name: 'author',
prop: 'author'
},
{
name: 'srfsubtext',
prop: 'subtext'
}
]
}
}
\ No newline at end of file
// this is less
.app-layoutpanel {
height: 100%;
.app-layoutpanel-container {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册