From abed82384f42233b7534b7047bcfd955a2ef4487 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期一, 02 三月 2026 13:49:14 +0800
Subject: [PATCH] 经销商管理

---
 admin/src/views/business/information.vue |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/admin/src/views/business/information.vue b/admin/src/views/business/information.vue
index 637ef7f..7ac0dc8 100644
--- a/admin/src/views/business/information.vue
+++ b/admin/src/views/business/information.vue
@@ -1,7 +1,7 @@
 <template>
   <TableLayout :permissions="['business:activity:query']">
     <!-- 鎼滅储琛ㄥ崟 -->
-    <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
+    <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" >
       <el-form-item label="鏍囬" prop="name">
         <el-input v-model="searchForm.name" placeholder="璇疯緭鍏ユ爣棰�" @keypress.enter.native="search"></el-input>
       </el-form-item>
@@ -40,7 +40,12 @@
           ></el-option>
         </el-select>
       </el-form-item>
-
+      <el-form-item label="鐘舵��" prop="status"  >
+        <el-select   v-model="searchForm.status"  style="width: 150px" placeholder="鐘舵��"  clearable @change="search">
+          <el-option :key="0" :value="0" label="鍚敤"></el-option>
+          <el-option :key="1" :value="1" label="绂佺敤"></el-option>
+        </el-select>
+      </el-form-item>
       <section>
         <el-button type="primary" @click="search">鎼滅储</el-button>
         <el-button @click="reset">閲嶇疆</el-button>
@@ -68,7 +73,7 @@
         <el-table-column prop="name" label="鏍囬" align="center" min-width="100px"></el-table-column>
         <el-table-column prop="lablesName" label="鎵�灞炲垎绫�" align="center" min-width="100px"></el-table-column>
         <el-table-column prop="brandName" label="鎵�灞炲搧鐗�" align="center" min-width="100px"></el-table-column>
-        <el-table-column prop="content" label="鏁版嵁鍊�" min-width="100px">
+        <el-table-column prop="content" label="璇︽儏" min-width="100px">
           <template slot-scope="{row}">
             <div v-if="row.content">
               <el-button v-if="row.contentType == 1" title="鐐瑰嚮璺宠浆澶栭摼鏌ョ湅" type="text" @click="openUrl(row)" >鐐瑰嚮璺宠浆</el-button>
@@ -85,8 +90,8 @@
           <template slot-scope="{row}">
             <el-switch
                 v-model="row.status"
-                :active-value="1"
-                :inactive-value="0"
+                :active-value="0"
+                :inactive-value="1"
                 active-color="#13ce66"
                 fixed="right"
                 inactive-color="#ff4949"
@@ -150,6 +155,7 @@
         name: '',
         realName: '',
         brandId: null,
+        status: null,
         labelId: null,
         contentType: '',
         type: 3 // 绫诲瀷0鍟嗗娲诲姩 1骞冲彴娲诲姩 2鎺㈠簵 3璧勮

--
Gitblit v1.9.3