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

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

上级 5e067d93
......@@ -3,38 +3,7 @@
<i-col v-show="detailsModel.container1.visible" :md="{ span: 24, offset: 0 }" class="app-layoutpanel-container" style="width:;height:100%;">
<row style="height:100%;">
<i-col v-show="detailsModel.srficon.visible" :md="{ span: 3, offset: 0 }" :lg="{ span: 3, offset: 0 }" style="" class="app-layoutpanel-field">
<div class="item-field">
<app-panel-field
name='srficon'
labelPos='LEFT'
caption=""
:isEmptyCaption="false"
:error='detailsModel.srficon.error'
:data='data'
:value='data.srficon'
:itemRules="rules.srficon">
<app-file-upload
:formState="viewState"
:ignorefieldvaluechange="false"
@formitemvaluechange="($event)=>{onPanelItemValueChange(data,$event)}"
:data="JSON.stringify(data)"
name='srficon'
:value="data.srficon"
:disabled="detailsModel.srficon.disabled"
:rowPreview="true"
:imageOnly="true"
:uploadparams='{}' :exportparams='{}'
style="overflow: auto;">
</app-file-upload>
</app-panel-field>
</div>
</i-col>
<i-col v-show="detailsModel.srfmajortext.visible" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" style="" class="app-layoutpanel-field">
<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'
......@@ -337,8 +306,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
* @memberof HasPanelKanBanBase
*/
public detailsModel: any = {
srficon: new PanelFieldModel({ caption: '', itemType: 'FIELD',visible: true, disabled: false, name: 'srficon', panel: this })
,
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 })
......@@ -356,10 +323,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
* @memberof HasPanelKanBanBase
*/
public rules:any={
srficon:[
{ required: false, type: 'string', message: ' 值不能为空'},
{ required: false, type: 'string', message: ' 值不能为空'}
],
srfmajortext:[
{ required: false, type: 'string', message: ' 值不能为空'},
{ required: false, type: 'string', message: ' 值不能为空'}
......@@ -553,7 +516,6 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
}
}
......
......@@ -14,10 +14,6 @@ export default class HasPanelKanBanModel {
*/
public getDataItems(): any[] {
return [
{
name: 'srficon',
prop: 'srficon'
},
{
name: 'srfmajortext',
prop: 'srfmajortext'
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册