From 62e8b7d51ecb749c3f38452af88c703ac86db9cd Mon Sep 17 00:00:00 2001 From: renkang <8417338+k94314517@user.noreply.gitee.com> Date: 星期四, 09 一月 2025 09:08:54 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1 --- admin/src/views/project/housingList.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/admin/src/views/project/housingList.vue b/admin/src/views/project/housingList.vue index 898b009..fabf9e7 100644 --- a/admin/src/views/project/housingList.vue +++ b/admin/src/views/project/housingList.vue @@ -52,8 +52,9 @@ </template> </el-table-column> <el-table-column v-if="containPermissions(['business:ywroom:update', 'business:ywroom:delete'])" label="鎿嶄綔" - min-width="100" fixed="right"> + min-width="140" fixed="right"> <template slot-scope="{row}"> + <el-button type="text" @click="$refs.houseDetails.open('鎴挎簮璇︽儏')">鏌ョ湅璇︽儏</el-button> <el-button type="text" @click="editClick(row)" icon="el-icon-edit" v-permissions="['business:ywroom:update']">缂栬緫</el-button> <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" @@ -66,6 +67,8 @@ </template> <!-- 鏂板缓/淇敼 --> <OperaYwRoomWindow ref="operaYwRoomWindow" @success="handlePageChange" /> + <!-- 璇︽儏 --> + <houseDetails ref="houseDetails" /> </TableLayout> </template> @@ -74,12 +77,13 @@ import TableLayout from '@/layouts/TableLayout' import Pagination from '@/components/common/Pagination' import OperaYwRoomWindow from './components/OperaYwRoomWindow' +import houseDetails from './components/houseDetails' import { getProjectList } from '@/api/project/ywProject' import { getBuildList } from '@/api/project/ywBuilding' export default { name: 'YwRoom', extends: BaseTable, - components: { TableLayout, Pagination, OperaYwRoomWindow }, + components: { TableLayout, Pagination, OperaYwRoomWindow, houseDetails }, data() { return { // 鎼滅储 -- Gitblit v1.9.3