Parcourir la source

户室开锁记录

chenfan il y a 1 semaine
Parent
commit
4844b198ea
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      src/views/reservation/completeIndex.vue
  2. 2 2
      src/views/reservation/index.vue

+ 1 - 1
src/views/reservation/completeIndex.vue

@@ -85,7 +85,7 @@
             </template>
           </el-table-column>
           <el-table-column label="开门密码" prop="doorPassStatusStr" min-width="100" />
-          <el-table-column label="备注" prop="lookingNotes" min-width="200" />
+          <el-table-column label="备注" prop="lookingNotes" min-width="400" />
           <el-table-column label="操作" width="200" fixed="right">
             <template scope="scope">
               <el-button size="small" type="primary" @click="handleEdit(scope.row)">备注</el-button>

+ 2 - 2
src/views/reservation/index.vue

@@ -59,9 +59,9 @@
           <el-table-column label="创建日期" prop="createTime" min-width="180" />
           <el-table-column label="操作" width="300" fixed="right">
             <template scope="scope">
-              <el-button size="small" type="primary" @click="handleEdit(scope.row)">编辑</el-button>
+              <el-button v-show="scope.row.reservationStatus===1||scope.row.reservationStatus===3" size="small" type="primary" @click="handleEdit(scope.row)">编辑</el-button>
               <el-button size="small" type="primary" @click="handleDetail(scope.row)">查看</el-button>
-              <el-dropdown size="small" type="primary" style="margin-left: 10px">
+              <el-dropdown v-show="scope.row.reservationStatus===1||scope.row.reservationStatus===3" size="small" type="primary" style="margin-left: 10px">
                 <el-button size="small" type="primary">
                   更多菜单<i class="el-icon-arrow-down el-icon--right" />
                 </el-button>