From 385ff479213e32618b7cc2c25891643a938590e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 20 Mar 2022 21:02:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=90=88=E5=90=8C=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xm/core/xmContract/XmContractMng.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/xm/core/xmContract/XmContractMng.vue b/src/views/xm/core/xmContract/XmContractMng.vue index 5a95fb4e..e1118e7c 100644 --- a/src/views/xm/core/xmContract/XmContractMng.vue +++ b/src/views/xm/core/xmContract/XmContractMng.vue @@ -12,7 +12,7 @@ - 添加合同 + 合同管理 @@ -204,11 +204,16 @@ showEdit: function ( row,index ) { this.editFormVisible = true; this.editForm = Object.assign({}, row); + var htRoutePath="/oa/"+process.env.VERSION+"/#/oa/ht/contractCard/detail?htId="+row.htId; + window.open(htRoutePath, row.htName,null,true); + NProgress.done() // if current page is login will not trigger afterEach hook, so manually handle it }, //显示新增界面 XmContract xm_project_contract showAdd: function () { this.addFormVisible = true; - //this.addForm=Object.assign({}, this.editForm); + var htRoutePath="/oa/"+process.env.VERSION+"/#/oa/ht/contractCard/ContractCardMng"; + window.open(htRoutePath, row.htName,null,true); + NProgress.done() // if current page is login will not trigger afterEach hook, so manually handle it }, afterAddSubmit(){ this.addFormVisible=false;