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

xignzi006 发布系统代码

上级 bcb75510
.option-view {
--option-view: 0;
}
// 避免空文件,后台不让空文件过
.campaign-response-quick-create {
--campaign-response-quick-create: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import CampaignResponseQuickCreateBase from './campaign-response-quick-create-base.vue';
import view_form from '@widgets/campaign-response/quick-create-form/quick-create-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class CampaignResponseQuickCreate extends CampaignResponseQuickCreateBase {
}
</script>
\ No newline at end of file
......@@ -49,7 +49,6 @@ 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'));
......@@ -72,6 +71,7 @@ export const PageComponents = {
Vue.component('campaign-summary-head', () => import('@pages/marketing/campaign-summary-head/campaign-summary-head.vue'));
Vue.component('contact-info-detail', () => import('@pages/base/contact-info-detail/contact-info-detail.vue'));
Vue.component('account-edit-account-info', () => import('@pages/base/account-edit-account-info/account-edit-account-info.vue'));
Vue.component('campaign-response-quick-create', () => import('@pages/marketing/campaign-response-quick-create/campaign-response-quick-create.vue'));
Vue.component('contact-info-abstract', () => import('@pages/base/contact-info-abstract/contact-info-abstract.vue'));
Vue.component('campaign-summary', () => import('@pages/marketing/campaign-summary/campaign-summary.vue'));
Vue.component('contact-pickup-view', () => import('@pages/base/contact-pickup-view/contact-pickup-view.vue'));
......
......@@ -1638,6 +1638,19 @@ const router = new Router({
},
component: () => import('@pages/sales/goal-edit-view/goal-edit-view.vue'),
},
{
path: '/campaignresponses/:campaignresponse?/quickcreate/:quickcreate?',
meta: {
caption: 'entities.campaignresponse.views.quickcreate.title',
info:'',
parameters: [
{ pathName: 'campaignresponses', parameterName: 'campaignresponse' },
{ pathName: 'quickcreate', parameterName: 'quickcreate' },
],
requireAuth: true,
},
component: () => import('@pages/marketing/campaign-response-quick-create/campaign-response-quick-create.vue'),
},
{
path: '/opportunities/:opportunity?/editview/:editview?',
meta: {
......@@ -1884,6 +1897,19 @@ 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: {
......
......@@ -402,6 +402,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '7b7560b6d508b7bb0447d3204ed1c8be',
viewmodule: 'Marketing',
viewname: 'CampaignResponseQuickCreate',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '7bf35293fd1d9db7816755a74c4d575e',
viewmodule: 'Sales',
......@@ -606,6 +615,15 @@ export const viewstate: any = {
'573c48d02ab5eef37c4cf701be87fcb5',
],
},
{
viewtag: 'b3cfac5362b3bfb70d1471932f120fa5',
viewmodule: 'Marketing',
viewname: 'CampaignResponseEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'b53373df8bf30a970e738602c7a83666',
viewmodule: 'Marketing',
......
/**
* QuickCreate 部件模型
*
* @export
* @class QuickCreateModel
*/
export default class QuickCreateModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof QuickCreateModel
*/
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: 'activityid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'subject',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'subject',
prop: 'subject',
dataType: 'TEXT',
},
{
name: 'regardingobjectid',
prop: 'regardingobjectid',
dataType: 'TEXT',
},
{
name: 'activityid',
prop: 'activityid',
dataType: 'GUID',
},
{
name: 'campaignresponse',
prop: 'activityid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import QuickCreateBase from './quick-create-form-base.vue';
@Component({
components: {
}
})
export default class QuickCreate extends QuickCreateBase {
}
</script>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册