标准比对--比对页面点击标准号、标准名称应跳转至详情页
This commit is contained in:
@@ -57,8 +57,8 @@
|
|||||||
label="标准号/政策号"
|
label="标准号/政策号"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.showNumber}}</div>
|
<a class="table-jump"
|
||||||
<div v-else>{{scope.row.standNumSplit}}</div>
|
@click="handlePreview(scope.row)">{{ scope.row.showNumber }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -66,8 +66,8 @@
|
|||||||
label="标准名称/政策名称"
|
label="标准名称/政策名称"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.standName}}</div>
|
<a class="table-jump"
|
||||||
<div v-else>{{scope.row.standNameSplit}}</div>
|
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -146,8 +146,8 @@
|
|||||||
label="标准号/政策号"
|
label="标准号/政策号"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.showNumber}}</div>
|
<a class="table-jump"
|
||||||
<div v-else>{{scope.row.standNumSplit}}</div>
|
@click="handlePreview(scope.row)">{{ scope.row.showNumber }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -155,8 +155,8 @@
|
|||||||
label="标准名称/政策名称"
|
label="标准名称/政策名称"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div v-if="scope.row.standId != null && scope.row.standId !== ''">{{scope.row.standName}}</div>
|
<a class="table-jump"
|
||||||
<div v-else>{{scope.row.standNameSplit}}</div>
|
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -266,6 +266,17 @@ export default {
|
|||||||
// this.selectedSplitStandList2 = []
|
// this.selectedSplitStandList2 = []
|
||||||
// this.selectedSplitStandList2.push(this.addSpiltStandList2[0])
|
// this.selectedSplitStandList2.push(this.addSpiltStandList2[0])
|
||||||
},
|
},
|
||||||
|
//点击查看详情
|
||||||
|
handlePreview(item) {
|
||||||
|
let routeUrl = this.$router.resolve({
|
||||||
|
name: 'OtherStandardDetails',
|
||||||
|
params: {
|
||||||
|
id: item.standId,
|
||||||
|
pageType: 'INLAND_STAND'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
},
|
||||||
// 条款比对
|
// 条款比对
|
||||||
addStandCompareHis () {
|
addStandCompareHis () {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user