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

xignzi006 发布系统代码

上级 fda5856e
......@@ -113,44 +113,6 @@ export default {
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
byparentkeytoolbar_toolbar: {
items1: {
caption: "新建",
......@@ -189,4 +151,42 @@ export default {
tip: "Remove {0}",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "",
},
tbitem7: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
tbitem8: {
caption: "-",
tip: "",
},
tbitem12: {
caption: "New",
tip: "New",
},
tbitem13: {
caption: "-",
tip: "",
},
tbitem14: {
caption: "Copy",
tip: "Copy {0}",
},
},
};
\ No newline at end of file
......@@ -112,44 +112,6 @@ export default {
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: '保存',
tip: '保存',
},
tbitem4: {
caption: '保存并新建',
tip: '保存并新建',
},
tbitem5: {
caption: '保存并关闭',
tip: '保存并关闭',
},
tbitem6: {
caption: '-',
tip: '',
},
tbitem7: {
caption: '删除并关闭',
tip: '删除并关闭',
},
tbitem8: {
caption: '-',
tip: '',
},
tbitem12: {
caption: '新建',
tip: '新建',
},
tbitem13: {
caption: '-',
tip: '',
},
tbitem14: {
caption: '拷贝',
tip: '拷贝',
},
},
byparentkeytoolbar_toolbar: {
items1: {
caption: '新建',
......@@ -188,4 +150,42 @@ export default {
tip: '删除',
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: '保存',
tip: '保存',
},
tbitem4: {
caption: '保存并新建',
tip: '保存并新建',
},
tbitem5: {
caption: '保存并关闭',
tip: '保存并关闭',
},
tbitem6: {
caption: '-',
tip: '',
},
tbitem7: {
caption: '删除并关闭',
tip: '删除并关闭',
},
tbitem8: {
caption: '-',
tip: '',
},
tbitem12: {
caption: '新建',
tip: '新建',
},
tbitem13: {
caption: '-',
tip: '',
},
tbitem14: {
caption: '拷贝',
tip: '拷贝',
},
},
};
\ No newline at end of file
......@@ -100,10 +100,12 @@ export default {
title: 'campaignresponse编辑视图',
},
},
quickcreate_form: {
main_form: {
details: {
group1: "campaignresponse基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "市场活动响应",
......@@ -113,18 +115,19 @@ export default {
srfdeid: "",
srfsourcekey: "",
subject: "主题",
regardingobjectid: "关于",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
activityid: "市场活动响应",
},
uiactions: {
},
},
main_form: {
quickcreate_form: {
details: {
group1: "campaignresponse基本信息",
formpage1: "基本信息",
group2: "操作信息",
formpage2: "其它",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "市场活动响应",
......@@ -134,10 +137,7 @@ export default {
srfdeid: "",
srfsourcekey: "",
subject: "主题",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
updatedate: "更新时间",
regardingobjectid: "关于",
activityid: "市场活动响应",
},
uiactions: {
......@@ -159,44 +159,6 @@ export default {
uiactions: {
},
},
byparentkeytoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
......@@ -235,4 +197,42 @@ export default {
tip: "Copy {0}",
},
},
byparentkeytoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
};
\ No newline at end of file
......@@ -99,10 +99,12 @@ export default {
title: 'campaignresponse编辑视图',
},
},
quickcreate_form: {
main_form: {
details: {
group1: 'campaignresponse基本信息',
formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '市场活动响应',
......@@ -112,18 +114,19 @@ export default {
srfdeid: '',
srfsourcekey: '',
subject: '主题',
regardingobjectid: '关于',
createman: '建立人',
createdate: '建立时间',
updateman: '更新人',
updatedate: '更新时间',
activityid: '市场活动响应',
},
uiactions: {
},
},
main_form: {
quickcreate_form: {
details: {
group1: 'campaignresponse基本信息',
formpage1: '基本信息',
group2: '操作信息',
formpage2: '其它',
srfupdatedate: '更新时间',
srforikey: '',
srfkey: '市场活动响应',
......@@ -133,10 +136,7 @@ export default {
srfdeid: '',
srfsourcekey: '',
subject: '主题',
createman: '建立人',
createdate: '建立时间',
updateman: '更新人',
updatedate: '更新时间',
regardingobjectid: '关于',
activityid: '市场活动响应',
},
uiactions: {
......@@ -158,44 +158,6 @@ export default {
uiactions: {
},
},
byparentkeytoolbar_toolbar: {
tbitem3: {
caption: '新建',
tip: '新建',
},
tbitem4: {
caption: '编辑',
tip: '编辑',
},
tbitem6: {
caption: '拷贝',
tip: '拷贝',
},
tbitem7: {
caption: '-',
tip: '',
},
tbitem8: {
caption: '删除',
tip: '删除',
},
tbitem9: {
caption: '-',
tip: '',
},
tbitem13: {
caption: '导出',
tip: '导出',
},
tbitem10: {
caption: '-',
tip: '',
},
tbitem19: {
caption: '过滤',
tip: '过滤',
},
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: '保存',
......@@ -234,4 +196,42 @@ export default {
tip: '拷贝',
},
},
byparentkeytoolbar_toolbar: {
tbitem3: {
caption: '新建',
tip: '新建',
},
tbitem4: {
caption: '编辑',
tip: '编辑',
},
tbitem6: {
caption: '拷贝',
tip: '拷贝',
},
tbitem7: {
caption: '-',
tip: '',
},
tbitem8: {
caption: '删除',
tip: '删除',
},
tbitem9: {
caption: '-',
tip: '',
},
tbitem13: {
caption: '导出',
tip: '导出',
},
tbitem10: {
caption: '-',
tip: '',
},
tbitem19: {
caption: '过滤',
tip: '过滤',
},
},
};
\ No newline at end of file
......@@ -40,7 +40,6 @@ export default {
srfdeid: "",
srfsourcekey: "",
entity2name: "客户",
entity2id: "客户",
relationshipsid: "关系标识",
},
uiactions: {
......
......@@ -39,7 +39,6 @@ export default {
srfdeid: '',
srfsourcekey: '',
entity2name: '客户',
entity2id: '客户',
relationshipsid: '关系标识',
},
uiactions: {
......
......@@ -676,7 +676,6 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'29bfcd628ab25e297248ff0524d12908',
],
},
{
......@@ -987,6 +986,7 @@ export const viewstate: any = {
refviews: [
'15d12c1173fcb6e742b6a6d92cbc53ed',
'5f8f689d5dccc3db6d2b74a24a8b24ef',
'bae77557d2f7a7852b634dc5d5a93435',
'6168a7e787ead13b1e0f9a55007bc68c',
],
},
......
......@@ -30,7 +30,30 @@
@closeview="closeView($event)">
</view_tabviewpanel>
</tab-pane>
<tab-pane :index="1" name='tabviewpanel2' tab='tabexpviewtabexppanel' class=''
<tab-pane :index="1" name='tabviewpanel4' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{
return h('div', [
h('span', '活动'),
h('Badge', {
props: {
count: undefined,
type: 'primary'
}
})
])
}" >
<view_tabviewpanel4
:viewState="viewState"
:viewparams="JSON.parse(JSON.stringify(viewparams))"
:context="JSON.parse(JSON.stringify(context))"
v-if="isInit.tabviewpanel4"
name="tabviewpanel4"
ref='tabviewpanel4'
@viewpanelDatasChange = "tabViewPanelDatasChange"
@closeview="closeView($event)">
</view_tabviewpanel4>
</tab-pane>
<tab-pane :index="2" name='tabviewpanel2' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{
return h('div', [
h('i',{
......@@ -59,7 +82,7 @@
@closeview="closeView($event)">
</view_tabviewpanel2>
</tab-pane>
<tab-pane :index="2" name='tabviewpanel3' tab='tabexpviewtabexppanel' class=''
<tab-pane :index="3" name='tabviewpanel3' tab='tabexpviewtabexppanel' class=''
:label="(h) =>{
return h('div', [
h('span', '商机'),
......@@ -217,6 +240,7 @@ export default class TabExpViewtabexppanelBase extends Vue implements ControlInt
*/
public isInit: any = {
tabviewpanel: true ,
tabviewpanel4: false ,
tabviewpanel2: false ,
tabviewpanel3: false ,
}
......
......@@ -2,6 +2,7 @@
import { Component } from 'vue-property-decorator';
import TabExpViewtabexppanelBase from './tab-exp-viewtabexppanel-tabexppanel-base.vue';
import view_tabviewpanel from '@widgets/contact/tab-exp-viewtabviewpanel-tabviewpanel/tab-exp-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel4 from '@widgets/contact/tab-exp-viewtabviewpanel4-tabviewpanel/tab-exp-viewtabviewpanel4-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/contact/tab-exp-viewtabviewpanel2-tabviewpanel/tab-exp-viewtabviewpanel2-tabviewpanel.vue';
import view_tabviewpanel3 from '@widgets/contact/tab-exp-viewtabviewpanel3-tabviewpanel/tab-exp-viewtabviewpanel3-tabviewpanel.vue';
......@@ -9,6 +10,7 @@ import view_tabviewpanel3 from '@widgets/contact/tab-exp-viewtabviewpanel3-tabvi
@Component({
components: {
view_tabviewpanel,
view_tabviewpanel4,
view_tabviewpanel2,
view_tabviewpanel3,
......
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<activity-pointer-by-parent-key
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</activity-pointer-by-parent-key>
</div>
</template>
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util } from '@/utils';
import ContactService from '@/service/contact/contact-service';
import TabExpViewtabviewpanel4Service from './tab-exp-viewtabviewpanel4-tabviewpanel-service';
@Component({
components: {
}
})
export default class TabExpViewtabviewpanel4Base extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof TabExpViewtabviewpanel4
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof TabExpViewtabviewpanel4
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
@Prop() public context: any;
/**
* 视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
@Prop() public viewparams: any;
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof TabExpViewtabviewpanel4
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof TabExpViewtabviewpanel4
*/
public getControlType(): string {
return 'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {TabExpViewtabviewpanel4Service}
* @memberof TabExpViewtabviewpanel4
*/
public service: TabExpViewtabviewpanel4Service = new TabExpViewtabviewpanel4Service({ $store: this.$store });
/**
* 实体服务对象
*
* @type {ContactService}
* @memberof TabExpViewtabviewpanel4
*/
public appEntityService: ContactService = new ContactService({ $store: this.$store });
/**
* 关闭视图
*
* @param {any} args
* @memberof TabExpViewtabviewpanel4
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof TabExpViewtabviewpanel4
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel4
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabExpViewtabviewpanel4
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabExpViewtabviewpanel4
*/
public isActivied: boolean = true;
/**
* 局部上下文
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabExpViewtabviewpanel4
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof TabExpViewtabviewpanel
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabExpViewtabviewpanel4
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof TabExpViewtabviewpanel4
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof TabExpViewtabviewpanel4
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.initNavParam();
});
}
}
/**
* 初始化导航参数
*
* @memberof TabExpViewtabviewpanel4
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['majorentity']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData({},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData({},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof TabExpViewtabviewpanel4
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof TabExpViewtabviewpanel4
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabExpViewtabviewpanel4
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
</script>
<style lang='less'>
@import './tab-exp-viewtabviewpanel4-tabviewpanel.less';
</style>
\ No newline at end of file
/**
* TabExpViewtabviewpanel4 部件模型
*
* @export
* @class TabExpViewtabviewpanel4Model
*/
export default class TabExpViewtabviewpanel4Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabExpViewtabviewpanel4Model
*/
public getDataItems(): any[] {
return [
{
name: 'address1_freighttermscode',
},
{
name: 'address3_city',
},
{
name: 'department',
},
{
name: 'parentcustomeridtype',
},
{
name: 'address1_stateorprovince',
},
{
name: 'aging90_base',
},
{
name: 'accountidyominame',
},
{
name: 'donotbulkpostalmail',
},
{
name: 'managername',
},
{
name: 'donotpostalmail',
},
{
name: 'spousesname',
},
{
name: 'familystatuscode',
},
{
name: 'owneridtype',
},
{
name: 'address3_composite',
},
{
name: 'address3_shippingmethodcode',
},
{
name: 'lastname',
},
{
name: 'lastonholdtime',
},
{
name: 'educationcode',
},
{
name: 'address2_line1',
},
{
name: 'birthdate',
},
{
name: 'owneridyominame',
},
{
name: 'haschildrencode',
},
{
name: 'company',
},
{
name: 'address2_fax',
},
{
name: 'assistantphone',
},
{
name: 'callback',
},
{
name: 'paymenttermscode',
},
{
name: 'address2_telephone1',
},
{
name: 'marketingonly',
},
{
name: 'address2_utcoffset',
},
{
name: 'address2_shippingmethodcode',
},
{
name: 'traversedpath',
},
{
name: 'employeeid',
},
{
name: 'creditlimit_base',
},
{
name: 'followemail',
},
{
name: 'address3_postalcode',
},
{
name: 'merged',
},
{
name: 'jobtitle',
},
{
name: 'address1_telephone1',
},
{
name: 'customersizecode',
},
{
name: 'address3_addresstypecode',
},
{
name: 'pager',
},
{
name: 'assistantname',
},
{
name: 'address1_composite',
},
{
name: 'address1_line1',
},
{
name: 'yomimiddlename',
},
{
name: 'address1_telephone3',
},
{
name: 'telephone2',
},
{
name: 'address2_addressid',
},
{
name: 'parentcontactidyominame',
},
{
name: 'leadsourcecode',
},
{
name: 'statecode',
},
{
name: 'address2_freighttermscode',
},
{
name: 'emailaddress1',
},
{
name: 'entityimage_timestamp',
},
{
name: 'address3_line1',
},
{
name: 'salutation',
},
{
name: 'address1_line3',
},
{
name: 'address3_primarycontactname',
},
{
name: 'ibizprivate',
},
{
name: 'donotfax',
},
{
name: 'createdate',
},
{
name: 'preferredsystemuseridyominame',
},
{
name: 'updatedate',
},
{
name: 'address3_stateorprovince',
},
{
name: 'address3_line3',
},
{
name: 'creditlimit',
},
{
name: 'timezoneruleversionnumber',
},
{
name: 'parentcustomerid',
},
{
name: 'childrensnames',
},
{
name: 'address1_addresstypecode',
},
{
name: 'accountrolecode',
},
{
name: 'donotphone',
},
{
name: 'managerphone',
},
{
name: 'creditonhold',
},
{
name: 'updateman',
},
{
name: 'address2_postalcode',
},
{
name: 'address1_line2',
},
{
name: 'nickname',
},
{
name: 'versionnumber',
},
{
name: 'yomifullname',
},
{
name: 'entityimage',
},
{
name: 'shippingmethodcode',
},
{
name: 'customertypecode',
},
{
name: 'address2_county',
},
{
name: 'aging90',
},
{
name: 'address2_stateorprovince',
},
{
name: 'address3_utcoffset',
},
{
name: 'fullname',
},
{
name: 'participatesinworkflow',
},
{
name: 'websiteurl',
},
{
name: 'description',
},
{
name: 'address3_telephone1',
},
{
name: 'address2_upszone',
},
{
name: 'address3_county',
},
{
name: 'entityimage_url',
},
{
name: 'address3_upszone',
},
{
name: 'address1_name',
},
{
name: 'mastercontactidyominame',
},
{
name: 'autocreate',
},
{
name: 'backofficecustomer',
},
{
name: 'address2_longitude',
},
{
name: 'address1_fax',
},
{
name: 'exchangerate',
},
{
name: 'address1_city',
},
{
name: 'entityimageid',
},
{
name: 'address1_telephone2',
},
{
name: 'address2_composite',
},
{
name: 'importsequencenumber',
},
{
name: 'gendercode',
},
{
name: 'annualincome',
},
{
name: 'subscriptionid',
},
{
name: 'territorycode',
},
{
name: 'firstname',
},
{
name: 'overriddencreatedon',
},
{
name: 'address3_country',
},
{
name: 'yomilastname',
},
{
name: 'donotbulkemail',
},
{
name: 'address3_telephone2',
},
{
name: 'ownerid',
},
{
name: 'externaluseridentifier',
},
{
name: 'teamsfollowed',
},
{
name: 'donotemail',
},
{
name: 'anniversary',
},
{
name: 'preferredappointmentdaycode',
},
{
name: 'middlename',
},
{
name: 'emailaddress3',
},
{
name: 'address2_telephone2',
},
{
name: 'fax',
},
{
name: 'mobilephone',
},
{
name: 'home2',
},
{
name: 'createman',
},
{
name: 'onholdtime',
},
{
name: 'preferredappointmenttimecode',
},
{
name: 'statuscode',
},
{
name: 'governmentid',
},
{
name: 'address3_telephone3',
},
{
name: 'business2',
},
{
name: 'preferredsystemuserid',
},
{
name: 'address1_upszone',
},
{
name: 'aging60',
},
{
name: 'yomifirstname',
},
{
name: 'address3_postofficebox',
},
{
name: 'address2_city',
},
{
name: 'processid',
},
{
name: 'annualincome_base',
},
{
name: 'address3_addressid',
},
{
name: 'parentcustomeridyominame',
},
{
name: 'contact',
prop: 'contactid',
},
{
name: 'aging60_base',
},
{
name: 'address3_latitude',
},
{
name: 'telephone3',
},
{
name: 'address1_primarycontactname',
},
{
name: 'address3_fax',
},
{
name: 'preferredcontactmethodcode',
},
{
name: 'address1_utcoffset',
},
{
name: 'donotsendmm',
},
{
name: 'address2_telephone3',
},
{
name: 'address2_country',
},
{
name: 'aging30',
},
{
name: 'address2_postofficebox',
},
{
name: 'telephone1',
},
{
name: 'address3_longitude',
},
{
name: 'lastusedincampaign',
},
{
name: 'ftpsiteurl',
},
{
name: 'aging30_base',
},
{
name: 'address2_name',
},
{
name: 'suffix',
},
{
name: 'address1_county',
},
{
name: 'address2_addresstypecode',
},
{
name: 'address1_longitude',
},
{
name: 'address3_line2',
},
{
name: 'address1_addressid',
},
{
name: 'address2_line3',
},
{
name: 'address2_latitude',
},
{
name: 'address2_line2',
},
{
name: 'address1_shippingmethodcode',
},
{
name: 'address3_freighttermscode',
},
{
name: 'address1_postofficebox',
},
{
name: 'utcconversiontimezonecode',
},
{
name: 'address3_name',
},
{
name: 'address1_latitude',
},
{
name: 'numberofchildren',
},
{
name: 'address2_primarycontactname',
},
{
name: 'address1_postalcode',
},
{
name: 'stageid',
},
{
name: 'address1_country',
},
{
name: 'emailaddress2',
},
{
name: 'slaname',
},
{
name: 'defaultpricelevelid',
},
{
name: 'preferredequipmentid',
},
{
name: 'transactioncurrencyid',
},
{
name: 'slaid',
},
{
name: 'originatingleadid',
},
{
name: 'preferredserviceid',
},
{
name: 'defaultpricelevelname',
},
{
name: 'originatingleadname',
},
{
name: 'transactioncurrencyname',
},
{
name: 'preferredservicename',
},
{
name: 'preferredequipmentname',
},
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* TabExpViewtabviewpanel4 部件服务对象
*
* @export
* @class TabExpViewtabviewpanel4Service
*/
export default class TabExpViewtabviewpanel4Service extends ControlService {
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TabExpViewtabviewpanel4Base from './tab-exp-viewtabviewpanel4-tabviewpanel-base.vue';
@Component({
components: {
}
})
export default class TabExpViewtabviewpanel4 extends TabExpViewtabviewpanel4Base {
}
</script>
\ No newline at end of file
......@@ -9,24 +9,6 @@
<i-col v-show="detailsModel.entity2name.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='entity2name' :itemRules="this.rules.entity2name" class='' :caption="$t('entities.listaccount.quickcreatebylist_form.details.entity2name')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.entity2name.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker-select-view
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.entity2name.disabled"
name='entity2name'
deMajorField='accountname'
deKeyField='account'
:service="service"
valueitem='entity2id'
:value="data.entity2name"
:pickupView="{ viewname: 'account-pickup-view', title: $t('entities.account.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'accounts', parameterName: 'account' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker-select-view>
</app-form-item>
......@@ -343,7 +325,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
srfdeid: null,
srfsourcekey: null,
entity2name: null,
entity2id: null,
relationshipsid: null,
listaccount:null,
};
......@@ -441,12 +422,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'blur' },
],
entity2id: [
{ type: 'string', message: '客户 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '客户 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '客户 值不能为空', trigger: 'blur' },
],
relationshipsid: [
{ type: 'string', message: '关系标识 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '关系标识 值必须为字符串类型', trigger: 'blur' },
......@@ -483,8 +458,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
entity2name: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'entity2name', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
entity2id: new FormItemModel({ caption: '客户', detailType: 'FORMITEM', name: 'entity2id', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
relationshipsid: new FormItemModel({ caption: '关系标识', detailType: 'FORMITEM', name: 'relationshipsid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
......@@ -598,18 +571,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
this.formDataChange({ name: 'entity2name', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 entity2id 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreateByList
*/
@Watch('data.entity2id')
onEntity2idChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'entity2id', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 relationshipsid 值
*
......@@ -670,7 +631,6 @@ export default class QuickCreateByListBase extends Vue implements ControlInterfa
}
/**
......
......@@ -60,11 +60,6 @@ export default class QuickCreateByListModel {
prop: 'entity2name',
dataType: 'PICKUPTEXT',
},
{
name: 'entity2id',
prop: 'entity2id',
dataType: 'PICKUP',
},
{
name: 'relationshipsid',
prop: 'relationshipsid',
......
......@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import ListAccountService from '@/service/list-account/list-account-service';
import QuickCreateByListModel from './quick-create-by-list-form-model';
import AccountService from '@/service/account/account-service';
/**
......@@ -42,14 +41,6 @@ export default class QuickCreateByListService extends ControlService {
this.model = new QuickCreateByListModel();
}
/**
* 客户服务对象
*
* @type {AccountService}
* @memberof QuickCreateByListService
*/
public accountService: AccountService = new AccountService();
/**
* 处理数据
*
......@@ -89,9 +80,6 @@ export default class QuickCreateByListService extends ControlService {
*/
@Errorlog
public getItems(serviceName: string, interfaceName: string, context: any = {}, data: any, isloading?: boolean): Promise<any[]> {
if (Object.is(serviceName, 'AccountService') && Object.is(interfaceName, 'FetchDefault')) {
return this.doItems(this.accountService.FetchDefault(JSON.parse(JSON.stringify(context)),data, isloading), 'accountid', 'account');
}
return Promise.reject([])
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册