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

xignzi006 发布系统代码

上级 4ca5e726
......@@ -100,12 +100,10 @@ export default {
title: 'campaignresponse编辑视图',
},
},
main_form: {
quickcreate_form: {
details: {
group1: "campaignresponse基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "市场活动响应",
......@@ -115,19 +113,18 @@ export default {
srfdeid: "",
srfsourcekey: "",
subject: "主题",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
regardingobjectid: "上级市场活动",
activityid: "市场活动响应",
},
uiactions: {
},
},
quickcreate_form: {
main_form: {
details: {
group1: "campaignresponse基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "市场活动响应",
......@@ -137,7 +134,10 @@ export default {
srfdeid: "",
srfsourcekey: "",
subject: "主题",
regardingobjectid: "上级市场活动",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
activityid: "市场活动响应",
},
uiactions: {
......
......@@ -99,12 +99,10 @@ export default {
title: 'campaignresponse编辑视图',
},
},
main_form: {
quickcreate_form: {
details: {
group1: 'campaignresponse基本信息',
formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '市场活动响应',
......@@ -114,19 +112,18 @@ export default {
srfdeid: '',
srfsourcekey: '',
subject: '主题',
createman: '建立人',
createdate: '建立时间',
updateman: '更新人',
updatedate: '更新时间',
regardingobjectid: '上级市场活动',
activityid: '市场活动响应',
},
uiactions: {
},
},
quickcreate_form: {
main_form: {
details: {
group1: 'campaignresponse基本信息',
formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '市场活动响应',
......@@ -136,7 +133,10 @@ export default {
srfdeid: '',
srfsourcekey: '',
subject: '主题',
regardingobjectid: '上级市场活动',
createman: '建立人',
createdate: '建立时间',
updateman: '更新人',
updatedate: '更新时间',
activityid: '市场活动响应',
},
uiactions: {
......
......@@ -933,16 +933,28 @@ export default class CampaignResponseByParentKeyBase extends Vue {
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'campaignresponses', parameterName: 'campaignresponse' },
{ pathName: 'editview', parameterName: 'editview' },
];
const _this: any = this;
const openIndexViewTab = (data: any) => {
const _data: any = { w: (new Date().getTime()) };
Object.assign(_data, data);
const routePath = this.$viewTool.buildUpRoutePath(this.$route, tempContext, deResParameters, parameters, args, _data);
this.$router.push(routePath);
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = this.$appdrawer.openDrawer(view, tempContext, data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
}
openIndexViewTab(data);
const view: any = {
viewname: 'campaign-response-quick-create',
height: 0,
width: 450,
title: this.$t('entities.campaignresponse.views.quickcreate.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
}
......@@ -967,14 +979,28 @@ export default class CampaignResponseByParentKeyBase extends Vue {
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'campaignresponses', parameterName: 'campaignresponse' },
{ pathName: 'editview', parameterName: 'editview' },
];
const _this: any = this;
const openIndexViewTab = (data: any) => {
const routePath = this.$viewTool.buildUpRoutePath(this.$route, tempContext, deResParameters, parameters, args, data);
this.$router.push(routePath);
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = this.$appdrawer.openDrawer(view, tempContext, data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
}
openIndexViewTab(data);
const view: any = {
viewname: 'campaign-response-quick-create',
height: 0,
width: 450,
title: this.$t('entities.campaignresponse.views.quickcreate.title'),
placement: 'DRAWER_RIGHT',
};
openDrawer(view, data);
}
......
......@@ -49,6 +49,7 @@ export const PageComponents = {
Vue.component('contact-by-account', () => import('@pages/base/contact-by-account/contact-by-account.vue'));
Vue.component('product-grid-view', () => import('@pages/product/product-grid-view/product-grid-view.vue'));
Vue.component('sales-literature-edit-view', () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'));
Vue.component('campaign-response-quick-create', () => import('@pages/marketing/campaign-response-quick-create/campaign-response-quick-create.vue'));
Vue.component('account-pickup-grid-view', () => import('@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'));
Vue.component('product-edit-quick-create', () => import('@pages/product/product-edit-quick-create/product-edit-quick-create.vue'));
Vue.component('account-info', () => import('@pages/base/account-info/account-info.vue'));
......
......@@ -777,6 +777,20 @@ const router = new Router({
},
component: () => import('@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'),
},
{
path: 'campaignresponses/:campaignresponse?/quickcreate/:quickcreate?',
meta: {
caption: 'entities.campaignresponse.views.quickcreate.title',
info:'',
parameters: [
{ pathName: 'central', parameterName: 'central' },
{ pathName: 'campaignresponses', parameterName: 'campaignresponse' },
{ pathName: 'quickcreate', parameterName: 'quickcreate' },
],
requireAuth: true,
},
component: () => import('@pages/marketing/campaign-response-quick-create/campaign-response-quick-create.vue'),
},
{
path: 'accounts/:account?/pickupgridview/:pickupgridview?',
meta: {
......@@ -1870,19 +1884,6 @@ const router = new Router({
},
component: () => import('@pages/product/product-grid-view/product-grid-view.vue'),
},
{
path: '/campaignresponses/:campaignresponse?/editview/:editview?',
meta: {
caption: 'entities.campaignresponse.views.editview.title',
info:'',
parameters: [
{ pathName: 'campaignresponses', parameterName: 'campaignresponse' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue'),
},
{
path: '/campaigns/:campaign?/summary/:summary?',
meta: {
......
......@@ -89,7 +89,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'b3cfac5362b3bfb70d1471932f120fa5',
'7b7560b6d508b7bb0447d3204ed1c8be',
],
},
{
......@@ -606,15 +606,6 @@ export const viewstate: any = {
'573c48d02ab5eef37c4cf701be87fcb5',
],
},
{
viewtag: 'b3cfac5362b3bfb70d1471932f120fa5',
viewmodule: 'Marketing',
viewname: 'CampaignResponseEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'b53373df8bf30a970e738602c7a83666',
viewmodule: 'Marketing',
......
......@@ -5008,7 +5008,7 @@
<!--输出实体[CAMPAIGNACTIVITY]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-campaignactivity-20-56">
<changeSet author="a_LAB01_e85d8801c" id="tab-campaignactivity-23-56">
<createTable tableName="CAMPAIGNACTIVITY">
<column name="STATUSCODE" remarks="" type="INT">
</column>
......@@ -5998,7 +5998,7 @@
<!--输出实体[CAMPAIGNRESPONSE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-campaignresponse-17-67">
<changeSet author="a_LAB01_e85d8801c" id="tab-campaignresponse-25-67">
<createTable tableName="CAMPAIGNRESPONSE">
<column name="REGARDINGOBJECTTYPECODE" remarks="" type="VARCHAR(100)">
</column>
......@@ -11121,7 +11121,7 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="SERVICEAPPOINTMENT" constraintName="DER1N_SERVICEAPPOINTMENT__TRAN" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[CAMPAIGNACTIVITY]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-campaignactivity-20-260">
<changeSet author="a_LAB01_e85d8801c" id="fk-campaignactivity-23-260">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="CAMPAIGNACTIVITY" constraintName="DER1N_CAMPAIGNACTIVITY__SLA__S" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet>
<!--输出实体[ENTITLEMENTTEMPLATE]外键关系 -->
......@@ -11216,10 +11216,10 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="POSITION" constraintName="DER1N_POSITION__TRANSACTIONCUR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[CAMPAIGNRESPONSE]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-campaignresponse-17-291">
<changeSet author="a_LAB01_e85d8801c" id="fk-campaignresponse-25-291">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="CAMPAIGNRESPONSE" constraintName="DER1N_CAMPAIGNRESPONSE__SLA__S" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-campaignresponse-17-292">
<changeSet author="a_LAB01_e85d8801c" id="fk-campaignresponse-25-292">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="CAMPAIGNRESPONSE" constraintName="DER1N_CAMPAIGNRESPONSE__TRANSA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[BOOKABLERESGROUP]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册