处理业主详情链接

This commit is contained in:
wuxw 2025-07-01 17:49:24 +08:00
parent c85e0853e2
commit 7a03ee5c81
4 changed files with 10 additions and 8 deletions

View File

@ -94,7 +94,7 @@ export default {
this.$router.push({ path: '/fee/feeDetail', query: { detailId: fee.itemObjId }}) this.$router.push({ path: '/fee/feeDetail', query: { detailId: fee.itemObjId }})
}, },
viewAcctDetail(fee) { viewAcctDetail(fee) {
this.$router.push({ path: '/owner/ownerDetail', query: { ownerId: fee.ownerId, currentTab: 'ownerDetailAccountReceipt' }}) this.$router.push({ path: '/views/owner/ownerDetail', query: { ownerId: fee.ownerId, currentTab: 'ownerDetailAccountReceipt' }})
} }
} }
} }

View File

@ -97,7 +97,7 @@
<el-table-column prop="carColor" :label="$t('listOwnerCar.color')" align="center" /> <el-table-column prop="carColor" :label="$t('listOwnerCar.color')" align="center" />
<el-table-column :label="$t('listOwnerCar.owner')" align="center"> <el-table-column :label="$t('listOwnerCar.owner')" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<router-link :to="`/pages/owner/ownerDetail?ownerId=${scope.row.ownerId}`" target="_blank"> <router-link :to="`/views/owner/ownerDetail?ownerId=${scope.row.ownerId}`" target="_blank">
{{ scope.row.ownerName }}({{ scope.row.link }}) {{ scope.row.ownerName }}({{ scope.row.link }})
</router-link> </router-link>
</template> </template>

View File

@ -48,8 +48,8 @@
</div> </div>
<el-form :inline="true" class="text-left"> <el-form :inline="true" class="text-left">
<el-form-item> <el-form-item>
<el-input :placeholder="$t('roomList.roomIdPlaceholder')" size="small" v-model="roomInfo.conditions.roomId" <el-input :placeholder="$t('roomList.roomIdPlaceholder')" size="small"
class="form-control form-control-sm"></el-input> v-model="roomInfo.conditions.roomId" class="form-control form-control-sm"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-select v-model="roomInfo.conditions.state" size="small" :placeholder="$t('roomList.selectState')"> <el-select v-model="roomInfo.conditions.state" size="small" :placeholder="$t('roomList.selectState')">
@ -103,7 +103,7 @@
<el-table-column prop="ownerName" :label="$t('roomList.owner')" width="150" align="center"> <el-table-column prop="ownerName" :label="$t('roomList.owner')" width="150" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.ownerName" class="hc-td hand"> <div v-if="scope.row.ownerName" class="hc-td hand">
<a target="_blank" :href="'/#/pages/owner/ownerDetail?ownerId=' + scope.row.ownerId"> <a target="_blank" :href="'/#/views/owner/ownerDetail?ownerId=' + scope.row.ownerId">
{{ scope.row.ownerName }}({{ scope.row.link }}) {{ scope.row.ownerName }}({{ scope.row.link }})
</a> </a>
</div> </div>
@ -402,8 +402,8 @@ export default {
console.error('初始化数据失败:', error) console.error('初始化数据失败:', error)
} }
}, },
handleRefreshRoom(){ handleRefreshRoom() {
this.listRoom(this.roomInfo.conditions.page,this.roomInfo.conditions.row) this.listRoom(this.roomInfo.conditions.page, this.roomInfo.conditions.row)
}, },
async listRoom(page, row) { async listRoom(page, row) {
this.roomInfo.conditions.page = page this.roomInfo.conditions.page = page
@ -759,11 +759,13 @@ export default {
.border-radius { .border-radius {
border-radius: 4px; border-radius: 4px;
} }
/* 在全局样式文件中 */ /* 在全局样式文件中 */
.el-button-group .el-button { .el-button-group .el-button {
margin-right: 5px; margin-right: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.el-button-group .el-button:last-child { .el-button-group .el-button:last-child {
margin-right: 0; margin-right: 0;
} }

View File

@ -57,7 +57,7 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('shops.owner')" align="center"> <el-table-column :label="$t('shops.owner')" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<router-link v-if="scope.row.ownerName" :to="`/pages/owner/ownerDetail?ownerId=${scope.row.ownerId}`" <router-link v-if="scope.row.ownerName" :to="`/views/owner/ownerDetail?ownerId=${scope.row.ownerId}`"
target="_blank"> target="_blank">
{{ scope.row.ownerName }} {{ scope.row.ownerName }}
</router-link> </router-link>