Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
2d832af3
提交
2d832af3
编写于
7月 09, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
138bc672
变更
11
显示空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
986 行增加
和
2 行删除
+986
-2
incident_en_US.ts
...CRM/src/locale/lanres/entities/incident/incident_en_US.ts
+28
-0
incident_zh_CN.ts
...CRM/src/locale/lanres/entities/incident/incident_zh_CN.ts
+28
-0
account-info-base.tsx
app_CRM/src/pages/base/account-info/account-info-base.tsx
+13
-0
incident-quick-create-by-parent-key-base.tsx
...y-parent-key/incident-quick-create-by-parent-key-base.tsx
+13
-0
incident-quick-create-by-parent-key.vue
...ate-by-parent-key/incident-quick-create-by-parent-key.vue
+1
-1
by-parent-key-form-base.tsx
...s/incident/by-parent-key-form/by-parent-key-form-base.tsx
+175
-0
by-parent-key-form-model.ts
...s/incident/by-parent-key-form/by-parent-key-form-model.ts
+126
-0
by-parent-key-form-service.ts
...incident/by-parent-key-form/by-parent-key-form-service.ts
+419
-0
by-parent-key-form.html
...dgets/incident/by-parent-key-form/by-parent-key-form.html
+160
-0
by-parent-key-form.vue
...idgets/incident/by-parent-key-form/by-parent-key-form.vue
+22
-0
data-panel-form.html
...CRM/src/widgets/lead/data-panel-form/data-panel-form.html
+1
-1
未找到文件。
app_CRM/src/locale/lanres/entities/incident/incident_en_US.ts
浏览文件 @
2d832af3
...
@@ -235,6 +235,34 @@ export default {
...
@@ -235,6 +235,34 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
byparentkey_form
:
{
details
:
{
group1
:
"案例基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"案例"
,
srfmajortext
:
"案例标题"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
title
:
"案例标题"
,
subjectname
:
"主题"
,
caseorigincode
:
"起源"
,
productname
:
"产品"
,
entitlementname
:
"权利"
,
customerid
:
"客户"
,
customername
:
"客户"
,
customertype
:
"客户类型"
,
productid
:
"产品"
,
incidentid
:
"案例"
,
subjectid
:
"主题"
,
entitlementid
:
"权利"
,
},
uiactions
:
{
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
group1
:
"incident基本信息"
,
group1
:
"incident基本信息"
,
...
...
app_CRM/src/locale/lanres/entities/incident/incident_zh_CN.ts
浏览文件 @
2d832af3
...
@@ -234,6 +234,34 @@ export default {
...
@@ -234,6 +234,34 @@ export default {
uiactions
:
{
uiactions
:
{
},
},
},
},
byparentkey_form
:
{
details
:
{
group1
:
"案例基本信息"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"案例"
,
srfmajortext
:
"案例标题"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
title
:
"案例标题"
,
subjectname
:
"主题"
,
caseorigincode
:
"起源"
,
productname
:
"产品"
,
entitlementname
:
"权利"
,
customerid
:
"客户"
,
customername
:
"客户"
,
customertype
:
"客户类型"
,
productid
:
"产品"
,
incidentid
:
"案例"
,
subjectid
:
"主题"
,
entitlementid
:
"权利"
,
},
uiactions
:
{
},
},
main_form
:
{
main_form
:
{
details
:
{
details
:
{
group1
:
"incident基本信息"
,
group1
:
"incident基本信息"
,
...
...
app_CRM/src/pages/base/account-info/account-info-base.tsx
浏览文件 @
2d832af3
...
@@ -58,6 +58,19 @@ export class AccountInfoBase extends TabExpViewBase {
...
@@ -58,6 +58,19 @@ export class AccountInfoBase extends TabExpViewBase {
*/
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof AccountInfoBase
*/
protected
customViewNavContexts
:
any
=
{
'CUSTOMERTYPE'
:
{
isRawValue
:
true
,
value
:
'ACCOUNT'
},
'CUSTOMERNAME'
:
{
isRawValue
:
false
,
value
:
'account'
},
'CUSTOMERID'
:
{
isRawValue
:
false
,
value
:
'account'
}
};
/**
/**
* 视图模型数据
* 视图模型数据
*
*
...
...
app_CRM/src/pages/service/incident-quick-create-by-parent-key/incident-quick-create-by-parent-key-base.tsx
浏览文件 @
2d832af3
...
@@ -56,6 +56,19 @@ export class IncidentQuickCreateByParentKeyBase extends OptionViewBase {
...
@@ -56,6 +56,19 @@ export class IncidentQuickCreateByParentKeyBase extends OptionViewBase {
*/
*/
protected
counterServiceArray
:
Array
<
any
>
=
[];
protected
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof IncidentQuickCreateByParentKeyBase
*/
protected
customViewParams
:
any
=
{
'customertype'
:
{
isRawValue
:
false
,
value
:
'customertype'
},
'customerid'
:
{
isRawValue
:
false
,
value
:
'customerid'
},
'customername'
:
{
isRawValue
:
false
,
value
:
'customername'
}
};
/**
/**
* 视图模型数据
* 视图模型数据
*
*
...
...
app_CRM/src/pages/service/incident-quick-create-by-parent-key/incident-quick-create-by-parent-key.vue
浏览文件 @
2d832af3
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
import
{ Component } from 'vue-property-decorator';
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { VueLifeCycleProcessing } from '@/studio-core';
import { IncidentQuickCreateByParentKeyBase } from './incident-quick-create-by-parent-key-base';
import { IncidentQuickCreateByParentKeyBase } from './incident-quick-create-by-parent-key-base';
import view_form from '@widgets/incident/
quick-create-form/quick-create
-form.vue';
import view_form from '@widgets/incident/
by-parent-key-form/by-parent-key
-form.vue';
/**
/**
* 快速新建视图
* 快速新建视图
...
...
app_CRM/src/widgets/incident/by-parent-key-form/by-parent-key-form-base.tsx
0 → 100644
浏览文件 @
2d832af3
import
{
Prop
,
Provide
,
Emit
,
Model
}
from
'vue-property-decorator'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Watch
,
EditFormControlBase
}
from
'@/studio-core'
;
import
IncidentService
from
'@/service/incident/incident-service'
;
import
ByParentKeyService
from
'./by-parent-key-form-service'
;
import
{
FormButtonModel
,
FormPageModel
,
FormItemModel
,
FormDRUIPartModel
,
FormPartModel
,
FormGroupPanelModel
,
FormIFrameModel
,
FormRowItemModel
,
FormTabPageModel
,
FormTabPanelModel
,
FormUserControlModel
}
from
'@/model/form-detail'
;
/**
* form部件基类
*
* @export
* @class EditFormControlBase
* @extends {ByParentKeyEditFormBase}
*/
export
class
ByParentKeyEditFormBase
extends
EditFormControlBase
{
/**
* 获取部件类型
*
* @protected
* @type {string}
* @memberof ByParentKeyEditFormBase
*/
protected
controlType
:
string
=
'FORM'
;
/**
* 建构部件服务对象
*
* @type {ByParentKeyService}
* @memberof ByParentKeyEditFormBase
*/
public
service
:
ByParentKeyService
=
new
ByParentKeyService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {IncidentService}
* @memberof ByParentKeyEditFormBase
*/
public
appEntityService
:
IncidentService
=
new
IncidentService
({
$store
:
this
.
$store
});
/**
* 应用实体名称
*
* @protected
* @type {string}
* @memberof ByParentKeyEditFormBase
*/
protected
appDeName
:
string
=
'incident'
;
/**
* 表单数据对象
*
* @type {*}
* @memberof ByParentKeyEditFormBase
*/
public
data
:
any
=
{
srfupdatedate
:
null
,
srforikey
:
null
,
srfkey
:
null
,
srfmajortext
:
null
,
srftempmode
:
null
,
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
title
:
null
,
subjectname
:
null
,
caseorigincode
:
null
,
productname
:
null
,
entitlementname
:
null
,
customerid
:
null
,
customername
:
null
,
customertype
:
null
,
productid
:
null
,
incidentid
:
null
,
subjectid
:
null
,
entitlementid
:
null
,
incident
:
null
,
};
/**
* 属性值规则
*
* @type {*}
* @memberof ByParentKeyEditFormBase
*/
public
rules
:
any
=
{
title
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'案例标题 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'案例标题 值不能为空'
,
trigger
:
'blur'
},
],
customerid
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'blur'
},
],
customername
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'客户 值不能为空'
,
trigger
:
'blur'
},
],
customertype
:
[
{
required
:
true
,
type
:
'string'
,
message
:
'客户类型 值不能为空'
,
trigger
:
'change'
},
{
required
:
true
,
type
:
'string'
,
message
:
'客户类型 值不能为空'
,
trigger
:
'blur'
},
],
}
/**
* 详情模型集合
*
* @type {*}
* @memberof ByParentKeyEditFormBase
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'案例基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
showMoreMode
:
0
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.incident.byparentkey_form'
,
extractMode
:
'ITEM'
,
details
:
[]
}
}),
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
}),
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
0
}),
srforikey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srforikey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfkey
:
new
FormItemModel
({
caption
:
'案例'
,
detailType
:
'FORMITEM'
,
name
:
'srfkey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfmajortext
:
new
FormItemModel
({
caption
:
'案例标题'
,
detailType
:
'FORMITEM'
,
name
:
'srfmajortext'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srftempmode
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srftempmode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfuf
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfuf'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
title
:
new
FormItemModel
({
caption
:
'案例标题'
,
detailType
:
'FORMITEM'
,
name
:
'title'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
subjectname
:
new
FormItemModel
({
caption
:
'主题'
,
detailType
:
'FORMITEM'
,
name
:
'subjectname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
caseorigincode
:
new
FormItemModel
({
caption
:
'起源'
,
detailType
:
'FORMITEM'
,
name
:
'caseorigincode'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
productname
:
new
FormItemModel
({
caption
:
'产品'
,
detailType
:
'FORMITEM'
,
name
:
'productname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
entitlementname
:
new
FormItemModel
({
caption
:
'权利'
,
detailType
:
'FORMITEM'
,
name
:
'entitlementname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
customerid
:
new
FormItemModel
({
caption
:
'客户'
,
detailType
:
'FORMITEM'
,
name
:
'customerid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
customername
:
new
FormItemModel
({
caption
:
'客户'
,
detailType
:
'FORMITEM'
,
name
:
'customername'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
customertype
:
new
FormItemModel
({
caption
:
'客户类型'
,
detailType
:
'FORMITEM'
,
name
:
'customertype'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
productid
:
new
FormItemModel
({
caption
:
'产品'
,
detailType
:
'FORMITEM'
,
name
:
'productid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
incidentid
:
new
FormItemModel
({
caption
:
'案例'
,
detailType
:
'FORMITEM'
,
name
:
'incidentid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
subjectid
:
new
FormItemModel
({
caption
:
'主题'
,
detailType
:
'FORMITEM'
,
name
:
'subjectid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
entitlementid
:
new
FormItemModel
({
caption
:
'权利'
,
detailType
:
'FORMITEM'
,
name
:
'entitlementid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
showMoreMode
:
0
,
disabled
:
false
,
enableCond
:
3
}),
};
/**
* 新建默认值
* @memberof ByParentKeyEditFormBase
*/
public
createDefault
(){
if
(
this
.
data
.
hasOwnProperty
(
'customerid'
))
{
this
.
data
[
'customerid'
]
=
this
.
viewparams
[
'customerid'
];
}
if
(
this
.
data
.
hasOwnProperty
(
'customername'
))
{
this
.
data
[
'customername'
]
=
this
.
viewparams
[
'customername'
];
}
if
(
this
.
data
.
hasOwnProperty
(
'customertype'
))
{
this
.
data
[
'customertype'
]
=
this
.
viewparams
[
'customertype'
];
}
}
}
\ No newline at end of file
app_CRM/src/widgets/incident/by-parent-key-form/by-parent-key-form-model.ts
0 → 100644
浏览文件 @
2d832af3
/**
* ByParentKey 部件模型
*
* @export
* @class ByParentKeyModel
*/
export
default
class
ByParentKeyModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ByParentKeyModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'incidentid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'title'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'title'
,
prop
:
'title'
,
dataType
:
'TEXT'
,
},
{
name
:
'subjectname'
,
prop
:
'subjectname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'caseorigincode'
,
prop
:
'caseorigincode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'productname'
,
prop
:
'productname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'entitlementname'
,
prop
:
'entitlementname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'customerid'
,
prop
:
'customerid'
,
dataType
:
'TEXT'
,
},
{
name
:
'customername'
,
prop
:
'customername'
,
dataType
:
'TEXT'
,
},
{
name
:
'customertype'
,
prop
:
'customertype'
,
dataType
:
'TEXT'
,
},
{
name
:
'productid'
,
prop
:
'productid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'incidentid'
,
prop
:
'incidentid'
,
dataType
:
'GUID'
,
},
{
name
:
'subjectid'
,
prop
:
'subjectid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'entitlementid'
,
prop
:
'entitlementid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'incident'
,
prop
:
'incidentid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_CRM/src/widgets/incident/by-parent-key-form/by-parent-key-form-service.ts
0 → 100644
浏览文件 @
2d832af3
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IncidentService
from
'@/service/incident/incident-service'
;
import
ByParentKeyModel
from
'./by-parent-key-form-model'
;
import
SubjectService
from
'@/service/subject/subject-service'
;
import
ProductService
from
'@/service/product/product-service'
;
import
EntitlementService
from
'@/service/entitlement/entitlement-service'
;
import
IncidentCustomerService
from
'@/service/incident-customer/incident-customer-service'
;
/**
* ByParentKey 部件服务对象
*
* @export
* @class ByParentKeyService
*/
export
default
class
ByParentKeyService
extends
ControlService
{
/**
* 案例服务对象
*
* @type {IncidentService}
* @memberof ByParentKeyService
*/
public
appEntityService
:
IncidentService
=
new
IncidentService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof ByParentKeyService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of ByParentKeyService.
*
* @param {*} [opts={}]
* @memberof ByParentKeyService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
ByParentKeyModel
();
}
/**
* 主题服务对象
*
* @type {SubjectService}
* @memberof ByParentKeyService
*/
public
subjectService
:
SubjectService
=
new
SubjectService
();
/**
* product服务对象
*
* @type {ProductService}
* @memberof ByParentKeyService
*/
public
productService
:
ProductService
=
new
ProductService
();
/**
* 权利服务对象
*
* @type {EntitlementService}
* @memberof ByParentKeyService
*/
public
entitlementService
:
EntitlementService
=
new
EntitlementService
();
/**
* 案例客户服务对象
*
* @type {IncidentCustomerService}
* @memberof ByParentKeyService
*/
public
incidentcustomerService
:
IncidentCustomerService
=
new
IncidentCustomerService
();
/**
* 处理数据
*
* @private
* @param {Promise<any>} promise
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
private
doItems
(
promise
:
Promise
<
any
>
,
deKeyField
:
string
,
deName
:
string
):
Promise
<
any
>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
promise
.
then
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
===
200
)
{
const
data
=
response
.
data
;
data
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
item
[
deName
]
=
item
[
deKeyField
];
data
[
index
]
=
item
;
});
resolve
(
data
);
}
else
{
reject
([])
}
}).
catch
((
response
:
any
)
=>
{
reject
([])
});
});
}
/**
* 获取跨实体数据集合
*
* @param {string} serviceName 服务名称
* @param {string} interfaceName 接口名称
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any[]>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'SubjectService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
subjectService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'subjectid'
,
'subject'
);
}
if
(
Object
.
is
(
serviceName
,
'ProductService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
productService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'productid'
,
'product'
);
}
if
(
Object
.
is
(
serviceName
,
'EntitlementService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
entitlementService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'entitlementid'
,
'entitlement'
);
}
if
(
Object
.
is
(
serviceName
,
'IncidentCustomerService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
incidentcustomerService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'customerid'
,
'incidentcustomer'
);
}
return
Promise
.
reject
([])
}
/**
* 启动工作流
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @param {*} [localdata]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
wfstart
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
localdata
?:
any
):
Promise
<
any
>
{
data
=
this
.
handleWFData
(
data
);
context
=
this
.
handleRequestData
(
action
,
context
,
data
).
context
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
context
,
data
,
isloading
,
localdata
);
}
else
{
result
=
this
.
appEntityService
.
WFStart
(
context
,
data
,
isloading
,
localdata
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 提交工作流
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @param {*} [localdata]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
wfsubmit
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
,
localdata
?:
any
):
Promise
<
any
>
{
data
=
this
.
handleWFData
(
data
,
true
);
context
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
).
context
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
context
,
data
,
isloading
,
localdata
);
}
else
{
result
=
this
.
appEntityService
.
WFSubmit
(
context
,
data
,
isloading
,
localdata
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 添加数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
get
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
Get
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 加载草稿
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
loadDraft
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
//仿真主键数据
const
PrimaryKey
=
Util
.
createUUID
();
Data
.
incidentid
=
PrimaryKey
;
Data
.
incident
=
PrimaryKey
;
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
this
.
appEntityService
.
GetDraft
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
response
.
data
.
incidentid
=
PrimaryKey
;
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 前台逻辑
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ByParentKeyService
*/
@
Errorlog
public
frontLogic
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
result
:
Promise
<
any
>
;
const
_appEntityService
:
any
=
this
.
appEntityService
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
return
Promise
.
reject
({
status
:
500
,
data
:
{
title
:
'失败'
,
message
:
'系统异常'
}
});
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
,
true
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
})
}
/**
* 处理请求数据
*
* @param action 行为
* @param data 数据
* @memberof ByParentKeyService
*/
public
handleRequestData
(
action
:
string
,
context
:
any
,
data
:
any
=
{},
isMerge
:
boolean
=
false
){
let
mode
:
any
=
this
.
getMode
();
if
(
!
mode
&&
mode
.
getDataItems
instanceof
Function
)
{
return
data
;
}
let
formItemItems
:
any
[]
=
mode
.
getDataItems
();
let
requestData
:
any
=
{};
if
(
isMerge
&&
(
data
&&
data
.
viewparams
)){
Object
.
assign
(
requestData
,
data
.
viewparams
);
}
formItemItems
.
forEach
((
item
:
any
)
=>
{
if
(
item
&&
item
.
dataType
&&
Object
.
is
(
item
.
dataType
,
'FONTKEY'
)){
if
(
item
&&
item
.
prop
){
requestData
[
item
.
prop
]
=
context
[
item
.
name
];
}
}
else
{
if
(
item
&&
item
.
prop
){
requestData
[
item
.
prop
]
=
data
[
item
.
name
];
}
}
});
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
if
(
tempContext
&&
tempContext
.
srfsessionid
){
tempContext
.
srfsessionkey
=
tempContext
.
srfsessionid
;
delete
tempContext
.
srfsessionid
;
}
return
{
context
:
tempContext
,
data
:
requestData
};
}
}
\ No newline at end of file
app_CRM/src/widgets/incident/by-parent-key-form/by-parent-key-form.html
0 → 100644
浏览文件 @
2d832af3
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'form'
id=
'incident_byparentkey'
style=
""
>
<input
style=
"display:none;"
/>
<row
>
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-group
:model=
"detailsModel.group1"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.incident.byparentkey_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.title.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'title'
:itemRules=
"this.rules.title"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.title')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.title.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.title"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.title.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.subjectname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'subjectname'
:itemRules=
"this.rules.subjectname"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.subjectname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.subjectname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.subjectname.disabled"
name=
'subjectname'
deMajorField=
'title'
deKeyField=
'subject'
:service=
"service"
:acParams=
"{ serviceName: 'SubjectService', interfaceName: 'FetchDefault'}"
valueitem=
'subjectid'
:value=
"data.subjectname"
editortype=
""
:pickupView=
"{ viewname: 'subject-pickup-view', title: $t('entities.subject.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'subjects', parameterName: 'subject' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.caseorigincode.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'caseorigincode'
:itemRules=
"this.rules.caseorigincode"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.caseorigincode')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.caseorigincode.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.caseorigincode"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.caseorigincode.disabled"
tag=
'Incident__CaseOriginCode'
codelistType=
'STATIC'
placeholder=
'请选择...'
style=
""
>
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.productname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'productname'
:itemRules=
"this.rules.productname"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.productname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.productname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.productname.disabled"
name=
'productname'
deMajorField=
'productname'
deKeyField=
'product'
:service=
"service"
:acParams=
"{ serviceName: 'ProductService', interfaceName: 'FetchDefault'}"
valueitem=
'productid'
:value=
"data.productname"
editortype=
""
:pickupView=
"{ viewname: 'product-pickup-view', title: $t('entities.product.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'products', parameterName: 'product' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.entitlementname.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'entitlementname'
:itemRules=
"this.rules.entitlementname"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.entitlementname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.entitlementname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.entitlementname.disabled"
name=
'entitlementname'
deMajorField=
'entitlementname'
deKeyField=
'entitlement'
:service=
"service"
:acParams=
"{ serviceName: 'EntitlementService', interfaceName: 'FetchDefault'}"
valueitem=
'entitlementid'
:value=
"data.entitlementname"
editortype=
""
:pickupView=
"{ viewname: 'entitlement-pickup-view', title: $t('entities.entitlement.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'entitlements', parameterName: 'entitlement' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.customerid.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'customerid'
:itemRules=
"this.rules.customerid"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.customerid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.customerid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.customerid"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.customerid.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.customername.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'customername'
:itemRules=
"this.rules.customername"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.customername')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.customername.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'{ }'
:localParam =
'{ }'
:disabled=
"detailsModel.customername.disabled"
name=
'customername'
deMajorField=
'customername'
deKeyField=
'incidentcustomer'
:service=
"service"
:acParams=
"{ serviceName: 'IncidentCustomerService', interfaceName: 'FetchDefault'}"
valueitem=
'customerid'
:value=
"data.customername"
editortype=
""
:pickupView=
"{ viewname: 'incident-customer-pickup-view', title: $t('entities.incidentcustomer.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'incidentcustomers', parameterName: 'incidentcustomer' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=
""
@
formitemvaluechange=
"onFormItemValueChange($event)"
>
</app-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.customertype.visible"
:style=
"{}"
:lg=
"{ span: 24, offset: 0 }"
>
<app-form-item
name=
'customertype'
:itemRules=
"this.rules.customertype"
class=
''
:caption=
"$t('entities.incident.byparentkey_form.details.customertype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.customertype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.customertype"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.customertype.disabled"
type=
'text'
style=
""
></input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</row>
</i-form>
\ No newline at end of file
app_CRM/src/widgets/incident/by-parent-key-form/by-parent-key-form.vue
0 → 100644
浏览文件 @
2d832af3
<
template
src=
"./by-parent-key-form.html"
/>
<script
lang=
'tsx'
>
import
{ Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core';
import { ByParentKeyEditFormBase } from './by-parent-key-form-base';
/**
* form部件
*
* @export
* @class ByParentKeyEditForm
* @extends {ByParentKeyEditFormBase}
*/
@Component({
components: {
}
})
@VueLifeCycleProcessing()
export default class ByParentKeyEditForm extends ByParentKeyEditFormBase { }
</script>
app_CRM/src/widgets/lead/data-panel-form/data-panel-form.html
浏览文件 @
2d832af3
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<div
v-show=
"detailsModel.button1.visible"
:style=
"{}"
>
<div
v-show=
"detailsModel.button1.visible"
:style=
"{}"
>
<i-button
type=
"primary"
@
click=
"button1_click($event)"
class=
"form-btn-noborder-transparent"
<i-button
type=
"primary"
@
click=
"button1_click($event)"
class=
"form-btn-noborder-transparent"
style=
""
>
style=
""
>
<i
class=
"fa fa-angle-down"
style=
"margin-right: 2px;"
></i>
</i-button>
</i-button>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录