提交 f87defb3 编写于 作者: RedPig97's avatar RedPig97

update: 多语言更新

上级 8fe18d4d
......@@ -167,7 +167,7 @@
let tempContext:any = Util.deepCopy(this.context);
let tempViewParam:any = {actionView:linkItem.sequenceflowview,actionForm:linkItem.sequenceflowform};
<#noparse>let targetView:any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`];</#noparse>
const appmodal = this.$appmodal.openModal({viewname:targetView.viewname, title:(this.$t(targetView.title) as string), height: targetView.height, width: targetView.width}, tempContext,tempViewParam);
const appmodal = this.$appmodal.openModal({viewname:targetView.viewname, title: targetView.title, height: targetView.height, width: targetView.width}, tempContext,tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
......
......@@ -155,7 +155,7 @@ import AppCenterService from '@/service/app/app-center-service';
Object.assign(tempContext,{${appde.getCodeName()?lower_case}:datas && datas[0].srfkey});
let tempViewParam: any = { actionView: linkItem.sequenceflowview, actionForm: linkItem.sequenceflowform };
let targetView: any = <#noparse>this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]</#noparse>;
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: targetView.title, height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
......@@ -198,7 +198,7 @@ import AppCenterService from '@/service/app/app-center-service';
let tempContext: any = Util.deepCopy(this.context);
Object.assign(tempContext,{${appde.getCodeName()?lower_case}:data && data[0].srfkey});
let tempViewParam: any = { actionForm: linkItem.sequenceflowform };
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: targetView.title, height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
......
......@@ -196,7 +196,7 @@ import AppCenterService from '@/service/app/app-center-service';
Object.assign(tempContext,{${appde.getCodeName()?lower_case}:datas && datas[0].srfkey});
let tempViewParam: any = { actionView: linkItem.sequenceflowview, actionForm: linkItem.sequenceflowform };
let targetView: any = <#noparse>this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]</#noparse>;
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: targetView.title, height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
......@@ -239,7 +239,7 @@ import AppCenterService from '@/service/app/app-center-service';
let tempContext: any = Util.deepCopy(this.context);
Object.assign(tempContext,{${appde.getCodeName()?lower_case}:data && data[0].srfkey});
let tempViewParam: any = { actionForm: linkItem.sequenceflowform };
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: targetView.title, height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册