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