Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
ea5e3592
提交
ea5e3592
编写于
6月 17, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
10b77fec
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
42 行增加
和
21 行删除
+42
-21
campaign-ui-service-base.ts
...entral/src/uiservice/campaign/campaign-ui-service-base.ts
+1
-1
edit-head-form-base.vue
...c/widgets/campaign/edit-head-form/edit-head-form-base.vue
+39
-18
info-head-form-base.vue
...c/widgets/campaign/info-head-form/info-head-form-base.vue
+2
-2
未找到文件。
app_BusinessCentral/src/uiservice/campaign/campaign-ui-service-base.ts
浏览文件 @
ea5e3592
...
@@ -154,7 +154,7 @@ export default class CampaignUIServiceBase extends UIService {
...
@@ -154,7 +154,7 @@ export default class CampaignUIServiceBase extends UIService {
}
}
const
view
:
any
=
{
const
view
:
any
=
{
viewname
:
'campaign-edit-head'
,
viewname
:
'campaign-edit-head'
,
height
:
0
,
height
:
20
0
,
width
:
300
,
width
:
300
,
title
:
actionContext
.
$t
(
'entities.campaign.views.edit_head.title'
),
title
:
actionContext
.
$t
(
'entities.campaign.views.edit_head.title'
),
placement
:
'POPOVER'
,
placement
:
'POPOVER'
,
...
...
app_BusinessCentral/src/widgets/campaign/edit-head-form/edit-head-form-base.vue
浏览文件 @
ea5e3592
<
template
>
<
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;"
/>
<input
style=
"display:none;"
/>
<row
>
<row
>
<i-col
v-show=
"detailsModel.grouppanel4.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<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=
"
tru
e"
>
<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=
"
fals
e"
>
<row>
<row>
<i-col
v-show=
"detailsModel.template.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<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-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>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.expectedrevenue.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<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-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"
>
<input-box
v-model=
"data.expectedrevenue"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.expectedrevenue.disabled"
type=
'number'
style=
""
></input-box>
<app-span
name=
'expectedrevenue'
:value=
"data.expectedrevenue"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.statuscode.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<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-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>
</app-form-item>
</i-col>
</i-col>
<i-col
v-show=
"detailsModel.owneridyominame.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<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-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"
>
<input-box
v-model=
"data.owneridyominame"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.owneridyominame.disabled"
type=
'text'
style=
""
></input-box>
<app-span
name=
'owneridyominame'
:value=
"data.owneridyominame"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</app-form-item>
</i-col>
</i-col>
...
@@ -441,10 +462,10 @@ export default class Edit_HeadBase extends Vue implements ControlInterface {
...
@@ -441,10 +462,10 @@ export default class Edit_HeadBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'string'
,
message
:
' 值不能为空'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'string'
,
message
:
' 值不能为空'
,
trigger
:
'blur'
},
],
],
template
:
[
template
:
[
{
type
:
'
string'
,
message
:
'模板 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'模板 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'模板 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
type
:
'
number'
,
message
:
'模板 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'模板 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'模板 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'模板 值不能为空'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'模板 值不能为空'
,
trigger
:
'blur'
},
],
],
expectedrevenue
:
[
expectedrevenue
:
[
{
type
:
'number'
,
message
:
'估计收入 值必须为数值类型'
,
trigger
:
'change'
},
{
type
:
'number'
,
message
:
'估计收入 值必须为数值类型'
,
trigger
:
'change'
},
...
@@ -453,16 +474,16 @@ export default class Edit_HeadBase extends Vue implements ControlInterface {
...
@@ -453,16 +474,16 @@ export default class Edit_HeadBase extends Vue implements ControlInterface {
{
required
:
false
,
type
:
'number'
,
message
:
'估计收入 值不能为空'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'number'
,
message
:
'估计收入 值不能为空'
,
trigger
:
'blur'
},
],
],
statuscode
:
[
statuscode
:
[
{
type
:
'
string'
,
message
:
'状态描述 值必须为字符串
类型'
,
trigger
:
'change'
},
{
type
:
'
number'
,
message
:
'状态描述 值必须为数值
类型'
,
trigger
:
'change'
},
{
type
:
'
string'
,
message
:
'状态描述 值必须为字符串
类型'
,
trigger
:
'blur'
},
{
type
:
'
number'
,
message
:
'状态描述 值必须为数值
类型'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'状态描述 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'状态描述 值不能为空'
,
trigger
:
'change'
},
{
required
:
false
,
type
:
'
string
'
,
message
:
'状态描述 值不能为空'
,
trigger
:
'blur'
},
{
required
:
false
,
type
:
'
number
'
,
message
:
'状态描述 值不能为空'
,
trigger
:
'blur'
},
],
],
owneridyominame
:
[
owneridyominame
:
[
{
type
:
'string'
,
message
:
'负责人 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'负责人 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'负责人 值必须为字符串类型'
,
trigger
:
'blur'
},
{
type
:
'string'
,
message
:
'负责人 值必须为字符串类型'
,
trigger
:
'blur'
},
{
required
:
fals
e
,
type
:
'string'
,
message
:
'负责人 值不能为空'
,
trigger
:
'change'
},
{
required
:
tru
e
,
type
:
'string'
,
message
:
'负责人 值不能为空'
,
trigger
:
'change'
},
{
required
:
fals
e
,
type
:
'string'
,
message
:
'负责人 值不能为空'
,
trigger
:
'blur'
},
{
required
:
tru
e
,
type
:
'string'
,
message
:
'负责人 值不能为空'
,
trigger
:
'blur'
},
],
],
campaignid
:
[
campaignid
:
[
{
type
:
'string'
,
message
:
'市场活动 值必须为字符串类型'
,
trigger
:
'change'
},
{
type
:
'string'
,
message
:
'市场活动 值必须为字符串类型'
,
trigger
:
'change'
},
...
...
app_BusinessCentral/src/widgets/campaign/info-head-form/info-head-form-base.vue
浏览文件 @
ea5e3592
...
@@ -63,10 +63,10 @@
...
@@ -63,10 +63,10 @@
</app-form-item>
</app-form-item>
</div>
</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)"
<i-button
type=
"primary"
@
click=
"button1_click($event)"
style=
""
>
style=
""
>
<i
class=
"fa fa-
edit
"
style=
"margin-right: 2px;"
></i>
<i
class=
"fa fa-
chevron-down
"
style=
"margin-right: 2px;"
></i>
</i-button>
</i-button>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录