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

chitanda 发布系统代码

上级 e3b878d0
...@@ -129,6 +129,16 @@ ...@@ -129,6 +129,16 @@
"viewtag": "1d3b94223a5d3f8ab1d2fe334c8c4afd", "viewtag": "1d3b94223a5d3f8ab1d2fe334c8c4afd",
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"contactinfo_person": {
"title": "联系人编辑视图",
"caption": "联系人",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "ContactInfo_Person",
"viewfilename": "contact-info-person",
"viewtag": "21eb3cee3363f2590cf0cf6af8446300",
"memo": ""
},
"ibizlistgridview": { "ibizlistgridview": {
"title": "list表格视图", "title": "list表格视图",
"caption": "市场营销列表", "caption": "市场营销列表",
...@@ -389,6 +399,16 @@ ...@@ -389,6 +399,16 @@
"viewtag": "60093dd36f07238d7a7e72e9ed372942", "viewtag": "60093dd36f07238d7a7e72e9ed372942",
"memo": "" "memo": ""
}, },
"contactinfo_market": {
"title": "联系人编辑视图",
"caption": "联系人",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "ContactInfo_Market",
"viewfilename": "contact-info-market",
"viewtag": "615ceb2945e3cfe7404850aeadae188d",
"memo": ""
},
"contactdashboardview": { "contactdashboardview": {
"title": "联系人数据看板视图", "title": "联系人数据看板视图",
"caption": "联系人", "caption": "联系人",
......
...@@ -206,6 +206,10 @@ export default { ...@@ -206,6 +206,10 @@ export default {
gridview: { gridview: {
caption: "联系人", caption: "联系人",
title: 'contact表格视图', title: 'contact表格视图',
},
info_person: {
caption: "联系人",
title: '联系人编辑视图',
}, },
info_abstract: { info_abstract: {
caption: "联系人", caption: "联系人",
...@@ -213,6 +217,10 @@ export default { ...@@ -213,6 +217,10 @@ export default {
}, },
info_detail: { info_detail: {
caption: "联系人", caption: "联系人",
title: '联系人编辑视图',
},
info_market: {
caption: "联系人",
title: '联系人编辑视图', title: '联系人编辑视图',
}, },
dashboardview: { dashboardview: {
...@@ -300,12 +308,31 @@ export default { ...@@ -300,12 +308,31 @@ export default {
uiactions: { uiactions: {
}, },
}, },
detailinfo_form: { bookinfo_form: {
details: { details: {
group1: "个人信息",
grouppanel1: "市场营销",
grouppanel2: "记账", grouppanel2: "记账",
grouppanel3: "送货", formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "联系人",
srfmajortext: "全名",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
transactioncurrencyname: "货币",
creditlimit: "信用额度",
creditonhold: "信用冻结",
paymenttermscode: "付款方式",
transactioncurrencyid: "货币",
contactid: "联系人",
},
uiactions: {
},
},
personinfo_form: {
details: {
group1: "联系人基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
srforikey: "", srforikey: "",
...@@ -320,14 +347,28 @@ export default { ...@@ -320,14 +347,28 @@ export default {
spousesname: "配偶/伴侣姓名", spousesname: "配偶/伴侣姓名",
birthdate: "生日", birthdate: "生日",
anniversary: "纪念日", anniversary: "纪念日",
contactid: "联系人",
},
uiactions: {
},
},
market_form: {
details: {
group1: "联系人基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "联系人",
srfmajortext: "全名",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
originatingleadname: "原始潜在顾客", originatingleadname: "原始潜在顾客",
lastusedincampaign: "上次参与市场活动的日期", lastusedincampaign: "上次参与市场活动的日期",
donotsendmm: "发送市场营销资料", donotsendmm: "发送市场营销资料",
transactioncurrencyname: "货币",
creditlimit: "信用额度",
creditonhold: "信用冻结",
paymenttermscode: "付款方式",
shippingmethodcode: "送货方式", shippingmethodcode: "送货方式",
originatingleadid: "原始潜在顾客",
contactid: "联系人", contactid: "联系人",
}, },
uiactions: { uiactions: {
...@@ -448,8 +489,6 @@ export default { ...@@ -448,8 +489,6 @@ export default {
tip: "Filter", tip: "Filter",
}, },
}, },
info_abstracttoolbar_toolbar: {
},
byaccounttoolbar_toolbar: { byaccounttoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: "新建", caption: "新建",
......
...@@ -205,6 +205,10 @@ export default { ...@@ -205,6 +205,10 @@ export default {
gridview: { gridview: {
caption: '联系人', caption: '联系人',
title: 'contact表格视图', title: 'contact表格视图',
},
info_person: {
caption: '联系人',
title: '联系人编辑视图',
}, },
info_abstract: { info_abstract: {
caption: '联系人', caption: '联系人',
...@@ -212,6 +216,10 @@ export default { ...@@ -212,6 +216,10 @@ export default {
}, },
info_detail: { info_detail: {
caption: '联系人', caption: '联系人',
title: '联系人编辑视图',
},
info_market: {
caption: '联系人',
title: '联系人编辑视图', title: '联系人编辑视图',
}, },
dashboardview: { dashboardview: {
...@@ -299,12 +307,31 @@ export default { ...@@ -299,12 +307,31 @@ export default {
uiactions: { uiactions: {
}, },
}, },
detailinfo_form: { bookinfo_form: {
details: { details: {
group1: '个人信息',
grouppanel1: '市场营销',
grouppanel2: '记账', grouppanel2: '记账',
grouppanel3: '送货', formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '联系人',
srfmajortext: '全名',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
transactioncurrencyname: '货币',
creditlimit: '信用额度',
creditonhold: '信用冻结',
paymenttermscode: '付款方式',
transactioncurrencyid: '货币',
contactid: '联系人',
},
uiactions: {
},
},
personinfo_form: {
details: {
group1: '联系人基本信息',
formpage1: '基本信息', formpage1: '基本信息',
srfupdatedate: '更新时间', srfupdatedate: '更新时间',
srforikey: '', srforikey: '',
...@@ -319,14 +346,28 @@ export default { ...@@ -319,14 +346,28 @@ export default {
spousesname: '配偶/伴侣姓名', spousesname: '配偶/伴侣姓名',
birthdate: '生日', birthdate: '生日',
anniversary: '纪念日', anniversary: '纪念日',
contactid: '联系人',
},
uiactions: {
},
},
market_form: {
details: {
group1: '联系人基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '联系人',
srfmajortext: '全名',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
originatingleadname: '原始潜在顾客', originatingleadname: '原始潜在顾客',
lastusedincampaign: '上次参与市场活动的日期', lastusedincampaign: '上次参与市场活动的日期',
donotsendmm: '发送市场营销资料', donotsendmm: '发送市场营销资料',
transactioncurrencyname: '货币',
creditlimit: '信用额度',
creditonhold: '信用冻结',
paymenttermscode: '付款方式',
shippingmethodcode: '送货方式', shippingmethodcode: '送货方式',
originatingleadid: '原始潜在顾客',
contactid: '联系人', contactid: '联系人',
}, },
uiactions: { uiactions: {
...@@ -447,8 +488,6 @@ export default { ...@@ -447,8 +488,6 @@ export default {
tip: '过滤', tip: '过滤',
}, },
}, },
info_abstracttoolbar_toolbar: {
},
byaccounttoolbar_toolbar: { byaccounttoolbar_toolbar: {
tbitem1_openquickcreateview: { tbitem1_openquickcreateview: {
caption: '新建', caption: '新建',
......
...@@ -111,6 +111,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -111,6 +111,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AccountInfo_Account", "viewname": "AccountInfo_Account",
"viewtag": "1d3b94223a5d3f8ab1d2fe334c8c4afd" "viewtag": "1d3b94223a5d3f8ab1d2fe334c8c4afd"
}, },
"contactinfo_person": {
"title": "联系人编辑视图",
"caption": "联系人",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "ContactInfo_Person",
"viewtag": "21eb3cee3363f2590cf0cf6af8446300"
},
"ibizlistgridview": { "ibizlistgridview": {
"title": "list表格视图", "title": "list表格视图",
"caption": "市场营销列表", "caption": "市场营销列表",
...@@ -319,6 +327,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -319,6 +327,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ContactInfo_Detail", "viewname": "ContactInfo_Detail",
"viewtag": "60093dd36f07238d7a7e72e9ed372942" "viewtag": "60093dd36f07238d7a7e72e9ed372942"
}, },
"contactinfo_market": {
"title": "联系人编辑视图",
"caption": "联系人",
"viewtype": "DEEDITVIEW",
"viewmodule": "Base",
"viewname": "ContactInfo_Market",
"viewtag": "615ceb2945e3cfe7404850aeadae188d"
},
"contactdashboardview": { "contactdashboardview": {
"title": "联系人数据看板视图", "title": "联系人数据看板视图",
"caption": "联系人", "caption": "联系人",
......
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
<template slot='title'> <template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span> <span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template> </template>
<template slot="toolbar">
<div class='toolbar-container'>
</div>
</template>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
...@@ -184,7 +180,6 @@ export default class ContactInfo_AbstractBase extends Vue { ...@@ -184,7 +180,6 @@ export default class ContactInfo_AbstractBase extends Vue {
* @memberof ContactInfo_AbstractBase * @memberof ContactInfo_AbstractBase
*/ */
public containerModel: any = { public containerModel: any = {
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_form: { name: 'form', type: 'FORM' }, view_form: { name: 'form', type: 'FORM' },
}; };
...@@ -212,15 +207,6 @@ export default class ContactInfo_AbstractBase extends Vue { ...@@ -212,15 +207,6 @@ export default class ContactInfo_AbstractBase extends Vue {
* @memberof ContactInfo_AbstractBase * @memberof ContactInfo_AbstractBase
*/ */
public viewState: Subject<ViewState> = new Subject(); public viewState: Subject<ViewState> = new Subject();
/**
* 工具栏模型
*
* @type {*}
* @memberof ContactInfo_Abstract
*/
public toolBarModels: any = {
};
......
...@@ -2,7 +2,5 @@ ...@@ -2,7 +2,5 @@
.contact-info-abstract { .contact-info-abstract {
--contact-info-abstract: 0; --contact-info-abstract: 0;
} }
// 视图样式
// this is less
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import ContactInfo_DetailBase from './contact-info-detail-base.vue'; import ContactInfo_DetailBase from './contact-info-detail-base.vue';
import view_form from '@widgets/contact/detail-info-form/detail-info-form.vue'; import view_form from '@widgets/contact/book-info-form/book-info-form.vue';
@Component({ @Component({
components: { components: {
view_form, view_form,
......
...@@ -370,6 +370,7 @@ export const viewstate: any = { ...@@ -370,6 +370,7 @@ export const viewstate: any = {
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
'da3f8c1f20f440f3df54d6c13a8de586',
], ],
}, },
{ {
......
...@@ -80,8 +80,10 @@ export default class ContactUIServiceBase extends UIService { ...@@ -80,8 +80,10 @@ export default class ContactUIServiceBase extends UIService {
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'contacts'}); this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'info_person',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'info_abstract',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'info_abstract',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'info_detail',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'info_detail',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'info_market',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'dashboardview',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'dashboardview',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'contacts'});
this.allViewMap.set(':',{viewname:'byaccount',srfappde:'contacts'}); this.allViewMap.set(':',{viewname:'byaccount',srfappde:'contacts'});
......
/**
* BookInfo 部件模型
*
* @export
* @class BookInfoModel
*/
export default class BookInfoModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof BookInfoModel
*/
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: 'contactid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'transactioncurrencyname',
prop: 'transactioncurrencyname',
dataType: 'PICKUPTEXT',
},
{
name: 'creditlimit',
prop: 'creditlimit',
dataType: 'BIGDECIMAL',
},
{
name: 'creditonhold',
prop: 'creditonhold',
dataType: 'YESNO',
},
{
name: 'paymenttermscode',
prop: 'paymenttermscode',
dataType: 'SSCODELIST',
},
{
name: 'transactioncurrencyid',
prop: 'transactioncurrencyid',
dataType: 'PICKUP',
},
{
name: 'contactid',
prop: 'contactid',
dataType: 'GUID',
},
{
name: 'contact',
prop: 'contactid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import BookInfoBase from './book-info-form-base.vue';
@Component({
components: {
}
})
export default class BookInfo extends BookInfoBase {
}
</script>
\ No newline at end of file
...@@ -3182,7 +3182,7 @@ ...@@ -3182,7 +3182,7 @@
<!--输出实体[CONTACT]数据结构 --> <!--输出实体[CONTACT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-contact-102-43"> <changeSet author="a_LAB01_e85d8801c" id="tab-contact-113-43">
<createTable tableName="CONTACT"> <createTable tableName="CONTACT">
<column name="ADDRESS1_FREIGHTTERMSCODE" remarks="" type="VARCHAR(30)"> <column name="ADDRESS1_FREIGHTTERMSCODE" remarks="" type="VARCHAR(30)">
</column> </column>
...@@ -11021,22 +11021,22 @@ ...@@ -11021,22 +11021,22 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="MONTHLYFISCALCALENDAR" constraintName="DER1N_MONTHLYFISCALCALENDAR__T" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/> <addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="MONTHLYFISCALCALENDAR" constraintName="DER1N_MONTHLYFISCALCALENDAR__T" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[CONTACT]外键关系 --> <!--输出实体[CONTACT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-102-212"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-113-212">
<addForeignKeyConstraint baseColumnNames="PREFERREDEQUIPMENTID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__EQUIPMENT__PREF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EQUIPMENTID" referencedTableName="EQUIPMENT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PREFERREDEQUIPMENTID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__EQUIPMENT__PREF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EQUIPMENTID" referencedTableName="EQUIPMENT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-102-213"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-113-213">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__LEAD__ORIGINATI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/> <addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__LEAD__ORIGINATI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-102-214"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-113-214">
<addForeignKeyConstraint baseColumnNames="DEFAULTPRICELEVELID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__PRICELEVEL__DEF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/> <addForeignKeyConstraint baseColumnNames="DEFAULTPRICELEVELID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__PRICELEVEL__DEF" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-102-215"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-113-215">
<addForeignKeyConstraint baseColumnNames="PREFERREDSERVICEID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__SERVICE__PREFER" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SERVICEID" referencedTableName="SERVICE" validate="true"/> <addForeignKeyConstraint baseColumnNames="PREFERREDSERVICEID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__SERVICE__PREFER" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SERVICEID" referencedTableName="SERVICE" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-102-216"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-113-216">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/> <addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-contact-102-217"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-113-217">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/> <addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="CONTACT" constraintName="DER1N_CONTACT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[TEAM]外键关系 --> <!--输出实体[TEAM]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册