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

chitanda 发布系统代码

上级 cd90dc33
......@@ -1089,6 +1089,16 @@
"viewtag": "9693fc63348c320c4b0dff17cb9a9f25",
"memo": ""
},
"productsalesliteraturesallitprogridview": {
"title": "宣传资料产品明细",
"caption": "产品宣传资料",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "ProductSalesLiteratureSalLitProGridView",
"viewfilename": "product-sales-literature-sal-lit-pro-grid-view",
"viewtag": "96cc644d7d763e47f3644aed0d9850f0",
"memo": ""
},
"serviceappointmenteditview": {
"title": "服务活动编辑视图",
"caption": "服务活动",
......
......@@ -47,54 +47,54 @@ import userCustom_en_US from '@locale/lanres/userCustom/userCustom_en_US';
export default {
app: {
commonWords:{
error: 'Error',
success: 'Success',
ok: 'OK',
cancel: 'Cancel',
error: "Error",
success: "Success",
ok: "OK",
cancel: "Cancel",
},
local:{
new: 'New'
new: "New"
},
gridpage: {
choicecolumns: 'Choice columns',
refresh: 'refresh',
show: 'Show',
records: 'records',
totle: 'totle',
choicecolumns: "Choice columns",
refresh: "refresh",
show: "Show",
records: "records",
totle: "totle",
},
tabpage: {
sureclosetip: {
title: 'Close warning',
content: 'Form data Changed, are sure close?',
title: "Close warning",
content: "Form data Changed, are sure close?",
},
closeall: 'Close all',
closeother: 'Close other',
closeall: "Close all",
closeother: "Close other",
},
fileUpload: {
caption: 'Upload',
caption: "Upload",
},
searchButton: {
search: 'Search',
reset: 'Reset',
search: "Search",
reset: "Reset",
},
calendar:{
today: 'today',
month: 'month',
week: 'week',
day: 'day',
list: 'list',
dateSelectModalTitle: 'select the time you wanted',
gotoDate: 'goto',
today: "today",
month: "month",
week: "week",
day: "day",
list: "list",
dateSelectModalTitle: "select the time you wanted",
gotoDate: "goto",
},
// 非实体视图
views: {
centeralportal: {
caption: '仪表盘',
title: '仪表盘',
caption: "仪表盘",
title: "仪表盘",
},
central: {
caption: '企业中心',
title: '企业中心',
caption: "企业中心",
title: "企业中心",
},
},
utilview:{
......@@ -104,43 +104,43 @@ export default {
},
menus: {
central: {
user_menus: '用户菜单',
menuitem3: '设置',
menuitem4: '注销',
top_menus: '顶部菜单',
left_exp: '左侧菜单',
menuitem17: '主页',
menuitem18: '最近',
menuitem19: '固定',
menuitem16: '我的工作',
menuitem1: '仪表盘',
menuitem2: '活动',
menuitem20: '客户',
menuitem5: '客户',
menuitem7: '联系人',
menuitem21: '销售',
menuitem8: '潜在客户',
menuitem9: '商机',
menuitem10: '竞争对手',
menuitem22: '宣传资料',
menuitem11: '报价单',
menuitem12: '订单',
menuitem13: '发票',
menuitem6: '产品',
menuitem14: '销售宣传资料',
menuitem23: '市场营销',
menuitem30: '市场活动',
menuitem15: '市场营销列表',
menuitem29: '快速市场活动',
menuitem24: '绩效',
menuitem25: '目标',
menuitem26: '预测',
menuitem27: '服务',
menuitem28: '服务案例',
bottom_exp: '底部内容',
footer_left: '底部左侧',
footer_center: '底部中间',
footer_right: '底部右侧',
user_menus: "用户菜单",
menuitem3: "设置",
menuitem4: "注销",
top_menus: "顶部菜单",
left_exp: "左侧菜单",
menuitem17: "主页",
menuitem18: "最近",
menuitem19: "固定",
menuitem16: "我的工作",
menuitem1: "仪表盘",
menuitem2: "活动",
menuitem20: "客户",
menuitem5: "客户",
menuitem7: "联系人",
menuitem21: "销售",
menuitem8: "潜在客户",
menuitem9: "商机",
menuitem10: "竞争对手",
menuitem22: "宣传资料",
menuitem11: "报价单",
menuitem12: "订单",
menuitem13: "发票",
menuitem6: "产品",
menuitem14: "销售宣传资料",
menuitem23: "市场营销",
menuitem30: "市场活动",
menuitem15: "市场营销列表",
menuitem29: "快速市场活动",
menuitem24: "绩效",
menuitem25: "目标",
menuitem26: "预测",
menuitem27: "服务",
menuitem28: "服务案例",
bottom_exp: "底部内容",
footer_left: "底部左侧",
footer_center: "底部中间",
footer_right: "底部右侧",
},
},
},
......
......@@ -47,54 +47,54 @@ import userCustom_zh_CN from '@locale/lanres/userCustom/userCustom_zh_CN';
export default {
app: {
commonWords:{
error: '失败',
success: '成功',
ok: '确认',
cancel: '取消',
error: "失败",
success: "成功",
ok: "确认",
cancel: "取消",
},
local:{
new: '新建'
new: "新建"
},
gridpage: {
choicecolumns: '选择列',
refresh: '刷新',
show: '显示',
records: '条',
totle: '共',
choicecolumns: "选择列",
refresh: "刷新",
show: "显示",
records: "条",
totle: "共",
},
tabpage: {
sureclosetip: {
title: '关闭提醒',
content: '表单数据已经修改,确定要关闭?',
title: "关闭提醒",
content: "表单数据已经修改,确定要关闭?",
},
closeall: '关闭所有',
closeother: '关闭其他',
closeall: "关闭所有",
closeother: "关闭其他",
},
fileUpload: {
caption: '上传',
caption: "上传",
},
searchButton: {
search: '搜索',
reset: '重置',
search: "搜索",
reset: "重置",
},
calendar:{
today: '今天',
month: '月',
week: '周',
day: '天',
list: '列',
dateSelectModalTitle: '选择要跳转的时间',
gotoDate: '跳转',
today: "今天",
month: "月",
week: "周",
day: "天",
list: "列",
dateSelectModalTitle: "选择要跳转的时间",
gotoDate: "跳转",
},
// 非实体视图
views: {
centeralportal: {
caption: '仪表盘',
title: '仪表盘',
caption: "仪表盘",
title: "仪表盘",
},
central: {
caption: '企业中心',
title: '企业中心',
caption: "企业中心",
title: "企业中心",
},
},
utilview:{
......@@ -104,43 +104,43 @@ export default {
},
menus: {
central: {
user_menus: '用户菜单',
menuitem3: '设置',
menuitem4: '注销',
top_menus: '顶部菜单',
left_exp: '左侧菜单',
menuitem17: '主页',
menuitem18: '最近',
menuitem19: '固定',
menuitem16: '我的工作',
menuitem1: '仪表盘',
menuitem2: '活动',
menuitem20: '客户',
menuitem5: '客户',
menuitem7: '联系人',
menuitem21: '销售',
menuitem8: '潜在客户',
menuitem9: '商机',
menuitem10: '竞争对手',
menuitem22: '宣传资料',
menuitem11: '报价单',
menuitem12: '订单',
menuitem13: '发票',
menuitem6: '产品',
menuitem14: '销售宣传资料',
menuitem23: '市场营销',
menuitem30: '市场活动',
menuitem15: '市场营销列表',
menuitem29: '快速市场活动',
menuitem24: '绩效',
menuitem25: '目标',
menuitem26: '预测',
menuitem27: '服务',
menuitem28: '服务案例',
bottom_exp: '底部内容',
footer_left: '底部左侧',
footer_center: '底部中间',
footer_right: '底部右侧',
user_menus: "用户菜单",
menuitem3: "设置",
menuitem4: "注销",
top_menus: "顶部菜单",
left_exp: "左侧菜单",
menuitem17: "主页",
menuitem18: "最近",
menuitem19: "固定",
menuitem16: "我的工作",
menuitem1: "仪表盘",
menuitem2: "活动",
menuitem20: "客户",
menuitem5: "客户",
menuitem7: "联系人",
menuitem21: "销售",
menuitem8: "潜在客户",
menuitem9: "商机",
menuitem10: "竞争对手",
menuitem22: "宣传资料",
menuitem11: "报价单",
menuitem12: "订单",
menuitem13: "发票",
menuitem6: "产品",
menuitem14: "销售宣传资料",
menuitem23: "市场营销",
menuitem30: "市场活动",
menuitem15: "市场营销列表",
menuitem29: "快速市场活动",
menuitem24: "绩效",
menuitem25: "目标",
menuitem26: "预测",
menuitem27: "服务",
menuitem28: "服务案例",
bottom_exp: "底部内容",
footer_left: "底部左侧",
footer_center: "底部中间",
footer_right: "底部右侧",
},
},
},
......
......@@ -716,4 +716,4 @@ export default {
account_remove: "删除",
},
},
};
};
\ No newline at end of file
......@@ -231,4 +231,4 @@ export default {
tip: "Remove {0}",
},
},
};
};
\ No newline at end of file
......@@ -155,4 +155,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -275,4 +275,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -13,4 +13,4 @@ export default {
relationshipsid: "关系标识",
relationshipsname: "关系名称",
},
};
};
\ No newline at end of file
......@@ -123,4 +123,4 @@ export default {
tip: "关闭",
},
},
};
};
\ No newline at end of file
......@@ -235,4 +235,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -399,4 +399,4 @@ export default {
tip: "关闭",
},
},
};
};
\ No newline at end of file
......@@ -13,4 +13,4 @@ export default {
entityname: "竞争对手",
entity2name: "销售宣传资料",
},
};
};
\ No newline at end of file
......@@ -281,4 +281,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -694,4 +694,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -166,4 +166,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -123,4 +123,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -207,4 +207,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -282,4 +282,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -24,4 +24,4 @@ export default {
utcconversiontimezonecode: "UTC Conversion Time Zone Code",
resourcespecid: "所需资源",
},
};
};
\ No newline at end of file
......@@ -213,4 +213,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -192,4 +192,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -311,4 +311,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -551,4 +551,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -121,4 +121,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -158,4 +158,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -149,4 +149,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -86,4 +86,4 @@ export default {
tip: "Export {0} Data To Excel",
},
},
};
};
\ No newline at end of file
......@@ -131,4 +131,4 @@ export default {
tip: "关闭",
},
},
};
};
\ No newline at end of file
......@@ -178,4 +178,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -424,4 +424,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -124,4 +124,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -49,4 +49,4 @@ export default {
uiactions: {
},
},
};
};
\ No newline at end of file
......@@ -14,6 +14,10 @@ export default {
entity2name: "销售宣传资料",
},
views: {
sallitprogridview: {
caption: "产品宣传资料",
title: "宣传资料产品明细",
},
sallitproeditview: {
caption: "产品宣传资料",
title: "宣传资料产品明细",
......@@ -39,6 +43,51 @@ export default {
uiactions: {
},
},
sallitprogrid_grid: {
columns: {
entity2name: "销售宣传资料",
entityname: "产品",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
sallitprogridviewtoolbar_toolbar: {
tbitem4: {
caption: "Edit",
tip: "Edit {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",
},
},
sallitproeditviewtoolbar_toolbar: {
tbitem1: {
caption: "Save And Close",
......@@ -49,4 +98,4 @@ export default {
tip: "关闭",
},
},
};
};
\ No newline at end of file
......@@ -13,6 +13,10 @@ export default {
entity2name: "销售宣传资料",
},
views: {
sallitprogridview: {
caption: "产品宣传资料",
title: "宣传资料产品明细",
},
sallitproeditview: {
caption: "产品宣传资料",
title: "宣传资料产品明细",
......@@ -38,6 +42,51 @@ export default {
uiactions: {
},
},
sallitprogrid_grid: {
columns: {
entity2name: "销售宣传资料",
entityname: "产品",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
sallitprogridviewtoolbar_toolbar: {
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
sallitproeditviewtoolbar_toolbar: {
tbitem1: {
caption: "保存并关闭",
......
......@@ -258,4 +258,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -186,4 +186,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -352,4 +352,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -114,4 +114,4 @@ export default {
tip: "关闭",
},
},
};
};
\ No newline at end of file
......@@ -215,4 +215,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -167,4 +167,4 @@ export default {
tip: "关闭",
},
},
};
};
\ No newline at end of file
......@@ -326,4 +326,4 @@ export default {
tip: "Filter",
},
},
};
};
\ No newline at end of file
......@@ -139,4 +139,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -41,4 +41,4 @@ export default {
uiactions: {
},
},
};
};
\ No newline at end of file
......@@ -150,4 +150,4 @@ export default {
tip: "Copy {0}",
},
},
};
};
\ No newline at end of file
......@@ -48,4 +48,4 @@ export default {
uiactions: {
},
},
};
};
\ No newline at end of file
......@@ -45,4 +45,4 @@ export default {
uiactions: {
},
},
};
};
\ No newline at end of file
......@@ -879,6 +879,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "OpportunityOppProDashboardView",
"viewtag": "9693fc63348c320c4b0dff17cb9a9f25"
},
"productsalesliteraturesallitprogridview": {
"title": "宣传资料产品明细",
"caption": "产品宣传资料",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "ProductSalesLiteratureSalLitProGridView",
"viewtag": "96cc644d7d763e47f3644aed0d9850f0"
},
"serviceappointmenteditview": {
"title": "服务活动编辑视图",
"caption": "服务活动",
......
......@@ -4,6 +4,8 @@
:viewparams="viewparams"
:context="context"
:viewUID="viewUID"
:newdata="newdata"
:opendata="opendata"
name="treeexpbar"
ref='treeexpbar'
@selectionchange="treeexpbar_selectionchange($event)"
......
......@@ -518,6 +518,43 @@ export class CampaignListGridViewBase extends GridViewBase {
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
let batchAddPSAppViews:Array<any>=[];
if(batchAddPSAppViews.length == 0 || !this.context.srfparentdename){
this.$Notice.warning({ title: '错误', desc: '批量添加需添加N:N关系' });
return;
}
let openViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] !== this.context.srfparentdename));
})
let otherViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] == this.context.srfparentdename));
})
let container: Subject<any> = this.$appmodal.openModal(openViewModel.view, JSON.parse(JSON.stringify(this.context)), args[0]);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if(result.datas && result.datas.length == 0){
return;
}
let requestParam:Array<any> = [];
result.datas.forEach((record:any) => {
let tempParam:any = {};
tempParam[otherViewModel.resAppKey] = this.context['srfparentkey'];
tempParam[openViewModel.resAppKey] = record.srfkey;
requestParam.push(tempParam);
});
this.appEntityService.createBatch(JSON.parse(JSON.stringify(this.context)),requestParam,true).then((response:any) =>{
if (!response || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '批处理操作失败' });
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
});
}
......
......@@ -518,6 +518,43 @@ export class ListAccountByListBase extends GridViewBase {
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
let batchAddPSAppViews:Array<any>=[];
if(batchAddPSAppViews.length == 0 || !this.context.srfparentdename){
this.$Notice.warning({ title: '错误', desc: '批量添加需添加N:N关系' });
return;
}
let openViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] !== this.context.srfparentdename));
})
let otherViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] == this.context.srfparentdename));
})
let container: Subject<any> = this.$appmodal.openModal(openViewModel.view, JSON.parse(JSON.stringify(this.context)), args[0]);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if(result.datas && result.datas.length == 0){
return;
}
let requestParam:Array<any> = [];
result.datas.forEach((record:any) => {
let tempParam:any = {};
tempParam[otherViewModel.resAppKey] = this.context['srfparentkey'];
tempParam[openViewModel.resAppKey] = record.srfkey;
requestParam.push(tempParam);
});
this.appEntityService.createBatch(JSON.parse(JSON.stringify(this.context)),requestParam,true).then((response:any) =>{
if (!response || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '批处理操作失败' });
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
});
}
......
......@@ -168,6 +168,43 @@ export class ListAccountInnerBase extends GridView9Base {
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
let batchAddPSAppViews:Array<any>=[];
if(batchAddPSAppViews.length == 0 || !this.context.srfparentdename){
this.$Notice.warning({ title: '错误', desc: '批量添加需添加N:N关系' });
return;
}
let openViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] !== this.context.srfparentdename));
})
let otherViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] == this.context.srfparentdename));
})
let container: Subject<any> = this.$appmodal.openModal(openViewModel.view, JSON.parse(JSON.stringify(this.context)), args[0]);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if(result.datas && result.datas.length == 0){
return;
}
let requestParam:Array<any> = [];
result.datas.forEach((record:any) => {
let tempParam:any = {};
tempParam[otherViewModel.resAppKey] = this.context['srfparentkey'];
tempParam[openViewModel.resAppKey] = record.srfkey;
requestParam.push(tempParam);
});
this.appEntityService.createBatch(JSON.parse(JSON.stringify(this.context)),requestParam,true).then((response:any) =>{
if (!response || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '批处理操作失败' });
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
});
}
......
......@@ -518,6 +518,43 @@ export class ListContactGridViewBase extends GridViewBase {
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
let batchAddPSAppViews:Array<any>=[];
if(batchAddPSAppViews.length == 0 || !this.context.srfparentdename){
this.$Notice.warning({ title: '错误', desc: '批量添加需添加N:N关系' });
return;
}
let openViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] !== this.context.srfparentdename));
})
let otherViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] == this.context.srfparentdename));
})
let container: Subject<any> = this.$appmodal.openModal(openViewModel.view, JSON.parse(JSON.stringify(this.context)), args[0]);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if(result.datas && result.datas.length == 0){
return;
}
let requestParam:Array<any> = [];
result.datas.forEach((record:any) => {
let tempParam:any = {};
tempParam[otherViewModel.resAppKey] = this.context['srfparentkey'];
tempParam[openViewModel.resAppKey] = record.srfkey;
requestParam.push(tempParam);
});
this.appEntityService.createBatch(JSON.parse(JSON.stringify(this.context)),requestParam,true).then((response:any) =>{
if (!response || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '批处理操作失败' });
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
});
}
......
......@@ -179,6 +179,43 @@ export class ListContactInnerBase extends GridView9Base {
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
let batchAddPSAppViews:Array<any>=[];
if(batchAddPSAppViews.length == 0 || !this.context.srfparentdename){
this.$Notice.warning({ title: '错误', desc: '批量添加需添加N:N关系' });
return;
}
let openViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] !== this.context.srfparentdename));
})
let otherViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] == this.context.srfparentdename));
})
let container: Subject<any> = this.$appmodal.openModal(openViewModel.view, JSON.parse(JSON.stringify(this.context)), args[0]);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if(result.datas && result.datas.length == 0){
return;
}
let requestParam:Array<any> = [];
result.datas.forEach((record:any) => {
let tempParam:any = {};
tempParam[otherViewModel.resAppKey] = this.context['srfparentkey'];
tempParam[openViewModel.resAppKey] = record.srfkey;
requestParam.push(tempParam);
});
this.appEntityService.createBatch(JSON.parse(JSON.stringify(this.context)),requestParam,true).then((response:any) =>{
if (!response || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '批处理操作失败' });
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
});
}
......
......@@ -480,6 +480,43 @@ export class ListLeadByListBase extends GridViewBase {
public newdata(args: any[],fullargs?:any[], params?: any, $event?: any, xData?: any) {
let localContext:any = null;
let localViewParam:any =null;
let batchAddPSAppViews:Array<any>=[];
if(batchAddPSAppViews.length == 0 || !this.context.srfparentdename){
this.$Notice.warning({ title: '错误', desc: '批量添加需添加N:N关系' });
return;
}
let openViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] !== this.context.srfparentdename));
})
let otherViewModel:any = batchAddPSAppViews.find((item:any) =>{
return (item.res && (item.res[0] == this.context.srfparentdename));
})
let container: Subject<any> = this.$appmodal.openModal(openViewModel.view, JSON.parse(JSON.stringify(this.context)), args[0]);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
if(result.datas && result.datas.length == 0){
return;
}
let requestParam:Array<any> = [];
result.datas.forEach((record:any) => {
let tempParam:any = {};
tempParam[otherViewModel.resAppKey] = this.context['srfparentkey'];
tempParam[openViewModel.resAppKey] = record.srfkey;
requestParam.push(tempParam);
});
this.appEntityService.createBatch(JSON.parse(JSON.stringify(this.context)),requestParam,true).then((response:any) =>{
if (!response || response.status !== 200) {
this.$Notice.error({ title: '错误', desc: '批处理操作失败' });
return;
}
if (!xData || !(xData.refresh instanceof Function)) {
return;
}
xData.refresh(result.datas);
});
});
}
......
......@@ -46,6 +46,7 @@
margin-right: 5px;
width: 24px;
color: var(--app-header-color);
text-align: center;
}
>span {
......@@ -78,9 +79,12 @@
>.el-menu-item,
>.el-menu-item>.el-tooltip {
padding: 0 !important;
padding-left: 12px !important;
text-align: center;
width: 48px;
min-width: 48px;
>i {
margin: 0 !important;
color: var(--app-header-color);
}
}
......
......@@ -79,6 +79,7 @@ export default class ProductSalesLiteratureUIServiceBase extends UIService {
* @memberof ProductSalesLiteratureUIServiceBase
*/
public initViewMap(){
this.allViewMap.set(':',{viewname:'sallitprogridview',srfappde:'productsalesliteratures'});
this.allViewMap.set(':',{viewname:'sallitproeditview',srfappde:'productsalesliteratures'});
}
......
......@@ -267,7 +267,6 @@ export default class InnerPickipService extends ControlService {
response.data.accountid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class InnerPickipService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof InnerPickipService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.accountid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -22,6 +22,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet6"
ref='dashboard_sysportlet6'
@closeview="closeView($event)">
......@@ -50,6 +52,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet8"
ref='dashboard_sysportlet8'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.activityid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -16,6 +16,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="db_sysportlet1"
ref='db_sysportlet1'
@closeview="closeView($event)">
......
......@@ -84,7 +84,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -102,7 +107,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -120,7 +130,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -138,7 +153,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -156,7 +176,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -174,7 +199,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -192,7 +222,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -210,7 +245,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -228,7 +268,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -246,7 +291,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -264,7 +314,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -281,7 +336,12 @@ export class CentralBase extends Vue {
{ pathName: 'centeralportal', parameterName: 'centeralportal' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -299,7 +359,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -317,7 +382,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -335,7 +405,12 @@ export class CentralBase extends Vue {
{ pathName: 'gradation', parameterName: 'gradation' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......@@ -353,7 +428,12 @@ export class CentralBase extends Vue {
{ pathName: 'gridview', parameterName: 'gridview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
this.$router.push(path);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.activityid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.relationshipsid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.activityid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -16,6 +16,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -32,6 +34,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.campaignid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -22,6 +22,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -38,6 +40,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......@@ -54,6 +58,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet3"
ref='dashboard_sysportlet3'
@closeview="closeView($event)">
......@@ -82,6 +88,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet4"
ref='dashboard_sysportlet4'
@closeview="closeView($event)">
......
......@@ -16,6 +16,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -42,6 +44,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.competitorid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class ByAccountService extends ControlService {
response.data.contactid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class ByAccountService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof ByAccountService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -16,6 +16,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -32,6 +34,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......@@ -48,6 +52,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet3"
ref='dashboard_sysportlet3'
@closeview="closeView($event)">
......@@ -64,6 +70,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet4"
ref='dashboard_sysportlet4'
@closeview="closeView($event)">
......@@ -80,6 +88,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet5"
ref='dashboard_sysportlet5'
@closeview="closeView($event)">
......@@ -106,6 +116,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet6"
ref='dashboard_sysportlet6'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.contactid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.goalid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.listid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -17,6 +17,7 @@
:viewparams="viewparams"
:context="context"
:height="300"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -43,6 +44,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.incidentid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class InvoiceProductGridService extends ControlService {
response.data.invoicedetailid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class InvoiceProductGridService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof InvoiceProductGridService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -17,6 +17,7 @@
:viewparams="viewparams"
:context="context"
:height="300"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -43,6 +44,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.invoiceid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -16,6 +16,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -32,6 +34,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet3"
ref='dashboard_sysportlet3'
@closeview="closeView($event)">
......@@ -48,6 +52,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet4"
ref='dashboard_sysportlet4'
@closeview="closeView($event)">
......@@ -64,6 +70,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet5"
ref='dashboard_sysportlet5'
@closeview="closeView($event)">
......@@ -90,6 +98,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.leadid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.relationshipsid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class InnerService extends ControlService {
response.data.relationshipsid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class InnerService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof InnerService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.relationshipsid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.relationshipsid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.relationshipsid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.opportunityproductid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -16,6 +16,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -42,6 +44,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......
......@@ -254,7 +254,7 @@ export class CHART_001ChartBase extends MainControlBase {
{
gridIndex:0,
position:"bottom",
type:'numeric',
type:'value',
name:'金额',
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.opportunityid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -16,6 +16,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.pricelevelid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.productid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.quotedetailid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
......@@ -17,6 +17,7 @@
:viewparams="viewparams"
:context="context"
:height="300"
:width="0"
name="dashboard_sysportlet1"
ref='dashboard_sysportlet1'
@closeview="closeView($event)">
......@@ -43,6 +44,8 @@
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:height="0"
:width="0"
name="dashboard_sysportlet2"
ref='dashboard_sysportlet2'
@closeview="closeView($event)">
......
......@@ -267,7 +267,6 @@ export default class MainService extends ControlService {
response.data.quoteid = Util.createUUID();
}
this.handleResponse(action, response, true);
this.mergeDefaults(response);
resolve(response);
}).catch(response => {
reject(response);
......@@ -275,16 +274,6 @@ export default class MainService extends ControlService {
});
}
/**
* 合并配置的默认值
* @param {*}
* @memberof MainService
*/
public mergeDefaults(response:any = {}){
if(response.data){
}
}
/**
* 前台逻辑
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册