This commit is contained in:
fanlin
2021-07-23 15:28:08 +08:00
parent c6d50c252e
commit 4f94c546e9
2 changed files with 15 additions and 2 deletions
@@ -53,10 +53,10 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-tooltip class="item" effect="dark" :content="item.collectTitle" placement="top" v-if="item.collectTitle"> <el-tooltip class="item" effect="dark" :content="item.collectTitle" placement="top" v-if="item.collectTitle">
<div class="left-contents">标题{{ item.collectTitle }}</div> <div class="left-contents" @click="getDetail(item)">标题{{ item.collectTitle }}</div>
</el-tooltip> </el-tooltip>
<div v-else> <div v-else>
<div class="left-contents">标题{{ item.collectTitle }}</div> <div class="left-contents" @click="getDetail(item)">标题{{ item.collectTitle }}</div>
</div> </div>
</el-col> </el-col>
<el-col :span="4" :offset="3">创建时间{{getDate(item.creationTime)}}</el-col> <el-col :span="4" :offset="3">创建时间{{getDate(item.creationTime)}}</el-col>
@@ -103,6 +103,16 @@ export default {
} }
}, },
methods: { methods: {
getDetail(item) {
let routeUrl = this.$router.resolve({
name: 'OtherStandardDetails',
params: {
id: item.collectResId,
pageType: 'INLAND_STAND'
}
})
window.open(routeUrl.href, '_blank')
},
// 重置 // 重置
resetSelect () { resetSelect () {
this.search.name = '' this.search.name = ''
@@ -804,6 +804,9 @@
label="标准号" label="标准号"
align="center" align="center"
> >
<template slot-scope="scope">
<span>{{ scope.row.standSortShow }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</span>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standName" prop="standName"