This commit is contained in:
宋伟佳
2021-06-02 09:05:46 +08:00
3 changed files with 1775 additions and 9 deletions
File diff suppressed because it is too large Load Diff
@@ -59,8 +59,11 @@
<el-table-column <el-table-column
prop="oldStandNum" prop="oldStandNum"
label="类别" label="类别"
align="center" align="center">
> <template slot-scope="scope">
<a @click="oldPreview(scope.row)" class="table-jump">{{ scope.row.oldStandNum }}</a>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="oldStandName" prop="oldStandName"
@@ -176,6 +179,9 @@ export default {
case '查看': case '查看':
this.handlePreview(command[0]) this.handlePreview(command[0])
break break
case '查看类别':
this.oldPreview(command[0])
break
case '收藏': case '收藏':
this.collectInfo(command[0]) this.collectInfo(command[0])
break break
@@ -275,13 +281,23 @@ export default {
}, },
// 点击查看 // 点击查看
handlePreview (item) { handlePreview (item) {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
name: 'consultationDetails', name: 'consultationDetails',
params: { params: {
id: item.id, id: item.id,
pageType: 'INLAND_STAND' pageType: 'INLAND_STAND'
} }
}) })
window.open(routeUrl.href, '_blank')
},
oldPreview (item) {
let routeUrl = this.$router.resolve({
name: 'categoryDetails',
params: {
id: item.id,
pageType: 'INLAND_STAND'
}
})
window.open(routeUrl.href, '_blank') window.open(routeUrl.href, '_blank')
}, },
// handlePreview (params) { // handlePreview (params) {
+12
View File
@@ -2409,6 +2409,18 @@ const routes = [
menuId: '' menuId: ''
} }
}, },
{
path: '/categoryDetails/:id/:pageType',
name: 'categoryDetails',
component: () =>
import('@/pages/details/categoryDetails/index'),
meta: {
requireAuth: true,
title: '管理征求意见',
isBoolean: true,
menuId: ''
}
},
{ {
path: '/standInvolveProjectTwo', path: '/standInvolveProjectTwo',
name: 'standInvolveProjectTwo', name: 'standInvolveProjectTwo',