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

xignzi006 发布系统代码

上级 78ffbda2
......@@ -319,6 +319,16 @@
"viewtag": "31f2ad06ced735d250dfa5f309b5aea4",
"memo": ""
},
"leadtabexpview": {
"title": "潜在顾客分页导航视图",
"caption": "潜在顾客",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Sales",
"viewname": "LeadTabExpView",
"viewfilename": "lead-tab-exp-view",
"viewtag": "35728a12ceecb647982051842853547c",
"memo": ""
},
"incidentgridview": {
"title": "案例表格视图",
"caption": "案例",
......
......@@ -169,6 +169,10 @@ export default {
editview: {
caption: "潜在顾客",
title: '潜在顾客编辑视图',
},
tabexpview: {
caption: "潜在顾客",
title: '潜在顾客分页导航视图',
},
quickcreate: {
caption: "快速新建",
......@@ -222,12 +226,10 @@ export default {
uiactions: {
},
},
main_form: {
contactinfo_form: {
details: {
group1: "lead基本信息",
group1: "潜在顾客基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "潜在顾客",
......@@ -236,18 +238,20 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
subject: "主题",
fullname: "姓名",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
jobtitle: "职务",
telephone1: "商务电话",
mobilephone: "移动电话",
emailaddress1: "电子邮件",
leadid: "潜在顾客",
},
uiactions: {
},
},
marketinfo_form: {
companyinfo_form: {
details: {
rawitem1: "",
group1: "潜在顾客基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
......@@ -258,15 +262,19 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
campaignname: "源市场活动",
donotsendmm: "市场营销资料",
lastusedincampaign: "上次市场活动日期",
companyname: "公司名称",
websiteurl: "网站",
address1_postalcode: "邮政编码",
address1_country: "国家/地区",
address1_stateorprovince: "省/直辖市/自治区",
address1_city: "市/县",
address1_line1: "街道",
leadid: "潜在顾客",
},
uiactions: {
},
},
contactinfo_form: {
detailinfo_form: {
details: {
group1: "潜在顾客基本信息",
formpage1: "基本信息",
......@@ -278,20 +286,19 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
subject: "主题",
fullname: "姓名",
jobtitle: "职务",
telephone1: "商务电话",
mobilephone: "移动电话",
emailaddress1: "电子邮件",
description: "说明",
industrycode: "行业",
revenue: "年收入",
numberofemployees: "员工数",
sic: "行业编码",
transactioncurrencyname: "货币",
leadid: "潜在顾客",
},
uiactions: {
},
},
companyinfo_form: {
marketinfo_form: {
details: {
rawitem1: "",
group1: "潜在顾客基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
......@@ -302,22 +309,20 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
companyname: "公司名称",
websiteurl: "网站",
address1_postalcode: "邮政编码",
address1_country: "国家/地区",
address1_stateorprovince: "省/直辖市/自治区",
address1_city: "市/县",
address1_line1: "街道",
campaignname: "源市场活动",
donotsendmm: "市场营销资料",
lastusedincampaign: "上次市场活动日期",
leadid: "潜在顾客",
},
uiactions: {
},
},
detailinfo_form: {
main_form: {
details: {
group1: "潜在顾客基本信息",
group1: "lead基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "潜在顾客",
......@@ -326,12 +331,11 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
description: "说明",
industrycode: "行业",
revenue: "年收入",
numberofemployees: "员工数",
sic: "行业编码",
transactioncurrencyname: "货币",
fullname: "姓名",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
leadid: "潜在顾客",
},
uiactions: {
......
......@@ -168,6 +168,10 @@ export default {
editview: {
caption: '潜在顾客',
title: '潜在顾客编辑视图',
},
tabexpview: {
caption: '潜在顾客',
title: '潜在顾客分页导航视图',
},
quickcreate: {
caption: '快速新建',
......@@ -221,12 +225,10 @@ export default {
uiactions: {
},
},
main_form: {
contactinfo_form: {
details: {
group1: 'lead基本信息',
group1: '潜在顾客基本信息',
formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '潜在顾客',
......@@ -235,18 +237,20 @@ export default {
srfuf: '',
srfdeid: '',
srfsourcekey: '',
subject: '主题',
fullname: '姓名',
createman: '建立人',
createdate: '建立时间',
updateman: '更新人',
updatedate: '更新时间',
jobtitle: '职务',
telephone1: '商务电话',
mobilephone: '移动电话',
emailaddress1: '电子邮件',
leadid: '潜在顾客',
},
uiactions: {
},
},
marketinfo_form: {
companyinfo_form: {
details: {
rawitem1: '',
group1: '潜在顾客基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
......@@ -257,15 +261,19 @@ export default {
srfuf: '',
srfdeid: '',
srfsourcekey: '',
campaignname: '源市场活动',
donotsendmm: '市场营销资料',
lastusedincampaign: '上次市场活动日期',
companyname: '公司名称',
websiteurl: '网站',
address1_postalcode: '邮政编码',
address1_country: '国家/地区',
address1_stateorprovince: '省/直辖市/自治区',
address1_city: '市/县',
address1_line1: '街道',
leadid: '潜在顾客',
},
uiactions: {
},
},
contactinfo_form: {
detailinfo_form: {
details: {
group1: '潜在顾客基本信息',
formpage1: '基本信息',
......@@ -277,20 +285,19 @@ export default {
srfuf: '',
srfdeid: '',
srfsourcekey: '',
subject: '主题',
fullname: '姓名',
jobtitle: '职务',
telephone1: '商务电话',
mobilephone: '移动电话',
emailaddress1: '电子邮件',
description: '说明',
industrycode: '行业',
revenue: '年收入',
numberofemployees: '员工数',
sic: '行业编码',
transactioncurrencyname: '货币',
leadid: '潜在顾客',
},
uiactions: {
},
},
companyinfo_form: {
marketinfo_form: {
details: {
rawitem1: '',
group1: '潜在顾客基本信息',
formpage1: '基本信息',
srfupdatedate: '更新时间',
......@@ -301,22 +308,20 @@ export default {
srfuf: '',
srfdeid: '',
srfsourcekey: '',
companyname: '公司名称',
websiteurl: '网站',
address1_postalcode: '邮政编码',
address1_country: '国家/地区',
address1_stateorprovince: '省/直辖市/自治区',
address1_city: '市/县',
address1_line1: '街道',
campaignname: '源市场活动',
donotsendmm: '市场营销资料',
lastusedincampaign: '上次市场活动日期',
leadid: '潜在顾客',
},
uiactions: {
},
},
detailinfo_form: {
main_form: {
details: {
group1: '潜在顾客基本信息',
group1: 'lead基本信息',
formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '潜在顾客',
......@@ -325,12 +330,11 @@ export default {
srfuf: '',
srfdeid: '',
srfsourcekey: '',
description: '说明',
industrycode: '行业',
revenue: '年收入',
numberofemployees: '员工数',
sic: '行业编码',
transactioncurrencyname: '货币',
fullname: '姓名',
createman: '建立人',
createdate: '建立时间',
updateman: '更新人',
updatedate: '更新时间',
leadid: '潜在顾客',
},
uiactions: {
......
......@@ -263,6 +263,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AccountInfo_All",
"viewtag": "31f2ad06ced735d250dfa5f309b5aea4"
},
"leadtabexpview": {
"title": "潜在顾客分页导航视图",
"caption": "潜在顾客",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Sales",
"viewname": "LeadTabExpView",
"viewtag": "35728a12ceecb647982051842853547c"
},
"incidentgridview": {
"title": "案例表格视图",
"caption": "案例",
......
<template>
<studio-view-style2 viewName="leaddashboardview" viewTitle="潜在顾客数据看板视图" class='deportalview lead-dashboard-view'>
<view_dashboard
:viewState="viewState"
:viewparams="viewparams"
:context="JSON.parse(JSON.stringify(context))"
:isEnableCustomized = "false"
name="dashboard"
ref='dashboard'
@load="dashboard_load($event)"
@closeview="closeView($event)">
</view_dashboard>
</studio-view-style2>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, DashboardViewBase } from '@/studio-core';
import LeadService from '@/service/lead/lead-service';
import PortalViewEngine from '@engine/view/portal-view-engine';
/**
* 潜在顾客数据看板视图视图基类
*
* @export
* @class LeadDashboardViewBase
* @extends {DashboardViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class LeadDashboardViewBase extends DashboardViewBase {
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof LeadDashboardViewBase
*/
protected appEntityService: LeadService = new LeadService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof LeadDashboardViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof LeadDashboardViewBase
*/
protected customViewNavContexts: any = {
'REGARDINGOBJECTID': { isRawValue: false, value: 'lead' },
'REGARDINGOBJECTTYPECODE': { isRawValue: true, value: 'LEAD' }
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof LeadDashboardViewBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof LeadDashboardViewBase
*/
protected model: any = {
srfCaption: 'entities.lead.views.dashboardview.caption',
srfTitle: 'entities.lead.views.dashboardview.title',
srfSubTitle: 'entities.lead.views.dashboardview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof LeadDashboardViewBase
*/
protected containerModel: any = {
view_dashboard: { name: 'dashboard', type: 'DASHBOARD' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadDashboardViewBase
*/
public engine: PortalViewEngine = new PortalViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof LeadDashboardViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
dashboard: this.$refs.dashboard,
keyPSDEField: 'lead',
majorPSDEField: 'fullname',
isLoadDefault: true,
});
}
/**
* dashboard 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadDashboardViewBase
*/
public dashboard_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('dashboard', 'load', $event);
}
}
</script>
<style lang='less'>
@import './lead-dashboard-view.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-dashboard-view {
--lead-dashboard-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import LeadDashboardViewBase from './lead-dashboard-view-base.vue';
import view_dashboard from '@widgets/lead/lead-info-dashboard/lead-info-dashboard.vue';
@Component({
components: {
view_dashboard,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class LeadDashboardView extends LeadDashboardViewBase {
}
</script>
\ No newline at end of file
......@@ -601,7 +601,7 @@ export default class LeadGridViewBase extends GridViewBase {
}
const parameters: any[] = [
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'editview', parameterName: 'editview' },
{ pathName: 'tabexpview', parameterName: 'tabexpview' },
];
const _this: any = this;
const openIndexViewTab = (data: any) => {
......
<template>
<studio-view-style2 viewName="leadinfo_company" viewTitle="潜在顾客编辑视图" class='deeditview lead-info-company'>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, EditViewBase } from '@/studio-core';
import LeadService from '@/service/lead/lead-service';
import EditViewEngine from '@engine/view/edit-view-engine';
/**
* 潜在顾客编辑视图视图基类
*
* @export
* @class LeadInfo_CompanyBase
* @extends {EditViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class LeadInfo_CompanyBase extends EditViewBase {
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof LeadInfo_CompanyBase
*/
protected appEntityService: LeadService = new LeadService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof LeadInfo_CompanyBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof LeadInfo_CompanyBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof LeadInfo_CompanyBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof LeadInfo_CompanyBase
*/
protected model: any = {
srfCaption: 'entities.lead.views.info_company.caption',
srfTitle: 'entities.lead.views.info_company.title',
srfSubTitle: 'entities.lead.views.info_company.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof LeadInfo_CompanyBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadInfo_CompanyBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof LeadInfo_CompanyBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'lead',
majorPSDEField: 'fullname',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_CompanyBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_CompanyBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_CompanyBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
</script>
<style lang='less'>
@import './lead-info-company.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-info-company {
--lead-info-company: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import LeadInfo_CompanyBase from './lead-info-company-base.vue';
import view_form from '@widgets/lead/company-info-form/company-info-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 LeadInfo_Company extends LeadInfo_CompanyBase {
}
</script>
\ No newline at end of file
<template>
<studio-view-style2 viewName="leadinfo_contact" viewTitle="潜在顾客编辑视图" class='deeditview lead-info-contact'>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, EditViewBase } from '@/studio-core';
import LeadService from '@/service/lead/lead-service';
import EditViewEngine from '@engine/view/edit-view-engine';
/**
* 潜在顾客编辑视图视图基类
*
* @export
* @class LeadInfo_ContactBase
* @extends {EditViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class LeadInfo_ContactBase extends EditViewBase {
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof LeadInfo_ContactBase
*/
protected appEntityService: LeadService = new LeadService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof LeadInfo_ContactBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof LeadInfo_ContactBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof LeadInfo_ContactBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof LeadInfo_ContactBase
*/
protected model: any = {
srfCaption: 'entities.lead.views.info_contact.caption',
srfTitle: 'entities.lead.views.info_contact.title',
srfSubTitle: 'entities.lead.views.info_contact.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof LeadInfo_ContactBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadInfo_ContactBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof LeadInfo_ContactBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'lead',
majorPSDEField: 'fullname',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_ContactBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_ContactBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_ContactBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
</script>
<style lang='less'>
@import './lead-info-contact.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-info-contact {
--lead-info-contact: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import LeadInfo_ContactBase from './lead-info-contact-base.vue';
import view_form from '@widgets/lead/contact-info-form/contact-info-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 LeadInfo_Contact extends LeadInfo_ContactBase {
}
</script>
\ No newline at end of file
<template>
<studio-view-style2 viewName="leadinfo_detail" viewTitle="潜在顾客编辑视图" class='deeditview lead-info-detail'>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, EditViewBase } from '@/studio-core';
import LeadService from '@/service/lead/lead-service';
import EditViewEngine from '@engine/view/edit-view-engine';
/**
* 潜在顾客编辑视图视图基类
*
* @export
* @class LeadInfo_DetailBase
* @extends {EditViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class LeadInfo_DetailBase extends EditViewBase {
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof LeadInfo_DetailBase
*/
protected appEntityService: LeadService = new LeadService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof LeadInfo_DetailBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof LeadInfo_DetailBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof LeadInfo_DetailBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof LeadInfo_DetailBase
*/
protected model: any = {
srfCaption: 'entities.lead.views.info_detail.caption',
srfTitle: 'entities.lead.views.info_detail.title',
srfSubTitle: 'entities.lead.views.info_detail.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof LeadInfo_DetailBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadInfo_DetailBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof LeadInfo_DetailBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'lead',
majorPSDEField: 'fullname',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_DetailBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_DetailBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_DetailBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
</script>
<style lang='less'>
@import './lead-info-detail.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-info-detail {
--lead-info-detail: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import LeadInfo_DetailBase from './lead-info-detail-base.vue';
import view_form from '@widgets/lead/detail-info-form/detail-info-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 LeadInfo_Detail extends LeadInfo_DetailBase {
}
</script>
\ No newline at end of file
<template>
<studio-view-style2 viewName="leadinfo_market" viewTitle="潜在顾客编辑视图" class='deeditview lead-info-market'>
<view_form
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:autosave="false"
:viewtag="viewtag"
:showBusyIndicator="true"
updateAction="Update"
removeAction="Remove"
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
WFSubmitAction=""
WFStartAction=""
style=''
name="form"
ref='form'
@save="form_save($event)"
@remove="form_remove($event)"
@load="form_load($event)"
@closeview="closeView($event)">
</view_form>
</studio-view-style2>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, EditViewBase } from '@/studio-core';
import LeadService from '@/service/lead/lead-service';
import EditViewEngine from '@engine/view/edit-view-engine';
/**
* 潜在顾客编辑视图视图基类
*
* @export
* @class LeadInfo_MarketBase
* @extends {EditViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class LeadInfo_MarketBase extends EditViewBase {
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof LeadInfo_MarketBase
*/
protected appEntityService: LeadService = new LeadService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof LeadInfo_MarketBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof LeadInfo_MarketBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof LeadInfo_MarketBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof LeadInfo_MarketBase
*/
protected model: any = {
srfCaption: 'entities.lead.views.info_market.caption',
srfTitle: 'entities.lead.views.info_market.title',
srfSubTitle: 'entities.lead.views.info_market.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof LeadInfo_MarketBase
*/
protected containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadInfo_MarketBase
*/
public engine: EditViewEngine = new EditViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof LeadInfo_MarketBase
*/
public engineInit(): void {
this.engine.init({
view: this,
form: this.$refs.form,
p2k: '0',
keyPSDEField: 'lead',
majorPSDEField: 'fullname',
isLoadDefault: true,
});
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_MarketBase
*/
public form_save($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'save', $event);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_MarketBase
*/
public form_remove($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'remove', $event);
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof LeadInfo_MarketBase
*/
public form_load($event: any, $event2?: any): void {
this.engine.onCtrlEvent('form', 'load', $event);
}
}
</script>
<style lang='less'>
@import './lead-info-market.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-info-market {
--lead-info-market: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import LeadInfo_MarketBase from './lead-info-market-base.vue';
import view_form from '@widgets/lead/market-info-form/market-info-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 LeadInfo_Market extends LeadInfo_MarketBase {
}
</script>
\ No newline at end of file
<template>
<studio-view-style2 viewName="leadtabexpview" viewTitle="潜在顾客分页导航视图" class='detabexpview lead-tab-exp-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_tabexppanel
:viewState="viewState"
:viewparams="viewparams"
:context="context"
name="tabexppanel"
ref='tabexppanel'
@closeview="closeView($event)">
</view_tabexppanel>
</studio-view-style2>
</template>
<script lang='tsx'>
import { Component, Prop, Provide, Emit, Watch } from 'vue-property-decorator';
import { Subject } from 'rxjs';
import { UIActionTool, Util } from '@/utils';
import { VueLifeCycleProcessing, TabExpViewBase } from '@/studio-core';
import LeadService from '@/service/lead/lead-service';
import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
/**
* 潜在顾客分页导航视图视图基类
*
* @export
* @class LeadTabExpViewBase
* @extends {TabExpViewBase}
*/
@Component({})
@VueLifeCycleProcessing()
export default class LeadTabExpViewBase extends TabExpViewBase {
/**
* 实体服务对象
*
* @type {LeadService}
* @memberof LeadTabExpViewBase
*/
protected appEntityService: LeadService = new LeadService;
/**
* 计数器服务对象集合
*
* @protected
* @type {Array<*>}
* @memberof LeadTabExpViewBase
*/
protected counterServiceArray: Array<any> = [];
/**
* 自定义视图导航上下文集合
*
* @protected
* @type {*}
* @memberof LeadTabExpViewBase
*/
protected customViewNavContexts: any = {
};
/**
* 自定义视图导航参数集合
*
* @protected
* @type {*}
* @memberof LeadTabExpViewBase
*/
protected customViewParams: any = {
};
/**
* 视图模型数据
*
* @protected
* @type {*}
* @memberof LeadTabExpViewBase
*/
protected model: any = {
srfCaption: 'entities.lead.views.tabexpview.caption',
srfTitle: 'entities.lead.views.tabexpview.title',
srfSubTitle: 'entities.lead.views.tabexpview.subtitle',
dataInfo: ''
}
/**
* 容器模型
*
* @protected
* @type {*}
* @memberof LeadTabExpViewBase
*/
protected containerModel: any = {
view_tabexppanel: { name: 'tabexppanel', type: 'TABEXPPANEL' },
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadTabExpViewBase
*/
public engine: TabExpViewEngine = new TabExpViewEngine();
/**
* 引擎初始化
*
* @public
* @memberof LeadTabExpViewBase
*/
public engineInit(): void {
this.engine.init({
view: this,
keyPSDEField: 'lead',
majorPSDEField: 'fullname',
isLoadDefault: true,
});
}
/**
* 加载模型
*
* @protected
* @memberof LeadTabExpViewBase
*/
protected async loadModel(): Promise<any> {
if(this.context.lead){
this.appEntityService.getDataInfo(JSON.parse(JSON.stringify(this.context)),{},false).then((response:any) =>{
if (!response || response.status !== 200) {
return;
}
const { data: _data } = response;
if (_data.fullname) {
Object.assign(this.model, { dataInfo: _data.fullname });
if (this.$tabPageExp) {
this.$tabPageExp.setCurPageCaption(this.model.srfTitle, this.model.srfTitle, this.model.dataInfo);
}
if(this.$route){
this.$route.meta.info = this.model.dataInfo;
}
Object.assign(this.model, { srfTitle: `${this.$t(this.model.srfTitle)} - ${this.model.dataInfo}` });
}
})
}
}
}
</script>
<style lang='less'>
@import './lead-tab-exp-view.less';
</style>
\ No newline at end of file
// 避免空文件,后台不让空文件过
.lead-tab-exp-view {
--lead-tab-exp-view: 0;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import LeadTabExpViewBase from './lead-tab-exp-view-base.vue';
import view_tabexppanel from '@widgets/lead/tab-exp-viewtabexppanel-tabexppanel/tab-exp-viewtabexppanel-tabexppanel.vue';
@Component({
components: {
view_tabexppanel,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
vm.$store.commit('addCurPageViewtag', { route: to, viewtag: vm.viewtag });
});
},
})
export default class LeadTabExpView extends LeadTabExpViewBase {
}
</script>
\ No newline at end of file
......@@ -151,7 +151,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'2e17cb1d009dd49ac529319ac15319cd',
'35728a12ceecb647982051842853547c',
'4745ca10fe4421ea043cb9ace1840224',
],
},
......@@ -232,15 +232,6 @@ export const viewstate: any = {
'8d3e0363ae4532310000143fd6d61aae',
],
},
{
viewtag: '2e17cb1d009dd49ac529319ac15319cd',
viewmodule: 'Sales',
viewname: 'LeadEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '2e9c7792c3a728896ca8902634f71983',
viewmodule: 'Base',
......@@ -295,6 +286,17 @@ export const viewstate: any = {
'688201ee5642d41628dbf4deba002d17',
],
},
{
viewtag: '35728a12ceecb647982051842853547c',
viewmodule: 'Sales',
viewname: 'LeadTabExpView',
viewaction: '',
viewdatachange: false,
refviews: [
'bae77557d2f7a7852b634dc5d5a93435',
'b5ff54b0672efd3222a44d81f4e7362e',
],
},
{
viewtag: '3a665de6a3970b95fde436c0fea4b1df',
viewmodule: 'Service',
......@@ -379,6 +381,15 @@ export const viewstate: any = {
'a1b44c891ef0bbc073c82693d8489de6',
],
},
{
viewtag: '49e5e89fb51fa9929925b532841b2549',
viewmodule: 'Sales',
viewname: 'LeadInfo_Market',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '51785f69973d8e6b0b1e002a03626fc7',
viewmodule: 'Marketing',
......@@ -559,6 +570,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '795099de0273f3172b18315bc3dae5e1',
viewmodule: 'Sales',
viewname: 'LeadInfo_Contact',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '7b7560b6d508b7bb0447d3204ed1c8be',
viewmodule: 'Marketing',
......@@ -768,6 +788,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'a53ca3c6c3f107b2d0c1a60e6ab3679e',
viewmodule: 'Sales',
viewname: 'LeadInfo_Company',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'a69ba7dd2f8bdac8a3c733dcc79c0ee5',
viewmodule: 'Base',
......@@ -875,6 +904,23 @@ export const viewstate: any = {
'a5213905238dbc5d8e1a505029105cc9',
],
},
{
viewtag: 'b5ff54b0672efd3222a44d81f4e7362e',
viewmodule: 'Sales',
viewname: 'LeadDashboardView',
viewaction: '',
viewdatachange: false,
refviews: [
'aa79d35850f36fbc1a5085353ecd5af5',
'a53ca3c6c3f107b2d0c1a60e6ab3679e',
'c0f2529b17654edda5f85a28635e353c',
'49e5e89fb51fa9929925b532841b2549',
'795099de0273f3172b18315bc3dae5e1',
'a95d7d9111bc13a8b73a11ee1e4ff92a',
'893e62d6fbdc4580de7e3e802aec9108',
'a5213905238dbc5d8e1a505029105cc9',
],
},
{
viewtag: 'b6b6215e439e78cdf6959b6f45bd7927',
viewmodule: 'Base',
......@@ -905,6 +951,15 @@ export const viewstate: any = {
'a5213905238dbc5d8e1a505029105cc9',
],
},
{
viewtag: 'c0f2529b17654edda5f85a28635e353c',
viewmodule: 'Sales',
viewname: 'LeadInfo_Detail',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'c7d0ca0f6fa1b27bbd1b5c422d1a108d',
viewmodule: 'Marketing',
......
......@@ -82,6 +82,7 @@ export default class LeadUIServiceBase extends UIService {
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'leads'});
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'leads'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'leads'});
this.allViewMap.set(':',{viewname:'tabexpview',srfappde:'leads'});
this.allViewMap.set(':',{viewname:'quickcreate',srfappde:'leads'});
this.allViewMap.set(':',{viewname:'info_market',srfappde:'leads'});
this.allViewMap.set(':',{viewname:'info_contact',srfappde:'leads'});
......
......@@ -2,7 +2,7 @@
<div :class="['app-list', this.items.length > 0 ? '' : 'app-list-empty' ]">
<div v-if="items.length > 0" style="height:100%;">
<div v-for = "item in items" :key="item.srfkey" :class="['app-list-item', {'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)">
<layout_dashboard_sysportlet4_list_itempanel name='dashboard_sysportlet4_list_itempanel' :inputData="item" :parentRef="thisRef"></layout_dashboard_sysportlet4_list_itempanel>
<layout_dashboard_sysportlet2_list_itempanel name='dashboard_sysportlet2_list_itempanel' :inputData="item" :parentRef="thisRef"></layout_dashboard_sysportlet2_list_itempanel>
</div>
</div>
<div v-else>
......@@ -388,7 +388,7 @@ export default class ByParentKeyBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: '错误', desc: 'CampaignSummary视图列表fetchAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadDashboardView视图列表fetchAction参数未配置' });
return;
}
const arg: any = {...opt};
......@@ -452,7 +452,7 @@ export default class ByParentKeyBase extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: '错误', desc: 'CampaignSummary视图表格removeAction参数未配置' });
this.$Notice.error({ title: '错误', desc: 'LeadDashboardView视图表格removeAction参数未配置' });
return;
}
if (datas.length === 0) {
......
......@@ -10,7 +10,7 @@ export default class ByParentKeyModel {
* 获取数据项集合
*
* @returns {any[]}
* @memberof ByParentKeyDashboard_sysportlet4_listMode
* @memberof ByParentKeyDashboard_sysportlet2_listMode
*/
public getDataItems(): any[] {
return [
......
......@@ -2,11 +2,11 @@
import { Component } from 'vue-property-decorator';
import ByParentKeyBase from './by-parent-key-list-base.vue';
import layout_dashboard_sysportlet4_list_itempanel from '@widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.vue';
import layout_dashboard_sysportlet2_list_itempanel from '@widgets/activity-pointer/by-regarding-object-id-panel/by-regarding-object-id-panel.vue';
@Component({
components: {
layout_dashboard_sysportlet4_list_itempanel,
layout_dashboard_sysportlet2_list_itempanel,
}
})
......
......@@ -26,7 +26,7 @@
</p>
<div class="portlet-with-title">
<!-- 测试 -->
<view_dashboard_sysportlet4_list
<view_dashboard_sysportlet2_list
:viewState="viewState"
:viewparams="viewparams"
:context="context"
......@@ -35,10 +35,10 @@
updateAction="Update"
fetchAction="FetchByParentKey"
:showBusyIndicator="true"
name="dashboard_sysportlet4_list"
ref='dashboard_sysportlet4_list'
name="dashboard_sysportlet2_list"
ref='dashboard_sysportlet2_list'
@closeview="closeView($event)">
</view_dashboard_sysportlet4_list>
</view_dashboard_sysportlet2_list>
</div>
</div>
</template>
......@@ -151,7 +151,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet4_u222531e_click(params: any = {}, tag?: any, $event?: any) {
public dashboard_sysportlet2_u222531e_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -179,7 +179,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet4_ue577d64_click(params: any = {}, tag?: any, $event?: any) {
public dashboard_sysportlet2_ue577d64_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -207,7 +207,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet4_u654c060_click(params: any = {}, tag?: any, $event?: any) {
public dashboard_sysportlet2_u654c060_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -235,7 +235,7 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
* @param {*} [$event]
* @memberof
*/
public dashboard_sysportlet4_u7019ad0_click(params: any = {}, tag?: any, $event?: any) {
public dashboard_sysportlet2_u7019ad0_click(params: any = {}, tag?: any, $event?: any) {
// 取数
let datas: any[] = [];
let xData: any = null;
......@@ -385,16 +385,16 @@ export default class ActivityPointerList_ByParentKeyBase extends Vue implements
*/
public uiAction(tag:string,event:any){
if(Object.is(tag,'u222531e')){
this.dashboard_sysportlet4_u222531e_click(null,tag,event);
this.dashboard_sysportlet2_u222531e_click(null,tag,event);
}
if(Object.is(tag,'ue577d64')){
this.dashboard_sysportlet4_ue577d64_click(null,tag,event);
this.dashboard_sysportlet2_ue577d64_click(null,tag,event);
}
if(Object.is(tag,'u654c060')){
this.dashboard_sysportlet4_u654c060_click(null,tag,event);
this.dashboard_sysportlet2_u654c060_click(null,tag,event);
}
if(Object.is(tag,'u7019ad0')){
this.dashboard_sysportlet4_u7019ad0_click(null,tag,event);
this.dashboard_sysportlet2_u7019ad0_click(null,tag,event);
}
}
......
......@@ -2,12 +2,12 @@
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import ActivityPointerList_ByParentKeyBase from './list-by-parent-key-portlet-base.vue';
import view_dashboard_sysportlet4_list from '@widgets/activity-pointer/by-parent-key-list/by-parent-key-list.vue';
import view_dashboard_sysportlet2_list from '@widgets/activity-pointer/by-parent-key-list/by-parent-key-list.vue';
@Component({
components: {
view_dashboard_sysportlet4_list,
view_dashboard_sysportlet2_list,
}
})
......
/**
* CompanyInfo 部件模型
*
* @export
* @class CompanyInfoModel
*/
export default class CompanyInfoModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof CompanyInfoModel
*/
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: 'leadid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'companyname',
prop: 'companyname',
dataType: 'TEXT',
},
{
name: 'websiteurl',
prop: 'websiteurl',
dataType: 'TEXT',
},
{
name: 'address1_postalcode',
prop: 'address1_postalcode',
dataType: 'TEXT',
},
{
name: 'address1_country',
prop: 'address1_country',
dataType: 'TEXT',
},
{
name: 'address1_stateorprovince',
prop: 'address1_stateorprovince',
dataType: 'TEXT',
},
{
name: 'address1_city',
prop: 'address1_city',
dataType: 'TEXT',
},
{
name: 'address1_line1',
prop: 'address1_line1',
dataType: 'TEXT',
},
{
name: 'leadid',
prop: 'leadid',
dataType: 'GUID',
},
{
name: 'lead',
prop: 'leadid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import CompanyInfoBase from './company-info-form-base.vue';
@Component({
components: {
}
})
export default class CompanyInfo extends CompanyInfoBase {
}
</script>
\ No newline at end of file
/**
* ContactInfo 部件模型
*
* @export
* @class ContactInfoModel
*/
export default class ContactInfoModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof ContactInfoModel
*/
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: 'leadid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'subject',
prop: 'subject',
dataType: 'TEXT',
},
{
name: 'fullname',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'jobtitle',
prop: 'jobtitle',
dataType: 'TEXT',
},
{
name: 'telephone1',
prop: 'telephone1',
dataType: 'TEXT',
},
{
name: 'mobilephone',
prop: 'mobilephone',
dataType: 'TEXT',
},
{
name: 'emailaddress1',
prop: 'emailaddress1',
dataType: 'TEXT',
},
{
name: 'leadid',
prop: 'leadid',
dataType: 'GUID',
},
{
name: 'lead',
prop: 'leadid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import ContactInfoBase from './contact-info-form-base.vue';
@Component({
components: {
}
})
export default class ContactInfo extends ContactInfoBase {
}
</script>
\ No newline at end of file
/**
* DetailInfo 部件模型
*
* @export
* @class DetailInfoModel
*/
export default class DetailInfoModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DetailInfoModel
*/
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: 'leadid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'description',
prop: 'description',
dataType: 'TEXT',
},
{
name: 'industrycode',
prop: 'industrycode',
dataType: 'SSCODELIST',
},
{
name: 'revenue',
prop: 'revenue',
dataType: 'BIGDECIMAL',
},
{
name: 'numberofemployees',
prop: 'numberofemployees',
dataType: 'INT',
},
{
name: 'sic',
prop: 'sic',
dataType: 'TEXT',
},
{
name: 'transactioncurrencyname',
prop: 'transactioncurrencyname',
dataType: 'PICKUPTEXT',
},
{
name: 'leadid',
prop: 'leadid',
dataType: 'GUID',
},
{
name: 'lead',
prop: 'leadid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DetailInfoBase from './detail-info-form-base.vue';
@Component({
components: {
}
})
export default class DetailInfo extends DetailInfoBase {
}
</script>
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* LeadInfo 部件服务对象
*
* @export
* @class LeadInfoService
*/
export default class LeadInfoService extends ControlService {
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import LeadInfoBase from './lead-info-dashboard-base.vue';
import view_dashboard_sysportlet4 from '@widgets/lead/view-lead-detail-portlet/view-lead-detail-portlet.vue';
import view_dashboard_sysportlet5 from '@widgets/lead/view-lead-market-portlet/view-lead-market-portlet.vue';
import view_dashboard_sysportlet2 from '@widgets/activity-pointer/list-by-parent-key-portlet/list-by-parent-key-portlet.vue';
import view_dashboard_sysportlet3 from '@widgets/lead/view-lead-com-portlet/view-lead-com-portlet.vue';
import view_dashboard_sysportlet1 from '@widgets/lead/view-lead-con-portlet/view-lead-con-portlet.vue';
@Component({
components: {
view_dashboard_sysportlet4,
view_dashboard_sysportlet5,
view_dashboard_sysportlet2,
view_dashboard_sysportlet3,
view_dashboard_sysportlet1,
}
})
export default class LeadInfo extends LeadInfoBase {
}
</script>
\ No newline at end of file
/**
* MarketInfo 部件模型
*
* @export
* @class MarketInfoModel
*/
export default class MarketInfoModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MarketInfoModel
*/
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: 'leadid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'campaignname',
prop: 'campaignname',
dataType: 'PICKUPTEXT',
},
{
name: 'donotsendmm',
prop: 'donotsendmm',
dataType: 'YESNO',
},
{
name: 'lastusedincampaign',
prop: 'lastusedincampaign',
dataType: 'DATETIME',
},
{
name: 'leadid',
prop: 'leadid',
dataType: 'GUID',
},
{
name: 'lead',
prop: 'leadid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MarketInfoBase from './market-info-form-base.vue';
@Component({
components: {
}
})
export default class MarketInfo extends MarketInfoBase {
}
</script>
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import LeadService from '@/service/lead/lead-service';
import TabExpViewtabexppanelModel from './tab-exp-viewtabexppanel-tabexppanel-model';
/**
* TabExpViewtabexppanel 部件服务对象
*
* @export
* @class TabExpViewtabexppanelService
*/
export default class TabExpViewtabexppanelService extends ControlService {
/**
* 潜在顾客服务对象
*
* @type {LeadService}
* @memberof TabExpViewtabexppanelService
*/
public appEntityService: LeadService = new LeadService({ $store: this.getStore() });
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof TabExpViewtabexppanelService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of TabExpViewtabexppanelService.
*
* @param {*} [opts={}]
* @memberof TabExpViewtabexppanelService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new TabExpViewtabexppanelModel();
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TabExpViewtabexppanelBase from './tab-exp-viewtabexppanel-tabexppanel-base.vue';
import view_tabviewpanel from '@widgets/lead/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/lead/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue';
@Component({
components: {
view_tabviewpanel,
view_tabviewpanel2,
}
})
export default class TabExpViewtabexppanel extends TabExpViewtabexppanelBase {
}
</script>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册