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;