标准拆分--拆分页面和列表页面点击标准号、标准名称应该跳转至该标准的详情页面
This commit is contained in:
@@ -51,12 +51,20 @@
|
||||
prop="showNumber"
|
||||
label="标准号/政策号"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.showNumber }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standName"
|
||||
label="标准名称/政策名称"
|
||||
show-overflow-tooltip
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<a class="table-jump"
|
||||
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="fileTypeShow"
|
||||
@@ -800,6 +808,17 @@ export default {
|
||||
this.conditionForm.pageSize = pageSize
|
||||
this.getSearch()
|
||||
},
|
||||
//点击查看详情
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: 'INLAND_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
},
|
||||
// 查询政策和标准
|
||||
getSearch () {
|
||||
if (this.conditionForm.standType === 'FOREIGN2') {
|
||||
|
||||
Reference in New Issue
Block a user