标准合规评估结果--项目评估结果tab页和技术评估结果tab页点击比标准号、标准名称应该跳转至该标准的详情页面

This commit is contained in:
Mr.Z
2021-08-08 09:51:20 +08:00
parent d43546fc3c
commit 9c30db3976
@@ -65,14 +65,19 @@
label="标准/政策号"
width="180"
>
<template slot-scope="scope">
<div><span>{{ scope.row.standSort }} {{ scope.row.standNumber }}</span> <span v-if="scope.row.standYear">-{{ scope.row.standYear }}</span></div>
</template>
<template slot-scope="scope">
<a class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.standNumber }}</a>
</template>
</el-table-column>
<el-table-column
prop="standName"
label="标准/政策名称"
>
<template slot-scope="scope">
<a class="table-jump"
@click="handlePreview(scope.row)">{{ scope.row.standName }}</a>
</template>
</el-table-column>
<el-table-column
prop="interpretationTime"
@@ -259,7 +264,19 @@ name: "technologyInvolveProject",
this.sarProjectListDatas = res.data.records
this.total = res.data.total
}, e=> {})
}, // 分页查询
},
//点击查看详情
handlePreview(item) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.standId,
pageType: 'INLAND_STAND'
}
})
window.open(routeUrl.href, '_blank')
},
// 分页查询
resetSelect () {
this.sarProject.country = ''
this.sarProject.standCode=''