|
@@ -76,6 +76,7 @@
|
|
|
:data="tableData"
|
|
|
:height="resizeHeight - 65"
|
|
|
:loading="tableLoading"
|
|
|
+ @on-row-dblclick="goDetail"
|
|
|
>
|
|
|
<template slot-scope="{ row, index }" slot="gpEnabledState">
|
|
|
<span>{{ row.gpEnabledState == "1" ? "未启用" : "启用"}}</span>
|
|
@@ -248,6 +249,14 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ goDetail(row, index) {
|
|
|
+ this.editRow(row.gpId, row.gpInfoType)
|
|
|
+ //参考跳转
|
|
|
+ // window.open(
|
|
|
+ // `https://test.hajwy.com/purchase-web/#/viewPurchaseApply?id=${row.id}`
|
|
|
+ // );
|
|
|
+ // window.open(`/#/viewPurchaseApply?id=${row.id}`);
|
|
|
+ },
|
|
|
resizePage() {
|
|
|
this.resizeHeight = window.innerHeight - 282;
|
|
|
this.resizeWidth = window.innerWidth;
|
|
@@ -372,4 +381,4 @@ ivu-card-head-inner,
|
|
|
white-space: nowrap;
|
|
|
font-weight: normal;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|