提交 8e2db488 编写于 作者: zcdtk's avatar zcdtk
...@@ -281,10 +281,10 @@ export default class AppFormDRUIPart extends Vue { ...@@ -281,10 +281,10 @@ export default class AppFormDRUIPart extends Vue {
Object.assign(_context, { [this.paramItem]: _paramitem }); Object.assign(_context, { [this.paramItem]: _paramitem });
//设置顶层视图唯一标识 //设置顶层视图唯一标识
Object.assign(_context, this.context); Object.assign(_context, this.context);
// 导航参数处理
const { context: navigateContext, param: navigateParam }= this.$viewTool.formatNavigateParam({ context: this.navigateContext, param: this.navigateParam }, _context, this.viewparams, this.data); const {context, param}= this.$viewTool.formatNavigateParam(this.navigateContext, this.navigateParam, _context, this.viewparams, this.data);
Object.assign(this.tempContext, navigateContext); Object.assign(this.tempContext, context);
Object.assign(this.tempViewParams, navigateParam); Object.assign(this.tempViewParams, param);
if (this.isRelationalData) { if (this.isRelationalData) {
if (!_paramitem || _paramitem == null || Object.is(_paramitem, "")) { if (!_paramitem || _paramitem == null || Object.is(_paramitem, "")) {
......
...@@ -180,10 +180,10 @@ ...@@ -180,10 +180,10 @@
if (!this.data) { if (!this.data) {
return false; return false;
} }
// 附加参数处理 // 导航参数处理
const param = this.$viewTool.formatNavigateParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data); const {context, param} = this.$viewTool.formatNavigateParam( this.navigateContext, this.navigateParam, this.context, this.viewparams, this.data );
Object.assign(arg.context,param.context); Object.assign(arg.context, context);
Object.assign(arg.param,param.param); Object.assign(arg.param, param);
return true; return true;
} }
......
...@@ -236,10 +236,10 @@ export default class AppMobMpicker extends Vue { ...@@ -236,10 +236,10 @@ export default class AppMobMpicker extends Vue {
if (!this.data) { if (!this.data) {
return false; return false;
} }
// 附加参数处理 // 导航参数处理
const param = this.$viewTool.formatNavigateParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data); const {context, param} = this.$viewTool.formatNavigateParam( this.navigateContext, this.navigateParam, this.context, this.viewparams, this.data );
Object.assign(arg.context,param.context); Object.assign(arg.context, context);
Object.assign(arg.param,param.param); Object.assign(arg.param, param);
return true; return true;
} }
......
...@@ -683,10 +683,10 @@ export default class AppPicker extends Vue { ...@@ -683,10 +683,10 @@ export default class AppPicker extends Vue {
if (!this.data) { if (!this.data) {
return false; return false;
} }
// 附加参数处理 // 导航参数处理
const param = this.$viewTool.formatNavigateParam({ context: this.navigateContext, param: this.navigateParam }, this.context, this.viewparams, this.data); const {context, param} = this.$viewTool.formatNavigateParam( this.navigateContext, this.navigateParam, this.context, this.viewparams, this.data );
Object.assign(arg.context, param.context); Object.assign(arg.context, context);
Object.assign(arg.param, param.param); Object.assign(arg.param, param);
return true; return true;
} }
......
...@@ -643,10 +643,10 @@ export default class AppSelectDropDown extends Vue { ...@@ -643,10 +643,10 @@ export default class AppSelectDropDown extends Vue {
if (!this.data) { if (!this.data) {
return false; return false;
} }
// 附加参数处理 // 导航参数处理
const param = this.$viewTool.formatNavigateParam({ context: this.navigateContext, param: this.navigateParam }, this.context, this.viewparams, this.data); const {context, param} = this.$viewTool.formatNavigateParam( this.navigateContext, this.navigateParam, this.context, this.viewparams, this.data );
Object.assign(arg.context, param.context); Object.assign(arg.context, context);
Object.assign(arg.param, param.param); Object.assign(arg.param, param);
return true; return true;
} }
......
...@@ -219,9 +219,9 @@ export default class AppSelect extends Vue { ...@@ -219,9 +219,9 @@ export default class AppSelect extends Vue {
return false; return false;
} }
// 附加参数处理 // 附加参数处理
const param = this.$viewTool.formatNavigateParam({context:this.navigateContext,param:this.navigateParam},this.context,this.viewparams,this.data); const {context, param} = this.$viewTool.formatNavigateParam( this.navigateContext, this.navigateParam, this.context, this.viewparams, this.data );
Object.assign(arg.context,param.context); Object.assign( arg.context, context );
Object.assign(arg.param,param.param); Object.assign( arg.param, param );
return true; return true;
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册