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

xignzi006 发布系统代码

上级 0c190713
......@@ -371,6 +371,23 @@
}
]
},
{
"srfkey": "Account__AccountClassificationCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Default Value",
"text": "Default Value",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
]
},
{
"srfkey": "Activitypointer__PriorityCode",
"emptytext": "未定义",
......@@ -408,6 +425,23 @@
}
]
},
{
"srfkey": "Account__AccountRatingCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Default Value",
"text": "Default Value",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
]
},
{
"srfkey": "Campaign__TypeCode",
"emptytext": "未定义",
......@@ -1330,6 +1364,50 @@
}
]
},
{
"srfkey": "Contact__LeadSourceCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Default Value",
"text": "Default Value",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
]
},
{
"srfkey": "Account__AccountCategoryCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "Preferred Customer",
"text": "Preferred Customer",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "2",
"label": "Standard",
"text": "Standard",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
]
},
{
"srfkey": "Product__ProductTypeCode",
"emptytext": "未定义",
......
......@@ -50,12 +50,20 @@ export default {
'CAMPAIGNRESPONSE': '市场活动响应',
empty: '',
},
Account__AccountClassificationCode: {
'1': 'Default Value',
empty: '',
},
Activitypointer__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Account__AccountRatingCode: {
'1': 'Default Value',
empty: '',
},
Campaign__TypeCode: {
'1': 'Advertisement',
'4': 'Co-branding',
......@@ -178,6 +186,15 @@ export default {
'2': 'Ship To',
empty: '',
},
Contact__LeadSourceCode: {
'1': 'Default Value',
empty: '',
},
Account__AccountCategoryCode: {
'1': 'Preferred Customer',
'2': 'Standard',
empty: '',
},
Product__ProductTypeCode: {
'4': 'Flat Fees',
'2': 'Miscellaneous Charges',
......
......@@ -50,12 +50,20 @@ export default {
'CAMPAIGNRESPONSE': '市场活动响应',
empty: '',
},
Account__AccountClassificationCode: {
'1': 'Default Value',
empty: '',
},
Activitypointer__PriorityCode: {
'2': 'High',
'0': 'Low',
'1': 'Normal',
empty: '',
},
Account__AccountRatingCode: {
'1': 'Default Value',
empty: '',
},
Campaign__TypeCode: {
'1': 'Advertisement',
'4': 'Co-branding',
......@@ -178,6 +186,15 @@ export default {
'2': 'Ship To',
empty: '',
},
Contact__LeadSourceCode: {
'1': 'Default Value',
empty: '',
},
Account__AccountCategoryCode: {
'1': 'Preferred Customer',
'2': 'Standard',
empty: '',
},
Product__ProductTypeCode: {
'4': 'Flat Fees',
'2': 'Miscellaneous Charges',
......
......@@ -517,6 +517,11 @@ export default {
default_searchform: {
details: {
formpage1: "常规条件",
n_accountname_like: "客户名称(文本包含(%))",
n_statecode_eq: "状态(等于(=))",
n_accountcategorycode_eq: "类别(等于(=))",
n_accountclassificationcode_eq: "分类(等于(=))",
n_accountratingcode_eq: "客户等级(等于(=))",
},
uiactions: {
},
......
......@@ -516,6 +516,11 @@ export default {
default_searchform: {
details: {
formpage1: '常规条件',
n_accountname_like: '客户名称(文本包含(%))',
n_statecode_eq: '状态(等于(=))',
n_accountcategorycode_eq: '类别(等于(=))',
n_accountclassificationcode_eq: '分类(等于(=))',
n_accountratingcode_eq: '客户等级(等于(=))',
},
uiactions: {
},
......
......@@ -469,6 +469,9 @@ export default {
default_searchform: {
details: {
formpage1: "常规条件",
n_fullname_like: "全名(文本包含(%))",
n_statecode_eq: "状态(等于(=))",
n_leadsourcecode_eq: "潜在顾客来源(等于(=))",
},
uiactions: {
},
......
......@@ -468,6 +468,9 @@ export default {
default_searchform: {
details: {
formpage1: '常规条件',
n_fullname_like: '全名(文本包含(%))',
n_statecode_eq: '状态(等于(=))',
n_leadsourcecode_eq: '潜在顾客来源(等于(=))',
},
uiactions: {
},
......
......@@ -379,6 +379,23 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: 'Account__AccountClassificationCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '1',
label: 'Default Value',
text: 'Default Value',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
]
},
{
srfkey: 'Activitypointer__PriorityCode',
emptytext: '未定义',
......@@ -416,6 +433,23 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: 'Account__AccountRatingCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '1',
label: 'Default Value',
text: 'Default Value',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
]
},
{
srfkey: 'Campaign__TypeCode',
emptytext: '未定义',
......@@ -1338,6 +1372,50 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: 'Contact__LeadSourceCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '1',
label: 'Default Value',
text: 'Default Value',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
]
},
{
srfkey: 'Account__AccountCategoryCode',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '1',
label: 'Preferred Customer',
text: 'Preferred Customer',
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
{
id: '2',
label: 'Standard',
text: 'Standard',
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
]
},
{
srfkey: 'Product__ProductTypeCode',
emptytext: '未定义',
......
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-inner-pickup-view {
--account-inner-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.account-pickup-view {
--account-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.contact-pickup-view {
--contact-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.transaction-currency-pickup-view {
--transaction-currency-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.price-level-pickup-view {
--price-level-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: ${P.getLayoutCode().code} [in template "TEMPLCODE_zh_CN" at line 1, column 1]
----
无法获取指定部件[VIEWLAYOUTPANEL#APPDEPICKUPVIEW_STYLE2]发布代码[VIEW.less]
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-pickup-view {
--lead-pickup-view: 0;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
\ No newline at end of file
......@@ -25,6 +25,31 @@ export default class DefaultModel {
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'n_accountname_like',
prop: 'accountname',
dataType: 'TEXT',
},
{
name: 'n_statecode_eq',
prop: 'statecode',
dataType: 'NSCODELIST',
},
{
name: 'n_accountcategorycode_eq',
prop: 'accountcategorycode',
dataType: 'SSCODELIST',
},
{
name: 'n_accountclassificationcode_eq',
prop: 'accountclassificationcode',
dataType: 'SSCODELIST',
},
{
name: 'n_accountratingcode_eq',
prop: 'accountratingcode',
dataType: 'SSCODELIST',
},
]
}
......
......@@ -100,6 +100,31 @@ export default class InnerPickipModel {
name: 'account',
prop: 'accountid',
},
{
name: 'n_accountname_like',
prop: 'n_accountname_like',
dataType: 'TEXT',
},
{
name: 'n_statecode_eq',
prop: 'n_statecode_eq',
dataType: 'NSCODELIST',
},
{
name: 'n_accountcategorycode_eq',
prop: 'n_accountcategorycode_eq',
dataType: 'SSCODELIST',
},
{
name: 'n_accountclassificationcode_eq',
prop: 'n_accountclassificationcode_eq',
dataType: 'SSCODELIST',
},
{
name: 'n_accountratingcode_eq',
prop: 'n_accountratingcode_eq',
dataType: 'SSCODELIST',
},
{
name:'size',
......
......@@ -115,6 +115,31 @@ export default class MainModel {
name: 'account',
prop: 'accountid',
},
{
name: 'n_accountname_like',
prop: 'n_accountname_like',
dataType: 'TEXT',
},
{
name: 'n_statecode_eq',
prop: 'n_statecode_eq',
dataType: 'NSCODELIST',
},
{
name: 'n_accountcategorycode_eq',
prop: 'n_accountcategorycode_eq',
dataType: 'SSCODELIST',
},
{
name: 'n_accountclassificationcode_eq',
prop: 'n_accountclassificationcode_eq',
dataType: 'SSCODELIST',
},
{
name: 'n_accountratingcode_eq',
prop: 'n_accountratingcode_eq',
dataType: 'SSCODELIST',
},
{
name:'size',
......
......@@ -4,7 +4,49 @@
<row>
<i-col span="20" class="form-content">
<row>
</row>
<i-col v-show="detailsModel.n_fullname_like.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='n_fullname_like' :itemRules="this.rules.n_fullname_like" class='' :caption="$t('entities.contact.default_searchform.details.n_fullname_like')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_fullname_like.error" :isEmptyCaption="false" labelPos="TOP">
<input-box v-model="data.n_fullname_like" @enter="onEnter($event)" :disabled="detailsModel.n_fullname_like.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.n_statecode_eq.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='n_statecode_eq' :itemRules="this.rules.n_statecode_eq" class='' :caption="$t('entities.contact.default_searchform.details.n_statecode_eq')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_statecode_eq.error" :isEmptyCaption="false" labelPos="TOP">
<dropdown-list
v-model="data.n_statecode_eq"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.n_statecode_eq.disabled"
tag='State'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.n_leadsourcecode_eq.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='n_leadsourcecode_eq' :itemRules="this.rules.n_leadsourcecode_eq" class='' :caption="$t('entities.contact.default_searchform.details.n_leadsourcecode_eq')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.n_leadsourcecode_eq.error" :isEmptyCaption="false" labelPos="TOP">
<dropdown-list
v-model="data.n_leadsourcecode_eq"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.n_leadsourcecode_eq.disabled"
tag='Contact__LeadSourceCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
</row>
</i-col>
<i-col span="4" class="search-button">
<row v-show="Object.keys(data).length>0">
......@@ -244,6 +286,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase
*/
public data: any = {
n_fullname_like: null,
n_statecode_eq: null,
n_leadsourcecode_eq: null,
};
/**
......@@ -253,6 +298,24 @@ export default class DefaultBase extends Vue implements ControlInterface {
* @memberof DefaultBase
*/
public rules: any = {
n_fullname_like: [
{ type: 'string', message: '全名(文本包含(%)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '全名(文本包含(%)) 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '全名(文本包含(%)) 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '全名(文本包含(%)) 值不能为空', trigger: 'blur' },
],
n_statecode_eq: [
{ type: 'number', message: '状态(等于(=)) 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '状态(等于(=)) 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '状态(等于(=)) 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '状态(等于(=)) 值不能为空', trigger: 'blur' },
],
n_leadsourcecode_eq: [
{ type: 'string', message: '潜在顾客来源(等于(=)) 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '潜在顾客来源(等于(=)) 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '潜在顾客来源(等于(=)) 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '潜在顾客来源(等于(=)) 值不能为空', trigger: 'blur' },
],
}
/**
......@@ -263,9 +326,51 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public detailsModel: any = {
formpage1: new FormPageModel({ caption: '常规条件', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this })
,
n_fullname_like: new FormItemModel({ caption: '全名(文本包含(%))', detailType: 'FORMITEM', name: 'n_fullname_like', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
n_statecode_eq: new FormItemModel({ caption: '状态(等于(=))', detailType: 'FORMITEM', name: 'n_statecode_eq', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
n_leadsourcecode_eq: new FormItemModel({ caption: '潜在顾客来源(等于(=))', detailType: 'FORMITEM', name: 'n_leadsourcecode_eq', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
};
/**
* 监控表单属性 n_fullname_like 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@Watch('data.n_fullname_like')
onN_fullname_likeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'n_fullname_like', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 n_statecode_eq 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@Watch('data.n_statecode_eq')
onN_statecode_eqChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'n_statecode_eq', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 n_leadsourcecode_eq 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof DefaultBase
*/
@Watch('data.n_leadsourcecode_eq')
onN_leadsourcecode_eqChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'n_leadsourcecode_eq', newVal: newVal, oldVal: oldVal });
}
/**
* 重置表单项值
......@@ -287,6 +392,9 @@ export default class DefaultBase extends Vue implements ControlInterface {
public formLogic({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }): void {
}
/**
......
......@@ -25,6 +25,21 @@ export default class DefaultModel {
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'n_fullname_like',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'n_statecode_eq',
prop: 'statecode',
dataType: 'NSCODELIST',
},
{
name: 'n_leadsourcecode_eq',
prop: 'leadsourcecode',
dataType: 'SSCODELIST',
},
]
}
......
......@@ -95,6 +95,21 @@ export default class MainModel {
name: 'contact',
prop: 'contactid',
},
{
name: 'n_fullname_like',
prop: 'n_fullname_like',
dataType: 'TEXT',
},
{
name: 'n_statecode_eq',
prop: 'n_statecode_eq',
dataType: 'NSCODELIST',
},
{
name: 'n_leadsourcecode_eq',
prop: 'n_leadsourcecode_eq',
dataType: 'SSCODELIST',
},
{
name:'size',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册