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

lab_gzf 发布系统代码

上级 5113df9a
...@@ -699,6 +699,16 @@ ...@@ -699,6 +699,16 @@
"viewtag": "a0baf844a4d48914ee2623448b1a73fb", "viewtag": "a0baf844a4d48914ee2623448b1a73fb",
"memo": "" "memo": ""
}, },
"listaccountoptionview": {
"title": "快速新建",
"caption": "快速新建",
"viewtype": "DEOPTVIEW",
"viewmodule": "Marketing",
"viewname": "ListAccountOptionView",
"viewfilename": "list-account-option-view",
"viewtag": "a1b44c891ef0bbc073c82693d8489de6",
"memo": ""
},
"listaccountgridview": { "listaccountgridview": {
"title": "营销列表-账户表格视图", "title": "营销列表-账户表格视图",
"caption": "营销列表-账户", "caption": "营销列表-账户",
......
...@@ -21,6 +21,10 @@ export default { ...@@ -21,6 +21,10 @@ export default {
editview: { editview: {
caption: "营销列表-账户", caption: "营销列表-账户",
title: '营销列表-账户编辑视图', title: '营销列表-账户编辑视图',
},
optionview: {
caption: "快速新建",
title: '快速新建',
}, },
gridview: { gridview: {
caption: "营销列表-账户", caption: "营销列表-账户",
...@@ -46,6 +50,24 @@ export default { ...@@ -46,6 +50,24 @@ export default {
uiactions: { uiactions: {
}, },
}, },
edit_bylistquickcreate_form: {
details: {
group1: "营销列表-账户基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "关系标识",
srfmajortext: "关系名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
entity2name: "客户",
relationshipsid: "关系标识",
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
entity2name: "客户", entity2name: "客户",
......
...@@ -20,6 +20,10 @@ export default { ...@@ -20,6 +20,10 @@ export default {
editview: { editview: {
caption: '营销列表-账户', caption: '营销列表-账户',
title: '营销列表-账户编辑视图', title: '营销列表-账户编辑视图',
},
optionview: {
caption: '快速新建',
title: '快速新建',
}, },
gridview: { gridview: {
caption: '营销列表-账户', caption: '营销列表-账户',
...@@ -45,6 +49,24 @@ export default { ...@@ -45,6 +49,24 @@ export default {
uiactions: { uiactions: {
}, },
}, },
edit_bylistquickcreate_form: {
details: {
group1: '营销列表-账户基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '关系标识',
srfmajortext: '关系名称',
srftempmode: '',
srfuf: '',
srfdeid: '',
srfsourcekey: '',
entity2name: '客户',
relationshipsid: '关系标识',
},
uiactions: {
},
},
main_grid: { main_grid: {
columns: { columns: {
entity2name: '客户', entity2name: '客户',
......
...@@ -567,6 +567,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -567,6 +567,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBizListSummary", "viewname": "IBizListSummary",
"viewtag": "a0baf844a4d48914ee2623448b1a73fb" "viewtag": "a0baf844a4d48914ee2623448b1a73fb"
}, },
"listaccountoptionview": {
"title": "快速新建",
"caption": "快速新建",
"viewtype": "DEOPTVIEW",
"viewmodule": "Marketing",
"viewname": "ListAccountOptionView",
"viewtag": "a1b44c891ef0bbc073c82693d8489de6"
},
"listaccountgridview": { "listaccountgridview": {
"title": "营销列表-账户表格视图", "title": "营销列表-账户表格视图",
"caption": "营销列表-账户", "caption": "营销列表-账户",
......
...@@ -98,6 +98,8 @@ export default class ContactDashboardViewBase extends Vue { ...@@ -98,6 +98,8 @@ export default class ContactDashboardViewBase extends Vue {
* @memberof ContactDashboardViewBase * @memberof ContactDashboardViewBase
*/ */
public customViewNavContexts:any ={ public customViewNavContexts:any ={
"REGARDINGOBJECTID":{"isRawValue":false,"value":"contact"},
"REGARDINGOBJECTTYPECODE":{"isRawValue":true,"value":"CONTACT"}
}; };
/** /**
......
<template> <template>
<studio-view viewName="contactinfo_abstract" viewTitle="联系人编辑视图" class='deeditview contact-info-abstract'> <studio-view viewName="contactinfo_abstract" viewTitle="联系人编辑视图" class='deeditview contact-info-abstract'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
......
<template> <template>
<studio-view viewName="contactinfo_address" viewTitle="联系人编辑视图" class='deeditview contact-info-address'> <studio-view viewName="contactinfo_address" viewTitle="联系人编辑视图" class='deeditview contact-info-address'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
......
<template> <template>
<studio-view viewName="contactinfo_book" viewTitle="联系人编辑视图" class='deeditview contact-info-book'> <studio-view viewName="contactinfo_book" viewTitle="联系人编辑视图" class='deeditview contact-info-book'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
......
<template> <template>
<studio-view viewName="contactinfo_market" viewTitle="联系人编辑视图" class='deeditview contact-info-market'> <studio-view viewName="contactinfo_market" viewTitle="联系人编辑视图" class='deeditview contact-info-market'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
......
<template> <template>
<studio-view viewName="contactinfo_person" viewTitle="联系人编辑视图" class='deeditview contact-info-person'> <studio-view viewName="contactinfo_person" viewTitle="联系人编辑视图" class='deeditview contact-info-person'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form <view_form
:viewState="viewState" :viewState="viewState"
:viewparams="viewparams" :viewparams="viewparams"
......
...@@ -80,6 +80,7 @@ export default class ListAccountUIServiceBase extends UIService { ...@@ -80,6 +80,7 @@ export default class ListAccountUIServiceBase extends UIService {
*/ */
public initViewMap(){ public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'listaccounts'}); this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'listaccounts'});
this.allViewMap.set(':',{viewname:'optionview',srfappde:'listaccounts'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'listaccounts'}); this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'listaccounts'});
} }
......
...@@ -3182,7 +3182,7 @@ ...@@ -3182,7 +3182,7 @@
<!--输出实体[CONTACT]数据结构 --> <!--输出实体[CONTACT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-contact-123-43"> <changeSet author="a_LAB01_e85d8801c" id="tab-contact-133-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>
...@@ -10393,7 +10393,7 @@ ...@@ -10393,7 +10393,7 @@
<!--输出实体[OPPORTUNITY]数据结构 --> <!--输出实体[OPPORTUNITY]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-opportunity-19-120"> <changeSet author="a_LAB01_e85d8801c" id="tab-opportunity-20-120">
<createTable tableName="OPPORTUNITY"> <createTable tableName="OPPORTUNITY">
<column name="DECISIONMAKER" remarks="" type="INT"> <column name="DECISIONMAKER" remarks="" type="INT">
</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-123-212"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-133-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-123-213"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-133-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-123-214"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-133-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-123-215"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-133-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-123-216"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-133-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-123-217"> <changeSet author="a_LAB01_e85d8801c" id="fk-contact-133-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]外键关系 -->
...@@ -11605,25 +11605,25 @@ ...@@ -11605,25 +11605,25 @@
<!--输出实体[RELATIONSHIPS]外键关系 --> <!--输出实体[RELATIONSHIPS]外键关系 -->
<!--输出实体[CONNECTIONROLE]外键关系 --> <!--输出实体[CONNECTIONROLE]外键关系 -->
<!--输出实体[OPPORTUNITY]外键关系 --> <!--输出实体[OPPORTUNITY]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-19-403"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-20-403">
<addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__ACCOUNT__PA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__ACCOUNT__PA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-19-404"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-20-404">
<addForeignKeyConstraint baseColumnNames="CAMPAIGNID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__CAMPAIGN__C" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CAMPAIGNID" referencedTableName="CAMPAIGN" validate="true"/> <addForeignKeyConstraint baseColumnNames="CAMPAIGNID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__CAMPAIGN__C" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CAMPAIGNID" referencedTableName="CAMPAIGN" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-19-405"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-20-405">
<addForeignKeyConstraint baseColumnNames="PARENTCONTACTID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__CONTACT__PA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/> <addForeignKeyConstraint baseColumnNames="PARENTCONTACTID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__CONTACT__PA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-19-406"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-20-406">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__LEAD__ORIGI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/> <addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__LEAD__ORIGI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-19-407"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-20-407">
<addForeignKeyConstraint baseColumnNames="PRICELEVELID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__PRICELEVEL_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/> <addForeignKeyConstraint baseColumnNames="PRICELEVELID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__PRICELEVEL_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-19-408"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-20-408">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/> <addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__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-opportunity-19-409"> <changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-20-409">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__TRANSACTION" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/> <addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__TRANSACTION" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[ANNOTATION]外键关系 --> <!--输出实体[ANNOTATION]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册