From be3ec4c1f11a5e090408fcd6f650557651fcf007 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 13 四月 2026 20:17:16 +0800
Subject: [PATCH] 页面
---
admin/src/views/business/area.vue | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/admin/src/views/business/area.vue b/admin/src/views/business/area.vue
index 725bf56..99afb26 100644
--- a/admin/src/views/business/area.vue
+++ b/admin/src/views/business/area.vue
@@ -1,15 +1,5 @@
<template>
<TableLayout :permissions="['business:areas:query']">
- <!-- 鎼滅储琛ㄥ崟 -->
- <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
- <el-form-item label="鍚嶇О" prop="name">
- <el-input v-model="searchForm.name" placeholder="璇疯緭鍏ュ悕绉�" @keypress.enter.native="search"></el-input>
- </el-form-item>
- <section>
- <el-button type="primary" @click="search">鎼滅储</el-button>
- <el-button @click="reset">閲嶇疆</el-button>
- </section>
- </el-form>
<!-- 琛ㄦ牸鍜屽垎椤� -->
<template v-slot:table-wrap>
<el-table
@@ -22,7 +12,7 @@
row-key="id"
stripe
border
- :height="tableHeightNew - 40"
+ :height="tableHeightNew - 50"
:header-row-class-name="'table-header'"
class="doumee-element-table"
@selection-change="handleSelectionChange"
@@ -52,7 +42,7 @@
min-width="80"
>
<template slot-scope="{ row }">
- <el-button type="text" @click="openPriceRule(row)">璁′环瑙勫垯</el-button>
+ <el-button type="text" @click="openPriceRule(row)" v-if="row.type === 1">璁′环瑙勫垯</el-button>
</template>
</el-table-column>
</el-table>
@@ -145,7 +135,7 @@
this.refreshLoadTree(parentId)
},
openPriceRule(row) {
- this.$refs.operaCityPriceRuleWindow.open('璁′环瑙勫垯', row)
+ this.$refs.operaCityPriceRuleWindow.open('璁′环瑙勫垯', row.id)
},
handlePriceRuleSuccess() {
this.$message.success('淇濆瓨鎴愬姛')
--
Gitblit v1.9.3