跳转到企业详情页

This commit is contained in:
chenxf 2026-02-04 10:12:01 +08:00
parent a3139c8fc0
commit f120a27916
1 changed files with 25 additions and 11 deletions

View File

@ -121,11 +121,11 @@
</div>
</template>
<template v-slot:entListTable>
<!-- &lt;!&ndash; 按钮组 &ndash;&gt;-->
<!-- <div class="button-group" style="margin-bottom: 10px; text-align: right;">-->
<!-- <el-button type="primary" @click="openAddDialog">添加主体</el-button>-->
<!-- <el-button type="danger" @click="openDeleteDialog">删除主体</el-button>-->
<!-- </div>-->
<!-- 按钮组 -->
<div v-if="data.status === '0'" class="button-group" style="margin-bottom: 10px; text-align: right;">
<el-button type="primary" @click="openAddDialog">添加主体</el-button>
<el-button type="danger" @click="openDeleteDialog">删除主体</el-button>
</div>
<easy-table
ref="EntListTable"
v-model="entListTableData"
@ -133,7 +133,11 @@
:table-config="entListTableConfig"
:emit-load-on-create="true"
:on-load="loadEntListData"
/>
>
<template v-slot:entNameSlot="scope">
<a class="ent-name-link" @click="goToEntDetail(scope.row)">{{ scope.row.entName || '' }}</a>
</template>
</easy-table>
</template>
</easy-form>
<!-- 引入 EntList 组件 -->
@ -195,15 +199,13 @@ export default {
}
},
{
type: 'input',
type: 'slot',
slotName: 'entNameSlot',
label: '主体名称',
prop: 'entName',
tableProps: {
showOverflowTooltip: true,
width: '300px',
formatter: (row, column, cellValue, index) => {
return `${row.entName || ''}`
}
width: '300px'
}
},
{
@ -692,6 +694,10 @@ export default {
entity => !selectedIds.includes(entity.pripid)
)
},
//
goToEntDetail(row) {
this.$router.push({ path: '/comprehensive/details', query: { pripid: row.pripid } })
},
generateNoticeContent(scope) {
this.generatingContent = true
getForceDeregisterContent(
@ -834,4 +840,12 @@ export default {
}
}
.ent-name-link {
color: #409EFF;
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
</style>