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

xignzi006 发布系统代码

上级 10b77fec
......@@ -154,7 +154,7 @@ export default class CampaignUIServiceBase extends UIService {
}
const view: any = {
viewname: 'campaign-edit-head',
height: 0,
height: 200,
width: 300,
title: actionContext.$t('entities.campaign.views.edit_head.title'),
placement: 'POPOVER',
......
<template>
<i-form :model="this.data" class='app-form info-form-mode' ref='form' id='campaign_edit_head' style="">
<i-form :model="this.data" class='app-form' ref='form' id='campaign_edit_head' style="">
<input style="display:none;" />
<row >
<i-col v-show="detailsModel.grouppanel4.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel4.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.campaign.edit_head_form.details.grouppanel4')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel4.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.campaign.edit_head_form.details.grouppanel4')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.template.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='template' :itemRules="this.rules.template" class='' :caption="$t('entities.campaign.edit_head_form.details.template')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.template.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='template' :value="data.template" tag='YesNo' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<dropdown-list
v-model="data.template"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.template.disabled"
style="width:100px;width: 100px;"
tag='YesNo'
codelistType='STATIC'
placeholder='请选择...'>
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.expectedrevenue.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='expectedrevenue' :itemRules="this.rules.expectedrevenue" class='' :caption="$t('entities.campaign.edit_head_form.details.expectedrevenue')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.expectedrevenue.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='expectedrevenue' :value="data.expectedrevenue" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<input-box v-model="data.expectedrevenue" @enter="onEnter($event)" unit="" :disabled="detailsModel.expectedrevenue.disabled" type='number' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.statuscode.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='statuscode' :itemRules="this.rules.statuscode" class='' :caption="$t('entities.campaign.edit_head_form.details.statuscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.statuscode.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='statuscode' :value="data.statuscode" tag='Status' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<dropdown-list
v-model="data.statuscode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.statuscode.disabled"
tag='Status'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.owneridyominame.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='owneridyominame' :itemRules="this.rules.owneridyominame" class='' :caption="$t('entities.campaign.edit_head_form.details.owneridyominame')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.owneridyominame.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='owneridyominame' :value="data.owneridyominame" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<input-box v-model="data.owneridyominame" @enter="onEnter($event)" unit="" :disabled="detailsModel.owneridyominame.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
......@@ -441,10 +462,10 @@ export default class Edit_HeadBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: ' 值不能为空', trigger: 'blur' },
],
template: [
{ type: 'string', message: '模板 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '模板 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '模板 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '模板 值不能为空', trigger: 'blur' },
{ type: 'number', message: '模板 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '模板 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '模板 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '模板 值不能为空', trigger: 'blur' },
],
expectedrevenue: [
{ type: 'number', message: '估计收入 值必须为数值类型', trigger: 'change' },
......@@ -453,16 +474,16 @@ export default class Edit_HeadBase extends Vue implements ControlInterface {
{ required: false, type: 'number', message: '估计收入 值不能为空', trigger: 'blur' },
],
statuscode: [
{ type: 'string', message: '状态描述 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '状态描述 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '状态描述 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '状态描述 值不能为空', trigger: 'blur' },
{ type: 'number', message: '状态描述 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '状态描述 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '状态描述 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '状态描述 值不能为空', trigger: 'blur' },
],
owneridyominame: [
{ type: 'string', message: '负责人 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '负责人 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '负责人 值不能为空', trigger: 'blur' },
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'blur' },
],
campaignid: [
{ type: 'string', message: '市场活动 值必须为字符串类型', trigger: 'change' },
......
......@@ -63,10 +63,10 @@
</app-form-item>
</div>
<div v-show="detailsModel.button1.visible" :style="{'width': '50px',}">
<div v-show="detailsModel.button1.visible" :style="{}">
<i-button type="primary" @click="button1_click($event)"
style="">
<i class="fa fa-edit" style="margin-right: 2px;"></i>
<i class="fa fa-chevron-down" style="margin-right: 2px;"></i>
</i-button>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册